@omnia/fx 8.0.26-vnext → 8.0.28-vnext
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/internal-do-not-import-from-here/manifests/omfx.libs.prosemirror.manifest.json +1 -1
 - package/internal-do-not-import-from-here/ux/appprovisioning/appprovisioningwizard/AppProvisioningWizard.d.ts +2 -2
 - package/internal-do-not-import-from-here/ux/layoutcanvas/stores/VelcronDefinitionStore.d.ts +4 -4
 - package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/blockheaders.d.ts +2 -2
 - package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/contentblocks.d.ts +3 -3
 - package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.css.d.ts +5 -0
 - package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.d.ts +28 -0
 - package/internal-do-not-import-from-here/ux/markdown/MarkdownRenderer.d.ts +1 -0
 - package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +17 -0
 - package/internal-do-not-import-from-here/ux/oxide/btngroup/ButtonGroup.d.ts +101 -0
 - package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +17 -0
 - package/internal-do-not-import-from-here/ux/oxide/stepper/Stepper.d.ts +69 -62
 - package/internal-do-not-import-from-here/ux/oxide/stepper/StepperStep.d.ts +90 -61
 - package/internal-do-not-import-from-here/ux/use/UseBreakPoint.d.ts +2 -1
 - package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +1 -73
 - package/internal-do-not-import-from-here/ux/velcron/blocks/content/ContentBlock.css.d.ts +7 -1
 - package/internal-do-not-import-from-here/ux/velcron/blocks/content/ContentBlock.d.ts +6 -0
 - package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/ContentViewer.css.d.ts +6 -0
 - package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/ContentViewer.d.ts +94 -0
 - package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/{DefinitionPickerPanelStyles.d.ts → DefinitionPickerPanel.css.d.ts} +1 -0
 - package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/DefinitionPickerPanel.d.ts +72 -19
 - package/internal-do-not-import-from-here/ux/velcron/blocks/content/model/ContentDefinitionRegistration.d.ts +5 -0
 - package/internal-do-not-import-from-here/ux/velcron/blocks/content/store/ContentBlockStore.d.ts +40 -0
 - package/internal-do-not-import-from-here/ux/velcron/blocks/velcron/VelcronBlockSettings.d.ts +7 -2
 - package/internal-do-not-import-from-here/ux/velcron/components/properties/VelcronProperties.d.ts +96 -96
 - package/internal-do-not-import-from-here/ux/velcron/core/index.d.ts +1 -0
 - package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +20 -17
 - package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronEvents.d.ts +3 -0
 - package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronRenderers.d.ts +3 -91
 - package/internal-do-not-import-from-here/ux/velcron/core/rules/IsEditMode.d.ts +20 -0
 - package/internal-do-not-import-from-here/ux/velcron/core/rules/index.d.ts +1 -0
 - package/internal-do-not-import-from-here/ux/velcron/editor/VelcronEditor.d.ts +156 -156
 - package/internal-do-not-import-from-here/ux/velcron/editor/components/pickers/colorschemamapper/ColorSchemaMapper.d.ts +16 -11
 - package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +3 -3
 - package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +52 -12
 - package/internal-do-not-import-from-here/ux/velcron/renderer/components/App.d.ts +5 -5
 - package/internal-do-not-import-from-here/ux/wizard/IWizard.d.ts +1 -1
 - package/internal-do-not-import-from-here/ux/wizard/WizardComponent.d.ts +2 -2
 - package/internal-do-not-import-from-here/wctypings.d.ts +2 -0
 - package/package.json +2 -2
 - package/internal-do-not-import-from-here/ux/markdown/Toast.d.ts +0 -4
 
