@omnia/fx 8.0.543-dev → 8.0.545-dev
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/ux/aurora/admin/themedesigner/themes/models/Theme.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/themes/store/ThemesJourneyStore.d.ts +21 -8
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemePicker.css.d.ts +0 -5
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemePicker.d.ts +10 -8
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemeViewer.css.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemeViewer.d.ts +12 -0
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/store/ThemePickerStore.d.ts +5 -4
- package/internal-do-not-import-from-here/ux/aurora/components/themepreview/ThemePreview.d.ts +0 -20
- package/internal-do-not-import-from-here/ux/editor/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/editor/models/StatusCodeLayoutItem.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/editor/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/editorchrome/EditorChrome_testSetup.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/editorchrome/buttons/ToolbarButton.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/editorchrome/define/DefineEditorChromeConfiguration.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/editorchrome/define/DefineEditorChromeView.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/editorchrome/define/EditorChromeConfigurationHelper.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/editorchrome/hooks/useRenderActions.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/editorchrome/models/EditorChromeRegistration.d.ts +79 -0
- package/internal-do-not-import-from-here/ux/editorchrome/models/EditorLeaveDestination.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/editorchrome/models/EditorSettings.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/editorchrome/models/IActionButton.d.ts +31 -0
- package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorDisplayActionButton.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorItem.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorItemMainRenderer.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorItemPanelsRenderer.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorItemTitleRenderer.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorItemTopToolbarRenderer.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorTabRegistration.d.ts +19 -0
- package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorTabRenderer.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/editorchrome/models/index.d.ts +12 -0
- package/internal-do-not-import-from-here/ux/editorchrome/renderers/ChromeActionItemRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorChromeStore.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorChromeStoreV2.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorSettingsStore.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorTabStore.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorViewManager.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identities/IdentityRenderer.d.ts +13 -0
- package/internal-do-not-import-from-here/ux/identities/components/shared/IdentitySyncAddCondition.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identities/loc/Localize.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/identities/stores/IdentityRendererStore.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +71 -331
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/stores/IdentityPickerStore.d.ts +20 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +5 -2
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItem.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/DefineDefaultView.d.ts +24 -23
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/actions/CanvasActions.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/actions/CheckedOutActions.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/actions/NotCheckedOutActions.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/actions/PanelActions.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/stores/VersionedLayoutEditorStoreV2.d.ts +8 -7
- package/internal-do-not-import-from-here/wctypings.d.ts +4 -4
- package/package.json +2 -2
- /package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/themes/{ThemesJourney.d.ts → ThemeSelectionJourney.d.ts} +0 -0
package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/themes/models/Theme.d.ts
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
import { guid
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
declare const ModeSettingDefinitions: readonly ["admin", "default"];
|
3
3
|
export type ModeSetting = typeof ModeSettingDefinitions[number];
|
4
4
|
export interface ThemingRender {
|
5
5
|
id: guid;
|
6
6
|
title: string;
|
7
|
-
themeDefinition: ITemplateRegistration<ResolvedThemeDefinition>;
|
8
7
|
modeSetting: ModeSetting;
|
9
8
|
}
|
10
9
|
export {};
|
@@ -1,24 +1,37 @@
|
|
1
|
-
import { AppThemeManager, BusinessProfileThemeManager, ResolvedThemeDefinition, TargetResolverTypes, TenantThemeManager, ThemeSelection } from "@omnia/fx-models";
|
1
|
+
import { AppThemeManager, BusinessProfileThemeManager, guid, ResolvedThemeDefinition, TargetResolverTypes, TenantThemeManager, ThemeSelection } from "@omnia/fx-models";
|
2
2
|
import { ThemingRender } from "../models";
|
3
|
-
export declare enum ColorMode {
|
4
|
-
colorOnly = "color",
|
5
|
-
linearGradient = "linear",
|
6
|
-
radialGradient = "radial"
|
7
|
-
}
|
8
3
|
export declare const useThemeJourneyStore: () => {
|
9
4
|
state: {
|
10
5
|
themeManager: TenantThemeManager | AppThemeManager | BusinessProfileThemeManager;
|
11
6
|
themingSetting: ThemeSelection;
|
12
|
-
themeRenderers: ThemingRender[];
|
13
7
|
settings: {
|
14
8
|
targetResolverType: TargetResolverTypes;
|
15
9
|
};
|
10
|
+
editing: {
|
11
|
+
renderer: ThemingRender;
|
12
|
+
accessibility: guid;
|
13
|
+
default: guid;
|
14
|
+
additional: guid[];
|
15
|
+
};
|
16
16
|
};
|
17
17
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
18
|
+
AdditionalTheme: () => {
|
19
|
+
add: (id: guid) => void;
|
20
|
+
remove: (id: guid) => void;
|
21
|
+
};
|
22
|
+
updateTheme: (id: guid, mode: "default" | "accessibility") => void;
|
23
|
+
save: () => Promise<boolean>;
|
24
|
+
selectThemerenderer: (renderer: ThemingRender) => void;
|
18
25
|
setTheme: (theme: ThemingRender, newTheme: ResolvedThemeDefinition) => void;
|
19
26
|
initState: (targetResolverType: TargetResolverTypes) => Promise<void>;
|
20
27
|
}>;
|
21
|
-
get: {
|
28
|
+
get: {
|
29
|
+
themeTemplates: import("@omnia/fx-models").ITemplateRegistration<any, import("@omnia/fx-models").TemplateRegistrationType>[];
|
30
|
+
editingBlade: (props: Omit<import("@omnia/fx/ux").ConstructComponentProps<import("../../../../../journey/JourneyBlade").JourneyBladeProps>, "id" | "getApi" | "manageList"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
31
|
+
};
|
32
|
+
dataTypes: {
|
33
|
+
themeRenderers: ThemingRender[];
|
34
|
+
};
|
22
35
|
rules: {};
|
23
36
|
} & {
|
24
37
|
dispose?: () => void;
|
package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemePicker.css.d.ts
CHANGED
@@ -1,8 +1,3 @@
|
|
1
|
-
import { ColorSchema, ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
1
|
export declare const ThemeDefinitionPickerStyles: {
|
3
2
|
menuContainer: (backgroundColor: string) => string;
|
4
|
-
itemContainer: (definition: ResolvedThemeDefinition, selectedView: boolean) => string;
|
5
|
-
IconColumn: string;
|
6
|
-
titleColumn: string;
|
7
|
-
colorPreview: (schema: ColorSchema) => string;
|
8
3
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { DefineSlot, DefineEmit } from "@omnia/fx/ux";
|
2
|
-
import { Func, ITemplateRegistration, ResolvedThemeDefinition, TemplateRegistrationType } from "@omnia/fx-models";
|
2
|
+
import { Func, guid, ITemplateRegistration, ResolvedThemeDefinition, TemplateRegistrationType } from "@omnia/fx-models";
|
3
3
|
import { VNodeChild } from "vue";
|
4
4
|
type ThemePickerVariant = "picker" | "virtual-list" | "journey";
|
5
5
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
@@ -10,17 +10,19 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
10
10
|
label?: string;
|
11
11
|
} & {
|
12
12
|
enableClear?: boolean;
|
13
|
+
} & {
|
14
|
+
navigation?: boolean;
|
13
15
|
} & {
|
14
16
|
filter?: "custom";
|
15
17
|
} & {
|
16
|
-
"emit:update:modelValue": (value: ResolvedThemeDefinition) => void;
|
18
|
+
"emit:update:modelValue": (value: guid | ResolvedThemeDefinition) => void;
|
17
19
|
} & {
|
18
|
-
"v-model"?: ResolvedThemeDefinition;
|
20
|
+
"v-model"?: guid | ResolvedThemeDefinition;
|
19
21
|
} & {
|
20
|
-
modelValue?: ResolvedThemeDefinition;
|
21
|
-
} & DefineSlot<"activator", Func<[VNodeChild]>> & DefineEmit<"item:selected", (theme: ITemplateRegistration<ResolvedThemeDefinition>) => true>> & {
|
22
|
-
"onUpdate:modelValue"?: (value: ResolvedThemeDefinition) => any;
|
23
|
-
"onItem:selected"?: (theme: ITemplateRegistration<ResolvedThemeDefinition, TemplateRegistrationType>) => any;
|
22
|
+
modelValue?: guid | ResolvedThemeDefinition;
|
23
|
+
} & DefineSlot<"activator", Func<[VNodeChild]>> & DefineEmit<"item:selected", (theme: ITemplateRegistration<ResolvedThemeDefinition> | guid) => true>> & {
|
24
|
+
"onUpdate:modelValue"?: (value: guid | ResolvedThemeDefinition) => any;
|
25
|
+
"onItem:selected"?: (theme: guid | ITemplateRegistration<ResolvedThemeDefinition, TemplateRegistrationType>) => any;
|
24
26
|
} & {
|
25
27
|
"v-slots"?: {
|
26
28
|
activator?: Func<[VNodeChild]>;
|
@@ -28,5 +30,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
28
30
|
default?: import("vue").Slot;
|
29
31
|
$stable?: boolean;
|
30
32
|
}, "activator">;
|
31
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "label" | "variant" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "slot:activator" | "enableClear" | "emit:item:selected"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
33
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "label" | "variant" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "navigation" | "slot:activator" | "enableClear" | "emit:item:selected"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
32
34
|
export default _default;
|
package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemeViewer.css.d.ts
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ColorSchema, ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
|
+
export declare const ThemeViewerStyles: {
|
3
|
+
itemContainer: (definition: ResolvedThemeDefinition, selectedView: boolean) => string;
|
4
|
+
IconColumn: string;
|
5
|
+
titleColumn: string;
|
6
|
+
colorPreview: (schema: ColorSchema) => string;
|
7
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
3
|
+
definition?: ResolvedThemeDefinition;
|
4
|
+
} & {
|
5
|
+
selected?: boolean;
|
6
|
+
}> & {} & {
|
7
|
+
"v-slots"?: {} & Omit<{
|
8
|
+
default?: import("vue").Slot;
|
9
|
+
$stable?: boolean;
|
10
|
+
}, never>;
|
11
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "definition" | "selected"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
12
|
+
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ITemplateRegistration, ResolvedThemeDefinition } from "@omnia/fx-models";
|
1
|
+
import { guid, ITemplateRegistration, ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
2
|
export declare enum ColorMode {
|
3
3
|
colorOnly = "color",
|
4
4
|
linearGradient = "linear",
|
@@ -6,7 +6,7 @@ export declare enum ColorMode {
|
|
6
6
|
}
|
7
7
|
export declare const useThemePickerStore: () => {
|
8
8
|
state: {
|
9
|
-
internalModel: ResolvedThemeDefinition;
|
9
|
+
internalModel: guid | ResolvedThemeDefinition;
|
10
10
|
pickerStore: {
|
11
11
|
readonly slots: {
|
12
12
|
selectionRender: () => import("vue").VNodeChild;
|
@@ -32,7 +32,7 @@ export declare const useThemePickerStore: () => {
|
|
32
32
|
}>;
|
33
33
|
get: {
|
34
34
|
readonly bladesId: {
|
35
|
-
selection:
|
35
|
+
selection: guid;
|
36
36
|
};
|
37
37
|
};
|
38
38
|
} & {
|
@@ -42,7 +42,7 @@ export declare const useThemePickerStore: () => {
|
|
42
42
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
43
43
|
clear: () => void;
|
44
44
|
select: (theme: ITemplateRegistration<ResolvedThemeDefinition>) => void;
|
45
|
-
initState: (model: ResolvedThemeDefinition) => void;
|
45
|
+
initState: (model: ResolvedThemeDefinition | guid) => void;
|
46
46
|
}>;
|
47
47
|
get: {
|
48
48
|
selectedRegistration: () => ITemplateRegistration<any, import("@omnia/fx-models").TemplateRegistrationType>;
|
@@ -52,6 +52,7 @@ export declare const useThemePickerStore: () => {
|
|
52
52
|
};
|
53
53
|
};
|
54
54
|
rules: {
|
55
|
+
isSelected: (theme: ITemplateRegistration<ResolvedThemeDefinition>) => boolean;
|
55
56
|
readonly hasSelection: boolean;
|
56
57
|
};
|
57
58
|
} & {
|
package/internal-do-not-import-from-here/ux/aurora/components/themepreview/ThemePreview.d.ts
CHANGED
@@ -1,20 +0,0 @@
|
|
1
|
-
import { ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
|
-
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
3
|
-
"emit:update:modelValue": (value: ResolvedThemeDefinition) => void;
|
4
|
-
} & {
|
5
|
-
"v-model"?: ResolvedThemeDefinition;
|
6
|
-
} & {
|
7
|
-
modelValue?: ResolvedThemeDefinition;
|
8
|
-
} & {
|
9
|
-
hideColorSchemas?: boolean;
|
10
|
-
} & {
|
11
|
-
toned?: boolean;
|
12
|
-
}> & {
|
13
|
-
"onUpdate:modelValue"?: (value: ResolvedThemeDefinition) => any;
|
14
|
-
} & {
|
15
|
-
"v-slots"?: {} & Omit<{
|
16
|
-
default?: import("vue").Slot;
|
17
|
-
$stable?: boolean;
|
18
|
-
}, never>;
|
19
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "hideColorSchemas"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
20
|
-
export default _default;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IEditorItem } from "../../editorchrome/models/IEditorItem";
|
2
|
+
export interface IStatusCodeLayoutItem extends IEditorItem {
|
3
|
+
layout: any;
|
4
|
+
onSave<ItemType>(): Promise<ItemType>;
|
5
|
+
onEdit<ItemType>(): Promise<ItemType>;
|
6
|
+
onCancel<ItemType>(): Promise<ItemType>;
|
7
|
+
}
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import { guid
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
import { useEditorChromeStore } from "..";
|
3
|
+
import { ChromeActionItem, EditorChromeConfiguration } from "./models";
|
3
4
|
export declare function defineEditorChromeTestSetup(editorStore: ReturnType<typeof useEditorChromeStore>): {
|
4
5
|
tabs: {
|
5
6
|
tab1: EditorChromeConfiguration;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { DefineProp, DefinePropTheming } from "@omnia/fx/ux";
|
2
|
-
import { ChromeActionItem } from "
|
2
|
+
import { ChromeActionItem } from "../models";
|
3
3
|
type ToolbarButtonProps = DefinePropTheming & DefineProp<"action", ChromeActionItem> & DefineProp<"alignHeader", boolean> & DefineProp<"position", "topBar" | "bottomBar" | "rightBar"> & DefineProp<"border", "left" | "right" | "left right" | "bottom">;
|
4
4
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ToolbarButtonProps> & {} & {
|
5
5
|
"v-slots"?: {} & Omit<{
|
package/internal-do-not-import-from-here/ux/editorchrome/define/DefineEditorChromeConfiguration.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { InstanceLifetimes } from "@omnia/fx-models";
|
2
|
+
import { EditorChromeConfiguration } from "../models";
|
2
3
|
type ReturnEditorChromeConfigurationSetup = {
|
3
4
|
configuration: EditorChromeConfiguration;
|
4
5
|
};
|
package/internal-do-not-import-from-here/ux/editorchrome/define/EditorChromeConfigurationHelper.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ChromeActionItem, EditorChromeConfiguration } from "
|
1
|
+
import { ChromeActionItem, EditorChromeConfiguration } from "../models";
|
2
2
|
export declare function useEditorChromeConfigurationHelper(): {
|
3
3
|
add: {
|
4
4
|
actionToLeftFooter: (configuration: EditorChromeConfiguration | EditorChromeConfiguration[], action: ChromeActionItem) => void;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { ChromeActionItemRegister } from "../models";
|
2
2
|
export interface RenderActionsOptions {
|
3
3
|
/**
|
4
4
|
* The border style for the toolbar buttons
|
@@ -16,4 +16,4 @@ export interface RenderActionsOptions {
|
|
16
16
|
* @param options Configuration options for rendering actions
|
17
17
|
* @returns Function to render actions
|
18
18
|
*/
|
19
|
-
export declare function useRenderActions(options: RenderActionsOptions): (items:
|
19
|
+
export declare function useRenderActions(options: RenderActionsOptions): (items: ChromeActionItemRegister[]) => import("vue").VNodeChild[];
|
@@ -0,0 +1,79 @@
|
|
1
|
+
import { VNodeChild } from "vue";
|
2
|
+
import { guid, IIcon } from "@omnia/fx-models";
|
3
|
+
import { ConfirmDialogOptions } from "@omnia/fx/ux";
|
4
|
+
import { type defineChromeAction } from "../define/DefineChromeAction";
|
5
|
+
export type ChromeActionItemRegister = ChromeActionItem | ReturnType<typeof defineChromeAction>;
|
6
|
+
export interface EditorChromePanel {
|
7
|
+
title?: string;
|
8
|
+
icon?: IIcon;
|
9
|
+
renderer?: () => Array<JSX.Element> | JSX.Element;
|
10
|
+
actions?: Array<ChromeActionItem>;
|
11
|
+
closeHook?: () => void;
|
12
|
+
footerToolbar?: {
|
13
|
+
actionsLeft?: Array<ChromeActionItem>;
|
14
|
+
actionsCenter?: Array<ChromeActionItem>;
|
15
|
+
actionsRight?: Array<ChromeActionItem>;
|
16
|
+
ExtendActionsRight?: Array<ChromeActionItem>;
|
17
|
+
};
|
18
|
+
}
|
19
|
+
export interface EditorChromeNavigationConfiguration {
|
20
|
+
title?: string;
|
21
|
+
renderer?: () => Array<JSX.Element> | JSX.Element;
|
22
|
+
}
|
23
|
+
export interface EditorChromeView {
|
24
|
+
id: guid;
|
25
|
+
configurations: Array<EditorChromeConfiguration>;
|
26
|
+
}
|
27
|
+
export interface EditorChromeConfiguration {
|
28
|
+
id: guid;
|
29
|
+
renderer?: () => Array<JSX.Element> | JSX.Element;
|
30
|
+
title?: string;
|
31
|
+
hidden?: boolean | (() => boolean);
|
32
|
+
icon?: IIcon;
|
33
|
+
onActivated?: () => void;
|
34
|
+
focused?: boolean;
|
35
|
+
settings?: {
|
36
|
+
displayResizable?: boolean;
|
37
|
+
zoomable?: boolean;
|
38
|
+
backNavigation?: boolean;
|
39
|
+
renderingMode?: "default" | "journey" | "center-panel";
|
40
|
+
};
|
41
|
+
active?: boolean;
|
42
|
+
rightDrawer?: {
|
43
|
+
title?: string;
|
44
|
+
renderer?: () => Array<JSX.Element> | JSX.Element;
|
45
|
+
actions?: Array<ChromeActionItemRegister>;
|
46
|
+
};
|
47
|
+
footerToolbar?: {
|
48
|
+
actionsLeft?: Array<ChromeActionItemRegister>;
|
49
|
+
actionsCenter?: Array<ChromeActionItemRegister>;
|
50
|
+
actionsRight?: Array<ChromeActionItemRegister>;
|
51
|
+
ExtendActionsRight?: Array<ChromeActionItemRegister>;
|
52
|
+
};
|
53
|
+
headerToolbar?: {
|
54
|
+
actions?: Array<ChromeActionItemRegister>;
|
55
|
+
actionSlot?: () => Array<JSX.Element> | JSX.Element;
|
56
|
+
};
|
57
|
+
}
|
58
|
+
export interface ChromeActionItem {
|
59
|
+
id?: guid;
|
60
|
+
active?: boolean | (() => boolean);
|
61
|
+
disableToggle?: boolean;
|
62
|
+
disabled?: boolean | (() => boolean);
|
63
|
+
hidden?: boolean | (() => boolean);
|
64
|
+
onActivated?: (action: ChromeActionItem) => void;
|
65
|
+
compactMode?: {
|
66
|
+
showText?: boolean;
|
67
|
+
hide?: boolean;
|
68
|
+
};
|
69
|
+
confirmation?: ConfirmDialogOptions;
|
70
|
+
requiredRoles?: guid[];
|
71
|
+
excludedRoles?: guid[];
|
72
|
+
title?: string | (() => string);
|
73
|
+
toolTip?: string | (() => string);
|
74
|
+
description?: string;
|
75
|
+
loading?: boolean | (() => boolean);
|
76
|
+
icon?: IIcon;
|
77
|
+
clickHandler?: (e: MouseEvent, store: any) => void | Promise<void>;
|
78
|
+
activator?: (activatorRenderer: VNodeChild) => VNodeChild;
|
79
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { EditorDisplayModes, EditorUserExperience, LayoutItem } from "@omnia/fx-models";
|
2
|
+
export interface EditorSettings {
|
3
|
+
showContentNavigation: boolean;
|
4
|
+
editorDisplayMode: EditorDisplayModes;
|
5
|
+
editorUserExperience: EditorUserExperience;
|
6
|
+
itemIsCheckOut: boolean;
|
7
|
+
}
|
8
|
+
export interface LayoutItemSettingsRequest {
|
9
|
+
showSettings?: boolean;
|
10
|
+
item: LayoutItem;
|
11
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { ActionItemType, guid } from "@omnia/fx-models";
|
2
|
+
import { ConfirmDialogOptions, Vue } from "@omnia/fx/ux";
|
3
|
+
export interface IActionItem {
|
4
|
+
id?: string;
|
5
|
+
type: ActionItemType;
|
6
|
+
highLighted: boolean;
|
7
|
+
visibilityCallBack?: Function;
|
8
|
+
requiredRoles?: guid[];
|
9
|
+
}
|
10
|
+
export interface IActionCustomButton extends IActionItem {
|
11
|
+
render: (vue: Vue) => JSX.Element;
|
12
|
+
loading?: boolean;
|
13
|
+
}
|
14
|
+
export interface IActionButton extends IActionItem {
|
15
|
+
title: () => string;
|
16
|
+
actionCallback: Function;
|
17
|
+
icon: string;
|
18
|
+
iconRight?: boolean;
|
19
|
+
disableCallBack?: Function;
|
20
|
+
confirmationOptions?: ConfirmDialogOptions;
|
21
|
+
loading?: boolean;
|
22
|
+
disabled?: boolean;
|
23
|
+
hasBottomDelimiter?: boolean;
|
24
|
+
}
|
25
|
+
export interface IActionButtonGroup extends IActionButton {
|
26
|
+
tooltip?: string;
|
27
|
+
color?: string;
|
28
|
+
}
|
29
|
+
export interface IActionGroupButtons extends IActionItem {
|
30
|
+
buttons?: Array<IActionButton>;
|
31
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { EditorDisplayModes } from "@omnia/fx-models";
|
2
|
+
import { IEditorItemPanelsRenderer } from "./IEditorItemPanelsRenderer";
|
3
|
+
import { IEditorItemTitleRenderer } from "./IEditorItemTitleRenderer";
|
4
|
+
import { IEditorItemTopToolbarRenderer } from "./IEditorItemTopToolbarRenderer";
|
5
|
+
import { IEditorTabRegistration } from "./IEditorTabRegistration";
|
6
|
+
export interface IEditorItem {
|
7
|
+
settings: {
|
8
|
+
defaultDisplayMode: EditorDisplayModes;
|
9
|
+
};
|
10
|
+
tabs: Array<IEditorTabRegistration>;
|
11
|
+
title: JSX.Element[] | JSX.Element | string;
|
12
|
+
onEditorActivation(): any;
|
13
|
+
titleRenderer?: IEditorItemTitleRenderer;
|
14
|
+
topToolbarRenderer?: IEditorItemTopToolbarRenderer;
|
15
|
+
panelsRenderer?: IEditorItemPanelsRenderer;
|
16
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { IActionItem } from "./IActionButton";
|
2
|
+
import { IEditorTabRenderer } from "./IEditorTabRenderer";
|
3
|
+
export interface IEditorTabRegistration {
|
4
|
+
tabId: string;
|
5
|
+
tabRenderer: IEditorTabRenderer;
|
6
|
+
tabName: string;
|
7
|
+
journey?: boolean;
|
8
|
+
active: boolean;
|
9
|
+
actionToolbar: {
|
10
|
+
leftItemRenderer?: () => Array<IActionItem>;
|
11
|
+
leftItemExtendRenderer?: () => Array<IActionItem>;
|
12
|
+
rightItemRenderer?: () => Array<IActionItem>;
|
13
|
+
rightItemExtendRenderer?: () => Array<IActionItem>;
|
14
|
+
};
|
15
|
+
footer?: () => Array<IActionItem>;
|
16
|
+
header?: () => Array<IActionItem>;
|
17
|
+
maxHeight?: number | string;
|
18
|
+
tabIcon?: string;
|
19
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export * from "./EditorSettings";
|
2
|
+
export * from "./IActionButton";
|
3
|
+
export * from "./IEditorDisplayActionButton";
|
4
|
+
export * from "./IEditorItem";
|
5
|
+
export * from "./IEditorItemTitleRenderer";
|
6
|
+
export * from "./IEditorItemMainRenderer";
|
7
|
+
export * from "./IEditorTabRegistration";
|
8
|
+
export * from "./IEditorTabRenderer";
|
9
|
+
export * from "./IEditorItemTopToolbarRenderer";
|
10
|
+
export * from "./IEditorItemPanelsRenderer";
|
11
|
+
export * from "./EditorLeaveDestination";
|
12
|
+
export * from "./EditorChromeRegistration";
|
package/internal-do-not-import-from-here/ux/editorchrome/renderers/ChromeActionItemRenderer.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { ChromeActionItem } from "@omnia/fx-models";
|
2
1
|
import { DefineSlot } from "@omnia/fx/ux";
|
3
2
|
import { VNodeChild } from "vue";
|
3
|
+
import { ChromeActionItem } from "../models";
|
4
4
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
5
5
|
action: ChromeActionItem;
|
6
6
|
} & DefineSlot<"renderer", (action: ChromeActionItem) => VNodeChild>> & {} & {
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { IMessageBusSubscriptionHandler, NotificationMessage } from "../../../models";
|
2
2
|
import { EditorTabStore } from "./EditorTabStore";
|
3
3
|
import { Store } from "../../../stores";
|
4
4
|
import { EditorSettingsStore } from "./EditorSettingsStore";
|
5
|
+
import { EditorLeaveDestination, IActionItem, IEditorItem } from "../models";
|
5
6
|
export declare class EditorChromeStore extends Store {
|
6
7
|
private serviceContainerContext;
|
7
8
|
settings: EditorSettingsStore;
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { DisplayBreakpointTypes, guid,
|
1
|
+
import { DisplayBreakpointTypes, guid, NotificationMessage, IIcon, Future } from "@omnia/fx-models";
|
2
|
+
import { ChromeActionItem, EditorChromeConfiguration, EditorChromeNavigationConfiguration, EditorChromePanel, EditorChromeView } from "../models";
|
2
3
|
export interface EditorChromeViewRegistration {
|
3
4
|
view: EditorChromeView;
|
4
5
|
configuration: EditorChromeConfiguration;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { Store } from "@omnia/fx/stores";
|
2
|
-
import {
|
2
|
+
import { EditorDisplayModes, EditorUserExperience, DisplayBreakpointTypes, LayoutEditorCanvasApi, LayoutRendererCanvasApi } from "../../../models";
|
3
|
+
import { EditorSettings } from "../models";
|
3
4
|
export declare class EditorSettingsStore extends Store {
|
4
5
|
/**
|
5
6
|
* State
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EditorChromeConfiguration } from "
|
1
|
+
import { EditorChromeConfiguration } from "../models";
|
2
2
|
export declare function useEditorViewManager(): {
|
3
3
|
configuration: {
|
4
4
|
extend: (target: EditorChromeConfiguration, configuration: EditorChromeConfiguration) => void;
|
@@ -36,6 +36,10 @@ declare const _default: {
|
|
36
36
|
identities: Array<IResolvedIdentity>;
|
37
37
|
}) => VNodeChild;
|
38
38
|
}>;
|
39
|
+
displayIdentityType: {
|
40
|
+
type: import("vue").PropType<boolean>;
|
41
|
+
required: false;
|
42
|
+
};
|
39
43
|
avatarStyles: {
|
40
44
|
type: import("vue").PropType<{
|
41
45
|
styles?: {
|
@@ -139,6 +143,10 @@ declare const _default: {
|
|
139
143
|
identities: Array<IResolvedIdentity>;
|
140
144
|
}) => VNodeChild;
|
141
145
|
}>;
|
146
|
+
displayIdentityType: {
|
147
|
+
type: import("vue").PropType<boolean>;
|
148
|
+
required: false;
|
149
|
+
};
|
142
150
|
avatarStyles: {
|
143
151
|
type: import("vue").PropType<{
|
144
152
|
styles?: {
|
@@ -239,6 +247,10 @@ declare const _default: {
|
|
239
247
|
identities: Array<IResolvedIdentity>;
|
240
248
|
}) => VNodeChild;
|
241
249
|
}>;
|
250
|
+
displayIdentityType: {
|
251
|
+
type: import("vue").PropType<boolean>;
|
252
|
+
required: false;
|
253
|
+
};
|
242
254
|
avatarStyles: {
|
243
255
|
type: import("vue").PropType<{
|
244
256
|
styles?: {
|
@@ -379,6 +391,7 @@ declare const _default: {
|
|
379
391
|
};
|
380
392
|
class?: string;
|
381
393
|
};
|
394
|
+
displayIdentityType?: boolean;
|
382
395
|
}>, never>;
|
383
396
|
};
|
384
397
|
export default _default;
|
@@ -26,5 +26,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
26
26
|
default?: import("vue").Slot;
|
27
27
|
$stable?: boolean;
|
28
28
|
}, never>;
|
29
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "modelValue" | "emit:update:modelValue" | "
|
29
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "modelValue" | "emit:update:modelValue" | "emit:add" | "emit:remove" | "editMode" | "getSyncPropertiesApi" | "getSyncPropertyDisplayName" | "emit:update"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
30
30
|
export default _default;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
|
+
export declare const useIdentityRendererStore: () => {
|
3
|
+
state: {
|
4
|
+
userTypes: Record<guid, string>;
|
5
|
+
groupTypes: Record<guid, string>;
|
6
|
+
};
|
7
|
+
events: import("@omnia/fx/stores").StoreEvents<{
|
8
|
+
userTypes: Record<guid, string>;
|
9
|
+
groupTypes: Record<guid, string>;
|
10
|
+
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
11
|
+
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
12
|
+
initIdentityTypes(): Promise<void>;
|
13
|
+
}>;
|
14
|
+
} & {
|
15
|
+
dispose?: () => void;
|
16
|
+
};
|