@cratis/scene.blueprint.default 0.1.0
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/.storybook/main.ts +32 -0
- package/.storybook/preview.ts +20 -0
- package/ComponentName.ts +60 -0
- package/README.md +204 -0
- package/configuration/ColorScheme.ts +17 -0
- package/configuration/LayoutConfigProvider.tsx +182 -0
- package/configuration/LayoutConfigState.ts +46 -0
- package/configuration/LayoutMode.ts +50 -0
- package/configuration/MenuTheme.ts +24 -0
- package/configuration/index.ts +11 -0
- package/configuration/layoutConfigStorage.ts +102 -0
- package/configuration/layoutConfigTransitions.ts +150 -0
- package/configuration/layoutWrapperClasses.ts +68 -0
- package/defaultBlueprint.ts +66 -0
- package/defaultBlueprintComponents.ts +51 -0
- package/dist/cjs/ComponentName.js +33 -0
- package/dist/cjs/ComponentName.js.map +1 -0
- package/dist/cjs/configuration/ColorScheme.js +23 -0
- package/dist/cjs/configuration/ColorScheme.js.map +1 -0
- package/dist/cjs/configuration/LayoutConfigProvider.js +96 -0
- package/dist/cjs/configuration/LayoutConfigProvider.js.map +1 -0
- package/dist/cjs/configuration/LayoutMode.js +38 -0
- package/dist/cjs/configuration/LayoutMode.js.map +1 -0
- package/dist/cjs/configuration/MenuTheme.js +26 -0
- package/dist/cjs/configuration/MenuTheme.js.map +1 -0
- package/dist/cjs/configuration/layoutConfigStorage.js +85 -0
- package/dist/cjs/configuration/layoutConfigStorage.js.map +1 -0
- package/dist/cjs/configuration/layoutConfigTransitions.js +158 -0
- package/dist/cjs/configuration/layoutConfigTransitions.js.map +1 -0
- package/dist/cjs/configuration/layoutWrapperClasses.js +62 -0
- package/dist/cjs/configuration/layoutWrapperClasses.js.map +1 -0
- package/dist/cjs/defaultBlueprint.js +92 -0
- package/dist/cjs/defaultBlueprint.js.map +1 -0
- package/dist/cjs/defaultBlueprintComponents.js +54 -0
- package/dist/cjs/defaultBlueprintComponents.js.map +1 -0
- package/dist/cjs/gallery/GalleryScreenPreview.js +63 -0
- package/dist/cjs/gallery/GalleryScreenPreview.js.map +1 -0
- package/dist/cjs/gallery/TemplateSlotName.js +25 -0
- package/dist/cjs/gallery/TemplateSlotName.js.map +1 -0
- package/dist/cjs/gallery/applicationChrome.js +134 -0
- package/dist/cjs/gallery/applicationChrome.js.map +1 -0
- package/dist/cjs/gallery/authTemplates.js +234 -0
- package/dist/cjs/gallery/authTemplates.js.map +1 -0
- package/dist/cjs/gallery/componentNames.js +53 -0
- package/dist/cjs/gallery/componentNames.js.map +1 -0
- package/dist/cjs/gallery/composeScreen.js +99 -0
- package/dist/cjs/gallery/composeScreen.js.map +1 -0
- package/dist/cjs/gallery/dependencyComponentNames.js +72 -0
- package/dist/cjs/gallery/dependencyComponentNames.js.map +1 -0
- package/dist/cjs/gallery/dialogTemplates.js +161 -0
- package/dist/cjs/gallery/dialogTemplates.js.map +1 -0
- package/dist/cjs/gallery/elements.js +80 -0
- package/dist/cjs/gallery/elements.js.map +1 -0
- package/dist/cjs/gallery/navigation.js +129 -0
- package/dist/cjs/gallery/navigation.js.map +1 -0
- package/dist/cjs/gallery/nesting.js +129 -0
- package/dist/cjs/gallery/nesting.js.map +1 -0
- package/dist/cjs/gallery/previewProfile.js +68 -0
- package/dist/cjs/gallery/previewProfile.js.map +1 -0
- package/dist/cjs/gallery/resolveElementNames.js +63 -0
- package/dist/cjs/gallery/resolveElementNames.js.map +1 -0
- package/dist/cjs/gallery/screens.js +222 -0
- package/dist/cjs/gallery/screens.js.map +1 -0
- package/dist/cjs/gallery/statusTemplates.js +190 -0
- package/dist/cjs/gallery/statusTemplates.js.map +1 -0
- package/dist/cjs/gallery/supportTemplates.js +319 -0
- package/dist/cjs/gallery/supportTemplates.js.map +1 -0
- package/dist/cjs/gallery/widgets.js +94 -0
- package/dist/cjs/gallery/widgets.js.map +1 -0
- package/dist/cjs/gallery/workspaceTemplates.js +395 -0
- package/dist/cjs/gallery/workspaceTemplates.js.map +1 -0
- package/dist/cjs/index.js +220 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/layouts/LayoutName.js +19 -0
- package/dist/cjs/layouts/LayoutName.js.map +1 -0
- package/dist/cjs/layouts/SlotName.js +31 -0
- package/dist/cjs/layouts/SlotName.js.map +1 -0
- package/dist/cjs/layouts/appShell.js +160 -0
- package/dist/cjs/layouts/appShell.js.map +1 -0
- package/dist/cjs/layouts/defaultLayouts.js +20 -0
- package/dist/cjs/layouts/defaultLayouts.js.map +1 -0
- package/dist/cjs/layouts/flowBuilders.js +66 -0
- package/dist/cjs/layouts/flowBuilders.js.map +1 -0
- package/dist/cjs/layouts/fullPage.js +78 -0
- package/dist/cjs/layouts/fullPage.js.map +1 -0
- package/dist/cjs/layouts/shellComponents.js +29 -0
- package/dist/cjs/layouts/shellComponents.js.map +1 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/packageName.js +15 -0
- package/dist/cjs/packageName.js.map +1 -0
- package/dist/cjs/shell/AppShell.js +88 -0
- package/dist/cjs/shell/AppShell.js.map +1 -0
- package/dist/cjs/shell/Breadcrumb.js +33 -0
- package/dist/cjs/shell/Breadcrumb.js.map +1 -0
- package/dist/cjs/shell/ConfigPanel.js +128 -0
- package/dist/cjs/shell/ConfigPanel.js.map +1 -0
- package/dist/cjs/shell/Footer.js +28 -0
- package/dist/cjs/shell/Footer.js.map +1 -0
- package/dist/cjs/shell/FullPageShell.js +53 -0
- package/dist/cjs/shell/FullPageShell.js.map +1 -0
- package/dist/cjs/shell/LayoutModeSwitcher.js +58 -0
- package/dist/cjs/shell/LayoutModeSwitcher.js.map +1 -0
- package/dist/cjs/shell/Logo.js +44 -0
- package/dist/cjs/shell/Logo.js.map +1 -0
- package/dist/cjs/shell/Mask.js +34 -0
- package/dist/cjs/shell/Mask.js.map +1 -0
- package/dist/cjs/shell/Menu.js +36 -0
- package/dist/cjs/shell/Menu.js.map +1 -0
- package/dist/cjs/shell/MenuItem.js +65 -0
- package/dist/cjs/shell/MenuItem.js.map +1 -0
- package/dist/cjs/shell/PageHeader.js +43 -0
- package/dist/cjs/shell/PageHeader.js.map +1 -0
- package/dist/cjs/shell/RightPanel.js +30 -0
- package/dist/cjs/shell/RightPanel.js.map +1 -0
- package/dist/cjs/shell/Sidebar.js +51 -0
- package/dist/cjs/shell/Sidebar.js.map +1 -0
- package/dist/cjs/shell/ThemeOption.js +42 -0
- package/dist/cjs/shell/ThemeOption.js.map +1 -0
- package/dist/cjs/shell/ThemeSwitcher.js +50 -0
- package/dist/cjs/shell/ThemeSwitcher.js.map +1 -0
- package/dist/cjs/shell/Topbar.js +54 -0
- package/dist/cjs/shell/Topbar.js.map +1 -0
- package/dist/cjs/shell/UserMenu.js +68 -0
- package/dist/cjs/shell/UserMenu.js.map +1 -0
- package/dist/cjs/shell/elementProperties.js +56 -0
- package/dist/cjs/shell/elementProperties.js.map +1 -0
- package/dist/cjs/themes/LayoutThemeProvider.js +33 -0
- package/dist/cjs/themes/LayoutThemeProvider.js.map +1 -0
- package/dist/cjs/themes/blueprintThemeCompatibility.js +28 -0
- package/dist/cjs/themes/blueprintThemeCompatibility.js.map +1 -0
- package/dist/cjs/themes/dark.js +40 -0
- package/dist/cjs/themes/dark.js.map +1 -0
- package/dist/cjs/themes/defaultBlueprintThemes.js +19 -0
- package/dist/cjs/themes/defaultBlueprintThemes.js.map +1 -0
- package/dist/cjs/themes/light.js +43 -0
- package/dist/cjs/themes/light.js.map +1 -0
- package/dist/esm/ComponentName.d.ts +19 -0
- package/dist/esm/ComponentName.d.ts.map +1 -0
- package/dist/esm/ComponentName.js +31 -0
- package/dist/esm/ComponentName.js.map +1 -0
- package/dist/esm/configuration/ColorScheme.d.ts +6 -0
- package/dist/esm/configuration/ColorScheme.d.ts.map +1 -0
- package/dist/esm/configuration/ColorScheme.js +20 -0
- package/dist/esm/configuration/ColorScheme.js.map +1 -0
- package/dist/esm/configuration/LayoutConfigProvider.d.ts +29 -0
- package/dist/esm/configuration/LayoutConfigProvider.d.ts.map +1 -0
- package/dist/esm/configuration/LayoutConfigProvider.js +92 -0
- package/dist/esm/configuration/LayoutConfigProvider.js.map +1 -0
- package/dist/esm/configuration/LayoutConfigState.d.ts +14 -0
- package/dist/esm/configuration/LayoutConfigState.d.ts.map +1 -0
- package/dist/esm/configuration/LayoutConfigState.js +2 -0
- package/dist/esm/configuration/LayoutConfigState.js.map +1 -0
- package/dist/esm/configuration/LayoutMode.d.ts +12 -0
- package/dist/esm/configuration/LayoutMode.d.ts.map +1 -0
- package/dist/esm/configuration/LayoutMode.js +35 -0
- package/dist/esm/configuration/LayoutMode.js.map +1 -0
- package/dist/esm/configuration/MenuTheme.d.ts +7 -0
- package/dist/esm/configuration/MenuTheme.d.ts.map +1 -0
- package/dist/esm/configuration/MenuTheme.js +23 -0
- package/dist/esm/configuration/MenuTheme.js.map +1 -0
- package/dist/esm/configuration/index.d.ts +9 -0
- package/dist/esm/configuration/index.d.ts.map +1 -0
- package/dist/esm/configuration/index.js +9 -0
- package/dist/esm/configuration/index.js.map +1 -0
- package/dist/esm/configuration/layoutConfigStorage.d.ts +6 -0
- package/dist/esm/configuration/layoutConfigStorage.d.ts.map +1 -0
- package/dist/esm/configuration/layoutConfigStorage.js +81 -0
- package/dist/esm/configuration/layoutConfigStorage.js.map +1 -0
- package/dist/esm/configuration/layoutConfigTransitions.d.ts +22 -0
- package/dist/esm/configuration/layoutConfigTransitions.d.ts.map +1 -0
- package/dist/esm/configuration/layoutConfigTransitions.js +140 -0
- package/dist/esm/configuration/layoutConfigTransitions.js.map +1 -0
- package/dist/esm/configuration/layoutWrapperClasses.d.ts +4 -0
- package/dist/esm/configuration/layoutWrapperClasses.d.ts.map +1 -0
- package/dist/esm/configuration/layoutWrapperClasses.js +59 -0
- package/dist/esm/configuration/layoutWrapperClasses.js.map +1 -0
- package/dist/esm/defaultBlueprint.d.ts +5 -0
- package/dist/esm/defaultBlueprint.d.ts.map +1 -0
- package/dist/esm/defaultBlueprint.js +89 -0
- package/dist/esm/defaultBlueprint.js.map +1 -0
- package/dist/esm/defaultBlueprintComponents.d.ts +3 -0
- package/dist/esm/defaultBlueprintComponents.d.ts.map +1 -0
- package/dist/esm/defaultBlueprintComponents.js +52 -0
- package/dist/esm/defaultBlueprintComponents.js.map +1 -0
- package/dist/esm/for_AppShell/when_rendering_a_gallery_screen.d.ts +2 -0
- package/dist/esm/for_AppShell/when_rendering_a_gallery_screen.d.ts.map +1 -0
- package/dist/esm/for_AppShell/when_rendering_a_gallery_screen.js +60 -0
- package/dist/esm/for_AppShell/when_rendering_a_gallery_screen.js.map +1 -0
- package/dist/esm/for_LayoutConfigProvider/when_switching_mode_and_reloading.d.ts +2 -0
- package/dist/esm/for_LayoutConfigProvider/when_switching_mode_and_reloading.d.ts.map +1 -0
- package/dist/esm/for_LayoutConfigProvider/when_switching_mode_and_reloading.js +60 -0
- package/dist/esm/for_LayoutConfigProvider/when_switching_mode_and_reloading.js.map +1 -0
- package/dist/esm/for_appShellLayout/when_evaluating_the_arrangement_at_each_size_class.d.ts +2 -0
- package/dist/esm/for_appShellLayout/when_evaluating_the_arrangement_at_each_size_class.d.ts.map +1 -0
- package/dist/esm/for_appShellLayout/when_evaluating_the_arrangement_at_each_size_class.js +26 -0
- package/dist/esm/for_appShellLayout/when_evaluating_the_arrangement_at_each_size_class.js.map +1 -0
- package/dist/esm/for_defaultBlueprint/when_validating_the_bundle.d.ts +2 -0
- package/dist/esm/for_defaultBlueprint/when_validating_the_bundle.d.ts.map +1 -0
- package/dist/esm/for_defaultBlueprint/when_validating_the_bundle.js +32 -0
- package/dist/esm/for_defaultBlueprint/when_validating_the_bundle.js.map +1 -0
- package/dist/esm/for_defaultBlueprintThemes/when_checking_attribution_and_tokens.d.ts +2 -0
- package/dist/esm/for_defaultBlueprintThemes/when_checking_attribution_and_tokens.d.ts.map +1 -0
- package/dist/esm/for_defaultBlueprintThemes/when_checking_attribution_and_tokens.js +40 -0
- package/dist/esm/for_defaultBlueprintThemes/when_checking_attribution_and_tokens.js.map +1 -0
- package/dist/esm/for_fullPageLayout/when_evaluating_the_arrangement_at_each_size_class.d.ts +2 -0
- package/dist/esm/for_fullPageLayout/when_evaluating_the_arrangement_at_each_size_class.d.ts.map +1 -0
- package/dist/esm/for_fullPageLayout/when_evaluating_the_arrangement_at_each_size_class.js +27 -0
- package/dist/esm/for_fullPageLayout/when_evaluating_the_arrangement_at_each_size_class.js.map +1 -0
- package/dist/esm/for_galleryScreenTemplates/when_checking_that_arrangements_reference_declared_slots.d.ts +2 -0
- package/dist/esm/for_galleryScreenTemplates/when_checking_that_arrangements_reference_declared_slots.d.ts.map +1 -0
- package/dist/esm/for_galleryScreenTemplates/when_checking_that_arrangements_reference_declared_slots.js +41 -0
- package/dist/esm/for_galleryScreenTemplates/when_checking_that_arrangements_reference_declared_slots.js.map +1 -0
- package/dist/esm/for_galleryScreenTemplates/when_following_the_nesting_chain.d.ts +2 -0
- package/dist/esm/for_galleryScreenTemplates/when_following_the_nesting_chain.d.ts.map +1 -0
- package/dist/esm/for_galleryScreenTemplates/when_following_the_nesting_chain.js +31 -0
- package/dist/esm/for_galleryScreenTemplates/when_following_the_nesting_chain.js.map +1 -0
- package/dist/esm/for_galleryScreens/when_checking_the_layouts_and_slots_they_fill.d.ts +2 -0
- package/dist/esm/for_galleryScreens/when_checking_the_layouts_and_slots_they_fill.d.ts.map +1 -0
- package/dist/esm/for_galleryScreens/when_checking_the_layouts_and_slots_they_fill.js +33 -0
- package/dist/esm/for_galleryScreens/when_checking_the_layouts_and_slots_they_fill.js.map +1 -0
- package/dist/esm/for_galleryScreens/when_resolving_the_component_names_they_reference.d.ts +2 -0
- package/dist/esm/for_galleryScreens/when_resolving_the_component_names_they_reference.d.ts.map +1 -0
- package/dist/esm/for_galleryScreens/when_resolving_the_component_names_they_reference.js +44 -0
- package/dist/esm/for_galleryScreens/when_resolving_the_component_names_they_reference.js.map +1 -0
- package/dist/esm/for_layoutConfigStorage/when_restoring_a_persisted_configuration.d.ts +2 -0
- package/dist/esm/for_layoutConfigStorage/when_restoring_a_persisted_configuration.d.ts.map +1 -0
- package/dist/esm/for_layoutConfigStorage/when_restoring_a_persisted_configuration.js +60 -0
- package/dist/esm/for_layoutConfigStorage/when_restoring_a_persisted_configuration.js.map +1 -0
- package/dist/esm/for_layoutConfigTransitions/when_anchoring_a_reveal_sidebar.d.ts +2 -0
- package/dist/esm/for_layoutConfigTransitions/when_anchoring_a_reveal_sidebar.d.ts.map +1 -0
- package/dist/esm/for_layoutConfigTransitions/when_anchoring_a_reveal_sidebar.js +28 -0
- package/dist/esm/for_layoutConfigTransitions/when_anchoring_a_reveal_sidebar.js.map +1 -0
- package/dist/esm/for_layoutConfigTransitions/when_the_viewport_crosses_the_mobile_breakpoint.d.ts +2 -0
- package/dist/esm/for_layoutConfigTransitions/when_the_viewport_crosses_the_mobile_breakpoint.d.ts.map +1 -0
- package/dist/esm/for_layoutConfigTransitions/when_the_viewport_crosses_the_mobile_breakpoint.js +38 -0
- package/dist/esm/for_layoutConfigTransitions/when_the_viewport_crosses_the_mobile_breakpoint.js.map +1 -0
- package/dist/esm/for_layoutWrapperClasses/when_rendering_each_mode.d.ts +2 -0
- package/dist/esm/for_layoutWrapperClasses/when_rendering_each_mode.d.ts.map +1 -0
- package/dist/esm/for_layoutWrapperClasses/when_rendering_each_mode.js +39 -0
- package/dist/esm/for_layoutWrapperClasses/when_rendering_each_mode.js.map +1 -0
- package/dist/esm/for_navigation/when_aggregating_the_navigation_contributions.d.ts +2 -0
- package/dist/esm/for_navigation/when_aggregating_the_navigation_contributions.d.ts.map +1 -0
- package/dist/esm/for_navigation/when_aggregating_the_navigation_contributions.js +37 -0
- package/dist/esm/for_navigation/when_aggregating_the_navigation_contributions.js.map +1 -0
- package/dist/esm/gallery/ApplicationScreens.stories.d.ts +31 -0
- package/dist/esm/gallery/ApplicationScreens.stories.d.ts.map +1 -0
- package/dist/esm/gallery/ApplicationScreens.stories.js +29 -0
- package/dist/esm/gallery/ApplicationScreens.stories.js.map +1 -0
- package/dist/esm/gallery/FullPageScreens.stories.d.ts +28 -0
- package/dist/esm/gallery/FullPageScreens.stories.d.ts.map +1 -0
- package/dist/esm/gallery/FullPageScreens.stories.js +26 -0
- package/dist/esm/gallery/FullPageScreens.stories.js.map +1 -0
- package/dist/esm/gallery/GalleryScreenPreview.d.ts +12 -0
- package/dist/esm/gallery/GalleryScreenPreview.d.ts.map +1 -0
- package/dist/esm/gallery/GalleryScreenPreview.js +60 -0
- package/dist/esm/gallery/GalleryScreenPreview.js.map +1 -0
- package/dist/esm/gallery/NavigationEntry.d.ts +8 -0
- package/dist/esm/gallery/NavigationEntry.d.ts.map +1 -0
- package/dist/esm/gallery/NavigationEntry.js +2 -0
- package/dist/esm/gallery/NavigationEntry.js.map +1 -0
- package/dist/esm/gallery/TemplateSlotName.d.ts +11 -0
- package/dist/esm/gallery/TemplateSlotName.d.ts.map +1 -0
- package/dist/esm/gallery/TemplateSlotName.js +23 -0
- package/dist/esm/gallery/TemplateSlotName.js.map +1 -0
- package/dist/esm/gallery/applicationChrome.d.ts +8 -0
- package/dist/esm/gallery/applicationChrome.d.ts.map +1 -0
- package/dist/esm/gallery/applicationChrome.js +131 -0
- package/dist/esm/gallery/applicationChrome.js.map +1 -0
- package/dist/esm/gallery/authTemplates.d.ts +9 -0
- package/dist/esm/gallery/authTemplates.d.ts.map +1 -0
- package/dist/esm/gallery/authTemplates.js +226 -0
- package/dist/esm/gallery/authTemplates.js.map +1 -0
- package/dist/esm/gallery/componentNames.d.ts +4 -0
- package/dist/esm/gallery/componentNames.d.ts.map +1 -0
- package/dist/esm/gallery/componentNames.js +50 -0
- package/dist/esm/gallery/componentNames.js.map +1 -0
- package/dist/esm/gallery/composeScreen.d.ts +5 -0
- package/dist/esm/gallery/composeScreen.d.ts.map +1 -0
- package/dist/esm/gallery/composeScreen.js +95 -0
- package/dist/esm/gallery/composeScreen.js.map +1 -0
- package/dist/esm/gallery/dependencyComponentNames.d.ts +4 -0
- package/dist/esm/gallery/dependencyComponentNames.d.ts.map +1 -0
- package/dist/esm/gallery/dependencyComponentNames.js +68 -0
- package/dist/esm/gallery/dependencyComponentNames.js.map +1 -0
- package/dist/esm/gallery/dialogTemplates.d.ts +6 -0
- package/dist/esm/gallery/dialogTemplates.d.ts.map +1 -0
- package/dist/esm/gallery/dialogTemplates.js +156 -0
- package/dist/esm/gallery/dialogTemplates.js.map +1 -0
- package/dist/esm/gallery/elements.d.ts +7 -0
- package/dist/esm/gallery/elements.d.ts.map +1 -0
- package/dist/esm/gallery/elements.js +74 -0
- package/dist/esm/gallery/elements.js.map +1 -0
- package/dist/esm/gallery/index.d.ts +20 -0
- package/dist/esm/gallery/index.d.ts.map +1 -0
- package/dist/esm/gallery/index.js +20 -0
- package/dist/esm/gallery/index.js.map +1 -0
- package/dist/esm/gallery/navigation.d.ts +9 -0
- package/dist/esm/gallery/navigation.d.ts.map +1 -0
- package/dist/esm/gallery/navigation.js +122 -0
- package/dist/esm/gallery/navigation.js.map +1 -0
- package/dist/esm/gallery/nesting.d.ts +6 -0
- package/dist/esm/gallery/nesting.d.ts.map +1 -0
- package/dist/esm/gallery/nesting.js +124 -0
- package/dist/esm/gallery/nesting.js.map +1 -0
- package/dist/esm/gallery/previewProfile.d.ts +6 -0
- package/dist/esm/gallery/previewProfile.d.ts.map +1 -0
- package/dist/esm/gallery/previewProfile.js +64 -0
- package/dist/esm/gallery/previewProfile.js.map +1 -0
- package/dist/esm/gallery/resolveElementNames.d.ts +4 -0
- package/dist/esm/gallery/resolveElementNames.d.ts.map +1 -0
- package/dist/esm/gallery/resolveElementNames.js +61 -0
- package/dist/esm/gallery/resolveElementNames.js.map +1 -0
- package/dist/esm/gallery/screens.d.ts +5 -0
- package/dist/esm/gallery/screens.d.ts.map +1 -0
- package/dist/esm/gallery/screens.js +218 -0
- package/dist/esm/gallery/screens.js.map +1 -0
- package/dist/esm/gallery/statusTemplates.d.ts +7 -0
- package/dist/esm/gallery/statusTemplates.d.ts.map +1 -0
- package/dist/esm/gallery/statusTemplates.js +184 -0
- package/dist/esm/gallery/statusTemplates.js.map +1 -0
- package/dist/esm/gallery/supportTemplates.d.ts +8 -0
- package/dist/esm/gallery/supportTemplates.d.ts.map +1 -0
- package/dist/esm/gallery/supportTemplates.js +312 -0
- package/dist/esm/gallery/supportTemplates.js.map +1 -0
- package/dist/esm/gallery/widgets.d.ts +12 -0
- package/dist/esm/gallery/widgets.d.ts.map +1 -0
- package/dist/esm/gallery/widgets.js +86 -0
- package/dist/esm/gallery/widgets.js.map +1 -0
- package/dist/esm/gallery/workspaceTemplates.d.ts +8 -0
- package/dist/esm/gallery/workspaceTemplates.d.ts.map +1 -0
- package/dist/esm/gallery/workspaceTemplates.js +388 -0
- package/dist/esm/gallery/workspaceTemplates.js.map +1 -0
- package/dist/esm/index.d.ts +10 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +60 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/layouts/LayoutName.d.ts +5 -0
- package/dist/esm/layouts/LayoutName.d.ts.map +1 -0
- package/dist/esm/layouts/LayoutName.js +17 -0
- package/dist/esm/layouts/LayoutName.js.map +1 -0
- package/dist/esm/layouts/SlotName.d.ts +12 -0
- package/dist/esm/layouts/SlotName.d.ts.map +1 -0
- package/dist/esm/layouts/SlotName.js +29 -0
- package/dist/esm/layouts/SlotName.js.map +1 -0
- package/dist/esm/layouts/appShell.d.ts +8 -0
- package/dist/esm/layouts/appShell.d.ts.map +1 -0
- package/dist/esm/layouts/appShell.js +153 -0
- package/dist/esm/layouts/appShell.js.map +1 -0
- package/dist/esm/layouts/defaultLayouts.d.ts +3 -0
- package/dist/esm/layouts/defaultLayouts.d.ts.map +1 -0
- package/dist/esm/layouts/defaultLayouts.js +18 -0
- package/dist/esm/layouts/defaultLayouts.js.map +1 -0
- package/dist/esm/layouts/flowBuilders.d.ts +6 -0
- package/dist/esm/layouts/flowBuilders.d.ts.map +1 -0
- package/dist/esm/layouts/flowBuilders.js +61 -0
- package/dist/esm/layouts/flowBuilders.js.map +1 -0
- package/dist/esm/layouts/fullPage.d.ts +6 -0
- package/dist/esm/layouts/fullPage.d.ts.map +1 -0
- package/dist/esm/layouts/fullPage.js +73 -0
- package/dist/esm/layouts/fullPage.js.map +1 -0
- package/dist/esm/layouts/index.d.ts +8 -0
- package/dist/esm/layouts/index.d.ts.map +1 -0
- package/dist/esm/layouts/index.js +8 -0
- package/dist/esm/layouts/index.js.map +1 -0
- package/dist/esm/layouts/shellComponents.d.ts +3 -0
- package/dist/esm/layouts/shellComponents.d.ts.map +1 -0
- package/dist/esm/layouts/shellComponents.js +27 -0
- package/dist/esm/layouts/shellComponents.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/packageName.d.ts +2 -0
- package/dist/esm/packageName.d.ts.map +1 -0
- package/dist/esm/packageName.js +13 -0
- package/dist/esm/packageName.js.map +1 -0
- package/dist/esm/shell/AppShell.d.ts +3 -0
- package/dist/esm/shell/AppShell.d.ts.map +1 -0
- package/dist/esm/shell/AppShell.js +86 -0
- package/dist/esm/shell/AppShell.js.map +1 -0
- package/dist/esm/shell/Breadcrumb.d.ts +3 -0
- package/dist/esm/shell/Breadcrumb.d.ts.map +1 -0
- package/dist/esm/shell/Breadcrumb.js +31 -0
- package/dist/esm/shell/Breadcrumb.js.map +1 -0
- package/dist/esm/shell/ConfigPanel.d.ts +3 -0
- package/dist/esm/shell/ConfigPanel.d.ts.map +1 -0
- package/dist/esm/shell/ConfigPanel.js +126 -0
- package/dist/esm/shell/ConfigPanel.js.map +1 -0
- package/dist/esm/shell/Footer.d.ts +3 -0
- package/dist/esm/shell/Footer.d.ts.map +1 -0
- package/dist/esm/shell/Footer.js +26 -0
- package/dist/esm/shell/Footer.js.map +1 -0
- package/dist/esm/shell/FullPageShell.d.ts +3 -0
- package/dist/esm/shell/FullPageShell.d.ts.map +1 -0
- package/dist/esm/shell/FullPageShell.js +51 -0
- package/dist/esm/shell/FullPageShell.js.map +1 -0
- package/dist/esm/shell/LayoutModeSwitcher.d.ts +3 -0
- package/dist/esm/shell/LayoutModeSwitcher.d.ts.map +1 -0
- package/dist/esm/shell/LayoutModeSwitcher.js +56 -0
- package/dist/esm/shell/LayoutModeSwitcher.js.map +1 -0
- package/dist/esm/shell/LayoutModes.stories.d.ts +29 -0
- package/dist/esm/shell/LayoutModes.stories.d.ts.map +1 -0
- package/dist/esm/shell/LayoutModes.stories.js +43 -0
- package/dist/esm/shell/LayoutModes.stories.js.map +1 -0
- package/dist/esm/shell/Logo.d.ts +3 -0
- package/dist/esm/shell/Logo.d.ts.map +1 -0
- package/dist/esm/shell/Logo.js +42 -0
- package/dist/esm/shell/Logo.js.map +1 -0
- package/dist/esm/shell/Mask.d.ts +3 -0
- package/dist/esm/shell/Mask.d.ts.map +1 -0
- package/dist/esm/shell/Mask.js +31 -0
- package/dist/esm/shell/Mask.js.map +1 -0
- package/dist/esm/shell/Menu.d.ts +3 -0
- package/dist/esm/shell/Menu.d.ts.map +1 -0
- package/dist/esm/shell/Menu.js +34 -0
- package/dist/esm/shell/Menu.js.map +1 -0
- package/dist/esm/shell/MenuItem.d.ts +3 -0
- package/dist/esm/shell/MenuItem.d.ts.map +1 -0
- package/dist/esm/shell/MenuItem.js +63 -0
- package/dist/esm/shell/MenuItem.js.map +1 -0
- package/dist/esm/shell/PageHeader.d.ts +3 -0
- package/dist/esm/shell/PageHeader.d.ts.map +1 -0
- package/dist/esm/shell/PageHeader.js +41 -0
- package/dist/esm/shell/PageHeader.js.map +1 -0
- package/dist/esm/shell/RightPanel.d.ts +3 -0
- package/dist/esm/shell/RightPanel.d.ts.map +1 -0
- package/dist/esm/shell/RightPanel.js +28 -0
- package/dist/esm/shell/RightPanel.js.map +1 -0
- package/dist/esm/shell/Sidebar.d.ts +3 -0
- package/dist/esm/shell/Sidebar.d.ts.map +1 -0
- package/dist/esm/shell/Sidebar.js +49 -0
- package/dist/esm/shell/Sidebar.js.map +1 -0
- package/dist/esm/shell/ThemeOption.d.ts +10 -0
- package/dist/esm/shell/ThemeOption.d.ts.map +1 -0
- package/dist/esm/shell/ThemeOption.js +39 -0
- package/dist/esm/shell/ThemeOption.js.map +1 -0
- package/dist/esm/shell/ThemeSwitcher.d.ts +3 -0
- package/dist/esm/shell/ThemeSwitcher.d.ts.map +1 -0
- package/dist/esm/shell/ThemeSwitcher.js +48 -0
- package/dist/esm/shell/ThemeSwitcher.js.map +1 -0
- package/dist/esm/shell/Topbar.d.ts +3 -0
- package/dist/esm/shell/Topbar.d.ts.map +1 -0
- package/dist/esm/shell/Topbar.js +52 -0
- package/dist/esm/shell/Topbar.js.map +1 -0
- package/dist/esm/shell/UserMenu.d.ts +3 -0
- package/dist/esm/shell/UserMenu.d.ts.map +1 -0
- package/dist/esm/shell/UserMenu.js +66 -0
- package/dist/esm/shell/UserMenu.js.map +1 -0
- package/dist/esm/shell/elementProperties.d.ts +9 -0
- package/dist/esm/shell/elementProperties.d.ts.map +1 -0
- package/dist/esm/shell/elementProperties.js +48 -0
- package/dist/esm/shell/elementProperties.js.map +1 -0
- package/dist/esm/shell/index.d.ts +19 -0
- package/dist/esm/shell/index.d.ts.map +1 -0
- package/dist/esm/shell/index.js +19 -0
- package/dist/esm/shell/index.js.map +1 -0
- package/dist/esm/themes/LayoutThemeProvider.d.ts +9 -0
- package/dist/esm/themes/LayoutThemeProvider.d.ts.map +1 -0
- package/dist/esm/themes/LayoutThemeProvider.js +31 -0
- package/dist/esm/themes/LayoutThemeProvider.js.map +1 -0
- package/dist/esm/themes/Theming.stories.d.ts +21 -0
- package/dist/esm/themes/Theming.stories.d.ts.map +1 -0
- package/dist/esm/themes/Theming.stories.js +54 -0
- package/dist/esm/themes/Theming.stories.js.map +1 -0
- package/dist/esm/themes/blueprintThemeCompatibility.d.ts +2 -0
- package/dist/esm/themes/blueprintThemeCompatibility.d.ts.map +1 -0
- package/dist/esm/themes/blueprintThemeCompatibility.js +26 -0
- package/dist/esm/themes/blueprintThemeCompatibility.js.map +1 -0
- package/dist/esm/themes/dark.d.ts +3 -0
- package/dist/esm/themes/dark.d.ts.map +1 -0
- package/dist/esm/themes/dark.js +38 -0
- package/dist/esm/themes/dark.js.map +1 -0
- package/dist/esm/themes/defaultBlueprintThemes.d.ts +3 -0
- package/dist/esm/themes/defaultBlueprintThemes.d.ts.map +1 -0
- package/dist/esm/themes/defaultBlueprintThemes.js +17 -0
- package/dist/esm/themes/defaultBlueprintThemes.js.map +1 -0
- package/dist/esm/themes/index.d.ts +6 -0
- package/dist/esm/themes/index.d.ts.map +1 -0
- package/dist/esm/themes/index.js +6 -0
- package/dist/esm/themes/index.js.map +1 -0
- package/dist/esm/themes/light.d.ts +3 -0
- package/dist/esm/themes/light.d.ts.map +1 -0
- package/dist/esm/themes/light.js +41 -0
- package/dist/esm/themes/light.js.map +1 -0
- package/dist/esm/tsconfig.tsbuildinfo +1 -0
- package/for_AppShell/when_rendering_a_gallery_screen.tsx +76 -0
- package/for_LayoutConfigProvider/when_switching_mode_and_reloading.tsx +77 -0
- package/for_appShellLayout/when_evaluating_the_arrangement_at_each_size_class.ts +42 -0
- package/for_defaultBlueprint/when_validating_the_bundle.ts +43 -0
- package/for_defaultBlueprintThemes/when_checking_attribution_and_tokens.ts +50 -0
- package/for_fullPageLayout/when_evaluating_the_arrangement_at_each_size_class.ts +36 -0
- package/for_galleryScreenTemplates/when_checking_that_arrangements_reference_declared_slots.ts +53 -0
- package/for_galleryScreenTemplates/when_following_the_nesting_chain.ts +41 -0
- package/for_galleryScreens/when_checking_the_layouts_and_slots_they_fill.ts +44 -0
- package/for_galleryScreens/when_resolving_the_component_names_they_reference.ts +60 -0
- package/for_layoutConfigStorage/when_restoring_a_persisted_configuration.ts +76 -0
- package/for_layoutConfigTransitions/when_anchoring_a_reveal_sidebar.ts +44 -0
- package/for_layoutConfigTransitions/when_the_viewport_crosses_the_mobile_breakpoint.ts +61 -0
- package/for_layoutWrapperClasses/when_rendering_each_mode.ts +63 -0
- package/for_navigation/when_aggregating_the_navigation_contributions.ts +50 -0
- package/gallery/ApplicationScreens.stories.tsx +70 -0
- package/gallery/FullPageScreens.stories.tsx +60 -0
- package/gallery/GalleryScreenPreview.tsx +68 -0
- package/gallery/NavigationEntry.ts +27 -0
- package/gallery/TemplateSlotName.ts +36 -0
- package/gallery/applicationChrome.ts +110 -0
- package/gallery/authTemplates.ts +161 -0
- package/gallery/componentNames.ts +55 -0
- package/gallery/composeScreen.ts +95 -0
- package/gallery/dependencyComponentNames.ts +64 -0
- package/gallery/dialogTemplates.ts +79 -0
- package/gallery/elements.ts +65 -0
- package/gallery/index.ts +22 -0
- package/gallery/navigation.ts +71 -0
- package/gallery/nesting.ts +82 -0
- package/gallery/previewProfile.ts +59 -0
- package/gallery/resolveElementNames.ts +55 -0
- package/gallery/screens.ts +111 -0
- package/gallery/statusTemplates.ts +118 -0
- package/gallery/supportTemplates.ts +164 -0
- package/gallery/widgets.ts +63 -0
- package/gallery/workspaceTemplates.ts +198 -0
- package/index.ts +12 -0
- package/layouts/LayoutName.ts +18 -0
- package/layouts/SlotName.ts +44 -0
- package/layouts/appShell.ts +106 -0
- package/layouts/defaultLayouts.ts +15 -0
- package/layouts/flowBuilders.ts +49 -0
- package/layouts/fullPage.ts +48 -0
- package/layouts/index.ts +10 -0
- package/layouts/shellComponents.ts +28 -0
- package/package.json +68 -0
- package/packageName.ts +12 -0
- package/shell/AppShell.tsx +66 -0
- package/shell/Breadcrumb.tsx +31 -0
- package/shell/ConfigPanel.tsx +105 -0
- package/shell/Footer.tsx +23 -0
- package/shell/FullPageShell.tsx +41 -0
- package/shell/LayoutModeSwitcher.tsx +50 -0
- package/shell/LayoutModes.stories.tsx +83 -0
- package/shell/Logo.tsx +30 -0
- package/shell/Mask.tsx +29 -0
- package/shell/Menu.tsx +26 -0
- package/shell/MenuItem.tsx +39 -0
- package/shell/PageHeader.tsx +28 -0
- package/shell/RightPanel.tsx +23 -0
- package/shell/Sidebar.tsx +45 -0
- package/shell/ThemeOption.ts +60 -0
- package/shell/ThemeSwitcher.tsx +42 -0
- package/shell/Topbar.tsx +49 -0
- package/shell/UserMenu.tsx +53 -0
- package/shell/elementProperties.ts +64 -0
- package/shell/index.ts +21 -0
- package/shell/layout.css +821 -0
- package/themes/LayoutThemeProvider.tsx +41 -0
- package/themes/Theming.stories.tsx +89 -0
- package/themes/blueprintThemeCompatibility.ts +19 -0
- package/themes/dark.ts +38 -0
- package/themes/defaultBlueprintThemes.ts +14 -0
- package/themes/index.ts +8 -0
- package/themes/light.ts +41 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
/**
|
|
4
|
+
* The application shells this package provides.
|
|
5
|
+
*
|
|
6
|
+
* Only true application-level shells are layouts. Everything else this package ships - dashboards, CRUD
|
|
7
|
+
* lists, sign-in screens - is a page or dialog template that *fits into* one of these, not a layout of its
|
|
8
|
+
* own. Keeping the distinction in the type means the manifest's `layouts` list cannot quietly grow into a
|
|
9
|
+
* catalog of pages.
|
|
10
|
+
*/ var LayoutName = /*#__PURE__*/ function(LayoutName) {
|
|
11
|
+
/** Topbar, sidebar, breadcrumb, content, footer and an optional right panel - the shell an application signs in to. */ LayoutName["AppShell"] = "AppShell";
|
|
12
|
+
/** No chrome at all: content, an optional branding aside, and the configurator. */ LayoutName["FullPage"] = "FullPage";
|
|
13
|
+
return LayoutName;
|
|
14
|
+
}({});
|
|
15
|
+
|
|
16
|
+
export { LayoutName };
|
|
17
|
+
//# sourceMappingURL=LayoutName.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LayoutName.js","sources":["../../../layouts/LayoutName.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The application shells this package provides.\n *\n * Only true application-level shells are layouts. Everything else this package ships - dashboards, CRUD\n * lists, sign-in screens - is a page or dialog template that *fits into* one of these, not a layout of its\n * own. Keeping the distinction in the type means the manifest's `layouts` list cannot quietly grow into a\n * catalog of pages.\n */\nexport enum LayoutName {\n /** Topbar, sidebar, breadcrumb, content, footer and an optional right panel - the shell an application signs in to. */\n AppShell = 'AppShell',\n\n /** No chrome at all: content, an optional branding aside, and the configurator. */\n FullPage = 'FullPage',\n}\n"],"names":["LayoutName"],"mappings":"AAAA;AACA;AAEA;;;;;;;IAQO,IAAKA,UAAAA,iBAAAA,SAAAA,UAAAA,EAAAA;4HAC6G,UAAA,CAAA,UAAA,CAAA,GAAA,UAAA;wFAGpC,UAAA,CAAA,UAAA,CAAA,GAAA,UAAA;AAJzEA,IAAAA,OAAAA,UAAAA;AAMX,CAAA,CAAA,EAAA;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum SlotName {
|
|
2
|
+
Topbar = "topbar",
|
|
3
|
+
Sidebar = "sidebar",
|
|
4
|
+
Menu = "menu",
|
|
5
|
+
Breadcrumb = "breadcrumb",
|
|
6
|
+
Content = "content",
|
|
7
|
+
Footer = "footer",
|
|
8
|
+
RightPanel = "rightPanel",
|
|
9
|
+
ConfigPanel = "configPanel",
|
|
10
|
+
Aside = "aside"
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=SlotName.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlotName.d.ts","sourceRoot":"","sources":["../../../layouts/SlotName.ts"],"names":[],"mappings":"AAgBA,oBAAY,QAAQ;IAEhB,MAAM,WAAW;IAGjB,OAAO,YAAY;IAGnB,IAAI,SAAS;IAGb,UAAU,eAAe;IAGzB,OAAO,YAAY;IAGnB,MAAM,WAAW;IAGjB,UAAU,eAAe;IAGzB,WAAW,gBAAgB;IAG3B,KAAK,UAAU;CAClB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
/**
|
|
4
|
+
* The regions this package's layouts expose.
|
|
5
|
+
*
|
|
6
|
+
* These are the names a {@link Layout}'s {@link Slot}s carry, the keys a page template's content is
|
|
7
|
+
* filed under, and the keys the shell components read out of their `slots` prop - one enum for all three,
|
|
8
|
+
* because a slot filled under a name the shell never reads renders nothing at all and reports nothing
|
|
9
|
+
* either. That silent failure is exactly what a shared vocabulary prevents.
|
|
10
|
+
*
|
|
11
|
+
* The set follows PrimeTek's template line: Sakai establishes topbar/sidebar/menu/content/footer, and the
|
|
12
|
+
* premium templates (Diamond, Atlantis, Freya, Apollo, Ultima, Avalon, Verona) add breadcrumb and a right
|
|
13
|
+
* panel. Both are exposed here, because a layout package that only covers the free template's regions
|
|
14
|
+
* forces anyone wanting the others to fork it.
|
|
15
|
+
*/ var SlotName = /*#__PURE__*/ function(SlotName) {
|
|
16
|
+
/** The fixed strip across the top: brand, the sidebar toggle, and per-screen actions. */ SlotName["Topbar"] = "topbar";
|
|
17
|
+
/** The sidebar's own chrome - its header, brand and pin button. */ SlotName["Sidebar"] = "sidebar";
|
|
18
|
+
/** The navigation itself, so a screen can replace the menu without replacing the sidebar around it. */ SlotName["Menu"] = "menu";
|
|
19
|
+
/** The trail above the content. */ SlotName["Breadcrumb"] = "breadcrumb";
|
|
20
|
+
/** The screen itself. The only slot every layout declares. */ SlotName["Content"] = "content";
|
|
21
|
+
/** The strip below the content. */ SlotName["Footer"] = "footer";
|
|
22
|
+
/** The optional inspector panel down the right-hand edge. */ SlotName["RightPanel"] = "rightPanel";
|
|
23
|
+
/** The floating configurator. Present in both shells, because a full-page screen still has to be themeable. */ SlotName["ConfigPanel"] = "configPanel";
|
|
24
|
+
/** The branding half of a full-page screen's split - the panel a login form sits beside. */ SlotName["Aside"] = "aside";
|
|
25
|
+
return SlotName;
|
|
26
|
+
}({});
|
|
27
|
+
|
|
28
|
+
export { SlotName };
|
|
29
|
+
//# sourceMappingURL=SlotName.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlotName.js","sources":["../../../layouts/SlotName.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The regions this package's layouts expose.\n *\n * These are the names a {@link Layout}'s {@link Slot}s carry, the keys a page template's content is\n * filed under, and the keys the shell components read out of their `slots` prop - one enum for all three,\n * because a slot filled under a name the shell never reads renders nothing at all and reports nothing\n * either. That silent failure is exactly what a shared vocabulary prevents.\n *\n * The set follows PrimeTek's template line: Sakai establishes topbar/sidebar/menu/content/footer, and the\n * premium templates (Diamond, Atlantis, Freya, Apollo, Ultima, Avalon, Verona) add breadcrumb and a right\n * panel. Both are exposed here, because a layout package that only covers the free template's regions\n * forces anyone wanting the others to fork it.\n */\nexport enum SlotName {\n /** The fixed strip across the top: brand, the sidebar toggle, and per-screen actions. */\n Topbar = 'topbar',\n\n /** The sidebar's own chrome - its header, brand and pin button. */\n Sidebar = 'sidebar',\n\n /** The navigation itself, so a screen can replace the menu without replacing the sidebar around it. */\n Menu = 'menu',\n\n /** The trail above the content. */\n Breadcrumb = 'breadcrumb',\n\n /** The screen itself. The only slot every layout declares. */\n Content = 'content',\n\n /** The strip below the content. */\n Footer = 'footer',\n\n /** The optional inspector panel down the right-hand edge. */\n RightPanel = 'rightPanel',\n\n /** The floating configurator. Present in both shells, because a full-page screen still has to be themeable. */\n ConfigPanel = 'configPanel',\n\n /** The branding half of a full-page screen's split - the panel a login form sits beside. */\n Aside = 'aside',\n}\n"],"names":["SlotName"],"mappings":"AAAA;AACA;AAEA;;;;;;;;;;;;IAaO,IAAKA,QAAAA,iBAAAA,SAAAA,QAAAA,EAAAA;8FAC+E,QAAA,CAAA,QAAA,CAAA,GAAA,QAAA;wEAGtB,QAAA,CAAA,SAAA,CAAA,GAAA,SAAA;4GAGoC,QAAA,CAAA,MAAA,CAAA,GAAA,MAAA;wCAGpE,QAAA,CAAA,YAAA,CAAA,GAAA,YAAA;mEAG2B,QAAA,CAAA,SAAA,CAAA,GAAA,SAAA;wCAG3B,QAAA,CAAA,QAAA,CAAA,GAAA,QAAA;kEAG0B,QAAA,CAAA,YAAA,CAAA,GAAA,YAAA;oHAGkD,QAAA,CAAA,aAAA,CAAA,GAAA,aAAA;iGAGnB,QAAA,CAAA,OAAA,CAAA,GAAA,OAAA;AAzBlFA,IAAAA,OAAAA,QAAAA;AA2BX,CAAA,CAAA,EAAA;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FlowArrangement, Layout } from '@cratis/scene.model';
|
|
2
|
+
export declare const appShellRegularRoot: import("@cratis/scene.model").FlowColumn;
|
|
3
|
+
export declare const appShellCompactWidthRoot: import("@cratis/scene.model").FlowColumn;
|
|
4
|
+
export declare const appShellCompactHeightRoot: import("@cratis/scene.model").FlowColumn;
|
|
5
|
+
export declare const appShellCompactRoot: import("@cratis/scene.model").FlowColumn;
|
|
6
|
+
export declare const appShellArrangement: FlowArrangement;
|
|
7
|
+
export declare const appShellLayout: Layout;
|
|
8
|
+
//# sourceMappingURL=appShell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appShell.d.ts","sourceRoot":"","sources":["../../../layouts/appShell.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAmB,MAAM,EAAkB,MAAM,qBAAqB,CAAC;AAS/F,eAAO,MAAM,mBAAmB,0CAY9B,CAAC;AASH,eAAO,MAAM,wBAAwB,0CAInC,CAAC;AASH,eAAO,MAAM,yBAAyB,0CAQpC,CAAC;AAUH,eAAO,MAAM,mBAAmB,0CAI9B,CAAC;AAGH,eAAO,MAAM,mBAAmB,EAAE,eAOjC,CAAC;AAcF,eAAO,MAAM,cAAc,EAAE,MAa5B,CAAC"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { WidthSizeClass, HeightSizeClass } from '@cratis/scene.model';
|
|
2
|
+
import { LayoutName } from './LayoutName.js';
|
|
3
|
+
import { SlotName } from './SlotName.js';
|
|
4
|
+
import { column, slotLeaf, row } from './flowBuilders.js';
|
|
5
|
+
|
|
6
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
7
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
8
|
+
/**
|
|
9
|
+
* The tree at a regular width and height: a topbar across the top, the sidebar column beside the main
|
|
10
|
+
* column, an optional right panel down the edge, and the configurator floating over all of it.
|
|
11
|
+
*/ const appShellRegularRoot = column([
|
|
12
|
+
slotLeaf(SlotName.Topbar),
|
|
13
|
+
row([
|
|
14
|
+
column([
|
|
15
|
+
slotLeaf(SlotName.Sidebar),
|
|
16
|
+
slotLeaf(SlotName.Menu, {
|
|
17
|
+
grow: 1
|
|
18
|
+
})
|
|
19
|
+
]),
|
|
20
|
+
column([
|
|
21
|
+
slotLeaf(SlotName.Breadcrumb),
|
|
22
|
+
slotLeaf(SlotName.Content, {
|
|
23
|
+
grow: 1
|
|
24
|
+
}),
|
|
25
|
+
slotLeaf(SlotName.Footer)
|
|
26
|
+
], 0, {
|
|
27
|
+
grow: 1
|
|
28
|
+
}),
|
|
29
|
+
slotLeaf(SlotName.RightPanel)
|
|
30
|
+
], 0, {
|
|
31
|
+
grow: 1
|
|
32
|
+
}),
|
|
33
|
+
slotLeaf(SlotName.ConfigPanel)
|
|
34
|
+
]);
|
|
35
|
+
/**
|
|
36
|
+
* The tree at a compact width: the sidebar and the right panel leave the flow entirely.
|
|
37
|
+
*
|
|
38
|
+
* They leave rather than shrink because there is no width at which an 18rem panel and a 20rem panel both
|
|
39
|
+
* fit beside content on a phone. The sidebar is still rendered - off-canvas, over the content, behind the
|
|
40
|
+
* mask - but it no longer *occupies* anything, and that is a fact about the arrangement, not about CSS.
|
|
41
|
+
*/ const appShellCompactWidthRoot = column([
|
|
42
|
+
slotLeaf(SlotName.Topbar),
|
|
43
|
+
column([
|
|
44
|
+
slotLeaf(SlotName.Breadcrumb),
|
|
45
|
+
slotLeaf(SlotName.Content, {
|
|
46
|
+
grow: 1
|
|
47
|
+
}),
|
|
48
|
+
slotLeaf(SlotName.Footer)
|
|
49
|
+
], 0, {
|
|
50
|
+
grow: 1
|
|
51
|
+
}),
|
|
52
|
+
slotLeaf(SlotName.ConfigPanel)
|
|
53
|
+
]);
|
|
54
|
+
/**
|
|
55
|
+
* The tree at a compact height: the breadcrumb and the footer go.
|
|
56
|
+
*
|
|
57
|
+
* A landscape phone has room across but almost none down, and two horizontal strips of chrome eat most of
|
|
58
|
+
* what is left. Dropping them is the height axis earning its place in the size-class matrix - width alone
|
|
59
|
+
* cannot express it.
|
|
60
|
+
*/ const appShellCompactHeightRoot = column([
|
|
61
|
+
slotLeaf(SlotName.Topbar),
|
|
62
|
+
row([
|
|
63
|
+
column([
|
|
64
|
+
slotLeaf(SlotName.Sidebar),
|
|
65
|
+
slotLeaf(SlotName.Menu, {
|
|
66
|
+
grow: 1
|
|
67
|
+
})
|
|
68
|
+
]),
|
|
69
|
+
slotLeaf(SlotName.Content, {
|
|
70
|
+
grow: 1
|
|
71
|
+
}),
|
|
72
|
+
slotLeaf(SlotName.RightPanel)
|
|
73
|
+
], 0, {
|
|
74
|
+
grow: 1
|
|
75
|
+
}),
|
|
76
|
+
slotLeaf(SlotName.ConfigPanel)
|
|
77
|
+
]);
|
|
78
|
+
/**
|
|
79
|
+
* The tree when both axes are compact - a phone in landscape: nothing but the topbar, the content and the
|
|
80
|
+
* configurator.
|
|
81
|
+
*
|
|
82
|
+
* This override exists to be *more specific* than the two single-axis ones. `evaluateFlowArrangement`
|
|
83
|
+
* scores an override by how many axes it targets, so without this one a landscape phone would pick
|
|
84
|
+
* whichever single-axis override was declared last and keep a footer it has no room for.
|
|
85
|
+
*/ const appShellCompactRoot = column([
|
|
86
|
+
slotLeaf(SlotName.Topbar),
|
|
87
|
+
slotLeaf(SlotName.Content, {
|
|
88
|
+
grow: 1
|
|
89
|
+
}),
|
|
90
|
+
slotLeaf(SlotName.ConfigPanel)
|
|
91
|
+
]);
|
|
92
|
+
/** The arrangement of the {@link appShellLayout}'s own slots, with one override per size-class combination that changes it. */ const appShellArrangement = {
|
|
93
|
+
root: appShellRegularRoot,
|
|
94
|
+
overrides: [
|
|
95
|
+
{
|
|
96
|
+
width: WidthSizeClass.Compact,
|
|
97
|
+
root: appShellCompactWidthRoot
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
height: HeightSizeClass.Compact,
|
|
101
|
+
root: appShellCompactHeightRoot
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
width: WidthSizeClass.Compact,
|
|
105
|
+
height: HeightSizeClass.Compact,
|
|
106
|
+
root: appShellCompactRoot
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* The application shell layout.
|
|
112
|
+
*
|
|
113
|
+
* This is the *application-level* structure - the base navigational look an application picks once and
|
|
114
|
+
* every page then lives inside. The regions are the ones PrimeTek's template line settled on: Sakai
|
|
115
|
+
* establishes topbar, sidebar, menu, content and footer, and the premium templates add the breadcrumb and
|
|
116
|
+
* the right panel. Both sets are here, because a layout package covering only the free template's regions
|
|
117
|
+
* forces a fork on anyone who wants the others.
|
|
118
|
+
*
|
|
119
|
+
* The slots carry no arrangement of their own: how a screen's content is arranged *inside* a slot is that
|
|
120
|
+
* page template's business, and a layout that dictated it would stop being a shell.
|
|
121
|
+
*/ const appShellLayout = {
|
|
122
|
+
name: LayoutName.AppShell,
|
|
123
|
+
slots: [
|
|
124
|
+
{
|
|
125
|
+
name: SlotName.Topbar
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: SlotName.Sidebar
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: SlotName.Menu
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
name: SlotName.Breadcrumb
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: SlotName.Content
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
name: SlotName.Footer
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
name: SlotName.RightPanel
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: SlotName.ConfigPanel
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
arrangement: appShellArrangement
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
export { appShellArrangement, appShellCompactHeightRoot, appShellCompactRoot, appShellCompactWidthRoot, appShellLayout, appShellRegularRoot };
|
|
153
|
+
//# sourceMappingURL=appShell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appShell.js","sources":["../../../layouts/appShell.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowArrangement, HeightSizeClass, Layout, WidthSizeClass } from '@cratis/scene.model';\nimport { LayoutName } from './LayoutName';\nimport { SlotName } from './SlotName';\nimport { column, row, slotLeaf } from './flowBuilders';\n\n/**\n * The tree at a regular width and height: a topbar across the top, the sidebar column beside the main\n * column, an optional right panel down the edge, and the configurator floating over all of it.\n */\nexport const appShellRegularRoot = column([\n slotLeaf(SlotName.Topbar),\n row(\n [\n column([slotLeaf(SlotName.Sidebar), slotLeaf(SlotName.Menu, { grow: 1 })]),\n column([slotLeaf(SlotName.Breadcrumb), slotLeaf(SlotName.Content, { grow: 1 }), slotLeaf(SlotName.Footer)], 0, { grow: 1 }),\n slotLeaf(SlotName.RightPanel),\n ],\n 0,\n { grow: 1 },\n ),\n slotLeaf(SlotName.ConfigPanel),\n]);\n\n/**\n * The tree at a compact width: the sidebar and the right panel leave the flow entirely.\n *\n * They leave rather than shrink because there is no width at which an 18rem panel and a 20rem panel both\n * fit beside content on a phone. The sidebar is still rendered - off-canvas, over the content, behind the\n * mask - but it no longer *occupies* anything, and that is a fact about the arrangement, not about CSS.\n */\nexport const appShellCompactWidthRoot = column([\n slotLeaf(SlotName.Topbar),\n column([slotLeaf(SlotName.Breadcrumb), slotLeaf(SlotName.Content, { grow: 1 }), slotLeaf(SlotName.Footer)], 0, { grow: 1 }),\n slotLeaf(SlotName.ConfigPanel),\n]);\n\n/**\n * The tree at a compact height: the breadcrumb and the footer go.\n *\n * A landscape phone has room across but almost none down, and two horizontal strips of chrome eat most of\n * what is left. Dropping them is the height axis earning its place in the size-class matrix - width alone\n * cannot express it.\n */\nexport const appShellCompactHeightRoot = column([\n slotLeaf(SlotName.Topbar),\n row(\n [column([slotLeaf(SlotName.Sidebar), slotLeaf(SlotName.Menu, { grow: 1 })]), slotLeaf(SlotName.Content, { grow: 1 }), slotLeaf(SlotName.RightPanel)],\n 0,\n { grow: 1 },\n ),\n slotLeaf(SlotName.ConfigPanel),\n]);\n\n/**\n * The tree when both axes are compact - a phone in landscape: nothing but the topbar, the content and the\n * configurator.\n *\n * This override exists to be *more specific* than the two single-axis ones. `evaluateFlowArrangement`\n * scores an override by how many axes it targets, so without this one a landscape phone would pick\n * whichever single-axis override was declared last and keep a footer it has no room for.\n */\nexport const appShellCompactRoot = column([\n slotLeaf(SlotName.Topbar),\n slotLeaf(SlotName.Content, { grow: 1 }),\n slotLeaf(SlotName.ConfigPanel),\n]);\n\n/** The arrangement of the {@link appShellLayout}'s own slots, with one override per size-class combination that changes it. */\nexport const appShellArrangement: FlowArrangement = {\n root: appShellRegularRoot,\n overrides: [\n { width: WidthSizeClass.Compact, root: appShellCompactWidthRoot },\n { height: HeightSizeClass.Compact, root: appShellCompactHeightRoot },\n { width: WidthSizeClass.Compact, height: HeightSizeClass.Compact, root: appShellCompactRoot },\n ],\n};\n\n/**\n * The application shell layout.\n *\n * This is the *application-level* structure - the base navigational look an application picks once and\n * every page then lives inside. The regions are the ones PrimeTek's template line settled on: Sakai\n * establishes topbar, sidebar, menu, content and footer, and the premium templates add the breadcrumb and\n * the right panel. Both sets are here, because a layout package covering only the free template's regions\n * forces a fork on anyone who wants the others.\n *\n * The slots carry no arrangement of their own: how a screen's content is arranged *inside* a slot is that\n * page template's business, and a layout that dictated it would stop being a shell.\n */\nexport const appShellLayout: Layout = {\n name: LayoutName.AppShell,\n slots: [\n { name: SlotName.Topbar },\n { name: SlotName.Sidebar },\n { name: SlotName.Menu },\n { name: SlotName.Breadcrumb },\n { name: SlotName.Content },\n { name: SlotName.Footer },\n { name: SlotName.RightPanel },\n { name: SlotName.ConfigPanel },\n ],\n arrangement: appShellArrangement,\n};\n"],"names":["appShellRegularRoot","column","slotLeaf","SlotName","Topbar","row","Sidebar","Menu","grow","Breadcrumb","Content","Footer","RightPanel","ConfigPanel","appShellCompactWidthRoot","appShellCompactHeightRoot","appShellCompactRoot","appShellArrangement","root","overrides","width","WidthSizeClass","Compact","height","HeightSizeClass","appShellLayout","name","LayoutName","AppShell","slots","arrangement"],"mappings":";;;;;AAAA;AACA;AAOA;;;IAIO,MAAMA,mBAAAA,GAAsBC,MAAAA,CAAO;AACtCC,IAAAA,QAAAA,CAASC,SAASC,MAAM,CAAA;IACxBC,GAAAA,CACI;QACIJ,MAAAA,CAAO;AAACC,YAAAA,QAAAA,CAASC,SAASG,OAAO,CAAA;YAAGJ,QAAAA,CAASC,QAAAA,CAASI,IAAI,EAAE;gBAAEC,IAAAA,EAAM;AAAE,aAAA;AAAG,SAAA,CAAA;QACzEP,MAAAA,CAAO;AAACC,YAAAA,QAAAA,CAASC,SAASM,UAAU,CAAA;YAAGP,QAAAA,CAASC,QAAAA,CAASO,OAAO,EAAE;gBAAEF,IAAAA,EAAM;AAAE,aAAA,CAAA;AAAIN,YAAAA,QAAAA,CAASC,SAASQ,MAAM;AAAE,SAAA,EAAE,CAAA,EAAG;YAAEH,IAAAA,EAAM;AAAE,SAAA,CAAA;AACzHN,QAAAA,QAAAA,CAASC,SAASS,UAAU;AAC/B,KAAA,EACD,CAAA,EACA;QAAEJ,IAAAA,EAAM;AAAE,KAAA,CAAA;AAEdN,IAAAA,QAAAA,CAASC,SAASU,WAAW;CAChC;AAED;;;;;;IAOO,MAAMC,wBAAAA,GAA2Bb,MAAAA,CAAO;AAC3CC,IAAAA,QAAAA,CAASC,SAASC,MAAM,CAAA;IACxBH,MAAAA,CAAO;AAACC,QAAAA,QAAAA,CAASC,SAASM,UAAU,CAAA;QAAGP,QAAAA,CAASC,QAAAA,CAASO,OAAO,EAAE;YAAEF,IAAAA,EAAM;AAAE,SAAA,CAAA;AAAIN,QAAAA,QAAAA,CAASC,SAASQ,MAAM;AAAE,KAAA,EAAE,CAAA,EAAG;QAAEH,IAAAA,EAAM;AAAE,KAAA,CAAA;AACzHN,IAAAA,QAAAA,CAASC,SAASU,WAAW;CAChC;AAED;;;;;;IAOO,MAAME,yBAAAA,GAA4Bd,MAAAA,CAAO;AAC5CC,IAAAA,QAAAA,CAASC,SAASC,MAAM,CAAA;IACxBC,GAAAA,CACI;QAACJ,MAAAA,CAAO;AAACC,YAAAA,QAAAA,CAASC,SAASG,OAAO,CAAA;YAAGJ,QAAAA,CAASC,QAAAA,CAASI,IAAI,EAAE;gBAAEC,IAAAA,EAAM;AAAE,aAAA;AAAG,SAAA,CAAA;QAAGN,QAAAA,CAASC,QAAAA,CAASO,OAAO,EAAE;YAAEF,IAAAA,EAAM;AAAE,SAAA,CAAA;AAAIN,QAAAA,QAAAA,CAASC,SAASS,UAAU;AAAE,KAAA,EACpJ,CAAA,EACA;QAAEJ,IAAAA,EAAM;AAAE,KAAA,CAAA;AAEdN,IAAAA,QAAAA,CAASC,SAASU,WAAW;CAChC;AAED;;;;;;;IAQO,MAAMG,mBAAAA,GAAsBf,MAAAA,CAAO;AACtCC,IAAAA,QAAAA,CAASC,SAASC,MAAM,CAAA;IACxBF,QAAAA,CAASC,QAAAA,CAASO,OAAO,EAAE;QAAEF,IAAAA,EAAM;AAAE,KAAA,CAAA;AACrCN,IAAAA,QAAAA,CAASC,SAASU,WAAW;CAChC;AAED,gIACO,MAAMI,mBAAAA,GAAuC;IAChDC,IAAAA,EAAMlB,mBAAAA;IACNmB,SAAAA,EAAW;AACP,QAAA;AAAEC,YAAAA,KAAAA,EAAOC,eAAeC,OAAO;YAAEJ,IAAAA,EAAMJ;AAAyB,SAAA;AAChE,QAAA;AAAES,YAAAA,MAAAA,EAAQC,gBAAgBF,OAAO;YAAEJ,IAAAA,EAAMH;AAA0B,SAAA;AACnE,QAAA;AAAEK,YAAAA,KAAAA,EAAOC,eAAeC,OAAO;AAAEC,YAAAA,MAAAA,EAAQC,gBAAgBF,OAAO;YAAEJ,IAAAA,EAAMF;AAAoB;AAC/F;AACL;AAEA;;;;;;;;;;;UAYaS,cAAAA,GAAyB;AAClCC,IAAAA,IAAAA,EAAMC,WAAWC,QAAQ;IACzBC,KAAAA,EAAO;AACH,QAAA;AAAEH,YAAAA,IAAAA,EAAMvB,SAASC;AAAO,SAAA;AACxB,QAAA;AAAEsB,YAAAA,IAAAA,EAAMvB,SAASG;AAAQ,SAAA;AACzB,QAAA;AAAEoB,YAAAA,IAAAA,EAAMvB,SAASI;AAAK,SAAA;AACtB,QAAA;AAAEmB,YAAAA,IAAAA,EAAMvB,SAASM;AAAW,SAAA;AAC5B,QAAA;AAAEiB,YAAAA,IAAAA,EAAMvB,SAASO;AAAQ,SAAA;AACzB,QAAA;AAAEgB,YAAAA,IAAAA,EAAMvB,SAASQ;AAAO,SAAA;AACxB,QAAA;AAAEe,YAAAA,IAAAA,EAAMvB,SAASS;AAAW,SAAA;AAC5B,QAAA;AAAEc,YAAAA,IAAAA,EAAMvB,SAASU;AAAY;AAChC,KAAA;IACDiB,WAAAA,EAAab;AACjB;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultLayouts.d.ts","sourceRoot":"","sources":["../../../layouts/defaultLayouts.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAW7C,eAAO,MAAM,cAAc,EAAE,MAAM,EAAqC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { appShellLayout } from './appShell.js';
|
|
2
|
+
import { fullPageLayout } from './fullPage.js';
|
|
3
|
+
|
|
4
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
5
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
6
|
+
/**
|
|
7
|
+
* The layouts this package provides.
|
|
8
|
+
*
|
|
9
|
+
* Two, and deliberately only two - every application shell worth having is one of these, and everything
|
|
10
|
+
* else this package ships is a page or dialog template that fits *into* one of them. The list is what the
|
|
11
|
+
* manifest's `layouts` names and what the bundle provides, which is what `validatePackageBundle` proves.
|
|
12
|
+
*/ const defaultLayouts = [
|
|
13
|
+
appShellLayout,
|
|
14
|
+
fullPageLayout
|
|
15
|
+
];
|
|
16
|
+
|
|
17
|
+
export { defaultLayouts };
|
|
18
|
+
//# sourceMappingURL=defaultLayouts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultLayouts.js","sources":["../../../layouts/defaultLayouts.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Layout } from '@cratis/scene.model';\nimport { appShellLayout } from './appShell';\nimport { fullPageLayout } from './fullPage';\n\n/**\n * The layouts this package provides.\n *\n * Two, and deliberately only two - every application shell worth having is one of these, and everything\n * else this package ships is a page or dialog template that fits *into* one of them. The list is what the\n * manifest's `layouts` names and what the bundle provides, which is what `validatePackageBundle` proves.\n */\nexport const defaultLayouts: Layout[] = [appShellLayout, fullPageLayout];\n"],"names":["defaultLayouts","appShellLayout","fullPageLayout"],"mappings":";;;AAAA;AACA;AAMA;;;;;;UAOaA,cAAAA,GAA2B;AAACC,IAAAA,cAAAA;AAAgBC,IAAAA;;;;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FlowColumn, FlowGrid, FlowNode, FlowRow, FlowSlotLeaf } from '@cratis/scene.model';
|
|
2
|
+
export declare function slotLeaf(slotName: string, node?: FlowNode): FlowSlotLeaf;
|
|
3
|
+
export declare function row(children: FlowNode[], gap?: number, node?: FlowNode): FlowRow;
|
|
4
|
+
export declare function column(children: FlowNode[], gap?: number, node?: FlowNode): FlowColumn;
|
|
5
|
+
export declare function grid(children: FlowNode[], columns: number, gap?: number, node?: FlowNode): FlowGrid;
|
|
6
|
+
//# sourceMappingURL=flowBuilders.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flowBuilders.d.ts","sourceRoot":"","sources":["../../../layouts/flowBuilders.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAqB,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAuB/G,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,GAAE,QAAa,GAAG,YAAY,CAE5E;AAGD,wBAAgB,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAAE,GAAG,SAAI,EAAE,IAAI,GAAE,QAAa,GAAG,OAAO,CAE/E;AAGD,wBAAgB,MAAM,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAAE,GAAG,SAAI,EAAE,IAAI,GAAE,QAAa,GAAG,UAAU,CAErF;AAQD,wBAAgB,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,SAAI,EAAE,IAAI,GAAE,QAAa,GAAG,QAAQ,CAElG"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { FlowContainerKind } from '@cratis/scene.model';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
/**
|
|
6
|
+
* Small constructors for the `flow` primitives a layout's macro arrangement is built from.
|
|
7
|
+
*
|
|
8
|
+
* They exist because the primitives are structural interfaces with required members (`gap` and
|
|
9
|
+
* `children` on every container), so writing a tree as object literals buries the shape under
|
|
10
|
+
* boilerplate - and a layout tree is a thing to be read, not decoded. These keep the declarations in
|
|
11
|
+
* `appShell.ts` and `fullPage.ts` down to the structure itself.
|
|
12
|
+
*
|
|
13
|
+
* Each container carries its {@link FlowContainerKind}, which is what lets a renderer tell a row from a
|
|
14
|
+
* column - they are otherwise the same shape, and TypeScript has no runtime types to test. These builders
|
|
15
|
+
* set it, so a declaration site never has to repeat it and can never get it wrong.
|
|
16
|
+
*/ /**
|
|
17
|
+
* A leaf positioning one of the containing layout's or screen template's own named slots.
|
|
18
|
+
*
|
|
19
|
+
* Takes a plain string rather than one enum, because a layout arranges {@link SlotName}s while a screen
|
|
20
|
+
* template arranges its own vocabulary - and the same builder has to serve both. That every leaf names a
|
|
21
|
+
* slot its container actually declares is checked by a spec rather than by the type, since no type can
|
|
22
|
+
* express "one of whatever this particular container declared".
|
|
23
|
+
*/ function slotLeaf(slotName, node = {}) {
|
|
24
|
+
return {
|
|
25
|
+
...node,
|
|
26
|
+
slotName
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/** A container arranging its children horizontally. */ function row(children, gap = 0, node = {}) {
|
|
30
|
+
return {
|
|
31
|
+
...node,
|
|
32
|
+
gap,
|
|
33
|
+
children,
|
|
34
|
+
kind: FlowContainerKind.Row
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
/** A container arranging its children vertically. */ function column(children, gap = 0, node = {}) {
|
|
38
|
+
return {
|
|
39
|
+
...node,
|
|
40
|
+
gap,
|
|
41
|
+
children,
|
|
42
|
+
kind: FlowContainerKind.Column
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* A container arranging its children in a grid.
|
|
47
|
+
*
|
|
48
|
+
* `columns` is always set rather than left to the renderer - a grid that does not say how many tracks it
|
|
49
|
+
* has leaves the renderer guessing at the one thing the author cared about.
|
|
50
|
+
*/ function grid(children, columns, gap = 0, node = {}) {
|
|
51
|
+
return {
|
|
52
|
+
...node,
|
|
53
|
+
gap,
|
|
54
|
+
children,
|
|
55
|
+
columns,
|
|
56
|
+
kind: FlowContainerKind.Grid
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export { column, grid, row, slotLeaf };
|
|
61
|
+
//# sourceMappingURL=flowBuilders.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flowBuilders.js","sources":["../../../layouts/flowBuilders.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowColumn, FlowContainerKind, FlowGrid, FlowNode, FlowRow, FlowSlotLeaf } from '@cratis/scene.model';\n\n/**\n * Small constructors for the `flow` primitives a layout's macro arrangement is built from.\n *\n * They exist because the primitives are structural interfaces with required members (`gap` and\n * `children` on every container), so writing a tree as object literals buries the shape under\n * boilerplate - and a layout tree is a thing to be read, not decoded. These keep the declarations in\n * `appShell.ts` and `fullPage.ts` down to the structure itself.\n *\n * Each container carries its {@link FlowContainerKind}, which is what lets a renderer tell a row from a\n * column - they are otherwise the same shape, and TypeScript has no runtime types to test. These builders\n * set it, so a declaration site never has to repeat it and can never get it wrong.\n */\n\n/**\n * A leaf positioning one of the containing layout's or screen template's own named slots.\n *\n * Takes a plain string rather than one enum, because a layout arranges {@link SlotName}s while a screen\n * template arranges its own vocabulary - and the same builder has to serve both. That every leaf names a\n * slot its container actually declares is checked by a spec rather than by the type, since no type can\n * express \"one of whatever this particular container declared\".\n */\nexport function slotLeaf(slotName: string, node: FlowNode = {}): FlowSlotLeaf {\n return { ...node, slotName };\n}\n\n/** A container arranging its children horizontally. */\nexport function row(children: FlowNode[], gap = 0, node: FlowNode = {}): FlowRow {\n return { ...node, gap, children, kind: FlowContainerKind.Row };\n}\n\n/** A container arranging its children vertically. */\nexport function column(children: FlowNode[], gap = 0, node: FlowNode = {}): FlowColumn {\n return { ...node, gap, children, kind: FlowContainerKind.Column };\n}\n\n/**\n * A container arranging its children in a grid.\n *\n * `columns` is always set rather than left to the renderer - a grid that does not say how many tracks it\n * has leaves the renderer guessing at the one thing the author cared about.\n */\nexport function grid(children: FlowNode[], columns: number, gap = 0, node: FlowNode = {}): FlowGrid {\n return { ...node, gap, children, columns, kind: FlowContainerKind.Grid };\n}\n"],"names":["slotLeaf","slotName","node","row","children","gap","kind","FlowContainerKind","Row","column","Column","grid","columns","Grid"],"mappings":";;AAAA;AACA;AAIA;;;;;;;;;;;;;;;;;;AAoBC,IACM,SAASA,QAAAA,CAASC,QAAgB,EAAEC,IAAAA,GAAiB,EAAE,EAAA;IAC1D,OAAO;AAAE,QAAA,GAAGA,IAAI;AAAED,QAAAA;AAAS,KAAA;AAC/B;AAEA,wDACO,SAASE,GAAAA,CAAIC,QAAoB,EAAEC,GAAAA,GAAM,CAAC,EAAEH,IAAAA,GAAiB,EAAE,EAAA;IAClE,OAAO;AAAE,QAAA,GAAGA,IAAI;AAAEG,QAAAA,GAAAA;AAAKD,QAAAA,QAAAA;AAAUE,QAAAA,IAAAA,EAAMC,kBAAkBC;AAAI,KAAA;AACjE;AAEA,sDACO,SAASC,MAAAA,CAAOL,QAAoB,EAAEC,GAAAA,GAAM,CAAC,EAAEH,IAAAA,GAAiB,EAAE,EAAA;IACrE,OAAO;AAAE,QAAA,GAAGA,IAAI;AAAEG,QAAAA,GAAAA;AAAKD,QAAAA,QAAAA;AAAUE,QAAAA,IAAAA,EAAMC,kBAAkBG;AAAO,KAAA;AACpE;AAEA;;;;;AAKC,IACM,SAASC,IAAAA,CAAKP,QAAoB,EAAEQ,OAAe,EAAEP,GAAAA,GAAM,CAAC,EAAEH,IAAAA,GAAiB,EAAE,EAAA;IACpF,OAAO;AAAE,QAAA,GAAGA,IAAI;AAAEG,QAAAA,GAAAA;AAAKD,QAAAA,QAAAA;AAAUQ,QAAAA,OAAAA;AAASN,QAAAA,IAAAA,EAAMC,kBAAkBM;AAAK,KAAA;AAC3E;;;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FlowArrangement, Layout } from '@cratis/scene.model';
|
|
2
|
+
export declare const fullPageRegularRoot: import("@cratis/scene.model").FlowColumn;
|
|
3
|
+
export declare const fullPageCompactWidthRoot: import("@cratis/scene.model").FlowColumn;
|
|
4
|
+
export declare const fullPageArrangement: FlowArrangement;
|
|
5
|
+
export declare const fullPageLayout: Layout;
|
|
6
|
+
//# sourceMappingURL=fullPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fullPage.d.ts","sourceRoot":"","sources":["../../../layouts/fullPage.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,EAAkB,MAAM,qBAAqB,CAAC;AAW9E,eAAO,MAAM,mBAAmB,0CAAqI,CAAC;AAStK,eAAO,MAAM,wBAAwB,0CAAoF,CAAC;AAG1H,eAAO,MAAM,mBAAmB,EAAE,eAGjC,CAAC;AAcF,eAAO,MAAM,cAAc,EAAE,MAI5B,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { WidthSizeClass } from '@cratis/scene.model';
|
|
2
|
+
import { LayoutName } from './LayoutName.js';
|
|
3
|
+
import { SlotName } from './SlotName.js';
|
|
4
|
+
import { column, row, slotLeaf } from './flowBuilders.js';
|
|
5
|
+
|
|
6
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
7
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
8
|
+
/**
|
|
9
|
+
* The tree at a regular width: the branding aside beside the content, with the configurator over both.
|
|
10
|
+
*
|
|
11
|
+
* The split is the shape every premium PrimeTek sign-in page uses - a colored branding half and a form
|
|
12
|
+
* half - and it is the reason `aside` is a slot rather than something a screen paints inside `content`.
|
|
13
|
+
*/ const fullPageRegularRoot = column([
|
|
14
|
+
row([
|
|
15
|
+
slotLeaf(SlotName.Aside),
|
|
16
|
+
slotLeaf(SlotName.Content, {
|
|
17
|
+
grow: 1
|
|
18
|
+
})
|
|
19
|
+
], 0, {
|
|
20
|
+
grow: 1
|
|
21
|
+
}),
|
|
22
|
+
slotLeaf(SlotName.ConfigPanel)
|
|
23
|
+
]);
|
|
24
|
+
/**
|
|
25
|
+
* The tree at a compact width: the branding aside leaves the flow.
|
|
26
|
+
*
|
|
27
|
+
* On a phone the aside would take 40% of the width from the only thing that matters on a sign-in screen,
|
|
28
|
+
* which is the form. It drops out rather than stacking above it, because a sign-in form pushed below the
|
|
29
|
+
* fold by decoration is the worst possible first screen.
|
|
30
|
+
*/ const fullPageCompactWidthRoot = column([
|
|
31
|
+
slotLeaf(SlotName.Content, {
|
|
32
|
+
grow: 1
|
|
33
|
+
}),
|
|
34
|
+
slotLeaf(SlotName.ConfigPanel)
|
|
35
|
+
]);
|
|
36
|
+
/** The arrangement of the {@link fullPageLayout}'s own slots. */ const fullPageArrangement = {
|
|
37
|
+
root: fullPageRegularRoot,
|
|
38
|
+
overrides: [
|
|
39
|
+
{
|
|
40
|
+
width: WidthSizeClass.Compact,
|
|
41
|
+
root: fullPageCompactWidthRoot
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* The chrome-less layout.
|
|
47
|
+
*
|
|
48
|
+
* Sign-in, register, forgotten password, verification, lock, error, access-denied, not-found and landing
|
|
49
|
+
* screens all use this rather than a stripped-down application shell, and that split is structural in
|
|
50
|
+
* every PrimeTek template for a reason worth repeating: none of those screens has navigation state, a
|
|
51
|
+
* sidebar to remember or a breadcrumb to place, so hanging them off the application shell would mean every
|
|
52
|
+
* one of the eight modes needs an answer for a page with no menu.
|
|
53
|
+
*
|
|
54
|
+
* The configurator stays, because the sign-in page is very often the first page anyone sees and it still
|
|
55
|
+
* has to honor the chosen theme.
|
|
56
|
+
*/ const fullPageLayout = {
|
|
57
|
+
name: LayoutName.FullPage,
|
|
58
|
+
slots: [
|
|
59
|
+
{
|
|
60
|
+
name: SlotName.Aside
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: SlotName.Content
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: SlotName.ConfigPanel
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
arrangement: fullPageArrangement
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export { fullPageArrangement, fullPageCompactWidthRoot, fullPageLayout, fullPageRegularRoot };
|
|
73
|
+
//# sourceMappingURL=fullPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fullPage.js","sources":["../../../layouts/fullPage.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowArrangement, Layout, WidthSizeClass } from '@cratis/scene.model';\nimport { LayoutName } from './LayoutName';\nimport { SlotName } from './SlotName';\nimport { column, row, slotLeaf } from './flowBuilders';\n\n/**\n * The tree at a regular width: the branding aside beside the content, with the configurator over both.\n *\n * The split is the shape every premium PrimeTek sign-in page uses - a colored branding half and a form\n * half - and it is the reason `aside` is a slot rather than something a screen paints inside `content`.\n */\nexport const fullPageRegularRoot = column([row([slotLeaf(SlotName.Aside), slotLeaf(SlotName.Content, { grow: 1 })], 0, { grow: 1 }), slotLeaf(SlotName.ConfigPanel)]);\n\n/**\n * The tree at a compact width: the branding aside leaves the flow.\n *\n * On a phone the aside would take 40% of the width from the only thing that matters on a sign-in screen,\n * which is the form. It drops out rather than stacking above it, because a sign-in form pushed below the\n * fold by decoration is the worst possible first screen.\n */\nexport const fullPageCompactWidthRoot = column([slotLeaf(SlotName.Content, { grow: 1 }), slotLeaf(SlotName.ConfigPanel)]);\n\n/** The arrangement of the {@link fullPageLayout}'s own slots. */\nexport const fullPageArrangement: FlowArrangement = {\n root: fullPageRegularRoot,\n overrides: [{ width: WidthSizeClass.Compact, root: fullPageCompactWidthRoot }],\n};\n\n/**\n * The chrome-less layout.\n *\n * Sign-in, register, forgotten password, verification, lock, error, access-denied, not-found and landing\n * screens all use this rather than a stripped-down application shell, and that split is structural in\n * every PrimeTek template for a reason worth repeating: none of those screens has navigation state, a\n * sidebar to remember or a breadcrumb to place, so hanging them off the application shell would mean every\n * one of the eight modes needs an answer for a page with no menu.\n *\n * The configurator stays, because the sign-in page is very often the first page anyone sees and it still\n * has to honor the chosen theme.\n */\nexport const fullPageLayout: Layout = {\n name: LayoutName.FullPage,\n slots: [{ name: SlotName.Aside }, { name: SlotName.Content }, { name: SlotName.ConfigPanel }],\n arrangement: fullPageArrangement,\n};\n"],"names":["fullPageRegularRoot","column","row","slotLeaf","SlotName","Aside","Content","grow","ConfigPanel","fullPageCompactWidthRoot","fullPageArrangement","root","overrides","width","WidthSizeClass","Compact","fullPageLayout","name","LayoutName","FullPage","slots","arrangement"],"mappings":";;;;;AAAA;AACA;AAOA;;;;;IAMO,MAAMA,mBAAAA,GAAsBC,MAAAA,CAAO;IAACC,GAAAA,CAAI;AAACC,QAAAA,QAAAA,CAASC,SAASC,KAAK,CAAA;QAAGF,QAAAA,CAASC,QAAAA,CAASE,OAAO,EAAE;YAAEC,IAAAA,EAAM;AAAE,SAAA;AAAG,KAAA,EAAE,CAAA,EAAG;QAAEA,IAAAA,EAAM;AAAE,KAAA,CAAA;AAAIJ,IAAAA,QAAAA,CAASC,SAASI,WAAW;CAAE;AAEpK;;;;;;IAOO,MAAMC,wBAAAA,GAA2BR,MAAAA,CAAO;IAACE,QAAAA,CAASC,QAAAA,CAASE,OAAO,EAAE;QAAEC,IAAAA,EAAM;AAAE,KAAA,CAAA;AAAIJ,IAAAA,QAAAA,CAASC,SAASI,WAAW;CAAE;AAExH,kEACO,MAAME,mBAAAA,GAAuC;IAChDC,IAAAA,EAAMX,mBAAAA;IACNY,SAAAA,EAAW;AAAC,QAAA;AAAEC,YAAAA,KAAAA,EAAOC,eAAeC,OAAO;YAAEJ,IAAAA,EAAMF;AAAyB;AAAE;AAClF;AAEA;;;;;;;;;;;UAYaO,cAAAA,GAAyB;AAClCC,IAAAA,IAAAA,EAAMC,WAAWC,QAAQ;IACzBC,KAAAA,EAAO;AAAC,QAAA;AAAEH,YAAAA,IAAAA,EAAMb,SAASC;AAAM,SAAA;AAAG,QAAA;AAAEY,YAAAA,IAAAA,EAAMb,SAASE;AAAQ,SAAA;AAAG,QAAA;AAAEW,YAAAA,IAAAA,EAAMb,SAASI;AAAY;AAAE,KAAA;IAC7Fa,WAAAA,EAAaX;AACjB;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../layouts/index.ts"],"names":[],"mappings":"AAGA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../layouts/index.ts"],"names":[],"mappings":"AAGA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shellComponents.d.ts","sourceRoot":"","sources":["../../../layouts/shellComponents.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAsBjD,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAErF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ComponentName } from '../ComponentName.js';
|
|
2
|
+
import { LayoutName } from './LayoutName.js';
|
|
3
|
+
|
|
4
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
5
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
6
|
+
/**
|
|
7
|
+
* Which component renders which layout.
|
|
8
|
+
*
|
|
9
|
+
* A {@link Layout} is data - named slots and an arrangement - and says nothing about how it is drawn. This
|
|
10
|
+
* is the one place that pairing lives, so a host holding a screen and its layout name can find the shell
|
|
11
|
+
* to render it in without hardcoding the answer, and a spec can prove every layout the blueprint declares
|
|
12
|
+
* actually has one.
|
|
13
|
+
*/ const shellComponents = {
|
|
14
|
+
[LayoutName.AppShell]: ComponentName.AppShell,
|
|
15
|
+
[LayoutName.FullPage]: ComponentName.FullPageShell
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* The component that renders a layout.
|
|
19
|
+
*
|
|
20
|
+
* @param layoutName The layout's name.
|
|
21
|
+
* @returns The bare component name, or `undefined` when the layout is not one of this blueprint's.
|
|
22
|
+
*/ function shellComponentForLayout(layoutName) {
|
|
23
|
+
return shellComponents[layoutName];
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { shellComponentForLayout };
|
|
27
|
+
//# sourceMappingURL=shellComponents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shellComponents.js","sources":["../../../layouts/shellComponents.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { ComponentName } from '../ComponentName';\nimport { LayoutName } from './LayoutName';\n\n/**\n * Which component renders which layout.\n *\n * A {@link Layout} is data - named slots and an arrangement - and says nothing about how it is drawn. This\n * is the one place that pairing lives, so a host holding a screen and its layout name can find the shell\n * to render it in without hardcoding the answer, and a spec can prove every layout the blueprint declares\n * actually has one.\n */\nconst shellComponents: Record<LayoutName, ComponentName> = {\n [LayoutName.AppShell]: ComponentName.AppShell,\n [LayoutName.FullPage]: ComponentName.FullPageShell,\n};\n\n/**\n * The component that renders a layout.\n *\n * @param layoutName The layout's name.\n * @returns The bare component name, or `undefined` when the layout is not one of this blueprint's.\n */\nexport function shellComponentForLayout(layoutName: string): ComponentName | undefined {\n return shellComponents[layoutName as LayoutName];\n}\n"],"names":["shellComponents","LayoutName","AppShell","ComponentName","FullPage","FullPageShell","shellComponentForLayout","layoutName"],"mappings":";;;AAAA;AACA;AAKA;;;;;;;AAOC,IACD,MAAMA,eAAAA,GAAqD;AACvD,IAAA,CAACC,UAAAA,CAAWC,QAAQ,GAAGC,cAAcD,QAAQ;AAC7C,IAAA,CAACD,UAAAA,CAAWG,QAAQ,GAAGD,cAAcE;AACzC,CAAA;AAEA;;;;;IAMO,SAASC,uBAAAA,CAAwBC,UAAkB,EAAA;IACtD,OAAOP,eAAe,CAACO,UAAAA,CAAyB;AACpD;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"packageName.d.ts","sourceRoot":"","sources":["../../packageName.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,oBAAoB,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
/**
|
|
4
|
+
* The name this blueprint is known by inside a `ui profile`.
|
|
5
|
+
*
|
|
6
|
+
* It is not the npm package name: a profile lists Scene package names, a theme declares compatibility
|
|
7
|
+
* with them, and `componentRegistryKey` builds every registry key from this. It therefore lives on its own
|
|
8
|
+
* rather than inside the manifest, so the registry can key off it without importing the manifest that
|
|
9
|
+
* describes the registry.
|
|
10
|
+
*/ const defaultBlueprintName = 'Cratis.Blueprint.Default';
|
|
11
|
+
|
|
12
|
+
export { defaultBlueprintName };
|
|
13
|
+
//# sourceMappingURL=packageName.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"packageName.js","sources":["../../packageName.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The name this blueprint is known by inside a `ui profile`.\n *\n * It is not the npm package name: a profile lists Scene package names, a theme declares compatibility\n * with them, and `componentRegistryKey` builds every registry key from this. It therefore lives on its own\n * rather than inside the manifest, so the registry can key off it without importing the manifest that\n * describes the registry.\n */\nexport const defaultBlueprintName = 'Cratis.Blueprint.Default';\n"],"names":["defaultBlueprintName"],"mappings":"AAAA;AACA;AAEA;;;;;;;IAQO,MAAMA,oBAAAA,GAAuB;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppShell.d.ts","sourceRoot":"","sources":["../../../shell/AppShell.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAiB/D,wBAAgB,QAAQ,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,wBAAwB,+BAGpE"}
|