| 
         @@ -1,5 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import { BuiltInComponentRenderers,  
     | 
| 
       2 
     | 
    
         
            -
            import { ColorSchemaTypes } from "..";
         
     | 
| 
      
 1 
     | 
    
         
            +
            import { BuiltInComponentRenderers, DynamicState, ResolvedComponentRenderer, VelcronDefinition, VelcronRenderContext } from "../models";
         
     | 
| 
       3 
2 
     | 
    
         
             
            export declare class VelcronRenderers {
         
     | 
| 
       4 
3 
     | 
    
         
             
                private static components;
         
     | 
| 
       5 
4 
     | 
    
         
             
                static registerComponent(type: string, component: any): void;
         
     | 
| 
         @@ -8,93 +7,6 @@ export declare class VelcronRenderers { 
     | 
|
| 
       8 
7 
     | 
    
         
             
                static registerComponents(components: BuiltInComponentRenderers): void;
         
     | 
| 
       9 
8 
     | 
    
         
             
                static getComponent(definition: VelcronDefinition, renderContext: VelcronRenderContext): ResolvedComponentRenderer;
         
     | 
| 
       10 
9 
     | 
    
         
             
                static definitionContainsCustomColorSchema(definition: VelcronDefinition): boolean;
         
     | 
| 
       11 
     | 
    
         
            -
                static createNewRendererContext(currentRenderCtx: VelcronRenderContext, definition: VelcronDefinition, newViewModel?:  
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
                    theming: {
         
     | 
| 
       14 
     | 
    
         
            -
                        state: {
         
     | 
| 
       15 
     | 
    
         
            -
                            currentTheme: import("..").ThemeDefinitionV2;
         
     | 
| 
       16 
     | 
    
         
            -
                        };
         
     | 
| 
       17 
     | 
    
         
            -
                        get: {
         
     | 
| 
       18 
     | 
    
         
            -
                            colorSchema: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType) => import("..").ColorSchema;
         
     | 
| 
       19 
     | 
    
         
            -
                            typography: (typographyType: import("..").TypographyType | import("..").TypographyTypes) => import("..").TypographyTypeDefinition;
         
     | 
| 
       20 
     | 
    
         
            -
                            color: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType, colorType: import("..").ColorType | import("..").ColorTypes) => string;
         
     | 
| 
       21 
     | 
    
         
            -
                            colorDefinition: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType, colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorDefinition;
         
     | 
| 
       22 
     | 
    
         
            -
                            complementaryColorType: (colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorTypes;
         
     | 
| 
       23 
     | 
    
         
            -
                            complementaryColor: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType, colorType: import("..").ColorType | import("..").ColorTypes) => string;
         
     | 
| 
       24 
     | 
    
         
            -
                            complementaryColorDefinition: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType, colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorDefinition;
         
     | 
| 
       25 
     | 
    
         
            -
                            currentTheme: () => import("..").ThemeDefinitionV2;
         
     | 
| 
       26 
     | 
    
         
            -
                        };
         
     | 
| 
       27 
     | 
    
         
            -
                        actions: {
         
     | 
| 
       28 
     | 
    
         
            -
                            setTheme(newTheme: import("..").ThemeDefinitionV2): void;
         
     | 
| 
       29 
     | 
    
         
            -
                        };
         
     | 
| 
       30 
     | 
    
         
            -
                    };
         
     | 
| 
       31 
     | 
    
         
            -
                    currentContext: VelcronState;
         
     | 
| 
       32 
     | 
    
         
            -
                    actions: {
         
     | 
| 
       33 
     | 
    
         
            -
                        [name: string]: [];
         
     | 
| 
       34 
     | 
    
         
            -
                    };
         
     | 
| 
       35 
     | 
    
         
            -
                    components: VelcronCustomComponentDefinition[];
         
     | 
| 
       36 
     | 
    
         
            -
                    hooks: import("..").VelcronRenderContextHooks;
         
     | 
| 
       37 
     | 
    
         
            -
                    computed: {
         
     | 
| 
       38 
     | 
    
         
            -
                        [name: string]: [];
         
     | 
| 
       39 
     | 
    
         
            -
                    };
         
     | 
| 
       40 
     | 
    
         
            -
                    colors: {
         
     | 
| 
       41 
     | 
    
         
            -
                        state: {
         
     | 
| 
       42 
     | 
    
         
            -
                            base: import("..").ColorDefinition;
         
     | 
| 
       43 
     | 
    
         
            -
                            onBase: import("..").ColorDefinition;
         
     | 
| 
       44 
     | 
    
         
            -
                            container: import("..").ColorDefinition;
         
     | 
| 
       45 
     | 
    
         
            -
                            onContainer: import("..").ColorDefinition;
         
     | 
| 
       46 
     | 
    
         
            -
                            isContainer: boolean;
         
     | 
| 
       47 
     | 
    
         
            -
                            name: string;
         
     | 
| 
       48 
     | 
    
         
            -
                            colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType;
         
     | 
| 
       49 
     | 
    
         
            -
                            themeStore: {
         
     | 
| 
       50 
     | 
    
         
            -
                                state: {
         
     | 
| 
       51 
     | 
    
         
            -
                                    currentTheme: import("..").ThemeDefinitionV2;
         
     | 
| 
       52 
     | 
    
         
            -
                                };
         
     | 
| 
       53 
     | 
    
         
            -
                                get: {
         
     | 
| 
       54 
     | 
    
         
            -
                                    colorSchema: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType) => import("..").ColorSchema;
         
     | 
| 
       55 
     | 
    
         
            -
                                    typography: (typographyType: import("..").TypographyType | import("..").TypographyTypes) => import("..").TypographyTypeDefinition;
         
     | 
| 
       56 
     | 
    
         
            -
                                    color: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType, colorType: import("..").ColorType | import("..").ColorTypes) => string;
         
     | 
| 
       57 
     | 
    
         
            -
                                    colorDefinition: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType, colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorDefinition;
         
     | 
| 
       58 
     | 
    
         
            -
                                    complementaryColorType: (colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorTypes;
         
     | 
| 
       59 
     | 
    
         
            -
                                    complementaryColor: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType, colorType: import("..").ColorType | import("..").ColorTypes) => string;
         
     | 
| 
       60 
     | 
    
         
            -
                                    complementaryColorDefinition: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType, colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorDefinition;
         
     | 
| 
       61 
     | 
    
         
            -
                                    currentTheme: () => import("..").ThemeDefinitionV2;
         
     | 
| 
       62 
     | 
    
         
            -
                                };
         
     | 
| 
       63 
     | 
    
         
            -
                                actions: {
         
     | 
| 
       64 
     | 
    
         
            -
                                    setTheme(newTheme: import("..").ThemeDefinitionV2): void;
         
     | 
| 
       65 
     | 
    
         
            -
                                };
         
     | 
| 
       66 
     | 
    
         
            -
                            };
         
     | 
| 
       67 
     | 
    
         
            -
                            id: import("..").GuidValue;
         
     | 
| 
       68 
     | 
    
         
            -
                        };
         
     | 
| 
       69 
     | 
    
         
            -
                        get: {
         
     | 
| 
       70 
     | 
    
         
            -
                            readonly colorSchema: import("..").ColorSchema;
         
     | 
| 
       71 
     | 
    
         
            -
                            readonly base: import("..").ColorDefinition;
         
     | 
| 
       72 
     | 
    
         
            -
                            readonly onBase: import("..").ColorDefinition;
         
     | 
| 
       73 
     | 
    
         
            -
                            readonly container: import("..").ColorDefinition;
         
     | 
| 
       74 
     | 
    
         
            -
                            readonly onContainer: import("..").ColorDefinition;
         
     | 
| 
       75 
     | 
    
         
            -
                        };
         
     | 
| 
       76 
     | 
    
         
            -
                        actions: {
         
     | 
| 
       77 
     | 
    
         
            -
                            setThemeStore: (themeStoreInstance: {
         
     | 
| 
       78 
     | 
    
         
            -
                                state: {
         
     | 
| 
       79 
     | 
    
         
            -
                                    currentTheme: import("..").ThemeDefinitionV2;
         
     | 
| 
       80 
     | 
    
         
            -
                                };
         
     | 
| 
       81 
     | 
    
         
            -
                                get: {
         
     | 
| 
       82 
     | 
    
         
            -
                                    colorSchema: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType) => import("..").ColorSchema;
         
     | 
| 
       83 
     | 
    
         
            -
                                    typography: (typographyType: import("..").TypographyType | import("..").TypographyTypes) => import("..").TypographyTypeDefinition;
         
     | 
| 
       84 
     | 
    
         
            -
                                    color: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType, colorType: import("..").ColorType | import("..").ColorTypes) => string;
         
     | 
| 
       85 
     | 
    
         
            -
                                    colorDefinition: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType, colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorDefinition;
         
     | 
| 
       86 
     | 
    
         
            -
                                    complementaryColorType: (colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorTypes;
         
     | 
| 
       87 
     | 
    
         
            -
                                    complementaryColor: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType, colorType: import("..").ColorType | import("..").ColorTypes) => string;
         
     | 
| 
       88 
     | 
    
         
            -
                                    complementaryColorDefinition: (colorSchemaType: ColorSchemaTypes | import("..").ColorSchemaType, colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorDefinition;
         
     | 
| 
       89 
     | 
    
         
            -
                                    currentTheme: () => import("..").ThemeDefinitionV2;
         
     | 
| 
       90 
     | 
    
         
            -
                                };
         
     | 
| 
       91 
     | 
    
         
            -
                                actions: {
         
     | 
| 
       92 
     | 
    
         
            -
                                    setTheme(newTheme: import("..").ThemeDefinitionV2): void;
         
     | 
| 
       93 
     | 
    
         
            -
                                };
         
     | 
| 
       94 
     | 
    
         
            -
                            }, colorSchemaType?: ColorSchemaTypes | import("..").ColorSchemaType, container?: boolean) => void;
         
     | 
| 
       95 
     | 
    
         
            -
                            setColorSchema: (colorSchemaType: import("..").ColorSchemaType, container?: boolean) => void;
         
     | 
| 
       96 
     | 
    
         
            -
                        };
         
     | 
