From 529c40ba3b4c7fde369936a9f0daa62102d75d2e Mon Sep 17 00:00:00 2001 From: rjrjr Date: Sat, 20 Jan 2024 01:12:46 +0000 Subject: [PATCH] Apply changes from apiDump Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- workflow-ui/core-android/api/core-android.api | 148 +++++++++--------- workflow-ui/core-common/api/core-common.api | 144 ++++++++--------- 2 files changed, 146 insertions(+), 146 deletions(-) diff --git a/workflow-ui/core-android/api/core-android.api b/workflow-ui/core-android/api/core-android.api index 110e3fd8a3..f05afe938f 100644 --- a/workflow-ui/core-android/api/core-android.api +++ b/workflow-ui/core-android/api/core-android.api @@ -17,12 +17,6 @@ public final class com/squareup/workflow1/ui/LayoutScreenViewFactory : com/squar public fun getType ()Lkotlin/reflect/KClass; } -public final class com/squareup/workflow1/ui/OnBackPressedDispatcherOwnerKey : com/squareup/workflow1/ui/ViewEnvironmentKey { - public static final field INSTANCE Lcom/squareup/workflow1/ui/OnBackPressedDispatcherOwnerKey; - public fun getDefault ()Landroidx/activity/OnBackPressedDispatcherOwner; - public synthetic fun getDefault ()Ljava/lang/Object; -} - public final class com/squareup/workflow1/ui/ParcelableTextController : android/os/Parcelable, com/squareup/workflow1/ui/TextController { public static final field CREATOR Lcom/squareup/workflow1/ui/ParcelableTextController$CREATOR; public synthetic fun (Landroid/os/Parcel;Lkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -104,12 +98,6 @@ public final class com/squareup/workflow1/ui/TextControllerControlEditTextKt { public static final fun control (Lcom/squareup/workflow1/ui/TextController;Landroid/widget/EditText;)V } -public final class com/squareup/workflow1/ui/ViewBackHandlerKt { - public static final fun setBackHandler (Landroid/view/View;Lkotlin/jvm/functions/Function0;)V - public static final fun setBackHandler (Landroid/view/View;ZLkotlin/jvm/functions/Function0;)V - public static synthetic fun setBackHandler$default (Landroid/view/View;ZLkotlin/jvm/functions/Function0;ILjava/lang/Object;)V -} - public final class com/squareup/workflow1/ui/ViewBindingScreenViewFactory : com/squareup/workflow1/ui/ScreenViewFactory { public fun (Lkotlin/reflect/KClass;Lkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;)V public fun buildView (Lcom/squareup/workflow1/ui/Screen;Lcom/squareup/workflow1/ui/ViewEnvironment;Landroid/content/Context;Landroid/view/ViewGroup;)Lcom/squareup/workflow1/ui/ScreenViewHolder; @@ -157,6 +145,12 @@ public final class com/squareup/workflow1/ui/WorkflowViewStub : android/view/Vie public final fun show (Lcom/squareup/workflow1/ui/Screen;Lcom/squareup/workflow1/ui/ViewEnvironment;)V } +public final class com/squareup/workflow1/ui/androidx/OnBackPressedDispatcherOwnerKey : com/squareup/workflow1/ui/ViewEnvironmentKey { + public static final field INSTANCE Lcom/squareup/workflow1/ui/androidx/OnBackPressedDispatcherOwnerKey; + public fun getDefault ()Landroidx/activity/OnBackPressedDispatcherOwner; + public synthetic fun getDefault ()Ljava/lang/Object; +} + public final class com/squareup/workflow1/ui/androidx/WorkflowAndroidXSupport { public static final field INSTANCE Lcom/squareup/workflow1/ui/androidx/WorkflowAndroidXSupport; public final fun lifecycleOwnerFromContext (Landroid/content/Context;)Landroidx/lifecycle/LifecycleOwner; @@ -188,32 +182,32 @@ public final class com/squareup/workflow1/ui/androidx/WorkflowSavedStateRegistry public final fun saveAndPruneChildRegistryOwner (Ljava/lang/String;)V } -public final class com/squareup/workflow1/ui/container/AlertDialogThemeResId : com/squareup/workflow1/ui/ViewEnvironmentKey { - public static final field INSTANCE Lcom/squareup/workflow1/ui/container/AlertDialogThemeResId; +public final class com/squareup/workflow1/ui/navigation/AlertDialogThemeResId : com/squareup/workflow1/ui/ViewEnvironmentKey { + public static final field INSTANCE Lcom/squareup/workflow1/ui/navigation/AlertDialogThemeResId; public fun getDefault ()Ljava/lang/Integer; public synthetic fun getDefault ()Ljava/lang/Object; } -public final class com/squareup/workflow1/ui/container/AlertOverlayDialogFactoryKt { - public static final fun toDialogHolder (Landroid/app/AlertDialog;Lcom/squareup/workflow1/ui/ViewEnvironment;)Lcom/squareup/workflow1/ui/container/OverlayDialogHolder; +public final class com/squareup/workflow1/ui/navigation/AlertOverlayDialogFactoryKt { + public static final fun toDialogHolder (Landroid/app/AlertDialog;Lcom/squareup/workflow1/ui/ViewEnvironment;)Lcom/squareup/workflow1/ui/navigation/OverlayDialogHolder; } -public final class com/squareup/workflow1/ui/container/AndroidDialogBoundsKt { +public final class com/squareup/workflow1/ui/navigation/AndroidDialogBoundsKt { public static final fun getScreenRect (Landroid/view/View;Landroid/graphics/Rect;)V public static final fun setBounds (Landroid/app/Dialog;Landroid/graphics/Rect;)V } -public abstract interface class com/squareup/workflow1/ui/container/AndroidOverlay : com/squareup/workflow1/ui/container/Overlay { - public abstract fun getDialogFactory ()Lcom/squareup/workflow1/ui/container/OverlayDialogFactory; +public abstract interface class com/squareup/workflow1/ui/navigation/AndroidOverlay : com/squareup/workflow1/ui/navigation/Overlay { + public abstract fun getDialogFactory ()Lcom/squareup/workflow1/ui/navigation/OverlayDialogFactory; } -public final class com/squareup/workflow1/ui/container/AsDialogHolderWithContentKt { - public static final fun asDialogHolderWithContent (Landroidx/activity/ComponentDialog;Lcom/squareup/workflow1/ui/container/ScreenOverlay;Lcom/squareup/workflow1/ui/ViewEnvironment;Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/container/OverlayDialogHolder; - public static synthetic fun asDialogHolderWithContent$default (Landroidx/activity/ComponentDialog;Lcom/squareup/workflow1/ui/container/ScreenOverlay;Lcom/squareup/workflow1/ui/ViewEnvironment;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lcom/squareup/workflow1/ui/container/OverlayDialogHolder; +public final class com/squareup/workflow1/ui/navigation/AsDialogHolderWithContentKt { + public static final fun asDialogHolderWithContent (Landroidx/activity/ComponentDialog;Lcom/squareup/workflow1/ui/navigation/ScreenOverlay;Lcom/squareup/workflow1/ui/ViewEnvironment;Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/navigation/OverlayDialogHolder; + public static synthetic fun asDialogHolderWithContent$default (Landroidx/activity/ComponentDialog;Lcom/squareup/workflow1/ui/navigation/ScreenOverlay;Lcom/squareup/workflow1/ui/ViewEnvironment;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lcom/squareup/workflow1/ui/navigation/OverlayDialogHolder; public static final fun fixBackgroundAndDimming (Landroid/app/Dialog;)V } -public final class com/squareup/workflow1/ui/container/BackButtonScreen : com/squareup/workflow1/ui/AndroidScreen, com/squareup/workflow1/ui/Wrapper { +public final class com/squareup/workflow1/ui/navigation/BackButtonScreen : com/squareup/workflow1/ui/AndroidScreen, com/squareup/workflow1/ui/Wrapper { public fun (Lcom/squareup/workflow1/ui/Screen;ZLkotlin/jvm/functions/Function0;)V public synthetic fun (Lcom/squareup/workflow1/ui/Screen;ZLkotlin/jvm/functions/Function0;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public fun asSequence ()Lkotlin/sequences/Sequence; @@ -225,10 +219,10 @@ public final class com/squareup/workflow1/ui/container/BackButtonScreen : com/sq public fun getViewFactory ()Lcom/squareup/workflow1/ui/ScreenViewFactory; public synthetic fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/Container; public synthetic fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/Wrapper; - public fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/container/BackButtonScreen; + public fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/navigation/BackButtonScreen; } -public class com/squareup/workflow1/ui/container/BackStackContainer : android/widget/FrameLayout { +public class com/squareup/workflow1/ui/navigation/BackStackContainer : android/widget/FrameLayout { public fun (Landroid/content/Context;)V public fun (Landroid/content/Context;Landroid/util/AttributeSet;)V public fun (Landroid/content/Context;Landroid/util/AttributeSet;I)V @@ -239,119 +233,125 @@ public class com/squareup/workflow1/ui/container/BackStackContainer : android/wi protected fun onRestoreInstanceState (Landroid/os/Parcelable;)V protected fun onSaveInstanceState ()Landroid/os/Parcelable; protected fun performTransition (Lcom/squareup/workflow1/ui/ScreenViewHolder;Lcom/squareup/workflow1/ui/ScreenViewHolder;Z)V - public final fun update (Lcom/squareup/workflow1/ui/container/BackStackScreen;Lcom/squareup/workflow1/ui/ViewEnvironment;)V + public final fun update (Lcom/squareup/workflow1/ui/navigation/BackStackScreen;Lcom/squareup/workflow1/ui/ViewEnvironment;)V } -public final class com/squareup/workflow1/ui/container/BackStackContainer$SavedState : android/view/View$BaseSavedState { - public static final field CREATOR Lcom/squareup/workflow1/ui/container/BackStackContainer$SavedState$CREATOR; +public final class com/squareup/workflow1/ui/navigation/BackStackContainer$SavedState : android/view/View$BaseSavedState { + public static final field CREATOR Lcom/squareup/workflow1/ui/navigation/BackStackContainer$SavedState$CREATOR; public fun (Landroid/os/Parcel;)V - public fun (Landroid/os/Parcelable;Lcom/squareup/workflow1/ui/container/ViewStateCache$Saved;)V - public final fun getSavedViewState ()Lcom/squareup/workflow1/ui/container/ViewStateCache$Saved; + public fun (Landroid/os/Parcelable;Lcom/squareup/workflow1/ui/navigation/ViewStateCache$Saved;)V + public final fun getSavedViewState ()Lcom/squareup/workflow1/ui/navigation/ViewStateCache$Saved; public fun writeToParcel (Landroid/os/Parcel;I)V } -public final class com/squareup/workflow1/ui/container/BackStackContainer$SavedState$CREATOR : android/os/Parcelable$Creator { - public fun createFromParcel (Landroid/os/Parcel;)Lcom/squareup/workflow1/ui/container/BackStackContainer$SavedState; +public final class com/squareup/workflow1/ui/navigation/BackStackContainer$SavedState$CREATOR : android/os/Parcelable$Creator { + public fun createFromParcel (Landroid/os/Parcel;)Lcom/squareup/workflow1/ui/navigation/BackStackContainer$SavedState; public synthetic fun createFromParcel (Landroid/os/Parcel;)Ljava/lang/Object; - public fun newArray (I)[Lcom/squareup/workflow1/ui/container/BackStackContainer$SavedState; + public fun newArray (I)[Lcom/squareup/workflow1/ui/navigation/BackStackContainer$SavedState; public synthetic fun newArray (I)[Ljava/lang/Object; } -public final class com/squareup/workflow1/ui/container/LayeredDialogSessions { - public static final field Companion Lcom/squareup/workflow1/ui/container/LayeredDialogSessions$Companion; +public final class com/squareup/workflow1/ui/navigation/LayeredDialogSessions { + public static final field Companion Lcom/squareup/workflow1/ui/navigation/LayeredDialogSessions$Companion; public synthetic fun (Landroid/content/Context;Lkotlinx/coroutines/flow/StateFlow;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun getAllowBodyEvents ()Z public final fun onAttachedToWindow (Ljava/lang/String;Landroid/view/View;)V public final fun onDetachedFromWindow ()V - public final fun onRestoreInstanceState (Lcom/squareup/workflow1/ui/container/LayeredDialogSessions$SavedState;)V - public final fun onSaveInstanceState ()Lcom/squareup/workflow1/ui/container/LayeredDialogSessions$SavedState; + public final fun onRestoreInstanceState (Lcom/squareup/workflow1/ui/navigation/LayeredDialogSessions$SavedState;)V + public final fun onSaveInstanceState ()Lcom/squareup/workflow1/ui/navigation/LayeredDialogSessions$SavedState; public final fun update (Ljava/util/List;Lcom/squareup/workflow1/ui/ViewEnvironment;Lkotlin/jvm/functions/Function1;)V } -public final class com/squareup/workflow1/ui/container/LayeredDialogSessions$Companion { - public final fun forView (Landroid/view/View;Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/container/LayeredDialogSessions; +public final class com/squareup/workflow1/ui/navigation/LayeredDialogSessions$Companion { + public final fun forView (Landroid/view/View;Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/navigation/LayeredDialogSessions; } -public final class com/squareup/workflow1/ui/container/LayeredDialogSessions$SavedState : android/os/Parcelable { - public static final field CREATOR Lcom/squareup/workflow1/ui/container/LayeredDialogSessions$SavedState$CREATOR; +public final class com/squareup/workflow1/ui/navigation/LayeredDialogSessions$SavedState : android/os/Parcelable { + public static final field CREATOR Lcom/squareup/workflow1/ui/navigation/LayeredDialogSessions$SavedState$CREATOR; public fun (Landroid/os/Parcel;)V public fun describeContents ()I public fun writeToParcel (Landroid/os/Parcel;I)V } -public final class com/squareup/workflow1/ui/container/LayeredDialogSessions$SavedState$CREATOR : android/os/Parcelable$Creator { - public fun createFromParcel (Landroid/os/Parcel;)Lcom/squareup/workflow1/ui/container/LayeredDialogSessions$SavedState; +public final class com/squareup/workflow1/ui/navigation/LayeredDialogSessions$SavedState$CREATOR : android/os/Parcelable$Creator { + public fun createFromParcel (Landroid/os/Parcel;)Lcom/squareup/workflow1/ui/navigation/LayeredDialogSessions$SavedState; public synthetic fun createFromParcel (Landroid/os/Parcel;)Ljava/lang/Object; - public fun newArray (I)[Lcom/squareup/workflow1/ui/container/LayeredDialogSessions$SavedState; + public fun newArray (I)[Lcom/squareup/workflow1/ui/navigation/LayeredDialogSessions$SavedState; public synthetic fun newArray (I)[Ljava/lang/Object; } -public abstract interface class com/squareup/workflow1/ui/container/OverlayDialogFactory : com/squareup/workflow1/ui/ViewRegistry$Entry { - public static final field Companion Lcom/squareup/workflow1/ui/container/OverlayDialogFactory$Companion; - public abstract fun buildDialog (Lcom/squareup/workflow1/ui/container/Overlay;Lcom/squareup/workflow1/ui/ViewEnvironment;Landroid/content/Context;)Lcom/squareup/workflow1/ui/container/OverlayDialogHolder; +public abstract interface class com/squareup/workflow1/ui/navigation/OverlayDialogFactory : com/squareup/workflow1/ui/ViewRegistry$Entry { + public static final field Companion Lcom/squareup/workflow1/ui/navigation/OverlayDialogFactory$Companion; + public abstract fun buildDialog (Lcom/squareup/workflow1/ui/navigation/Overlay;Lcom/squareup/workflow1/ui/ViewEnvironment;Landroid/content/Context;)Lcom/squareup/workflow1/ui/navigation/OverlayDialogHolder; } -public final class com/squareup/workflow1/ui/container/OverlayDialogFactory$Companion { +public final class com/squareup/workflow1/ui/navigation/OverlayDialogFactory$Companion { } -public abstract interface class com/squareup/workflow1/ui/container/OverlayDialogFactoryFinder { - public static final field Companion Lcom/squareup/workflow1/ui/container/OverlayDialogFactoryFinder$Companion; - public abstract fun getDialogFactoryForRendering (Lcom/squareup/workflow1/ui/ViewEnvironment;Lcom/squareup/workflow1/ui/container/Overlay;)Lcom/squareup/workflow1/ui/container/OverlayDialogFactory; +public abstract interface class com/squareup/workflow1/ui/navigation/OverlayDialogFactoryFinder { + public static final field Companion Lcom/squareup/workflow1/ui/navigation/OverlayDialogFactoryFinder$Companion; + public abstract fun getDialogFactoryForRendering (Lcom/squareup/workflow1/ui/ViewEnvironment;Lcom/squareup/workflow1/ui/navigation/Overlay;)Lcom/squareup/workflow1/ui/navigation/OverlayDialogFactory; } -public final class com/squareup/workflow1/ui/container/OverlayDialogFactoryFinder$Companion : com/squareup/workflow1/ui/ViewEnvironmentKey { - public fun getDefault ()Lcom/squareup/workflow1/ui/container/OverlayDialogFactoryFinder; +public final class com/squareup/workflow1/ui/navigation/OverlayDialogFactoryFinder$Companion : com/squareup/workflow1/ui/ViewEnvironmentKey { + public fun getDefault ()Lcom/squareup/workflow1/ui/navigation/OverlayDialogFactoryFinder; public synthetic fun getDefault ()Ljava/lang/Object; } -public final class com/squareup/workflow1/ui/container/OverlayDialogFactoryFinder$DefaultImpls { - public static fun getDialogFactoryForRendering (Lcom/squareup/workflow1/ui/container/OverlayDialogFactoryFinder;Lcom/squareup/workflow1/ui/ViewEnvironment;Lcom/squareup/workflow1/ui/container/Overlay;)Lcom/squareup/workflow1/ui/container/OverlayDialogFactory; +public final class com/squareup/workflow1/ui/navigation/OverlayDialogFactoryFinder$DefaultImpls { + public static fun getDialogFactoryForRendering (Lcom/squareup/workflow1/ui/navigation/OverlayDialogFactoryFinder;Lcom/squareup/workflow1/ui/ViewEnvironment;Lcom/squareup/workflow1/ui/navigation/Overlay;)Lcom/squareup/workflow1/ui/navigation/OverlayDialogFactory; } -public final class com/squareup/workflow1/ui/container/OverlayDialogFactoryKt { - public static final fun toDialogFactory (Lcom/squareup/workflow1/ui/container/Overlay;Lcom/squareup/workflow1/ui/ViewEnvironment;)Lcom/squareup/workflow1/ui/container/OverlayDialogFactory; +public final class com/squareup/workflow1/ui/navigation/OverlayDialogFactoryKt { + public static final fun toDialogFactory (Lcom/squareup/workflow1/ui/navigation/Overlay;Lcom/squareup/workflow1/ui/ViewEnvironment;)Lcom/squareup/workflow1/ui/navigation/OverlayDialogFactory; } -public abstract interface class com/squareup/workflow1/ui/container/OverlayDialogHolder { - public static final field Companion Lcom/squareup/workflow1/ui/container/OverlayDialogHolder$Companion; +public abstract interface class com/squareup/workflow1/ui/navigation/OverlayDialogHolder { + public static final field Companion Lcom/squareup/workflow1/ui/navigation/OverlayDialogHolder$Companion; public abstract fun getDialog ()Landroid/app/Dialog; public abstract fun getEnvironment ()Lcom/squareup/workflow1/ui/ViewEnvironment; public abstract fun getOnUpdateBounds ()Lkotlin/jvm/functions/Function1; public abstract fun getRunner ()Lkotlin/jvm/functions/Function2; } -public final class com/squareup/workflow1/ui/container/OverlayDialogHolder$Companion { - public final fun invoke (Lcom/squareup/workflow1/ui/ViewEnvironment;Landroid/app/Dialog;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;)Lcom/squareup/workflow1/ui/container/OverlayDialogHolder; - public static synthetic fun invoke$default (Lcom/squareup/workflow1/ui/container/OverlayDialogHolder$Companion;Lcom/squareup/workflow1/ui/ViewEnvironment;Landroid/app/Dialog;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lcom/squareup/workflow1/ui/container/OverlayDialogHolder; +public final class com/squareup/workflow1/ui/navigation/OverlayDialogHolder$Companion { + public final fun invoke (Lcom/squareup/workflow1/ui/ViewEnvironment;Landroid/app/Dialog;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;)Lcom/squareup/workflow1/ui/navigation/OverlayDialogHolder; + public static synthetic fun invoke$default (Lcom/squareup/workflow1/ui/navigation/OverlayDialogHolder$Companion;Lcom/squareup/workflow1/ui/ViewEnvironment;Landroid/app/Dialog;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lcom/squareup/workflow1/ui/navigation/OverlayDialogHolder; } -public final class com/squareup/workflow1/ui/container/OverlayDialogHolderKt { - public static final fun canShow (Lcom/squareup/workflow1/ui/container/OverlayDialogHolder;Lcom/squareup/workflow1/ui/container/Overlay;)Z - public static final fun getShowing (Lcom/squareup/workflow1/ui/container/OverlayDialogHolder;)Lcom/squareup/workflow1/ui/container/Overlay; - public static final fun show (Lcom/squareup/workflow1/ui/container/OverlayDialogHolder;Lcom/squareup/workflow1/ui/container/Overlay;Lcom/squareup/workflow1/ui/ViewEnvironment;)V +public final class com/squareup/workflow1/ui/navigation/OverlayDialogHolderKt { + public static final fun canShow (Lcom/squareup/workflow1/ui/navigation/OverlayDialogHolder;Lcom/squareup/workflow1/ui/navigation/Overlay;)Z + public static final fun getShowing (Lcom/squareup/workflow1/ui/navigation/OverlayDialogHolder;)Lcom/squareup/workflow1/ui/navigation/Overlay; + public static final fun show (Lcom/squareup/workflow1/ui/navigation/OverlayDialogHolder;Lcom/squareup/workflow1/ui/navigation/Overlay;Lcom/squareup/workflow1/ui/ViewEnvironment;)V +} + +public final class com/squareup/workflow1/ui/navigation/ViewSetBackHandlerKt { + public static final fun setBackHandler (Landroid/view/View;Lkotlin/jvm/functions/Function0;)V + public static final fun setBackHandler (Landroid/view/View;ZLkotlin/jvm/functions/Function0;)V + public static synthetic fun setBackHandler$default (Landroid/view/View;ZLkotlin/jvm/functions/Function0;ILjava/lang/Object;)V } -public final class com/squareup/workflow1/ui/container/ViewStateCache { +public final class com/squareup/workflow1/ui/navigation/ViewStateCache { public fun ()V public final fun attachToParentRegistryOwner (Ljava/lang/String;Landroidx/savedstate/SavedStateRegistryOwner;)V public final fun detachFromParentRegistry ()V public final fun prune (Ljava/util/Collection;)V - public final fun restore (Lcom/squareup/workflow1/ui/container/ViewStateCache$Saved;)V - public final fun save ()Lcom/squareup/workflow1/ui/container/ViewStateCache$Saved; + public final fun restore (Lcom/squareup/workflow1/ui/navigation/ViewStateCache$Saved;)V + public final fun save ()Lcom/squareup/workflow1/ui/navigation/ViewStateCache$Saved; public final fun update (Ljava/util/Collection;Lcom/squareup/workflow1/ui/ScreenViewHolder;Lcom/squareup/workflow1/ui/ScreenViewHolder;)V } -public final class com/squareup/workflow1/ui/container/ViewStateCache$Saved : android/os/Parcelable { - public static final field CREATOR Lcom/squareup/workflow1/ui/container/ViewStateCache$Saved$CREATOR; +public final class com/squareup/workflow1/ui/navigation/ViewStateCache$Saved : android/os/Parcelable { + public static final field CREATOR Lcom/squareup/workflow1/ui/navigation/ViewStateCache$Saved$CREATOR; public fun (Landroid/os/Parcel;)V public fun describeContents ()I public fun writeToParcel (Landroid/os/Parcel;I)V } -public final class com/squareup/workflow1/ui/container/ViewStateCache$Saved$CREATOR : android/os/Parcelable$Creator { - public fun createFromParcel (Landroid/os/Parcel;)Lcom/squareup/workflow1/ui/container/ViewStateCache$Saved; +public final class com/squareup/workflow1/ui/navigation/ViewStateCache$Saved$CREATOR : android/os/Parcelable$Creator { + public fun createFromParcel (Landroid/os/Parcel;)Lcom/squareup/workflow1/ui/navigation/ViewStateCache$Saved; public synthetic fun createFromParcel (Landroid/os/Parcel;)Ljava/lang/Object; - public fun newArray (I)[Lcom/squareup/workflow1/ui/container/ViewStateCache$Saved; + public fun newArray (I)[Lcom/squareup/workflow1/ui/navigation/ViewStateCache$Saved; public synthetic fun newArray (I)[Ljava/lang/Object; } diff --git a/workflow-ui/core-common/api/core-common.api b/workflow-ui/core-common/api/core-common.api index 4fff428711..cc002c4ff0 100644 --- a/workflow-ui/core-common/api/core-common.api +++ b/workflow-ui/core-common/api/core-common.api @@ -17,6 +17,25 @@ public abstract interface class com/squareup/workflow1/ui/Container { public abstract fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/Container; } +public final class com/squareup/workflow1/ui/EnvironmentScreen : com/squareup/workflow1/ui/Screen, com/squareup/workflow1/ui/Wrapper { + public fun (Lcom/squareup/workflow1/ui/Screen;Lcom/squareup/workflow1/ui/ViewEnvironment;)V + public synthetic fun (Lcom/squareup/workflow1/ui/Screen;Lcom/squareup/workflow1/ui/ViewEnvironment;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun asSequence ()Lkotlin/sequences/Sequence; + public fun getCompatibilityKey ()Ljava/lang/String; + public fun getContent ()Lcom/squareup/workflow1/ui/Screen; + public synthetic fun getContent ()Ljava/lang/Object; + public final fun getEnvironment ()Lcom/squareup/workflow1/ui/ViewEnvironment; + public synthetic fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/Container; + public fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/EnvironmentScreen; + public synthetic fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/Wrapper; +} + +public final class com/squareup/workflow1/ui/EnvironmentScreenKt { + public static final fun withEnvironment (Lcom/squareup/workflow1/ui/Screen;Lcom/squareup/workflow1/ui/ViewEnvironment;)Lcom/squareup/workflow1/ui/EnvironmentScreen; + public static synthetic fun withEnvironment$default (Lcom/squareup/workflow1/ui/Screen;Lcom/squareup/workflow1/ui/ViewEnvironment;ILjava/lang/Object;)Lcom/squareup/workflow1/ui/EnvironmentScreen; + public static final fun withRegistry (Lcom/squareup/workflow1/ui/Screen;Lcom/squareup/workflow1/ui/ViewRegistry;)Lcom/squareup/workflow1/ui/EnvironmentScreen; +} + public final class com/squareup/workflow1/ui/NamedScreen : com/squareup/workflow1/ui/Screen, com/squareup/workflow1/ui/Wrapper { public fun (Lcom/squareup/workflow1/ui/Screen;Ljava/lang/String;)V public fun asSequence ()Lkotlin/sequences/Sequence; @@ -114,7 +133,7 @@ public final class com/squareup/workflow1/ui/Wrapper$DefaultImpls { public static fun getCompatibilityKey (Lcom/squareup/workflow1/ui/Wrapper;)Ljava/lang/String; } -public final class com/squareup/workflow1/ui/container/AlertOverlay : com/squareup/workflow1/ui/container/ModalOverlay { +public final class com/squareup/workflow1/ui/navigation/AlertOverlay : com/squareup/workflow1/ui/navigation/ModalOverlay { public fun (Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)V public synthetic fun (Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/util/Map; @@ -122,8 +141,8 @@ public final class com/squareup/workflow1/ui/container/AlertOverlay : com/square public final fun component3 ()Ljava/lang/String; public final fun component4 ()Z public final fun component5 ()Lkotlin/jvm/functions/Function1; - public final fun copy (Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/container/AlertOverlay; - public static synthetic fun copy$default (Lcom/squareup/workflow1/ui/container/AlertOverlay;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lcom/squareup/workflow1/ui/container/AlertOverlay; + public final fun copy (Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/navigation/AlertOverlay; + public static synthetic fun copy$default (Lcom/squareup/workflow1/ui/navigation/AlertOverlay;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lcom/squareup/workflow1/ui/navigation/AlertOverlay; public fun equals (Ljava/lang/Object;)Z public final fun getButtons ()Ljava/util/Map; public final fun getCancelable ()Z @@ -134,54 +153,54 @@ public final class com/squareup/workflow1/ui/container/AlertOverlay : com/square public fun toString ()Ljava/lang/String; } -public final class com/squareup/workflow1/ui/container/AlertOverlay$Button : java/lang/Enum { - public static final field NEGATIVE Lcom/squareup/workflow1/ui/container/AlertOverlay$Button; - public static final field NEUTRAL Lcom/squareup/workflow1/ui/container/AlertOverlay$Button; - public static final field POSITIVE Lcom/squareup/workflow1/ui/container/AlertOverlay$Button; +public final class com/squareup/workflow1/ui/navigation/AlertOverlay$Button : java/lang/Enum { + public static final field NEGATIVE Lcom/squareup/workflow1/ui/navigation/AlertOverlay$Button; + public static final field NEUTRAL Lcom/squareup/workflow1/ui/navigation/AlertOverlay$Button; + public static final field POSITIVE Lcom/squareup/workflow1/ui/navigation/AlertOverlay$Button; public static fun getEntries ()Lkotlin/enums/EnumEntries; - public static fun valueOf (Ljava/lang/String;)Lcom/squareup/workflow1/ui/container/AlertOverlay$Button; - public static fun values ()[Lcom/squareup/workflow1/ui/container/AlertOverlay$Button; + public static fun valueOf (Ljava/lang/String;)Lcom/squareup/workflow1/ui/navigation/AlertOverlay$Button; + public static fun values ()[Lcom/squareup/workflow1/ui/navigation/AlertOverlay$Button; } -public abstract class com/squareup/workflow1/ui/container/AlertOverlay$Event { +public abstract class com/squareup/workflow1/ui/navigation/AlertOverlay$Event { } -public final class com/squareup/workflow1/ui/container/AlertOverlay$Event$ButtonClicked : com/squareup/workflow1/ui/container/AlertOverlay$Event { - public fun (Lcom/squareup/workflow1/ui/container/AlertOverlay$Button;)V - public final fun component1 ()Lcom/squareup/workflow1/ui/container/AlertOverlay$Button; - public final fun copy (Lcom/squareup/workflow1/ui/container/AlertOverlay$Button;)Lcom/squareup/workflow1/ui/container/AlertOverlay$Event$ButtonClicked; - public static synthetic fun copy$default (Lcom/squareup/workflow1/ui/container/AlertOverlay$Event$ButtonClicked;Lcom/squareup/workflow1/ui/container/AlertOverlay$Button;ILjava/lang/Object;)Lcom/squareup/workflow1/ui/container/AlertOverlay$Event$ButtonClicked; +public final class com/squareup/workflow1/ui/navigation/AlertOverlay$Event$ButtonClicked : com/squareup/workflow1/ui/navigation/AlertOverlay$Event { + public fun (Lcom/squareup/workflow1/ui/navigation/AlertOverlay$Button;)V + public final fun component1 ()Lcom/squareup/workflow1/ui/navigation/AlertOverlay$Button; + public final fun copy (Lcom/squareup/workflow1/ui/navigation/AlertOverlay$Button;)Lcom/squareup/workflow1/ui/navigation/AlertOverlay$Event$ButtonClicked; + public static synthetic fun copy$default (Lcom/squareup/workflow1/ui/navigation/AlertOverlay$Event$ButtonClicked;Lcom/squareup/workflow1/ui/navigation/AlertOverlay$Button;ILjava/lang/Object;)Lcom/squareup/workflow1/ui/navigation/AlertOverlay$Event$ButtonClicked; public fun equals (Ljava/lang/Object;)Z - public final fun getButton ()Lcom/squareup/workflow1/ui/container/AlertOverlay$Button; + public final fun getButton ()Lcom/squareup/workflow1/ui/navigation/AlertOverlay$Button; public fun hashCode ()I public fun toString ()Ljava/lang/String; } -public final class com/squareup/workflow1/ui/container/AlertOverlay$Event$Canceled : com/squareup/workflow1/ui/container/AlertOverlay$Event { - public static final field INSTANCE Lcom/squareup/workflow1/ui/container/AlertOverlay$Event$Canceled; +public final class com/squareup/workflow1/ui/navigation/AlertOverlay$Event$Canceled : com/squareup/workflow1/ui/navigation/AlertOverlay$Event { + public static final field INSTANCE Lcom/squareup/workflow1/ui/navigation/AlertOverlay$Event$Canceled; } -public final class com/squareup/workflow1/ui/container/BackStackConfig : java/lang/Enum { - public static final field Companion Lcom/squareup/workflow1/ui/container/BackStackConfig$Companion; - public static final field First Lcom/squareup/workflow1/ui/container/BackStackConfig; - public static final field None Lcom/squareup/workflow1/ui/container/BackStackConfig; - public static final field Other Lcom/squareup/workflow1/ui/container/BackStackConfig; +public final class com/squareup/workflow1/ui/navigation/BackStackConfig : java/lang/Enum { + public static final field Companion Lcom/squareup/workflow1/ui/navigation/BackStackConfig$Companion; + public static final field First Lcom/squareup/workflow1/ui/navigation/BackStackConfig; + public static final field None Lcom/squareup/workflow1/ui/navigation/BackStackConfig; + public static final field Other Lcom/squareup/workflow1/ui/navigation/BackStackConfig; public static fun getEntries ()Lkotlin/enums/EnumEntries; - public static fun valueOf (Ljava/lang/String;)Lcom/squareup/workflow1/ui/container/BackStackConfig; - public static fun values ()[Lcom/squareup/workflow1/ui/container/BackStackConfig; + public static fun valueOf (Ljava/lang/String;)Lcom/squareup/workflow1/ui/navigation/BackStackConfig; + public static fun values ()[Lcom/squareup/workflow1/ui/navigation/BackStackConfig; } -public final class com/squareup/workflow1/ui/container/BackStackConfig$Companion : com/squareup/workflow1/ui/ViewEnvironmentKey { - public fun getDefault ()Lcom/squareup/workflow1/ui/container/BackStackConfig; +public final class com/squareup/workflow1/ui/navigation/BackStackConfig$Companion : com/squareup/workflow1/ui/ViewEnvironmentKey { + public fun getDefault ()Lcom/squareup/workflow1/ui/navigation/BackStackConfig; public synthetic fun getDefault ()Ljava/lang/Object; } -public final class com/squareup/workflow1/ui/container/BackStackConfigKt { - public static final fun plus (Lcom/squareup/workflow1/ui/ViewEnvironment;Lcom/squareup/workflow1/ui/container/BackStackConfig;)Lcom/squareup/workflow1/ui/ViewEnvironment; +public final class com/squareup/workflow1/ui/navigation/BackStackConfigKt { + public static final fun plus (Lcom/squareup/workflow1/ui/ViewEnvironment;Lcom/squareup/workflow1/ui/navigation/BackStackConfig;)Lcom/squareup/workflow1/ui/ViewEnvironment; } -public final class com/squareup/workflow1/ui/container/BackStackScreen : com/squareup/workflow1/ui/Container, com/squareup/workflow1/ui/Screen { - public static final field Companion Lcom/squareup/workflow1/ui/container/BackStackScreen$Companion; +public final class com/squareup/workflow1/ui/navigation/BackStackScreen : com/squareup/workflow1/ui/Container, com/squareup/workflow1/ui/Screen { + public static final field Companion Lcom/squareup/workflow1/ui/navigation/BackStackScreen$Companion; public fun (Lcom/squareup/workflow1/ui/Screen;[Lcom/squareup/workflow1/ui/Screen;)V public fun asSequence ()Lkotlin/sequences/Sequence; public fun equals (Ljava/lang/Object;)Z @@ -191,53 +210,34 @@ public final class com/squareup/workflow1/ui/container/BackStackScreen : com/squ public final fun getTop ()Lcom/squareup/workflow1/ui/Screen; public fun hashCode ()I public synthetic fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/Container; - public fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/container/BackStackScreen; - public final fun mapIndexed (Lkotlin/jvm/functions/Function2;)Lcom/squareup/workflow1/ui/container/BackStackScreen; + public fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/navigation/BackStackScreen; + public final fun mapIndexed (Lkotlin/jvm/functions/Function2;)Lcom/squareup/workflow1/ui/navigation/BackStackScreen; public fun toString ()Ljava/lang/String; } -public final class com/squareup/workflow1/ui/container/BackStackScreen$Companion { - public final fun fromList (Ljava/util/List;)Lcom/squareup/workflow1/ui/container/BackStackScreen; - public final fun fromListOrNull (Ljava/util/List;)Lcom/squareup/workflow1/ui/container/BackStackScreen; +public final class com/squareup/workflow1/ui/navigation/BackStackScreen$Companion { + public final fun fromList (Ljava/util/List;)Lcom/squareup/workflow1/ui/navigation/BackStackScreen; + public final fun fromListOrNull (Ljava/util/List;)Lcom/squareup/workflow1/ui/navigation/BackStackScreen; } -public final class com/squareup/workflow1/ui/container/BackStackScreenKt { - public static final fun plus (Lcom/squareup/workflow1/ui/container/BackStackScreen;Lcom/squareup/workflow1/ui/container/BackStackScreen;)Lcom/squareup/workflow1/ui/container/BackStackScreen; - public static final fun toBackStackScreen (Ljava/util/List;)Lcom/squareup/workflow1/ui/container/BackStackScreen; - public static final fun toBackStackScreenOrNull (Ljava/util/List;)Lcom/squareup/workflow1/ui/container/BackStackScreen; +public final class com/squareup/workflow1/ui/navigation/BackStackScreenKt { + public static final fun plus (Lcom/squareup/workflow1/ui/navigation/BackStackScreen;Lcom/squareup/workflow1/ui/navigation/BackStackScreen;)Lcom/squareup/workflow1/ui/navigation/BackStackScreen; + public static final fun toBackStackScreen (Ljava/util/List;)Lcom/squareup/workflow1/ui/navigation/BackStackScreen; + public static final fun toBackStackScreenOrNull (Ljava/util/List;)Lcom/squareup/workflow1/ui/navigation/BackStackScreen; } -public final class com/squareup/workflow1/ui/container/BodyAndOverlaysScreen : com/squareup/workflow1/ui/Compatible, com/squareup/workflow1/ui/Screen { +public final class com/squareup/workflow1/ui/navigation/BodyAndOverlaysScreen : com/squareup/workflow1/ui/Compatible, com/squareup/workflow1/ui/Screen { public fun (Lcom/squareup/workflow1/ui/Screen;Ljava/util/List;Ljava/lang/String;)V public synthetic fun (Lcom/squareup/workflow1/ui/Screen;Ljava/util/List;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun getBody ()Lcom/squareup/workflow1/ui/Screen; public fun getCompatibilityKey ()Ljava/lang/String; public final fun getName ()Ljava/lang/String; public final fun getOverlays ()Ljava/util/List; - public final fun mapBody (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/container/BodyAndOverlaysScreen; - public final fun mapOverlays (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/container/BodyAndOverlaysScreen; -} - -public final class com/squareup/workflow1/ui/container/EnvironmentScreen : com/squareup/workflow1/ui/Screen, com/squareup/workflow1/ui/Wrapper { - public fun (Lcom/squareup/workflow1/ui/Screen;Lcom/squareup/workflow1/ui/ViewEnvironment;)V - public synthetic fun (Lcom/squareup/workflow1/ui/Screen;Lcom/squareup/workflow1/ui/ViewEnvironment;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public fun asSequence ()Lkotlin/sequences/Sequence; - public fun getCompatibilityKey ()Ljava/lang/String; - public fun getContent ()Lcom/squareup/workflow1/ui/Screen; - public synthetic fun getContent ()Ljava/lang/Object; - public final fun getEnvironment ()Lcom/squareup/workflow1/ui/ViewEnvironment; - public synthetic fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/Container; - public synthetic fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/Wrapper; - public fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/container/EnvironmentScreen; -} - -public final class com/squareup/workflow1/ui/container/EnvironmentScreenKt { - public static final fun withEnvironment (Lcom/squareup/workflow1/ui/Screen;Lcom/squareup/workflow1/ui/ViewEnvironment;)Lcom/squareup/workflow1/ui/container/EnvironmentScreen; - public static synthetic fun withEnvironment$default (Lcom/squareup/workflow1/ui/Screen;Lcom/squareup/workflow1/ui/ViewEnvironment;ILjava/lang/Object;)Lcom/squareup/workflow1/ui/container/EnvironmentScreen; - public static final fun withRegistry (Lcom/squareup/workflow1/ui/Screen;Lcom/squareup/workflow1/ui/ViewRegistry;)Lcom/squareup/workflow1/ui/container/EnvironmentScreen; + public final fun mapBody (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/navigation/BodyAndOverlaysScreen; + public final fun mapOverlays (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/navigation/BodyAndOverlaysScreen; } -public final class com/squareup/workflow1/ui/container/FullScreenModal : com/squareup/workflow1/ui/container/ModalOverlay, com/squareup/workflow1/ui/container/ScreenOverlay { +public final class com/squareup/workflow1/ui/navigation/FullScreenModal : com/squareup/workflow1/ui/navigation/ModalOverlay, com/squareup/workflow1/ui/navigation/ScreenOverlay { public fun (Lcom/squareup/workflow1/ui/Screen;)V public fun asSequence ()Lkotlin/sequences/Sequence; public fun getCompatibilityKey ()Ljava/lang/String; @@ -245,23 +245,23 @@ public final class com/squareup/workflow1/ui/container/FullScreenModal : com/squ public synthetic fun getContent ()Ljava/lang/Object; public synthetic fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/Container; public synthetic fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/Wrapper; - public fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/container/FullScreenModal; - public synthetic fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/container/ScreenOverlay; + public fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/navigation/FullScreenModal; + public synthetic fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/navigation/ScreenOverlay; } -public abstract interface class com/squareup/workflow1/ui/container/ModalOverlay : com/squareup/workflow1/ui/container/Overlay { +public abstract interface class com/squareup/workflow1/ui/navigation/ModalOverlay : com/squareup/workflow1/ui/navigation/Overlay { } -public abstract interface class com/squareup/workflow1/ui/container/Overlay { +public abstract interface class com/squareup/workflow1/ui/navigation/Overlay { } -public abstract interface class com/squareup/workflow1/ui/container/ScreenOverlay : com/squareup/workflow1/ui/Wrapper, com/squareup/workflow1/ui/container/Overlay { +public abstract interface class com/squareup/workflow1/ui/navigation/ScreenOverlay : com/squareup/workflow1/ui/Wrapper, com/squareup/workflow1/ui/navigation/Overlay { public abstract fun getContent ()Lcom/squareup/workflow1/ui/Screen; - public abstract fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/container/ScreenOverlay; + public abstract fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/navigation/ScreenOverlay; } -public final class com/squareup/workflow1/ui/container/ScreenOverlay$DefaultImpls { - public static fun asSequence (Lcom/squareup/workflow1/ui/container/ScreenOverlay;)Lkotlin/sequences/Sequence; - public static fun getCompatibilityKey (Lcom/squareup/workflow1/ui/container/ScreenOverlay;)Ljava/lang/String; +public final class com/squareup/workflow1/ui/navigation/ScreenOverlay$DefaultImpls { + public static fun asSequence (Lcom/squareup/workflow1/ui/navigation/ScreenOverlay;)Lkotlin/sequences/Sequence; + public static fun getCompatibilityKey (Lcom/squareup/workflow1/ui/navigation/ScreenOverlay;)Ljava/lang/String; }