@cratis/stage.runtime 4.190.3 → 4.190.5
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.
|
@@ -28,7 +28,8 @@ export interface StageDecision {
|
|
|
28
28
|
*
|
|
29
29
|
* @param screens The screens of the scene.
|
|
30
30
|
* @param ownTemplates The templates the application declares itself, which win over the blueprint's of the same name.
|
|
31
|
-
* @returns The screens, those that are a decision dialog holding one confirm-dialog element
|
|
31
|
+
* @returns The screens, those that are a decision dialog holding one confirm-dialog element - with the application's first other screen as the
|
|
32
|
+
* place to leave to - and no flat forms.
|
|
32
33
|
*/
|
|
33
34
|
export declare function asDialogScreens(screens: readonly Screen[], ownTemplates: readonly {
|
|
34
35
|
name: string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ScreenTemplate } from '@cratis/scene.model';
|
|
2
|
+
/**
|
|
3
|
+
* The blueprint templates with every template that fits a slot of another template placed in the shell's content instead.
|
|
4
|
+
*
|
|
5
|
+
* A blueprint template may declare that it sits inside another one - the default blueprint's `MasterDetailScreen` fits
|
|
6
|
+
* `WorkspaceScreen.moduleContent` - and the shared composition then wraps the screen in that outer template with the outer
|
|
7
|
+
* template's own seeded content. A screen written in Screenplay fills only the slots of the template it names, so in the Stage
|
|
8
|
+
* the outer template only ever draws its seed: the workspace's module navigation, bound to a `ModuleSections` query no
|
|
9
|
+
* application has, drew "Nothing here yet" beside the master/detail and squeezed it into three quarters of the page.
|
|
10
|
+
* Placing the inner template in the content slot composes only the template the screen names, at the full content width.
|
|
11
|
+
*
|
|
12
|
+
* @param templates The blueprint templates in play.
|
|
13
|
+
* @returns The same templates, with a template qualified to another template's slot fitting the shell's content slot.
|
|
14
|
+
*/
|
|
15
|
+
export declare function standaloneScreenTemplates(templates: readonly ScreenTemplate[]): ScreenTemplate[];
|