@nstudio/nativescript-compiler 9.2.0-alpha.16 → 9.2.0-alpha.18
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/dist/kit/kit-index.js +9 -0
- package/dist/kotlin/access.js +14 -15
- package/dist/kotlin/arguments.js +2 -2
- 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 +16 -1
- package/dist/kotlin/class-methods.js +2 -2
- package/dist/kotlin/components.js +2 -7
- package/dist/kotlin/core-api.js +3 -22
- package/dist/kotlin/declarations.js +86 -9
- package/dist/kotlin/expression-statements.js +13 -1
- package/dist/kotlin/functions.js +2 -4
- package/dist/kotlin/global-calls.js +1 -4
- package/dist/kotlin/literals.js +3 -10
- package/dist/kotlin/names.js +6 -4
- package/dist/kotlin/native/api.js +1 -1
- package/dist/kotlin/native/classfiles.js +2 -13
- package/dist/kotlin/operators.js +36 -30
- package/dist/kotlin/optional-chains.js +3 -10
- package/dist/kotlin/overrides.js +5 -17
- package/dist/kotlin/placement.js +1 -12
- package/dist/kotlin/state-backend.js +6 -2
- package/dist/kotlin/statements.js +1 -13
- package/dist/kotlin/translator.js +3 -11
- package/dist/kotlin/type-tests.js +1 -1
- package/dist/kotlin/types.js +6 -23
- package/dist/program/core-facts.js +9 -0
- package/dist/semantics/classes.js +15 -0
- package/dist/semantics/facts.js +38 -2
- package/dist/semantics/lang.js +29 -0
- package/dist/semantics/lower.js +144 -0
- package/dist/semantics/lowering-methods.js +120 -3
- package/dist/semantics/marks.js +30 -0
- package/dist/semantics/placement.js +9 -3
- package/dist/semantics/refusals.js +12 -11
- package/dist/semantics/signals.js +11 -0
- package/dist/semantics/states/missing.js +7 -0
- package/dist/semantics/tdz.js +142 -8
- package/dist/semantics/throws.js +1 -1
- package/dist/semantics/translator-methods.js +1 -1
- package/dist/swift/access.js +13 -17
- package/dist/swift/assignment.js +30 -16
- package/dist/swift/calls.js +13 -5
- package/dist/swift/classes.js +22 -10
- package/dist/swift/components.js +3 -7
- package/dist/swift/control-flow.js +1 -1
- package/dist/swift/conversion.js +5 -2
- package/dist/swift/core-api.js +11 -31
- package/dist/swift/declarations.js +1 -6
- package/dist/swift/expression-statements.js +7 -0
- 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 -5
- package/dist/swift/lenient.js +0 -7
- package/dist/swift/literals.js +8 -3
- package/dist/swift/method-values.js +1 -19
- package/dist/swift/modules.js +5 -3
- package/dist/swift/names.js +3 -12
- package/dist/swift/native/api.js +3 -1
- package/dist/swift/native/calls.js +1 -1
- package/dist/swift/native/dispatch.js +2 -8
- package/dist/swift/object-classes.js +84 -1
- package/dist/swift/operators.js +37 -34
- package/dist/swift/optional-chains.js +1 -8
- package/dist/swift/parameters.js +0 -4
- package/dist/swift/placement.js +5 -15
- package/dist/swift/results.js +0 -4
- package/dist/swift/state-backend.js +3 -2
- package/dist/swift/statements.js +1 -13
- package/dist/swift/static-calls.js +2 -3
- package/dist/swift/syntax.js +9 -5
- package/dist/swift/translator.js +1 -11
- package/dist/swift/type-facts.js +3 -3
- package/dist/swift/types.js +3 -3
- package/dist/targets/ios/build.js +1 -1
- package/dist/types/adapter-api.d.ts +3 -3
- 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/main/kotlin/org/nativescript/kit/runtime/Array.kt +547 -51
- 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 +52 -6
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Language.kt +33 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Prototypes.kt +9 -1
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Strings.kt +32 -18
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Values.kt +137 -28
- package/kit-apple/Overlays/xml-free/Core/ui.builder.index.swift +1 -1
- 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 +2 -2
- package/kit-apple/Sources/NativeScriptKit/Core/file-system.file-system-access.ios.swift +52 -43
- 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 +66 -51
- package/kit-apple/Sources/NativeScriptKit/Core/image-source.index.ios.swift +67 -51
- package/kit-apple/Sources/NativeScriptKit/Core/js-libs.easysax.easysax.swift +24 -6
- package/kit-apple/Sources/NativeScriptKit/Core/kit-index.json +143 -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.animation.index.ios.swift +77 -65
- package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.index.swift +4 -4
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.properties.index.swift +1272 -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 +8 -8
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-common.swift +1 -1
- 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.layouts.flexbox-layout.index.ios.swift +22 -21
- package/kit-apple/Sources/NativeScriptKit/Core/ui.page.index.ios.swift +202 -188
- package/kit-apple/Sources/NativeScriptKit/Core/ui.repeater.index.swift +2 -6
- package/kit-apple/Sources/NativeScriptKit/Core/ui.split-view.index.ios.swift +3 -3
- 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.text-base.formatted-string.swift +1 -2
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-view.text-view-common.swift +1 -1
- 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 +17 -17
- 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/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 +413 -73
- package/kit-apple/Sources/NativeScriptKit/Runtime/Lowering.swift +3 -2
- package/kit-apple/Sources/NativeScriptKit/Runtime/Prototypes.swift +14 -1
- 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 +2 -2
|
@@ -695,6 +695,7 @@
|
|
|
695
695
|
"lowMemoryEvent": [{"kind":"var","type":"String"}],
|
|
696
696
|
"mainEntry": [{"kind":"var","type":"Any?"}],
|
|
697
697
|
"notify": [{"kind":"var","static":true,"type":"((Any?) throws -> Void)?"}, {"kind":"var","type":"((Any?) throws -> Void)?"}],
|
|
698
|
+
"notifyExit": [{"kind":"func","type":"Void","params":[{"label":"_","name":"data","type":"Any?","default":"nil"}],"throws":true}],
|
|
698
699
|
"notifyLaunch": [{"kind":"func","type":"View?","params":[{"label":"_","name":"additionalLanchEventData","type":"Any?","default":"nil"}],"throws":true}],
|
|
699
700
|
"notifyReady": [{"kind":"func","type":"Void","params":[],"throws":true}],
|
|
700
701
|
"off": [{"kind":"var","static":true,"type":"((String, Any?, Any?) throws -> Void)?"}, {"kind":"var","type":"((String, Any?, Any?) throws -> Void)?"}],
|
|
@@ -744,7 +745,7 @@
|
|
|
744
745
|
"windowCloseEvent": [{"kind":"var","type":"String"}],
|
|
745
746
|
"windowOpenEvent": [{"kind":"var","type":"String"}]
|
|
746
747
|
},
|
|
747
|
-
"names": ["_appCssLoaded","_cssFile","_ensureAppCssLoaded","_getWindows","_inBackground","_launchBridgeConsumed","_layoutDirection","_onPrimaryWindowPromoted","_onWindowRegistered","_orientation","_readyNotified","_registerWindow","_resolveWindowContent","_retireDiscardedWindows","_suspended","_systemAppearance","_traitsWindow","_unregisterWindow","_windowContentResolver","_windows","addCss","addCssClass","applyCssClass","applyWindowScopedCssClass","backgroundEvent","buildContentView","createRootView","cssChangedEvent","discardedErrorEvent","displayedEvent","exitEvent","fontScaleChangedEvent","foregroundEvent","getCssFileName","getLayoutDirection","getMainEntry","getNativeApplication","getOrientation","getOwnedModalViews","getResources","getRootView","getSystemAppearance","getWindowById","getWindowContentResolver","getWindows","hasLaunched","hasListeners","increaseStyleScopeApplicationCssSelectorVersion","initRootView","initRootViewEvent","launchEvent","layoutDirection","layoutDirectionChanged","layoutDirectionChangedEvent","livesync","livesyncEvent","loadAppCss","loadAppCssEvent","lowMemoryEvent","mainEntry","notify","notifyLaunch","notifyReady","off","on","onWindowActivated","onWindowLayoutDirectionChanged","onWindowOrientationChanged","onWindowSystemAppearanceChanged","once","openWindow","orientation","orientationChanged","orientationChangedEvent","primaryWindowChangedEvent","readyEvent","removeCssClass","resetRootView","resolveWindowContent","resumeEvent","run","setAutoSystemAppearanceChanged","setCssFileName","setInBackground","setLayoutDirection","setMaxRefreshRate","setOrientation","setResources","setRootViewCSSClasses","setSuspended","setSystemAppearance","setWindowContentResolver","started","suspendEvent","syncTraitsFromWindow","systemAppearance","systemAppearanceChanged","systemAppearanceChangedEvent","trackPrimaryWindowTraits","uncaughtErrorEvent","windowCloseEvent","windowOpenEvent"]
|
|
748
|
+
"names": ["_appCssLoaded","_cssFile","_ensureAppCssLoaded","_getWindows","_inBackground","_launchBridgeConsumed","_layoutDirection","_onPrimaryWindowPromoted","_onWindowRegistered","_orientation","_readyNotified","_registerWindow","_resolveWindowContent","_retireDiscardedWindows","_suspended","_systemAppearance","_traitsWindow","_unregisterWindow","_windowContentResolver","_windows","addCss","addCssClass","applyCssClass","applyWindowScopedCssClass","backgroundEvent","buildContentView","createRootView","cssChangedEvent","discardedErrorEvent","displayedEvent","exitEvent","fontScaleChangedEvent","foregroundEvent","getCssFileName","getLayoutDirection","getMainEntry","getNativeApplication","getOrientation","getOwnedModalViews","getResources","getRootView","getSystemAppearance","getWindowById","getWindowContentResolver","getWindows","hasLaunched","hasListeners","increaseStyleScopeApplicationCssSelectorVersion","initRootView","initRootViewEvent","launchEvent","layoutDirection","layoutDirectionChanged","layoutDirectionChangedEvent","livesync","livesyncEvent","loadAppCss","loadAppCssEvent","lowMemoryEvent","mainEntry","notify","notifyExit","notifyLaunch","notifyReady","off","on","onWindowActivated","onWindowLayoutDirectionChanged","onWindowOrientationChanged","onWindowSystemAppearanceChanged","once","openWindow","orientation","orientationChanged","orientationChangedEvent","primaryWindowChangedEvent","readyEvent","removeCssClass","resetRootView","resolveWindowContent","resumeEvent","run","setAutoSystemAppearanceChanged","setCssFileName","setInBackground","setLayoutDirection","setMaxRefreshRate","setOrientation","setResources","setRootViewCSSClasses","setSuspended","setSystemAppearance","setWindowContentResolver","started","suspendEvent","syncTraitsFromWindow","systemAppearance","systemAppearanceChanged","systemAppearanceChangedEvent","trackPrimaryWindowTraits","uncaughtErrorEvent","windowCloseEvent","windowOpenEvent"]
|
|
748
749
|
},
|
|
749
750
|
"ApplicationSettings": {
|
|
750
751
|
"kind": "enum",
|
|
@@ -2492,6 +2493,7 @@
|
|
|
2492
2493
|
"_currentCacheMode": [{"kind":"var","static":true,"type":"Double"}],
|
|
2493
2494
|
"_imageFetcher": [{"kind":"var","static":true,"type":"Any?"}],
|
|
2494
2495
|
"_iosWindow": [{"kind":"var","static":true,"type":"UIWindow?"}],
|
|
2496
|
+
"_pendingApplicationEventListeners": [{"kind":"var","static":true,"type":"JSSet<Any?>","readonly":true}],
|
|
2495
2497
|
"_toggleApplicationEventListenersHandler": [{"kind":"var","static":true,"type":"((Bool, ((Any?) throws -> Void)?) throws -> Void)?"}],
|
|
2496
2498
|
"getActiveWindow": [{"kind":"func","static":true,"type":"NativeWindow?","params":[]}],
|
|
2497
2499
|
"getAppMainEntry": [{"kind":"func","static":true,"type":"Any?","params":[]}],
|
|
@@ -2514,7 +2516,7 @@
|
|
|
2514
2516
|
"setImageFetcher": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"fetcher","type":"Any?"}]}],
|
|
2515
2517
|
"setNativeApp": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"app","type":"Any?"}]}],
|
|
2516
2518
|
"setRootView": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"view","type":"Any?"}]}],
|
|
2517
|
-
"setToggleApplicationEventListenersCallback": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"callback","type":"@escaping (Bool, ((Any?) throws -> Void)?) throws -> Void"}]}],
|
|
2519
|
+
"setToggleApplicationEventListenersCallback": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"callback","type":"@escaping (Bool, ((Any?) throws -> Void)?) throws -> Void"}],"throws":true}],
|
|
2518
2520
|
"setiOSWindow": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"value","type":"UIWindow?"}]}],
|
|
2519
2521
|
"toggleApplicationEventListeners": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"toAdd","type":"Bool"},{"label":"_","name":"callback","type":"@escaping (Any?) throws -> Void"}],"throws":true}],
|
|
2520
2522
|
"updateA11yPropertiesCallback": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"view","type":"Any?"}],"throws":true}]
|
|
@@ -2751,14 +2753,18 @@
|
|
|
2751
2753
|
"kind": "enum",
|
|
2752
2754
|
"origin": "core",
|
|
2753
2755
|
"members": {
|
|
2756
|
+
"EVALUABLE_FEATURES": [{"kind":"var","static":true,"type":"JSSet<String>","readonly":true}],
|
|
2754
2757
|
"RESERVED_MEDIA_TYPES": [{"kind":"var","static":true,"type":"JSSet<String>","readonly":true}],
|
|
2755
2758
|
"RE_LENGTH_UNIT": [{"kind":"var","static":true,"type":"JSRegExp","readonly":true}],
|
|
2756
2759
|
"RE_MEDIA_QUERY": [{"kind":"var","static":true,"type":"JSRegExp","readonly":true}],
|
|
2757
2760
|
"RE_MQ_EXPRESSION": [{"kind":"var","static":true,"type":"JSRegExp","readonly":true}],
|
|
2758
2761
|
"RE_MQ_FEATURE": [{"kind":"var","static":true,"type":"JSRegExp","readonly":true}],
|
|
2759
2762
|
"RE_RESOLUTION_UNIT": [{"kind":"var","static":true,"type":"JSRegExp","readonly":true}],
|
|
2763
|
+
"getParsedQuery": [{"kind":"func","static":true,"type":"JSArray<Any?>?","params":[{"label":"_","name":"mediaQuery","type":"String"}],"throws":true}],
|
|
2764
|
+
"isEvaluableMediaQuery": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"mediaQuery","type":"String"}],"throws":true}],
|
|
2760
2765
|
"matchQuery": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"mediaQuery","type":"String"},{"label":"_","name":"values","type":"Any?"}],"throws":true}],
|
|
2761
|
-
"parseQuery": [{"kind":"func","static":true,"type":"JSArray<Any?>?","params":[{"label":"_","name":"mediaQuery","type":"String"}],"throws":true}]
|
|
2766
|
+
"parseQuery": [{"kind":"func","static":true,"type":"JSArray<Any?>?","params":[{"label":"_","name":"mediaQuery","type":"String"}],"throws":true}],
|
|
2767
|
+
"parsedQueryCache": [{"kind":"var","static":true,"type":"JSMap<String, JSArray<Any?>>","readonly":true}]
|
|
2762
2768
|
}
|
|
2763
2769
|
},
|
|
2764
2770
|
"Core_css_parser": {
|
|
@@ -2926,7 +2932,8 @@
|
|
|
2926
2932
|
"origin": "core",
|
|
2927
2933
|
"members": {
|
|
2928
2934
|
"addHeader": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"headers","type":"JSRecord<Any?>?"},{"label":"_","name":"key","type":"String"},{"label":"_","name":"value","type":"String"}],"throws":true}],
|
|
2929
|
-
"getDebugRequestMethodAndBody": [{"kind":"func","static":true,"type":"Any?","params":[{"label":"_","name":"options","type":"Any?"}],"throws":true}]
|
|
2935
|
+
"getDebugRequestMethodAndBody": [{"kind":"func","static":true,"type":"Any?","params":[{"label":"_","name":"options","type":"Any?"}],"throws":true}],
|
|
2936
|
+
"getRequestBodyBytes": [{"kind":"func","static":true,"type":"JSUint8Array?","params":[{"label":"_","name":"content","type":"Any?"}],"throws":true}]
|
|
2930
2937
|
}
|
|
2931
2938
|
},
|
|
2932
2939
|
"Core_http_http_request_internal_index": {
|
|
@@ -3009,10 +3016,14 @@
|
|
|
3009
3016
|
"origin": "core",
|
|
3010
3017
|
"members": {
|
|
3011
3018
|
"checkIfMediaQueryMatches": [{"kind":"func","static":true,"type":"Bool?","params":[{"label":"_","name":"mediaQueryString","type":"String"}],"throws":true}],
|
|
3019
|
+
"clearMatchResultCache": [{"kind":"func","static":true,"type":"Void","params":[]}],
|
|
3020
|
+
"isCacheInvalidationRegistered": [{"kind":"var","static":true,"type":"Bool"}],
|
|
3012
3021
|
"isMediaInitializationEnabled": [{"kind":"var","static":true,"type":"Bool"}],
|
|
3013
3022
|
"matchMedia": [{"kind":"func","static":true,"type":"MediaQueryListImpl?","params":[{"label":"_","name":"mediaQueryString","type":"String"}],"throws":true}],
|
|
3023
|
+
"matchResultCache": [{"kind":"var","static":true,"type":"JSMap<String, Bool>","readonly":true}],
|
|
3014
3024
|
"mediaQueryLists": [{"kind":"var","static":true,"type":"JSArray<MediaQueryListImpl>","readonly":true}],
|
|
3015
|
-
"onDeviceChange": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"args","type":"Any?"}],"throws":true}]
|
|
3025
|
+
"onDeviceChange": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"args","type":"Any?"}],"throws":true}],
|
|
3026
|
+
"registerCacheInvalidation": [{"kind":"func","static":true,"type":"Void","params":[],"throws":true}]
|
|
3016
3027
|
}
|
|
3017
3028
|
},
|
|
3018
3029
|
"Core_module_name_resolver_helpers": {
|
|
@@ -3413,10 +3424,12 @@
|
|
|
3413
3424
|
"DIP_RE": [{"kind":"var","static":true,"type":"JSRegExp","readonly":true}],
|
|
3414
3425
|
"HAS_OWN": [{"kind":"var","static":true,"type":"Any?"}],
|
|
3415
3426
|
"INFINITY_RE": [{"kind":"var","static":true,"type":"JSRegExp","readonly":true}],
|
|
3427
|
+
"NO_LONGHAND_VALUES": [{"kind":"var","static":true,"type":"JSRecord<Any?>?"}],
|
|
3416
3428
|
"UNRESOLVED_VAR": [{"kind":"var","static":true,"type":"String","readonly":true}],
|
|
3417
3429
|
"UNSET_RE": [{"kind":"var","static":true,"type":"JSRegExp","readonly":true}],
|
|
3418
3430
|
"_evaluateCssCalcExpression": [{"kind":"func","static":true,"type":"Any?","params":[{"label":"_","name":"value","type":"String"}],"throws":true}],
|
|
3419
|
-
"
|
|
3431
|
+
"_evaluateCssExpressions": [{"kind":"func","static":true,"type":"Any?","params":[{"label":"_","name":"view","type":"ViewBase?"},{"label":"_","name":"property","type":"String"},{"label":"_","name":"value","type":"String"},{"label":"_","name":"reads","type":"JSMap<String, String>?","default":"nil"}],"throws":true}],
|
|
3432
|
+
"_evaluateCssVariableExpression": [{"kind":"func","static":true,"type":"String","params":[{"label":"_","name":"view","type":"ViewBase?"},{"label":"_","name":"cssName","type":"String"},{"label":"_","name":"value","type":"String"},{"label":"_","name":"reads","type":"JSMap<String, String>?","default":"nil"}],"throws":true}],
|
|
3420
3433
|
"_expandCssShorthand": [{"kind":"func","static":true,"type":"JSArray<(String, Any?)>?","params":[{"label":"_","name":"cssName","type":"String"},{"label":"_","name":"value","type":"String"}],"throws":true}],
|
|
3421
3434
|
"_getCssShorthandsVersion": [{"kind":"func","static":true,"type":"Double","params":[]}],
|
|
3422
3435
|
"_getProperties": [{"kind":"func","static":true,"type":"JSArray<Property>?","params":[],"throws":true}],
|
|
@@ -3426,8 +3439,11 @@
|
|
|
3426
3439
|
"_isCssValueStillApplied": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"style","type":"Any?"},{"label":"_","name":"cssLocalName","type":"String"},{"label":"_","name":"value","type":"Any?"}],"throws":true}],
|
|
3427
3440
|
"_pendingCssShorthandSubstitution": [{"kind":"func","static":true,"type":"JSArray<(String, CssPendingSubstitution?)>?","params":[{"label":"_","name":"cssName","type":"String"},{"label":"_","name":"value","type":"String"}],"throws":true}],
|
|
3428
3441
|
"_printUnregisteredProperties": [{"kind":"func","static":true,"type":"Void","params":[],"throws":true}],
|
|
3442
|
+
"_reevaluateLocalCssExpressions": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"view","type":"ViewBase?"}],"throws":true}],
|
|
3429
3443
|
"_replaceDip": [{"kind":"func","static":true,"type":"String","params":[{"label":"_","name":"value","type":"String"}]}],
|
|
3430
3444
|
"_replaceKeywordsWithValues": [{"kind":"func","static":true,"type":"String","params":[{"label":"_","name":"value","type":"String"}]}],
|
|
3445
|
+
"_setLocalCssShorthandValue": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"style","type":"Style?"},{"label":"_","name":"longhand","type":"String"},{"label":"_","name":"pending","type":"CssPendingSubstitution?"},{"label":"_","name":"shorthand","type":"Any?"}],"throws":true}],
|
|
3446
|
+
"_substituteCssShorthand": [{"kind":"func","static":true,"type":"Any?","params":[{"label":"_","name":"view","type":"ViewBase?"},{"label":"_","name":"pending","type":"CssPendingSubstitution?"}],"throws":true}],
|
|
3431
3447
|
"applyAllNativeSetters": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"view","type":"ViewBase?"}],"throws":true}],
|
|
3432
3448
|
"applyPendingNativeSetters": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"view","type":"ViewBase?"}],"throws":true}],
|
|
3433
3449
|
"cascadedCssValue": [{"kind":"func","static":true,"type":"Any?","params":[{"label":"_","name":"view","type":"ViewBase?"},{"label":"_","name":"cssLocalName","type":"String"}],"throws":true}],
|
|
@@ -3438,11 +3454,14 @@
|
|
|
3438
3454
|
"cssShorthandsVersion": [{"kind":"var","static":true,"type":"Double"}],
|
|
3439
3455
|
"cssSymbolPropertyMap": [{"kind":"var","static":true,"type":"JSObject","readonly":true}],
|
|
3440
3456
|
"cssValueSourceKeys": [{"kind":"var","static":true,"type":"JSRecord<JSSymbol>?"}],
|
|
3457
|
+
"cssVariablesUnchanged": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"view","type":"ViewBase?"},{"label":"_","name":"reads","type":"Any?"}],"throws":true}],
|
|
3458
|
+
"expandSubstitutedShorthand": [{"kind":"func","static":true,"type":"JSRecord<Any?>?","params":[{"label":"_","name":"view","type":"ViewBase?"},{"label":"_","name":"shorthand","type":"String"},{"label":"_","name":"substituted","type":"Any?"}],"throws":true}],
|
|
3441
3459
|
"findClosingParenthesis": [{"kind":"func","static":true,"type":"Double","params":[{"label":"_","name":"value","type":"String"},{"label":"_","name":"openIdx","type":"Double"}]}],
|
|
3442
3460
|
"getComputedCssValues": [{"kind":"func","static":true,"type":"JSArray<(String, Any?)>?","params":[{"label":"_","name":"view","type":"ViewBase?"}],"throws":true}],
|
|
3443
3461
|
"getCssShorthandLonghands": [{"kind":"func","static":true,"type":"JSArray<String>?","params":[{"label":"_","name":"cssName","type":"String"}],"throws":true}],
|
|
3444
3462
|
"getPropertiesFromMap": [{"kind":"func","static":true,"type":"Any?","params":[{"label":"_","name":"map","type":"Any?"}],"throws":true}],
|
|
3445
3463
|
"getSetProperties": [{"kind":"func","static":true,"type":"JSArray<(String, Any?)>?","params":[{"label":"_","name":"view","type":"ViewBase?"}],"throws":true}],
|
|
3464
|
+
"hasCssExpression": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"value","type":"Any?"}]}],
|
|
3446
3465
|
"inheritableCssProperties": [{"kind":"var","static":true,"type":"JSArray<InheritedCssProperty>?"}],
|
|
3447
3466
|
"inheritableCssPropertyValuesOn": [{"kind":"func","static":true,"type":"JSArray<Any?>?","params":[{"label":"_","name":"style","type":"Style?"}],"throws":true}],
|
|
3448
3467
|
"inheritableProperties": [{"kind":"var","static":true,"type":"JSArray<InheritedProperty>?"}],
|
|
@@ -3451,11 +3470,15 @@
|
|
|
3451
3470
|
"isCssCalcExpression": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"value","type":"String"}]}],
|
|
3452
3471
|
"isCssVariable": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"property","type":"String"}]}],
|
|
3453
3472
|
"isCssVariableExpression": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"value","type":"String"}]}],
|
|
3473
|
+
"keepLocalCssExpression": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"style","type":"Style?"},{"label":"_","name":"cssName","type":"String"},{"label":"_","name":"specified","type":"Any?"},{"label":"_","name":"substituted","type":"Any?"},{"label":"_","name":"reads","type":"Any?"}],"throws":true}],
|
|
3474
|
+
"localCssExpressionSetter": [{"kind":"func","static":true,"type":"Any?","params":[{"label":"_","name":"cssName","type":"String"},{"label":"_","name":"set","type":"Any?"}],"generics":"<T: Style>"}],
|
|
3454
3475
|
"print": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"map","type":"Any?"}],"throws":true}],
|
|
3455
3476
|
"propagateInheritableCssProperties": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"parentStyle","type":"Style?"},{"label":"_","name":"childStyle","type":"Style?"}],"throws":true}],
|
|
3456
3477
|
"propagateInheritableProperties": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"view","type":"ViewBase?"},{"label":"_","name":"child","type":"ViewBase?"}],"throws":true}],
|
|
3478
|
+
"releaseLocalCssExpression": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"style","type":"Style?"},{"label":"_","name":"cssName","type":"String"}],"throws":true}],
|
|
3457
3479
|
"resetCSSProperties": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"style","type":"Style?"}],"throws":true}],
|
|
3458
3480
|
"resetNativeView": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"view","type":"ViewBase?"}],"throws":true}],
|
|
3481
|
+
"setLocalCssExpression": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"style","type":"Style?"},{"label":"_","name":"cssName","type":"String"},{"label":"_","name":"specified","type":"Any?"},{"label":"_","name":"substituted","type":"Any?"},{"label":"_","name":"reads","type":"Any?"},{"label":"_","name":"value","type":"Any?"}],"throws":true}],
|
|
3459
3482
|
"symbolPropertyMap": [{"kind":"var","static":true,"type":"JSObject","readonly":true}]
|
|
3460
3483
|
}
|
|
3461
3484
|
},
|
|
@@ -4354,12 +4377,12 @@
|
|
|
4354
4377
|
"changeMapsEqual": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"applied","type":"Any?"},{"label":"_","name":"current","type":"Any?"}],"throws":true}],
|
|
4355
4378
|
"concatRuleSets": [{"kind":"func","static":true,"type":"JSArray<T>?","params":[{"label":"_","name":"base","type":"JSArray<T>?"},{"label":"_","name":"additional","type":"JSArray<T>?"}],"throws":true,"generics":"<T>"}],
|
|
4356
4379
|
"currentScopeTag": [{"kind":"var","static":true,"type":"String"}],
|
|
4357
|
-
"evaluateCssExpressions": [{"kind":"func","static":true,"type":"Any?","params":[{"label":"_","name":"view","type":"ViewBase?"},{"label":"_","name":"property","type":"String"},{"label":"_","name":"value","type":"String"}],"throws":true}],
|
|
4358
4380
|
"evaluateCssVariable": [{"kind":"func","static":true,"type":"String?","params":[{"label":"_","name":"view","type":"ViewBase?"},{"label":"_","name":"name","type":"String"},{"label":"_","name":"value","type":"String"}],"throws":true}],
|
|
4359
4381
|
"getApplicationSelectorScope": [{"kind":"func","static":true,"type":"StyleSheetSelectorScope?","params":[],"throws":true}],
|
|
4360
4382
|
"getMergedApplicationCssKeyframes": [{"kind":"func","static":true,"type":"JSArray<Any?>?","params":[],"throws":true}],
|
|
4361
4383
|
"getMergedApplicationCssSelectors": [{"kind":"func","static":true,"type":"JSArray<RuleSet>?","params":[],"throws":true}],
|
|
4362
4384
|
"hasForwardCssVariableReference": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"names","type":"JSArray<String>?"},{"label":"_","name":"values","type":"JSRecord<String>?"}],"throws":true}],
|
|
4385
|
+
"inlineStyleProperties": [{"kind":"var","static":true,"type":"JSWeakMap<ViewBase, JSSet<String>>?"}],
|
|
4363
4386
|
"isAnimationDeclaration": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"declaration","type":"Any?"}],"throws":true}],
|
|
4364
4387
|
"isCurrentDirectory": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"uriPart","type":"String"}]}],
|
|
4365
4388
|
"isKeyframe": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"node","type":"Any?"}],"throws":true}],
|
|
@@ -4387,10 +4410,11 @@
|
|
|
4387
4410
|
"removeTaggedAdditionalCSS": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"tag","type":"Any?"}],"throws":true}],
|
|
4388
4411
|
"resolveFileNameFromUrl": [{"kind":"func","static":true,"type":"String?","params":[{"label":"_","name":"url","type":"String"},{"label":"_","name":"appDirectory","type":"String"},{"label":"_","name":"fileExists","type":"@escaping (String) throws -> Bool"},{"label":"_","name":"importSource","type":"String?","default":"nil"}],"throws":true}],
|
|
4389
4412
|
"resolveFilePathFromImport": [{"kind":"func","static":true,"type":"String","params":[{"label":"_","name":"importSource","type":"String"},{"label":"_","name":"fileName","type":"String"}],"throws":true}],
|
|
4390
|
-
"
|
|
4413
|
+
"setInlineValue": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"view","type":"ViewBase?"},{"label":"_","name":"property","type":"String"},{"label":"_","name":"value","type":"Any?"}],"throws":true}],
|
|
4391
4414
|
"settleCssVariables": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"view","type":"ViewBase?"},{"label":"_","name":"cssExpsProperties","type":"JSRecord<String>?"}],"throws":true}],
|
|
4392
4415
|
"tagToScopeTag": [{"kind":"var","static":true,"type":"JSMap<Any?, String>","readonly":true}],
|
|
4393
|
-
"trackedNamesEqual": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"a","type":"JSSet<String>?"},{"label":"_","name":"b","type":"JSSet<String>?"}],"throws":true}]
|
|
4416
|
+
"trackedNamesEqual": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"a","type":"JSSet<String>?"},{"label":"_","name":"b","type":"JSSet<String>?"}],"throws":true}],
|
|
4417
|
+
"unsetInlineValue": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"view","type":"ViewBase?"},{"label":"_","name":"property","type":"String"}],"throws":true}]
|
|
4394
4418
|
}
|
|
4395
4419
|
},
|
|
4396
4420
|
"Core_ui_switch_switch_common": {
|
|
@@ -4573,6 +4597,16 @@
|
|
|
4573
4597
|
"srcProperty": [{"kind":"var","static":true,"type":"Property?"}]
|
|
4574
4598
|
}
|
|
4575
4599
|
},
|
|
4600
|
+
"Core_utils_android_runtime_version": {
|
|
4601
|
+
"kind": "enum",
|
|
4602
|
+
"origin": "core",
|
|
4603
|
+
"members": {
|
|
4604
|
+
"isVersionAtLeast": [{"kind":"func","static":true,"type":"Bool","params":[{"label":"_","name":"version","type":"Any?"},{"label":"_","name":"major","type":"Double"},{"label":"_","name":"minor","type":"Double"},{"label":"_","name":"patch","type":"Double"}],"throws":true}],
|
|
4605
|
+
"runtimeCopiesTypedArraysToByteArrays": [{"kind":"func","static":true,"type":"Bool","params":[],"throws":true}],
|
|
4606
|
+
"semverPattern": [{"kind":"var","static":true,"type":"JSRegExp","readonly":true}],
|
|
4607
|
+
"typedArrayToByteArray": [{"kind":"var","static":true,"type":"Bool?"}]
|
|
4608
|
+
}
|
|
4609
|
+
},
|
|
4576
4610
|
"Core_utils_animation_helpers": {
|
|
4577
4611
|
"kind": "enum",
|
|
4578
4612
|
"origin": "core",
|
|
@@ -6858,6 +6892,7 @@
|
|
|
6858
6892
|
"kind": "struct",
|
|
6859
6893
|
"origin": "core",
|
|
6860
6894
|
"members": {
|
|
6895
|
+
"declared": [{"kind":"func","static":true,"type":"(Any?, Double, Any?) throws -> Void","params":[{"label":"_","name":"id","type":"String"},{"label":"_","name":"__h","type":"@escaping (Any?, Double, Any?) throws -> Void"}]}],
|
|
6861
6896
|
"f": [{"kind":"var","type":"(Any?, Double, Any?) throws -> Void"}],
|
|
6862
6897
|
"implicit": [{"kind":"func","static":true,"type":"((Any?, Double, Any?) throws -> Void)?","params":[{"label":"_","name":"value","type":"((Any?, Double, Any?) throws -> Void)?"}]}],
|
|
6863
6898
|
"present": [{"kind":"func","static":true,"type":"(Any?, Double, Any?) throws -> Void","params":[{"label":"_","name":"value","type":"((Any?, Double, Any?) throws -> Void)?"}],"throws":true}],
|
|
@@ -12785,26 +12820,26 @@
|
|
|
12785
12820
|
"scriptOrNil": [{"kind":"func","static":true,"type":"JSFunctionObject?","params":[{"label":"_","name":"name","type":"String"},{"label":"_","name":"length","type":"Int"},{"label":"_","name":"__f","type":"((WrapLayoutBase?, Any?, Any?) throws -> Void)?"}]}]
|
|
12786
12821
|
}
|
|
12787
12822
|
},
|
|
12788
|
-
"
|
|
12823
|
+
"FunctionCell_any_UIViewControllerAnimatedTransitioning_Opt_to_any_UIViewControllerInteractiveTransitioning_Opt": {
|
|
12789
12824
|
"kind": "struct",
|
|
12790
12825
|
"origin": "core",
|
|
12791
12826
|
"members": {
|
|
12792
|
-
"f": [{"kind":"var","type":"(any UIViewControllerAnimatedTransitioning?) throws -> (any UIViewControllerInteractiveTransitioning)?"}],
|
|
12793
|
-
"implicit": [{"kind":"func","static":true,"type":"((any UIViewControllerAnimatedTransitioning?) throws -> (any UIViewControllerInteractiveTransitioning)?)?","params":[{"label":"_","name":"value","type":"((any UIViewControllerAnimatedTransitioning?) throws -> (any UIViewControllerInteractiveTransitioning)?)?"}]}],
|
|
12794
|
-
"present": [{"kind":"func","static":true,"type":"(any UIViewControllerAnimatedTransitioning?) throws -> (any UIViewControllerInteractiveTransitioning)?","params":[{"label":"_","name":"value","type":"((any UIViewControllerAnimatedTransitioning?) throws -> (any UIViewControllerInteractiveTransitioning)?)?"}],"throws":true}],
|
|
12795
|
-
"script": [{"kind":"func","static":true,"type":"JSFunctionObject","params":[{"label":"_","name":"name","type":"String"},{"label":"_","name":"length","type":"Int"},{"label":"_","name":"__f","type":"@escaping (any UIViewControllerAnimatedTransitioning?) throws -> (any UIViewControllerInteractiveTransitioning)?"}]}],
|
|
12796
|
-
"scriptOrNil": [{"kind":"func","static":true,"type":"JSFunctionObject?","params":[{"label":"_","name":"name","type":"String"},{"label":"_","name":"length","type":"Int"},{"label":"_","name":"__f","type":"((any UIViewControllerAnimatedTransitioning?) throws -> (any UIViewControllerInteractiveTransitioning)?)?"}]}]
|
|
12827
|
+
"f": [{"kind":"var","type":"((any UIViewControllerAnimatedTransitioning)?) throws -> (any UIViewControllerInteractiveTransitioning)?"}],
|
|
12828
|
+
"implicit": [{"kind":"func","static":true,"type":"(((any UIViewControllerAnimatedTransitioning)?) throws -> (any UIViewControllerInteractiveTransitioning)?)?","params":[{"label":"_","name":"value","type":"(((any UIViewControllerAnimatedTransitioning)?) throws -> (any UIViewControllerInteractiveTransitioning)?)?"}]}],
|
|
12829
|
+
"present": [{"kind":"func","static":true,"type":"((any UIViewControllerAnimatedTransitioning)?) throws -> (any UIViewControllerInteractiveTransitioning)?","params":[{"label":"_","name":"value","type":"(((any UIViewControllerAnimatedTransitioning)?) throws -> (any UIViewControllerInteractiveTransitioning)?)?"}],"throws":true}],
|
|
12830
|
+
"script": [{"kind":"func","static":true,"type":"JSFunctionObject","params":[{"label":"_","name":"name","type":"String"},{"label":"_","name":"length","type":"Int"},{"label":"_","name":"__f","type":"@escaping ((any UIViewControllerAnimatedTransitioning)?) throws -> (any UIViewControllerInteractiveTransitioning)?"}]}],
|
|
12831
|
+
"scriptOrNil": [{"kind":"func","static":true,"type":"JSFunctionObject?","params":[{"label":"_","name":"name","type":"String"},{"label":"_","name":"length","type":"Int"},{"label":"_","name":"__f","type":"(((any UIViewControllerAnimatedTransitioning)?) throws -> (any UIViewControllerInteractiveTransitioning)?)?"}]}]
|
|
12797
12832
|
}
|
|
12798
12833
|
},
|
|
12799
|
-
"
|
|
12834
|
+
"FunctionCell_any_UIViewControllerContextTransitioning_Opt_UIViewControllerOpt_UIViewControllerOpt_UINavigationController_Operation_to_Void": {
|
|
12800
12835
|
"kind": "struct",
|
|
12801
12836
|
"origin": "core",
|
|
12802
12837
|
"members": {
|
|
12803
|
-
"f": [{"kind":"var","type":"(any UIViewControllerContextTransitioning?, UIViewController?, UIViewController?, UINavigationController.Operation) throws -> Void"}],
|
|
12804
|
-
"implicit": [{"kind":"func","static":true,"type":"((any UIViewControllerContextTransitioning?, UIViewController?, UIViewController?, UINavigationController.Operation) throws -> Void)?","params":[{"label":"_","name":"value","type":"((any UIViewControllerContextTransitioning?, UIViewController?, UIViewController?, UINavigationController.Operation) throws -> Void)?"}]}],
|
|
12805
|
-
"present": [{"kind":"func","static":true,"type":"(any UIViewControllerContextTransitioning?, UIViewController?, UIViewController?, UINavigationController.Operation) throws -> Void","params":[{"label":"_","name":"value","type":"((any UIViewControllerContextTransitioning?, UIViewController?, UIViewController?, UINavigationController.Operation) throws -> Void)?"}],"throws":true}],
|
|
12806
|
-
"script": [{"kind":"func","static":true,"type":"JSFunctionObject","params":[{"label":"_","name":"name","type":"String"},{"label":"_","name":"length","type":"Int"},{"label":"_","name":"__f","type":"@escaping (any UIViewControllerContextTransitioning?, UIViewController?, UIViewController?, UINavigationController.Operation) throws -> Void"}]}],
|
|
12807
|
-
"scriptOrNil": [{"kind":"func","static":true,"type":"JSFunctionObject?","params":[{"label":"_","name":"name","type":"String"},{"label":"_","name":"length","type":"Int"},{"label":"_","name":"__f","type":"((any UIViewControllerContextTransitioning?, UIViewController?, UIViewController?, UINavigationController.Operation) throws -> Void)?"}]}]
|
|
12838
|
+
"f": [{"kind":"var","type":"((any UIViewControllerContextTransitioning)?, UIViewController?, UIViewController?, UINavigationController.Operation) throws -> Void"}],
|
|
12839
|
+
"implicit": [{"kind":"func","static":true,"type":"(((any UIViewControllerContextTransitioning)?, UIViewController?, UIViewController?, UINavigationController.Operation) throws -> Void)?","params":[{"label":"_","name":"value","type":"(((any UIViewControllerContextTransitioning)?, UIViewController?, UIViewController?, UINavigationController.Operation) throws -> Void)?"}]}],
|
|
12840
|
+
"present": [{"kind":"func","static":true,"type":"((any UIViewControllerContextTransitioning)?, UIViewController?, UIViewController?, UINavigationController.Operation) throws -> Void","params":[{"label":"_","name":"value","type":"(((any UIViewControllerContextTransitioning)?, UIViewController?, UIViewController?, UINavigationController.Operation) throws -> Void)?"}],"throws":true}],
|
|
12841
|
+
"script": [{"kind":"func","static":true,"type":"JSFunctionObject","params":[{"label":"_","name":"name","type":"String"},{"label":"_","name":"length","type":"Int"},{"label":"_","name":"__f","type":"@escaping ((any UIViewControllerContextTransitioning)?, UIViewController?, UIViewController?, UINavigationController.Operation) throws -> Void"}]}],
|
|
12842
|
+
"scriptOrNil": [{"kind":"func","static":true,"type":"JSFunctionObject?","params":[{"label":"_","name":"name","type":"String"},{"label":"_","name":"length","type":"Int"},{"label":"_","name":"__f","type":"(((any UIViewControllerContextTransitioning)?, UIViewController?, UIViewController?, UINavigationController.Operation) throws -> Void)?"}]}]
|
|
12808
12843
|
}
|
|
12809
12844
|
},
|
|
12810
12845
|
"FunctionCell_none_to_AnyOpt": {
|
|
@@ -14759,7 +14794,7 @@
|
|
|
14759
14794
|
"origin": "runtime",
|
|
14760
14795
|
"members": {
|
|
14761
14796
|
"init": [{"kind":"init","static":true,"type":"JSAsyncLoop","params":[]}],
|
|
14762
|
-
"run": [{"kind":"func","type":"Void","params":[{"label":"_","name":"body","type":"@escaping (@escaping () -> Void) -> Void"}]}]
|
|
14797
|
+
"run": [{"kind":"func","type":"Void","params":[{"label":"_","name":"body","type":"@escaping (@escaping @MainActor () -> Void) -> Void"}]}]
|
|
14763
14798
|
}
|
|
14764
14799
|
},
|
|
14765
14800
|
"JSBigInt": {
|
|
@@ -15322,6 +15357,14 @@
|
|
|
15322
15357
|
"jsThrow": [{"kind":"func","type":"JSStep","params":[{"label":"_","name":"error","type":"Any?"}],"throws":true}]
|
|
15323
15358
|
}
|
|
15324
15359
|
},
|
|
15360
|
+
"JSJSONFastSerializable": {
|
|
15361
|
+
"kind": "protocol",
|
|
15362
|
+
"origin": "runtime",
|
|
15363
|
+
"members": {
|
|
15364
|
+
"jsCanFastJSON": [{"kind":"var","type":"Bool"}],
|
|
15365
|
+
"jsWriteJSONFast": [{"kind":"func","type":"Bool","params":[{"label":"to","name":"out","type":"JSUTF8Buffer"},{"label":"writeField","name":"writeField","type":"(StaticString, String, Any?) throws -> Void"}],"throws":true}]
|
|
15366
|
+
}
|
|
15367
|
+
},
|
|
15325
15368
|
"JSKeyAlgorithm": {
|
|
15326
15369
|
"kind": "class",
|
|
15327
15370
|
"origin": "runtime",
|
|
@@ -15510,7 +15553,7 @@
|
|
|
15510
15553
|
"optional": [{"kind":"var","type":"Wrapped?"}],
|
|
15511
15554
|
"present": [{"kind":"func","type":"Wrapped","params":[{"label":"setting","name":"key","type":"String"}],"throws":true}, {"kind":"func","type":"Wrapped","params":[{"label":"_","name":"key","type":"String"}],"throws":true}],
|
|
15512
15555
|
"undefined": [{"kind":"case","static":true,"type":"JSNullish"}],
|
|
15513
|
-
"value": [{"kind":"case","static":true,"type":"JSNullish","params":[{"label":"Wrapped","name":"Wrapped","type":"import Foundation #if canImport(UIKit) import UIKit #endif // Values as translated TypeScript holds them: `any`/`unknown` is `Any?`, an empty // `Any?` is `undefined`, `jsNull` is `null`, numbers are `Double`, objects are // classes compared by identity. /// JavaScript `null`. public final class JSNull: Sendable, CustomStringConvertible { nonisolated deinit {} fileprivate init() {} public var description: String { \"null\" } } /// The JavaScript `null` value. `undefined` is `nil`. public let jsNull = JSNull() /// A JavaScript function value as dynamic code stores and calls it. public typealias JSFunction = ([Any?]) throws -> Any? /// An object whose properties dynamic code reaches by name (`o[key]`, JSON, `console.log`): /// plain objects (`JSObject`) and the classes generated for TypeScript classes and interfaces. /// A nil `jsClassName` prints as a plain object (`{ a: 1 }`), otherwise as `Name { a: 1 }`. public protocol JSDynamic: AnyObject { subscript(jsKey key: String) -> Any? { get set } var jsKeys: [String] { get } var jsClassName: String? { get } } /// An optional field read untyped: null where the object holds the key as set to null (`jsNulls`), else its value. @inline(__always) public func jsNullable(_ value: Any?, _ nulls: Set<String>?, _ key: String) -> Any? { if value == nil, let nulls, nulls.contains(key) { return jsNull } return value } /// A value typed `T | null`, held as an optional, read untyped: nil is null. @inline(__always) public func jsNulled(_ value: Any?) -> Any? { value ?? jsNull } /// An element or map entry of `T | null` values read untyped: a missing one is undefined, a present nil null. @inline(__always) public func jsNulledEntry<V>(_ entry: V??) -> Any? { guard let value = entry else { return nil } return jsNulled(value) } /// A class's instance whose keys a write can make out of its fields' declared order (assign mode's fields without an /// initializer, a field deleted and written again): `jsOrder` is nil while the keys run in `jsFieldKeys`' order. public protocol JSKeyOrdered: AnyObject { var jsOrder: [String]? { get set } var jsFieldKeys: [String] { get } /// The keys script gave the object (its expando's), which `jsFieldKeys`' order puts after the fields. var jsAddedKeys: [String] { get } } extension JSKeyOrdered { public var jsAddedKeys: [String] { [] } /// Whether a key made now needs noting: the fields' order alone no longer places it last. public var jsKeysNoted: Bool { jsOrder != nil || !jsAddedKeys.isEmpty } /// `key` made just now: last among the keys. `early`: made before its class's level of the constructor started, so /// before keys its static place is after. public func jsKeyMade(_ key: String, early: Bool = false) { let keys = jsOrderedKeys(jsOrder, jsFieldKeys + jsAddedKeys) if jsOrder == nil && !early && keys.last == key { return } jsOrder = keys.filter { $0 != key } + [key] } } /// A library class's instance whose fields declared without a value are keys from their first write: a bit each tells /// which are, and `jsMade` is nil until one is written, then lists every key made since, in the order made (such a field, /// a later constructor level's keys, a key script adds). public protocol JSKeysMade: AnyObject { var jsMade: [String]? { get set } } /// A field declared without a value written for the first time (its `bit` unset): its key is made. public func jsMadeNote(_ bits: inout UInt64, _ made: inout [String]?, _ bit: UInt64, _ key: String) { bits |= bit if made == nil { var keys: [String] = [] keys.reserveCapacity(4) made = keys } made?.append(key) } /// A key made anew once the record began (a key script adds, maybe again after a delete): last. public func jsMadeAgain(_ made: inout [String]?, _ key: String) { guard made != nil else { return } made?.removeAll { $0 == key } made?.append(key) } /// A constructor level's keys, made as it starts: last, where a base level began the record; a key made already keeps its place. public func jsMadeLevel(_ made: inout [String]?, _ keys: [String]) { guard made != nil else { return } for k in keys where !made!.contains(k) { made!.append(k) } } /// An object's present keys `keys` (in their static order) with those its record `made` notes last, in the record's order. public func jsMadeKeys(_ made: [String]?, _ keys: [String]) -> [String] { guard let made else { return keys } return keys.filter { !made.contains($0) } + made.filter(keys.contains) } /// An object's present field keys `keys` in the order `order` notes, any it lacks after. public func jsOrderedKeys(_ order: [String]?, _ keys: [String]) -> [String] { guard let order else { return keys } return order.filter(keys.contains) + keys.filter { !order.contains($0) } } /// An optional field written untyped: whether it now holds null rather than undefined. @inline(__always) public func jsNoteNull(_ nulls: inout Set<String>?, _ key: String, _ value: Any?) { if value is JSNull { nulls = (nulls ?? []).union([key]) } else if nulls != nil { nulls!.remove(key) } } /// A string, number or boolean field written untyped, whose storage can only hold its zero: whether it now holds null /// (`jsNulls`) or undefined (`jsUnset`). @inline(__always) public func jsNoteNullish(_ nulls: inout Set<String>?, _ unset: inout Set<String>?, _ key: String, _ value: Any?) { jsNoteNull(&nulls, key, value) if jsIsNullish(value) && !(value is JSNull) { unset = (unset ?? []).union([key]) } else if unset != nil { unset!.remove(key) } } /// Such a field read untyped: the null or undefined it notes, else its value. @inline(__always) public func jsNotedNullish(_ value: Any?, _ nulls: Set<String>?, _ unset: Set<String>?, _ key: String) -> Any? { if let nulls, nulls.contains(key) { return jsNull } if let unset, unset.contains(key) { return nil } return value } /// The keys of `object` among `keys` that hold null, for a typed object read from it. public func jsNullKeys(_ object: Any?, _ keys: [String]) -> Set<String>? { guard let dynamic = jsFlat(object) as? JSDynamic else { return nil } let nulls = keys.filter { dynamic[jsKey: $0] is JSNull } return nulls.isEmpty ? nil : Set(nulls) } /// The keys of `object` among `keys` that it holds as undefined, for a typed object read from it. public func jsUnsetKeys(_ object: Any?, _ keys: [String]) -> Set<String>? { guard let dynamic = jsFlat(object) as? JSDynamic else { return nil } let own = dynamic.jsKeys let unset = keys.filter { own.contains($0) && dynamic[jsKey: $0] == nil } return unset.isEmpty ? nil : Set(unset) } /// An object literal's keys that hold null: `known` ones, and those of `values` (untyped values it was given) that are null. public func jsNullKeysOf(_ known: [String], _ values: [(String, Any?)]) -> Set<String>? { let nulls = known + values.filter { $0.1 is JSNull }.map { $0.0 } return nulls.isEmpty ? nil : Set(nulls) } /// An object literal's optional fields given null or undefined, as its values run: the keys its shape notes (`jsNulls`, `jsUnset`). public struct JSLiteralKeys { public private(set) var nulls: Set<String>? public private(set) var unset: Set<String>? public init(nulls: Set<String>? = nil, unset: Set<String>? = nil) { self.nulls = nulls self.unset = unset } /// An untyped value, before it is converted to the field's type, which holds null and undefined both as nil. @discardableResult public mutating func untyped(_ key: String, _ value: Any?) -> Any? { if value == nil { unset = (unset ?? []).union([key]) } else if value is JSNull { nulls = (nulls ?? []).union([key]) } return value } /// A typed value, whose nil is undefined. @discardableResult public mutating func typed<V>(_ key: String, _ value: V?) -> V? { if value == nil { unset = (unset ?? []).union([key]) } return value } /// A typed value, whose nil is null. public mutating func nulled<V>(_ key: String, _ value: V?) -> V? { if value == nil { nulls = (nulls ?? []).union([key]) } return value } } /// A class with its own `toString()`, which JavaScript's string conversion calls. public protocol JSStringConvertible { func toString() throws -> String } /// A class with its own `valueOf()`, which ToPrimitive calls first unless a string is wanted. public protocol JSValueOfConvertible: AnyObject { func jsValueOf() throws -> Any? } // MARK: - Null and undefined told apart /// A typed slot that may hold undefined, null or a `Wrapped`, where the program tells null from undefined (a /// `T | null | undefined` whose code compares it with either). Its nil literal is undefined. public enum JSNullish<Wrapped>: ExpressibleByNilLiteral { case undefined case null case value(Wrapped"}]}]
|
|
15556
|
+
"value": [{"kind":"case","static":true,"type":"JSNullish","params":[{"label":"Wrapped","name":"Wrapped","type":"import Foundation #if canImport(UIKit) import UIKit #endif // Values as translated TypeScript holds them: `any`/`unknown` is `Any?`, an empty // `Any?` is `undefined`, `jsNull` is `null`, numbers are `Double`, objects are // classes compared by identity. /// JavaScript `null`. public final class JSNull: Sendable, CustomStringConvertible { nonisolated deinit {} fileprivate init() {} public var description: String { \"null\" } } /// The JavaScript `null` value. `undefined` is `nil`. public let jsNull = JSNull() /// A JavaScript function value as dynamic code stores and calls it. public typealias JSFunction = ([Any?]) throws -> Any? /// An object whose properties dynamic code reaches by name (`o[key]`, JSON, `console.log`): /// plain objects (`JSObject`) and the classes generated for TypeScript classes and interfaces. /// A nil `jsClassName` prints as a plain object (`{ a: 1 }`), otherwise as `Name { a: 1 }`. @MainActor public protocol JSDynamic: AnyObject { subscript(jsKey key: String) -> Any? { get set } var jsKeys: [String] { get } var jsClassName: String? { get } } /// An optional field read untyped: null where the object holds the key as set to null (`jsNulls`), else its value. @inline(__always) public func jsNullable(_ value: Any?, _ nulls: Set<String>?, _ key: String) -> Any? { if value == nil, let nulls, nulls.contains(key) { return jsNull } return value } /// A value typed `T | null`, held as an optional, read untyped: nil is null. @inline(__always) public func jsNulled(_ value: Any?) -> Any? { value ?? jsNull } /// An element or map entry of `T | null` values read untyped: a missing one is undefined, a present nil null. @inline(__always) public func jsNulledEntry<V>(_ entry: V??) -> Any? { guard let value = entry else { return nil } return jsNulled(value) } /// A class's instance whose keys a write can make out of its fields' declared order (assign mode's fields without an /// initializer, a field deleted and written again): `jsOrder` is nil while the keys run in `jsFieldKeys`' order. public protocol JSKeyOrdered: AnyObject { var jsOrder: [String]? { get set } var jsFieldKeys: [String] { get } /// The keys script gave the object (its expando's), which `jsFieldKeys`' order puts after the fields. var jsAddedKeys: [String] { get } } extension JSKeyOrdered { public var jsAddedKeys: [String] { [] } /// Whether a key made now needs noting: the fields' order alone no longer places it last. public var jsKeysNoted: Bool { jsOrder != nil || !jsAddedKeys.isEmpty } /// `key` made just now: last among the keys. `early`: made before its class's level of the constructor started, so /// before keys its static place is after. public func jsKeyMade(_ key: String, early: Bool = false) { let keys = jsOrderedKeys(jsOrder, jsFieldKeys + jsAddedKeys) if jsOrder == nil && !early && keys.last == key { return } jsOrder = keys.filter { $0 != key } + [key] } } /// A library class's instance whose fields declared without a value are keys from their first write: a bit each tells /// which are, and `jsMade` is nil until one is written, then lists every key made since, in the order made (such a field, /// a later constructor level's keys, a key script adds). public protocol JSKeysMade: AnyObject { var jsMade: [String]? { get set } } /// A field declared without a value written for the first time (its `bit` unset): its key is made. public func jsMadeNote(_ bits: inout UInt64, _ made: inout [String]?, _ bit: UInt64, _ key: String) { bits |= bit if made == nil { var keys: [String] = [] keys.reserveCapacity(4) made = keys } made?.append(key) } /// A key made anew once the record began (a key script adds, maybe again after a delete): last. public func jsMadeAgain(_ made: inout [String]?, _ key: String) { guard made != nil else { return } made?.removeAll { $0 == key } made?.append(key) } /// A constructor level's keys, made as it starts: last, where a base level began the record; a key made already keeps its place. public func jsMadeLevel(_ made: inout [String]?, _ keys: [String]) { guard made != nil else { return } for k in keys where !made!.contains(k) { made!.append(k) } } /// An object's present keys `keys` (in their static order) with those its record `made` notes last, in the record's order. public func jsMadeKeys(_ made: [String]?, _ keys: [String]) -> [String] { guard let made else { return keys } return keys.filter { !made.contains($0) } + made.filter(keys.contains) } /// An object's present field keys `keys` in the order `order` notes, any it lacks after. public func jsOrderedKeys(_ order: [String]?, _ keys: [String]) -> [String] { guard let order else { return keys } return order.filter(keys.contains) + keys.filter { !order.contains($0) } } /// An optional field written untyped: whether it now holds null rather than undefined. @inline(__always) public func jsNoteNull(_ nulls: inout Set<String>?, _ key: String, _ value: Any?) { if value is JSNull { nulls = (nulls ?? []).union([key]) } else if nulls != nil { nulls!.remove(key) } } /// A string, number or boolean field written untyped, whose storage can only hold its zero: whether it now holds null /// (`jsNulls`) or undefined (`jsUnset`). @inline(__always) public func jsNoteNullish(_ nulls: inout Set<String>?, _ unset: inout Set<String>?, _ key: String, _ value: Any?) { jsNoteNull(&nulls, key, value) if jsIsNullish(value) && !(value is JSNull) { unset = (unset ?? []).union([key]) } else if unset != nil { unset!.remove(key) } } /// Such a field read untyped: the null or undefined it notes, else its value. @inline(__always) public func jsNotedNullish(_ value: Any?, _ nulls: Set<String>?, _ unset: Set<String>?, _ key: String) -> Any? { if let nulls, nulls.contains(key) { return jsNull } if let unset, unset.contains(key) { return nil } return value } /// The keys of `object` among `keys` that hold null, for a typed object read from it. public func jsNullKeys(_ object: Any?, _ keys: [String]) -> Set<String>? { guard let dynamic = jsFlat(object) as? JSDynamic else { return nil } let nulls = keys.filter { dynamic[jsKey: $0] is JSNull } return nulls.isEmpty ? nil : Set(nulls) } /// The keys of `object` among `keys` that it holds as undefined, for a typed object read from it. public func jsUnsetKeys(_ object: Any?, _ keys: [String]) -> Set<String>? { guard let dynamic = jsFlat(object) as? JSDynamic else { return nil } let own = dynamic.jsKeys let unset = keys.filter { own.contains($0) && dynamic[jsKey: $0] == nil } return unset.isEmpty ? nil : Set(unset) } /// An object literal's keys that hold null: `known` ones, and those of `values` (untyped values it was given) that are null. public func jsNullKeysOf(_ known: [String], _ values: [(String, Any?)]) -> Set<String>? { let nulls = known + values.filter { $0.1 is JSNull }.map { $0.0 } return nulls.isEmpty ? nil : Set(nulls) } /// An object literal's optional fields given null or undefined, as its values run: the keys its shape notes (`jsNulls`, `jsUnset`). public struct JSLiteralKeys { public private(set) var nulls: Set<String>? public private(set) var unset: Set<String>? public init(nulls: Set<String>? = nil, unset: Set<String>? = nil) { self.nulls = nulls self.unset = unset } /// An untyped value, before it is converted to the field's type, which holds null and undefined both as nil. @discardableResult public mutating func untyped(_ key: String, _ value: Any?) -> Any? { if value == nil { unset = (unset ?? []).union([key]) } else if value is JSNull { nulls = (nulls ?? []).union([key]) } return value } /// A typed value, whose nil is undefined. @discardableResult public mutating func typed<V>(_ key: String, _ value: V?) -> V? { if value == nil { unset = (unset ?? []).union([key]) } return value } /// A typed value, whose nil is null. public mutating func nulled<V>(_ key: String, _ value: V?) -> V? { if value == nil { nulls = (nulls ?? []).union([key]) } return value } } /// A class with its own `toString()`, which JavaScript's string conversion calls. public protocol JSStringConvertible { func toString() throws -> String } /// A class with its own `valueOf()`, which ToPrimitive calls first unless a string is wanted. public protocol JSValueOfConvertible: AnyObject { func jsValueOf() throws -> Any? } // MARK: - Null and undefined told apart /// A typed slot that may hold undefined, null or a `Wrapped`, where the program tells null from undefined (a /// `T | null | undefined` whose code compares it with either). Its nil literal is undefined. public enum JSNullish<Wrapped>: ExpressibleByNilLiteral { case undefined case null case value(Wrapped"}]}]
|
|
15514
15557
|
}
|
|
15515
15558
|
},
|
|
15516
15559
|
"JSNullishValue": {
|
|
@@ -16116,9 +16159,19 @@
|
|
|
16116
16159
|
"names": ["href","toString"]
|
|
16117
16160
|
},
|
|
16118
16161
|
"JSUTF8Buffer": {
|
|
16119
|
-
"kind": "
|
|
16162
|
+
"kind": "class",
|
|
16120
16163
|
"origin": "runtime",
|
|
16121
|
-
"members": {
|
|
16164
|
+
"members": {
|
|
16165
|
+
"appendJSONBool": [{"kind":"func","type":"Void","params":[{"label":"_","name":"b","type":"Bool"}]}],
|
|
16166
|
+
"appendJSONLiteral": [{"kind":"func","type":"Void","params":[{"label":"_","name":"text","type":"StaticString"}]}],
|
|
16167
|
+
"appendJSONNumber": [{"kind":"func","type":"Void","params":[{"label":"_","name":"d","type":"Double"}]}],
|
|
16168
|
+
"appendJSONNumbers": [{"kind":"func","type":"Void","params":[{"label":"_","name":"array","type":"JSArray<Double>"}]}],
|
|
16169
|
+
"appendJSONNumbersIfPlain": [{"kind":"func","type":"Bool","params":[{"label":"_","name":"prefix","type":"StaticString"},{"label":"_","name":"array","type":"JSArray<Double>?"}]}],
|
|
16170
|
+
"appendJSONString": [{"kind":"func","type":"Void","params":[{"label":"_","name":"s","type":"String"}]}],
|
|
16171
|
+
"appendJSONStrings": [{"kind":"func","type":"Void","params":[{"label":"_","name":"array","type":"JSArray<String>"}]}],
|
|
16172
|
+
"appendJSONStringsIfPlain": [{"kind":"func","type":"Bool","params":[{"label":"_","name":"prefix","type":"StaticString"},{"label":"_","name":"array","type":"JSArray<String>?"}]}],
|
|
16173
|
+
"count": [{"kind":"var","type":"Int"}]
|
|
16174
|
+
}
|
|
16122
16175
|
},
|
|
16123
16176
|
"JSUint16Element": {
|
|
16124
16177
|
"kind": "enum",
|
|
@@ -17167,8 +17220,8 @@
|
|
|
17167
17220
|
"interactiveController": [{"kind":"var","type":"UIPercentDrivenInteractiveTransition?"}],
|
|
17168
17221
|
"interactiveGestureRecognizer": [{"kind":"var","type":"UIScreenEdgePanGestureRecognizer?"}],
|
|
17169
17222
|
"iosDismissedController": [{"kind":"func","type":"(any UIViewControllerAnimatedTransitioning)?","params":[{"label":"_","name":"dismissed","type":"UIViewController?"}],"throws":true}],
|
|
17170
|
-
"iosInteractionDismiss": [{"kind":"func","type":"(any UIViewControllerInteractiveTransitioning)?","params":[{"label":"_","name":"animator","type":"any UIViewControllerAnimatedTransitioning?"}],"throws":true}],
|
|
17171
|
-
"iosInteractionPresented": [{"kind":"func","type":"(any UIViewControllerInteractiveTransitioning)?","params":[{"label":"_","name":"animator","type":"any UIViewControllerAnimatedTransitioning?"}]}],
|
|
17223
|
+
"iosInteractionDismiss": [{"kind":"func","type":"(any UIViewControllerInteractiveTransitioning)?","params":[{"label":"_","name":"animator","type":"(any UIViewControllerAnimatedTransitioning)?"}],"throws":true}],
|
|
17224
|
+
"iosInteractionPresented": [{"kind":"func","type":"(any UIViewControllerInteractiveTransitioning)?","params":[{"label":"_","name":"animator","type":"(any UIViewControllerAnimatedTransitioning)?"}]}],
|
|
17172
17225
|
"iosPresentedController": [{"kind":"func","type":"(any UIViewControllerAnimatedTransitioning)?","params":[{"label":"_","name":"presented","type":"UIViewController?"},{"label":"_","name":"presenting","type":"UIViewController?"},{"label":"_","name":"source","type":"UIViewController?"}],"throws":true}],
|
|
17173
17226
|
"jsClassName": [{"kind":"var","type":"String?"}],
|
|
17174
17227
|
"jsDeclaredKeys": [{"kind":"var","type":"[String]"}],
|
|
@@ -18865,6 +18918,21 @@
|
|
|
18865
18918
|
},
|
|
18866
18919
|
"names": ["android","eventName","ios","object"]
|
|
18867
18920
|
},
|
|
18921
|
+
"Object_eventName_object_ios_android_": {
|
|
18922
|
+
"kind": "class",
|
|
18923
|
+
"origin": "core",
|
|
18924
|
+
"members": {
|
|
18925
|
+
"android": [{"kind":"var","type":"Any?"}],
|
|
18926
|
+
"eventName": [{"kind":"var","type":"String"}],
|
|
18927
|
+
"init": [{"kind":"init","static":true,"type":"Object_eventName_object_ios_android_","params":[{"label":"eventName","name":"eventName","type":"String"},{"label":"object","name":"object","type":"Any?","default":"nil"},{"label":"ios","name":"ios","type":"Any?","default":"nil"},{"label":"android","name":"android","type":"Any?","default":"nil"},{"label":"jsOrder","name":"jsOrder","type":"[String]?","default":"nil"},{"label":"jsUnset","name":"jsUnset","type":"Set<String>?","default":"nil"}]}, {"kind":"init","static":true,"type":"Object_eventName_object_ios_android_","params":[{"label":"jsObject","name":"jsObject","type":"Any?"}]}],
|
|
18928
|
+
"ios": [{"kind":"var","type":"Any?"}],
|
|
18929
|
+
"jsClassName": [{"kind":"var","type":"String?"}],
|
|
18930
|
+
"jsKeys": [{"kind":"var","type":"[String]"}],
|
|
18931
|
+
"object": [{"kind":"var","type":"Any?"}],
|
|
18932
|
+
"subscript": [{"kind":"subscript","type":"Any?","params":[{"label":"jsKey","name":"key","type":"String"}]}]
|
|
18933
|
+
},
|
|
18934
|
+
"names": ["android","eventName","ios","object"]
|
|
18935
|
+
},
|
|
18868
18936
|
"Object_eventName_object_ios_android_cssFile": {
|
|
18869
18937
|
"kind": "class",
|
|
18870
18938
|
"origin": "core",
|
|
@@ -22607,6 +22675,20 @@
|
|
|
22607
22675
|
},
|
|
22608
22676
|
"names": ["spans"]
|
|
22609
22677
|
},
|
|
22678
|
+
"Object_specified_substituted_reads": {
|
|
22679
|
+
"kind": "class",
|
|
22680
|
+
"origin": "core",
|
|
22681
|
+
"members": {
|
|
22682
|
+
"init": [{"kind":"init","static":true,"type":"Object_specified_substituted_reads","params":[{"label":"specified","name":"specified","type":"Any?","default":"nil"},{"label":"substituted","name":"substituted","type":"Any?","default":"nil"},{"label":"reads","name":"reads","type":"Any?","default":"nil"},{"label":"jsOrder","name":"jsOrder","type":"[String]?","default":"nil"},{"label":"jsUnset","name":"jsUnset","type":"Set<String>?","default":"nil"}]}, {"kind":"init","static":true,"type":"Object_specified_substituted_reads","params":[{"label":"jsObject","name":"jsObject","type":"Any?"}]}],
|
|
22683
|
+
"jsClassName": [{"kind":"var","type":"String?"}],
|
|
22684
|
+
"jsKeys": [{"kind":"var","type":"[String]"}],
|
|
22685
|
+
"reads": [{"kind":"var","type":"Any?"}],
|
|
22686
|
+
"specified": [{"kind":"var","type":"Any?"}],
|
|
22687
|
+
"subscript": [{"kind":"subscript","type":"Any?","params":[{"label":"jsKey","name":"key","type":"String"}]}],
|
|
22688
|
+
"substituted": [{"kind":"var","type":"Any?"}]
|
|
22689
|
+
},
|
|
22690
|
+
"names": ["reads","specified","substituted"]
|
|
22691
|
+
},
|
|
22610
22692
|
"Object_start_end_value": {
|
|
22611
22693
|
"kind": "class",
|
|
22612
22694
|
"origin": "core",
|
|
@@ -22858,6 +22940,34 @@
|
|
|
22858
22940
|
},
|
|
22859
22941
|
"names": ["headers","status","statusText","url"]
|
|
22860
22942
|
},
|
|
22943
|
+
"Object_substituted_values_reads": {
|
|
22944
|
+
"kind": "class",
|
|
22945
|
+
"origin": "core",
|
|
22946
|
+
"members": {
|
|
22947
|
+
"init": [{"kind":"init","static":true,"type":"Object_substituted_values_reads","params":[{"label":"substituted","name":"substituted","type":"Any?","default":"nil"},{"label":"values","name":"values","type":"JSRecord<Any?>?"},{"label":"reads","name":"reads","type":"Any?","default":"nil"},{"label":"jsOrder","name":"jsOrder","type":"[String]?","default":"nil"},{"label":"jsUnset","name":"jsUnset","type":"Set<String>?","default":"nil"}]}, {"kind":"init","static":true,"type":"Object_substituted_values_reads","params":[{"label":"jsObject","name":"jsObject","type":"Any?"}]}],
|
|
22948
|
+
"jsClassName": [{"kind":"var","type":"String?"}],
|
|
22949
|
+
"jsKeys": [{"kind":"var","type":"[String]"}],
|
|
22950
|
+
"reads": [{"kind":"var","type":"Any?"}],
|
|
22951
|
+
"subscript": [{"kind":"subscript","type":"Any?","params":[{"label":"jsKey","name":"key","type":"String"}]}],
|
|
22952
|
+
"substituted": [{"kind":"var","type":"Any?"}],
|
|
22953
|
+
"values": [{"kind":"var","type":"JSRecord<Any?>?"}]
|
|
22954
|
+
},
|
|
22955
|
+
"names": ["reads","substituted","values"]
|
|
22956
|
+
},
|
|
22957
|
+
"Object_substituted_values_reads_": {
|
|
22958
|
+
"kind": "class",
|
|
22959
|
+
"origin": "core",
|
|
22960
|
+
"members": {
|
|
22961
|
+
"init": [{"kind":"init","static":true,"type":"Object_substituted_values_reads_","params":[{"label":"substituted","name":"substituted","type":"Any?","default":"nil"},{"label":"values","name":"values","type":"Any?","default":"nil"},{"label":"reads","name":"reads","type":"Any?","default":"nil"},{"label":"jsOrder","name":"jsOrder","type":"[String]?","default":"nil"},{"label":"jsUnset","name":"jsUnset","type":"Set<String>?","default":"nil"}]}, {"kind":"init","static":true,"type":"Object_substituted_values_reads_","params":[{"label":"jsObject","name":"jsObject","type":"Any?"}]}],
|
|
22962
|
+
"jsClassName": [{"kind":"var","type":"String?"}],
|
|
22963
|
+
"jsKeys": [{"kind":"var","type":"[String]"}],
|
|
22964
|
+
"reads": [{"kind":"var","type":"Any?"}],
|
|
22965
|
+
"subscript": [{"kind":"subscript","type":"Any?","params":[{"label":"jsKey","name":"key","type":"String"}]}],
|
|
22966
|
+
"substituted": [{"kind":"var","type":"Any?"}],
|
|
22967
|
+
"values": [{"kind":"var","type":"Any?"}]
|
|
22968
|
+
},
|
|
22969
|
+
"names": ["reads","substituted","values"]
|
|
22970
|
+
},
|
|
22861
22971
|
"Object_targetProperty": {
|
|
22862
22972
|
"kind": "class",
|
|
22863
22973
|
"origin": "core",
|
|
@@ -24728,7 +24838,7 @@
|
|
|
24728
24838
|
"_teardownGesture": [{"kind":"func","type":"Void","params":[],"throws":true}],
|
|
24729
24839
|
"init": [{"kind":"init","static":true,"type":"PageTransition","params":[{"label":"_","name":"duration","type":"Double","default":"350"},{"label":"_","name":"nativeCurve","type":"UIView.AnimationCurve?","default":"nil"}]}],
|
|
24730
24840
|
"interactiveController": [{"kind":"var","type":"UIPercentDrivenInteractiveTransition?"}],
|
|
24731
|
-
"iosInteractionDismiss": [{"kind":"func","type":"(any UIViewControllerInteractiveTransitioning)?","params":[{"label":"_","name":"animator","type":"any UIViewControllerAnimatedTransitioning?"}],"throws":true}],
|
|
24841
|
+
"iosInteractionDismiss": [{"kind":"func","type":"(any UIViewControllerInteractiveTransitioning)?","params":[{"label":"_","name":"animator","type":"(any UIViewControllerAnimatedTransitioning)?"}],"throws":true}],
|
|
24732
24842
|
"iosNavigatedController": [{"kind":"func","type":"(any UIViewControllerAnimatedTransitioning)?","params":[{"label":"_","name":"navigationController","type":"UINavigationController?"},{"label":"_","name":"operation","type":"Double"},{"label":"_","name":"fromVC","type":"UIViewController?"},{"label":"_","name":"toVC","type":"UIViewController?"}],"throws":true}],
|
|
24733
24843
|
"jsClassName": [{"kind":"var","type":"String?"}],
|
|
24734
24844
|
"jsDeclaredKeys": [{"kind":"var","type":"[String]"}],
|
|
@@ -26000,7 +26110,7 @@
|
|
|
26000
26110
|
"kind": "class",
|
|
26001
26111
|
"origin": "core",
|
|
26002
26112
|
"members": {
|
|
26003
|
-
"animate": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"state","type":"Any?"},{"label":"_","name":"transitionContext","type":"any UIViewControllerContextTransitioning?"},{"label":"_","name":"type","type":"Any?"}],"throws":true}],
|
|
26113
|
+
"animate": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"state","type":"Any?"},{"label":"_","name":"transitionContext","type":"(any UIViewControllerContextTransitioning)?"},{"label":"_","name":"type","type":"Any?"}],"throws":true}],
|
|
26004
26114
|
"init": [{"kind":"init","static":true,"type":"SharedTransitionHelper","params":[]}],
|
|
26005
26115
|
"interactiveCancel": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"state","type":"Any?"},{"label":"_","name":"interactiveState","type":"Any?"},{"label":"_","name":"type","type":"Any?"}],"throws":true}],
|
|
26006
26116
|
"interactiveFinish": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"state","type":"Any?"},{"label":"_","name":"interactiveState","type":"Any?"},{"label":"_","name":"type","type":"Any?"}],"throws":true}],
|
|
@@ -26478,6 +26588,7 @@
|
|
|
26478
26588
|
"PropertyBag": [{"kind":"var","type":"Any?"}],
|
|
26479
26589
|
"__own_PropertyBag": [{"kind":"var","type":"Any??"}],
|
|
26480
26590
|
"__own__localValueVersion": [{"kind":"var","type":"Double?"}],
|
|
26591
|
+
"_localCssExpressions": [{"kind":"var","type":"JSMap<String, Any?>?"}],
|
|
26481
26592
|
"_localValueVersion": [{"kind":"var","type":"Double"}],
|
|
26482
26593
|
"accessibilityHidden": [{"kind":"var","type":"Bool"}],
|
|
26483
26594
|
"accessibilityLanguage": [{"kind":"var","type":"String"}],
|
|
@@ -26617,7 +26728,7 @@
|
|
|
26617
26728
|
"width": [{"kind":"var","type":"Any?"}],
|
|
26618
26729
|
"zIndex": [{"kind":"var","type":"Double"}]
|
|
26619
26730
|
},
|
|
26620
|
-
"names": ["PropertyBag","_localValueVersion","accessibilityHidden","getCssVariable","removeScopedCssVariable","removeUnscopedCssVariable","resetScopedCssVariables","resetUnscopedCssVariables","scopedCssVariables","setScopedCssVariable","setUnscopedCssVariable","toString","unscopedCssVariables","viewRef"],
|
|
26731
|
+
"names": ["PropertyBag","_localCssExpressions","_localValueVersion","accessibilityHidden","getCssVariable","removeScopedCssVariable","removeUnscopedCssVariable","resetScopedCssVariables","resetUnscopedCssVariables","scopedCssVariables","setScopedCssVariable","setUnscopedCssVariable","toString","unscopedCssVariables","viewRef"],
|
|
26621
26732
|
"base": "Observable"
|
|
26622
26733
|
},
|
|
26623
26734
|
"StyleScope": {
|
|
@@ -27693,7 +27804,7 @@
|
|
|
27693
27804
|
"AndroidTransitionType": [{"kind":"var","static":true,"type":"JSObject?"}],
|
|
27694
27805
|
"_curve": [{"kind":"var","type":"UIView.AnimationCurve"}],
|
|
27695
27806
|
"_duration": [{"kind":"var","type":"Double"}],
|
|
27696
|
-
"animateIOSTransition": [{"kind":"func","type":"Void","params":[{"label":"_","name":"transitionContext","type":"any UIViewControllerContextTransitioning?"},{"label":"_","name":"fromViewCtrl","type":"UIViewController?"},{"label":"_","name":"toViewCtrl","type":"UIViewController?"},{"label":"_","name":"operation","type":"UINavigationController.Operation"}],"throws":true}],
|
|
27807
|
+
"animateIOSTransition": [{"kind":"func","type":"Void","params":[{"label":"_","name":"transitionContext","type":"(any UIViewControllerContextTransitioning)?"},{"label":"_","name":"fromViewCtrl","type":"UIViewController?"},{"label":"_","name":"toViewCtrl","type":"UIViewController?"},{"label":"_","name":"operation","type":"UINavigationController.Operation"}],"throws":true}],
|
|
27697
27808
|
"createAndroidAnimator": [{"kind":"func","type":"Any?","params":[{"label":"_","name":"transitionType","type":"String"}],"throws":true}],
|
|
27698
27809
|
"getCurve": [{"kind":"func","type":"UIView.AnimationCurve","params":[]}],
|
|
27699
27810
|
"getDuration": [{"kind":"func","type":"Double","params":[]}],
|
|
@@ -30166,7 +30277,7 @@
|
|
|
30166
30277
|
"jsArrayOrNil": [{"kind":"func","static":true,"type":"JSArray<T>?","params":[{"label":"_","name":"value","type":"Any?"},{"label":"_","name":"element","type":"(Any?) throws -> T"}],"origin":"runtime"}, {"kind":"func","static":true,"type":"JSArray<T>?","params":[{"label":"_","name":"value","type":"Any?"},{"label":"as","name":"type","type":"JSArray<T>.Type"},{"label":"_","name":"element","type":"(Any?) throws -> T"}],"origin":"runtime"}],
|
|
30167
30278
|
"jsArrayPrototypeCall": [{"kind":"func","static":true,"type":"Any?","params":[{"label":"_","name":"receiver","type":"Any?"},{"label":"_","name":"method","type":"String"},{"label":"_","name":"arguments","type":"Any?..."}],"throws":true,"origin":"runtime"}, {"kind":"func","static":true,"type":"Any?","params":[{"label":"_","name":"receiver","type":"Any?"},{"label":"_","name":"method","type":"String"},{"label":"spread","name":"arguments","type":"[Any?]"}],"throws":true,"origin":"runtime"}],
|
|
30168
30279
|
"jsArrayView": [{"kind":"func","static":true,"type":"JSArray<U>","params":[{"label":"_","name":"array","type":"JSArray<E>"},{"label":"as","name":"_","type":"U.Type"}],"origin":"runtime"}],
|
|
30169
|
-
"jsAsyncClose": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"iterator","type":"JSAsyncIteratorProtocol"},{"label":"_","name":"then","type":"@escaping () -> Void"},{"label":"_","name":"onError","type":"@escaping (Any?) -> Void"}],"origin":"runtime"}],
|
|
30280
|
+
"jsAsyncClose": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"iterator","type":"JSAsyncIteratorProtocol"},{"label":"_","name":"then","type":"@escaping @MainActor () -> Void"},{"label":"_","name":"onError","type":"@escaping (Any?) -> Void"}],"origin":"runtime"}],
|
|
30170
30281
|
"jsAsyncCloseThrowing": [{"kind":"func","static":true,"type":"Void","params":[{"label":"_","name":"iterator","type":"JSAsyncIteratorProtocol"},{"label":"_","name":"error","type":"Any?"},{"label":"_","name":"onError","type":"@escaping (Any?) -> Void"}],"origin":"runtime"}],
|
|
30171
30282
|
"jsAsyncIterable": [{"kind":"func","static":true,"type":"JSAsyncIterable<T>","params":[{"label":"_","name":"value","type":"JSAsyncIterableValue"}],"origin":"runtime"}],
|
|
30172
30283
|
"jsAsyncIteratorOf": [{"kind":"func","static":true,"type":"JSAsyncIterator<Any?>","params":[{"label":"_","name":"value","type":"Any?"}],"throws":true,"origin":"runtime"}],
|