| 
       97 
     | 
    
         
            -
                    };
         
     | 
| 
       98 
     | 
    
         
            -
                };
         
     | 
| 
       99 
     | 
    
         
            -
                static ensureRenderContext(rendererInfo: ResolvedComponentRenderer, definition: VelcronDefinition, currentRenderCtx: VelcronRenderContext, newViewModel?: VelcronState): VelcronRenderContext;
         
     | 
| 
      
 10 
     | 
    
         
            +
                static createNewRendererContext(currentRenderCtx: VelcronRenderContext, definition: VelcronDefinition, newViewModel?: DynamicState): VelcronRenderContext;
         
     | 
| 
      
 11 
     | 
    
         
            +
                static ensureRenderContext(rendererInfo: ResolvedComponentRenderer, definition: VelcronDefinition, currentRenderCtx: VelcronRenderContext, newViewModel?: DynamicState): VelcronRenderContext;
         
     | 
| 
       100 
12 
     | 
    
         
             
            }
         
     | 
| 
         @@ -0,0 +1,20 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            import { VelcronDefinitionWithEditMode, VelcronRenderContext } from "../models";
         
     | 
| 
      
 2 
     | 
    
         
            +
            /**
         
     | 
| 
      
 3 
     | 
    
         
            +
             * Determines if the application is in edit mode.
         
     | 
| 
      
 4 
     | 
    
         
            +
             *
         
     | 
| 
      
 5 
     | 
    
         
            +
             * Edit mode can be determined in two ways:
         
     | 
| 
      
 6 
     | 
    
         
            +
             * 1. By a 'edit' property of the definition object, which is evaluated using the VelcronData.evaluateBoolean function.
         
     | 
| 
      
 7 
     | 
    
         
            +
             * 2. By the 'editMode' property of the renderContext object.
         
     | 
| 
      
 8 
     | 
    
         
            +
             *
         
     | 
| 
      
 9 
     | 
    
         
            +
             * The function first checks if the 'edit' property is present in the definition object. If it is, it evaluates the property using the VelcronData.evaluateBoolean function, passing in the current render context, and returns the result.
         
     | 
| 
      
 10 
     | 
    
         
            +
             *
         
     | 
| 
      
 11 
     | 
    
         
            +
             * If the 'edit' property is not present in the definition object, it checks the 'editMode' property of the renderContext object. If 'editMode' is true, the function returns true.
         
     | 
| 
      
 12 
     | 
    
         
            +
             *
         
     | 
| 
      
 13 
     | 
    
         
            +
             * If neither 'edit' nor 'editMode' are true, the function returns undefined.
         
     | 
| 
      
 14 
     | 
    
         
            +
             *
         
     | 
| 
      
 15 
     | 
    
         
            +
             * @function isEditMode
         
     | 
| 
      
 16 
     | 
    
         
            +
             * @param {VelcronDefinitionWithEditMode} definition - The definition object to check for the 'edit' property.
         
     | 
| 
      
 17 
     | 
    
         
            +
             * @param {VelcronRenderContext} renderContext - The render context to use for evaluating the 'edit' property and to check for 'editMode'.
         
     | 
| 
      
 18 
     | 
    
         
            +
             * @returns {boolean | undefined} - Returns true if either 'edit' evaluates to true or 'editMode' is true. Returns undefined otherwise.
         
     | 
| 
      
 19 
     | 
    
         
            +
             */
         
     | 
| 
      
 20 
     | 
    
         
            +
            export declare function isEditMode(definition: VelcronDefinitionWithEditMode, renderContext: VelcronRenderContext): boolean;
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            export * from "./IsEditMode";
         
     |