@omnia/fx 8.0.531-dev → 8.0.533-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/editorchrome/stores/EditorChromeStoreV2.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/stores/EnterprisePropertyPickerStore.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/filterengine/handler/FilterEngineHandler.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/selection/JourneySelect.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/journey/selection/JourneySelectBase.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStoreV2.d.ts +13 -1
- package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/oxide/picker/Picker.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/rollup/views/CardView.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/sidepanel/SidePanelRenderer.d.ts +2 -5
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutEditor.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/DefineDefaultView.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/stores/VersionedLayoutEditorStoreV2.d.ts +1 -0
- package/package.json +2 -2
@@ -174,6 +174,7 @@ export declare const useEditorChromeStore: () => {
|
|
174
174
|
};
|
175
175
|
remove: (view: EditorChromeView) => void;
|
176
176
|
history: {
|
177
|
+
removeCurrent: () => void;
|
177
178
|
goBack: () => boolean;
|
178
179
|
goForward: () => boolean;
|
179
180
|
addToHistory: (view: EditorChromeView) => void;
|
@@ -4,7 +4,7 @@ declare const emptyArray: any[];
|
|
4
4
|
declare const excludedPropertyTypeIds: guid[];
|
5
5
|
type EnterprisePropertyPickerProps = DefineVModel<"", Array<string> | string, false, null> & DefineProp<"preSelectedPropertyInternalName", string | Array<string>, false, typeof emptyArray, "Depricated use v-model instead"> & DefineProp<"propertyItems", Array<EnterprisePropertyDefinition>, false, typeof emptyArray> & DefineProp<"externalPropertyItems", Array<ExternalPropertySelectionItem>, false, typeof emptyArray> & DefineProp<"label", string, false, null> & DefineProp<"variant", OSelectVariants | "condition" | "journey" | "list", false, null> & DefineProp<"disabled", boolean, false, false> & DefineProp<"multiple", boolean, false, false> & DefineProp<"required", boolean, false, false> & DefineVModel<"queryFilter", QueryFilter[], false> & DefineProp<"labelAddProp", string, false, null> & DefineProp<"labelAddValue", string, false, null> &
|
6
6
|
/**To support old settings... */
|
7
|
-
DefineEmit<"change", (propertyInternalName: string | Array<string>) => void> & DefineProp<"excludedPropertyTypeIds", Array<guid>, false, typeof excludedPropertyTypeIds> & DefineProp<"hideDetails", boolean, false, false>;
|
7
|
+
DefineEmit<"change", (propertyInternalName: string | Array<string>) => void> & DefineProp<"excludedPropertyTypeIds", Array<guid>, false, typeof excludedPropertyTypeIds> & DefineProp<"hideDetails", boolean, false, false> & DefineProp<"enableFilter", boolean, false, false>;
|
8
8
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<EnterprisePropertyPickerProps> & {
|
9
9
|
onChange?: (propertyInternalName: string | string[]) => any;
|
10
10
|
"onUpdate:modelValue"?: (value: string | string[]) => any;
|
@@ -14,5 +14,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<EnterprisePr
|
|
14
14
|
default?: import("vue").Slot;
|
15
15
|
$stable?: boolean;
|
16
16
|
}, never>;
|
17
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "variant" | "required" | "multiple" | "disabled" | "v-model" | "modelValue" | "emit:update:modelValue" | "hideDetails" | "emit:change" | "preSelectedPropertyInternalName" | "propertyItems" | "externalPropertyItems" | "queryFilter" | "emit:update:queryFilter" | "v-model:queryFilter" | "labelAddProp" | "labelAddValue" | "excludedPropertyTypeIds"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
17
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "variant" | "required" | "multiple" | "disabled" | "v-model" | "modelValue" | "emit:update:modelValue" | "hideDetails" | "emit:change" | "preSelectedPropertyInternalName" | "propertyItems" | "externalPropertyItems" | "queryFilter" | "emit:update:queryFilter" | "v-model:queryFilter" | "labelAddProp" | "labelAddValue" | "excludedPropertyTypeIds" | "enableFilter"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
18
18
|
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EnterprisePropertyDefinition, ExternalPropertySelectionItem, guid } from "@omnia/fx-models";
|
1
|
+
import { EnterprisePropertyCategory, EnterprisePropertyDefinition, ExternalPropertySelectionItem, guid } from "@omnia/fx-models";
|
2
2
|
import { JourneySelectItem } from "@omnia/fx/ux";
|
3
3
|
interface SettingsValue {
|
4
4
|
preSelectedPropertyInternalName: string | Array<string>;
|
@@ -33,6 +33,7 @@ export declare const useEnterprisePropertyPickerStore: () => {
|
|
33
33
|
}>;
|
34
34
|
get: {
|
35
35
|
displayName: (internalName: string) => string;
|
36
|
+
enterprisePropertyCategories: () => EnterprisePropertyCategory[];
|
36
37
|
};
|
37
38
|
} & {
|
38
39
|
dispose?: () => void;
|
@@ -65,16 +65,16 @@ export declare class FilterEngineHandler extends Store {
|
|
65
65
|
hasDefaultStyling: () => boolean;
|
66
66
|
getFilterSettingStyles: () => TermColorSettings;
|
67
67
|
getPropertyDefinitionId: (typedHandler: ITypedFilterEngineHandler) => BaseFilterEnginePropertyType;
|
68
|
+
getSidePanelId: () => guid;
|
68
69
|
};
|
69
70
|
mutations: {
|
70
71
|
registerTopElement: import("@omnia/fx/stores").StoreMutation<(element: Element) => void, (element: Element) => IMessageBusSubscriptionHandler>;
|
71
72
|
setKeywordsSearching: import("@omnia/fx/stores").StoreMutation<(keywordsSearching: string) => void, (keywordsSearching: string) => IMessageBusSubscriptionHandler>;
|
72
73
|
setPageNumber: import("@omnia/fx/stores").StoreMutation<(pageNumber: number) => void, (pageNumber: number) => IMessageBusSubscriptionHandler>;
|
73
74
|
clearAllSelections: import("@omnia/fx/stores").StoreMutation<(typedHandlers: ITypedFilterEngineHandler[]) => void, (typedHandlers: ITypedFilterEngineHandler[]) => IMessageBusSubscriptionHandler>;
|
74
|
-
toggleShowDialog: import("@omnia/fx/stores").StoreMutation<() => void, () => IMessageBusSubscriptionHandler>;
|
75
|
-
ensureCloseDialog: import("@omnia/fx/stores").StoreMutation<() => void, () => IMessageBusSubscriptionHandler>;
|
76
75
|
setLatestRefiner: import("@omnia/fx/stores").StoreMutation<(internalName: string, refiner: Refiner<Refinement>) => void, (internalName: string, refiner: Refiner<Refinement>) => IMessageBusSubscriptionHandler>;
|
77
76
|
setUpdateDataCallback: import("@omnia/fx/stores").StoreMutation<(callback: () => Promise<void>) => void, (callback: () => Promise<void>) => IMessageBusSubscriptionHandler>;
|
77
|
+
setSidePanelId: import("@omnia/fx/stores").StoreMutation<(id: guid) => void, (id: guid) => IMessageBusSubscriptionHandler>;
|
78
78
|
};
|
79
79
|
actions: {
|
80
80
|
init: import("@omnia/fx/stores").StoreAction<unknown, (settings: FilterEngineSettings, fromRouter?: boolean, updateDataCallback?: () => Promise<void>) => void, (result: void, settings: FilterEngineSettings, fromRouter?: boolean, updateDataCallback?: () => Promise<void>) => void, (failureReason: any, settings: FilterEngineSettings, fromRouter?: boolean, updateDataCallback?: () => Promise<void>) => void, (settings: FilterEngineSettings, fromRouter?: boolean, updateDataCallback?: () => Promise<void>) => Promise<void>>;
|
@@ -1,16 +1,17 @@
|
|
1
1
|
import { OMultiSelectionStyles } from "@omnia/fx-models";
|
2
2
|
import { DefineProp, DefinePropTheming, DefineSlot, DefineVModel, ItemType, ItemValueType, JourneySelectItem } from "@omnia/fx/ux";
|
3
3
|
import { VNodeChild } from "vue";
|
4
|
-
type OJourneySelectV2Props<TItem, TReturnObject extends boolean> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", any> & DefineProp<"label", string, false, null, "Sets the label of the component."> & DefineProp<"items", TItem, false, null, "TItem must be an array of objects or array of strings. When using objects, will look for a title, value and disabled keys. This can be changed using the item-title, item-value and item-disabled props."> & DefineProp<"itemTitle", ItemValueType<ItemType<TItem>>, false, null, "Property on supplied items that contains its title."> & DefineProp<"itemValue", ItemValueType<ItemType<TItem>>, false, null, "Property on supplied items that contains its value."> & DefineProp<"returnObject", TReturnObject, false, null, "Changes the selection behavior to return the object directly rather than the value specified with item-value."> & DefineProp<"multiple", boolean, false, false, "Multiple selection."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the input."> & DefineProp<"multiSelectionStyle", OMultiSelectionStyles, false, null, "The style of multi select"> & DefineProp<"itemDeletable", (item: ItemType<TItem>) => boolean, false, null, "Item can be deleted or not."> & DefineSlot<"item", (item: JourneySelectItem<any>, index: number, isSelected: boolean) => VNodeChild> & DefineSlot<"selection", (item: JourneySelectItem<any>, index: number) => VNodeChild>;
|
4
|
+
type OJourneySelectV2Props<TItem, TReturnObject extends boolean> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", any> & DefineProp<"label", string, false, null, "Sets the label of the component."> & DefineProp<"items", TItem, false, null, "TItem must be an array of objects or array of strings. When using objects, will look for a title, value and disabled keys. This can be changed using the item-title, item-value and item-disabled props."> & DefineProp<"itemTitle", ItemValueType<ItemType<TItem>>, false, null, "Property on supplied items that contains its title."> & DefineProp<"itemValue", ItemValueType<ItemType<TItem>>, false, null, "Property on supplied items that contains its value."> & DefineProp<"returnObject", TReturnObject, false, null, "Changes the selection behavior to return the object directly rather than the value specified with item-value."> & DefineProp<"multiple", boolean, false, false, "Multiple selection."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the input."> & DefineProp<"multiSelectionStyle", OMultiSelectionStyles, false, null, "The style of multi select"> & DefineProp<"itemDeletable", (item: ItemType<TItem>) => boolean, false, null, "Item can be deleted or not."> & DefineSlot<"item", (item: JourneySelectItem<any>, index: number, isSelected: boolean) => VNodeChild> & DefineSlot<"filter", () => VNodeChild> & DefineSlot<"selection", (item: JourneySelectItem<any>, index: number) => VNodeChild>;
|
5
5
|
declare const _default: <TItem extends readonly any[], TReturnObject extends boolean>(props: import("@omnia/fx/ux").ExtractProps<OJourneySelectV2Props<TItem, TReturnObject>> & {
|
6
6
|
"onUpdate:modelValue"?: (value: any) => any;
|
7
7
|
} & {
|
8
8
|
"v-slots"?: {
|
9
9
|
item?: (item: JourneySelectItem<any>, index: number, isSelected: boolean) => VNodeChild;
|
10
|
+
filter?: () => VNodeChild;
|
10
11
|
selection?: (item: JourneySelectItem<any>, index: number) => VNodeChild;
|
11
12
|
} & Omit<{
|
12
13
|
default?: import("vue").Slot;
|
13
14
|
$stable?: boolean;
|
14
|
-
}, "item" | "selection">;
|
15
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "colorSchemaType" | "class" | "multiple" | "disabled" | "colors" | "v-model" | "modelValue" | "emit:update:modelValue" | "items" | "itemValue" | "slot:item" | "slot:selection" | "itemTitle" | "returnObject" | "multiSelectionStyle" | "itemDeletable"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
15
|
+
}, "filter" | "item" | "selection">;
|
16
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "colorSchemaType" | "class" | "multiple" | "disabled" | "colors" | "v-model" | "modelValue" | "emit:update:modelValue" | "items" | "itemValue" | "slot:item" | "slot:filter" | "slot:selection" | "itemTitle" | "returnObject" | "multiSelectionStyle" | "itemDeletable"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
16
17
|
export default _default;
|
@@ -7,7 +7,7 @@ type BaseProps<TItem> = DefinePropTheming & DefineVModel<"", Array<any> | any> &
|
|
7
7
|
index: number;
|
8
8
|
}) => VNodeChild> & DefineSlot<"selectionRenderV2", (item: {
|
9
9
|
SelectionRenderer: JourneySelectBladeElement;
|
10
|
-
}) => VNodeChild> & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"showAdd", () => true> & DefineEmit<"showEdit", (item: TItem, index: number) => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => true> & DefineProp<"onClickAdd", (item: Array<TItem> | TItem) => void | boolean | Promise<boolean>> & DefineProp<"onRemoveItem", (item: TItem) => void | boolean | Promise<boolean>> & DefineProp<"onClickUpdate", (item: TItem, index: number) => void | boolean | Promise<boolean>> & DefineProp<"onClickDelete", (item: TItem, index: number) => void | boolean | Promise<boolean>>;
|
10
|
+
}) => VNodeChild> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"filter", () => VNodeChild> & DefineEmit<"showAdd", () => true> & DefineEmit<"showEdit", (item: TItem, index: number) => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => true> & DefineProp<"onClickAdd", (item: Array<TItem> | TItem) => void | boolean | Promise<boolean>> & DefineProp<"onRemoveItem", (item: TItem) => void | boolean | Promise<boolean>> & DefineProp<"onClickUpdate", (item: TItem, index: number) => void | boolean | Promise<boolean>> & DefineProp<"onClickDelete", (item: TItem, index: number) => void | boolean | Promise<boolean>>;
|
11
11
|
declare const _default: <TItem extends unknown = any>(props: import("@omnia/fx/ux").ExtractProps<BaseProps<TItem>> & {
|
12
12
|
"onUpdate:modelValue"?: (value: any) => any;
|
13
13
|
onSearch?: (searchText: string) => any;
|
@@ -29,9 +29,10 @@ declare const _default: <TItem extends unknown = any>(props: import("@omnia/fx/u
|
|
29
29
|
SelectionRenderer: JourneySelectBladeElement;
|
30
30
|
}) => VNodeChild;
|
31
31
|
actions?: () => VNodeChild;
|
32
|
+
filter?: () => VNodeChild;
|
32
33
|
} & Omit<{
|
33
34
|
default?: import("vue").Slot;
|
34
35
|
$stable?: boolean;
|
35
|
-
}, "actions" | "selectionItemRender" | "selectionRender" | "selectedItemRenderer" | "settingsRender" | "settingsRenderV2" | "selectionRenderV2">;
|
36
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "actions" | "label" | "colorSchemaType" | "list" | "multiple" | "colors" | "toned" | "v-model" | "modelValue" | "slot:actions" | "emit:update:modelValue" | "items" | "readonly" | "getApi" | "emit:search" | "itemDeletable" | "emit:click:clear" | "sortable" | "propertyValueMapping" | "returnSelectionAsObject" | "labelAdd" | "titleAdd" | "titleEdit" | "disableSearch" | "disableSave" | "disabledAddButton" | "confirmDelete" | "noAddConfirm" | "bladelessAdd" | "bladeless" | "itemSettingable" | "slot:selectionItemRender" | "slot:selectionRender" | "slot:selectedItemRenderer" | "slot:settingsRender" | "slot:settingsRenderV2" | "slot:selectionRenderV2" | "emit:showAdd" | "emit:showEdit" | "onClickAdd" | "onRemoveItem" | "onClickUpdate" | "onClickDelete"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
36
|
+
}, "filter" | "actions" | "selectionItemRender" | "selectionRender" | "selectedItemRenderer" | "settingsRender" | "settingsRenderV2" | "selectionRenderV2">;
|
37
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "actions" | "label" | "colorSchemaType" | "list" | "multiple" | "colors" | "toned" | "v-model" | "modelValue" | "slot:actions" | "emit:update:modelValue" | "items" | "readonly" | "getApi" | "slot:filter" | "emit:search" | "itemDeletable" | "emit:click:clear" | "sortable" | "propertyValueMapping" | "returnSelectionAsObject" | "labelAdd" | "titleAdd" | "titleEdit" | "disableSearch" | "disableSave" | "disabledAddButton" | "confirmDelete" | "noAddConfirm" | "bladelessAdd" | "bladeless" | "itemSettingable" | "slot:selectionItemRender" | "slot:selectionRender" | "slot:selectedItemRenderer" | "slot:settingsRender" | "slot:settingsRenderV2" | "slot:selectionRenderV2" | "emit:showAdd" | "emit:showEdit" | "onClickAdd" | "onRemoveItem" | "onClickUpdate" | "onClickDelete"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
37
38
|
export default _default;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts
CHANGED
@@ -26,8 +26,18 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
|
|
26
26
|
dependencyProviders: string[];
|
27
27
|
};
|
28
28
|
};
|
29
|
+
visiblePane: {
|
30
|
+
id: guid;
|
31
|
+
elementRenderer: () => import("vue").VNode;
|
32
|
+
position: import("@omnia/fx-models").SidePanelPosition;
|
33
|
+
width: number;
|
34
|
+
};
|
29
35
|
};
|
30
36
|
actions: import("../../mobile").StoreReturnDefineAction<{
|
37
|
+
pane: () => import("../../mobile").StoreReturnDefineAction<{
|
38
|
+
show: (elementRenderer: () => import("vue").VNode, position: import("@omnia/fx-models").SidePanelPosition, width?: number) => void;
|
39
|
+
hide: () => void;
|
40
|
+
}>;
|
31
41
|
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
32
42
|
blockinstanceCreated: (blockInstance: import("@omnia/fx-models").IBlockInstance) => void;
|
33
43
|
layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) => import("@omnia/fx-models").ILayoutSectionRenderer;
|
@@ -72,6 +82,7 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
|
|
72
82
|
rules: {
|
73
83
|
isEditMode: () => boolean;
|
74
84
|
isEmptyLayout: () => boolean;
|
85
|
+
isPaneDisplayAsDialog: (breakpoints: import("@omnia/fx-models").Breakpoint) => boolean;
|
75
86
|
};
|
76
87
|
readonly editor: {
|
77
88
|
state: {
|
@@ -18,8 +18,18 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
18
18
|
dependencyProviders: string[];
|
19
19
|
};
|
20
20
|
};
|
21
|
+
visiblePane: {
|
22
|
+
id: import("@omnia/fx-models").guid;
|
23
|
+
elementRenderer: () => import("vue").VNode;
|
24
|
+
position: import("@omnia/fx-models").SidePanelPosition;
|
25
|
+
width: number;
|
26
|
+
};
|
21
27
|
};
|
22
28
|
actions: import("../../mobile").StoreReturnDefineAction<{
|
29
|
+
pane: () => import("../../mobile").StoreReturnDefineAction<{
|
30
|
+
show: (elementRenderer: () => import("vue").VNode, position: import("@omnia/fx-models").SidePanelPosition, width?: number) => void;
|
31
|
+
hide: () => void;
|
32
|
+
}>;
|
23
33
|
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
24
34
|
blockinstanceCreated: (blockInstance: import("@omnia/fx-models").IBlockInstance) => void;
|
25
35
|
layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) => import("@omnia/fx-models").ILayoutSectionRenderer;
|
@@ -64,6 +74,7 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
64
74
|
rules: {
|
65
75
|
isEditMode: () => boolean;
|
66
76
|
isEmptyLayout: () => boolean;
|
77
|
+
isPaneDisplayAsDialog: (breakpoints: import("@omnia/fx-models").Breakpoint) => boolean;
|
67
78
|
};
|
68
79
|
readonly editor: {
|
69
80
|
state: {
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import { ServiceContainerContext } from "@omnia/fx";
|
2
|
-
import { Block, BlockRenderingModes, guid, IBlockInstance, ILayoutFileContext, ILayoutMediaContext, ILayoutSectionRenderer, IMessageBusTopicPublishSubscriber, Layout, LayoutDefinition, LayoutItem, LoadedLayout, Section, SectionTypes } from "@omnia/fx-models";
|
2
|
+
import { Block, BlockRenderingModes, Breakpoint, guid, IBlockInstance, ILayoutFileContext, ILayoutMediaContext, ILayoutSectionRenderer, IMessageBusTopicPublishSubscriber, Layout, LayoutDefinition, LayoutItem, LoadedLayout, Section, SectionTypes, SidePanelPosition } from "@omnia/fx-models";
|
3
3
|
import { ReactiveLayoutItemsSettingsStore } from "./ReactiveLayoutItemsSettingsStore";
|
4
4
|
import { useEditorChromeStore } from "../../editorchrome";
|
5
5
|
import { BlockSettingsProvider } from "../shared/BlockSettingsProvider";
|
6
|
+
import { VNode } from "vue";
|
6
7
|
export interface IBlockInstanceExtendsInternal<TSettings = void> extends IBlockInstance<TSettings> {
|
7
8
|
settings: TSettings;
|
8
9
|
serviceContainerContext: ServiceContainerContext;
|
@@ -33,8 +34,18 @@ export declare const useLayoutCanvasStore: () => {
|
|
33
34
|
dependencyProviders: string[];
|
34
35
|
};
|
35
36
|
};
|
37
|
+
visiblePane: {
|
38
|
+
id: guid;
|
39
|
+
elementRenderer: () => VNode;
|
40
|
+
position: SidePanelPosition;
|
41
|
+
width: number;
|
42
|
+
};
|
36
43
|
};
|
37
44
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
45
|
+
pane: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
46
|
+
show: (elementRenderer: () => VNode, position: SidePanelPosition, width?: number) => void;
|
47
|
+
hide: () => void;
|
48
|
+
}>;
|
38
49
|
hooks: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
39
50
|
blockinstanceCreated: (blockInstance: IBlockInstance) => void;
|
40
51
|
layoutSectionRenderer: (layoutSectionRenderer: ILayoutSectionRenderer) => ILayoutSectionRenderer;
|
@@ -77,6 +88,7 @@ export declare const useLayoutCanvasStore: () => {
|
|
77
88
|
rules: {
|
78
89
|
isEditMode: () => boolean;
|
79
90
|
isEmptyLayout: () => boolean;
|
91
|
+
isPaneDisplayAsDialog: (breakpoints: Breakpoint) => boolean;
|
80
92
|
};
|
81
93
|
readonly editor: {
|
82
94
|
state: {
|
@@ -26,6 +26,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
26
26
|
disableResizeWatcher?: boolean;
|
27
27
|
} & {
|
28
28
|
disableRouteWatcher?: boolean;
|
29
|
+
} & {
|
30
|
+
absolute?: boolean;
|
29
31
|
}> & {
|
30
32
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
31
33
|
} & {
|
@@ -33,5 +35,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
33
35
|
default?: import("vue").Slot;
|
34
36
|
$stable?: boolean;
|
35
37
|
}, never>;
|
36
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "variant" | "class" | "colors" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "location" | "overrides" | "customWidth" | "temporary" | "disableResizeWatcher" | "disableRouteWatcher"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
38
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "variant" | "class" | "absolute" | "colors" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "location" | "overrides" | "customWidth" | "temporary" | "disableResizeWatcher" | "disableRouteWatcher"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
37
39
|
export default _default;
|
@@ -3,7 +3,7 @@ import { ActionDefinition, InputBlueprint, MenuState } from "@omnia/fx/models";
|
|
3
3
|
import { VNodeChild } from "vue";
|
4
4
|
import { PickerVariant } from "./models/SharedSettings";
|
5
5
|
import { usePickerStore } from "./stores/PickerStore";
|
6
|
-
type PickerProps = DefineVModel<"", MenuState> & DefineProp<"getApi", (store: ReturnType<typeof usePickerStore>) => void, false, null, "callback to get a reference to the store"> & DefineProp<"class", String | String[]> & DefineProp<"variant", PickerVariant, false, "dropdown"> & DefineProp<"label", string, false, null, "Sets the label of the component."> & DefineProp<"text", string, false, null, "Sets the text of the component."> & DefineProp<"blueprint", InputBlueprint, false, null, "Sets a custom blueprint for the control."> & DefineProp<"disabled", boolean, false, null, "Sets the component to disabled"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineProp<"visibleOnContentClick", boolean, false, null, "Sets the component to disabled"> & DefineProp<"grid", boolean, false, null, "Sets the component to disabled"> & DefineProp<"clearable", boolean, false, null, "If a clear icon can be shown"> & DefineProp<"searchable", boolean, null, null, "A search box is displayed with the text value"> & DefineProp<"maxHeight", number, null, null, "Limit the max height of the dropdown"> & DefineProp<"isLoading", boolean, false, null, "Displays a loading indicator"> & DefineProp<"hasSelection", boolean | any, false, null, "If the component has selection or not. If true it will render the selection slot"> & DefineProp<"placeholder", string, false, null, "Sets the placeholder of the component. The placeholder is shown if there is no selection and displays select if empty"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineProp<"actions", ActionDefinition[] | VNodeChild, false, null, "Actions to be showns on the blade header"> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => void> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"selectedItemRenderer", () => VNodeChild> & DefineSlot<"actions", () => VNodeChild>;
|
6
|
+
type PickerProps = DefineVModel<"", MenuState> & DefineProp<"getApi", (store: ReturnType<typeof usePickerStore>) => void, false, null, "callback to get a reference to the store"> & DefineProp<"class", String | String[]> & DefineProp<"variant", PickerVariant, false, "dropdown"> & DefineProp<"label", string, false, null, "Sets the label of the component."> & DefineProp<"text", string, false, null, "Sets the text of the component."> & DefineProp<"blueprint", InputBlueprint, false, null, "Sets a custom blueprint for the control."> & DefineProp<"disabled", boolean, false, null, "Sets the component to disabled"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineProp<"visibleOnContentClick", boolean, false, null, "Sets the component to disabled"> & DefineProp<"grid", boolean, false, null, "Sets the component to disabled"> & DefineProp<"clearable", boolean, false, null, "If a clear icon can be shown"> & DefineProp<"searchable", boolean, null, null, "A search box is displayed with the text value"> & DefineProp<"maxHeight", number, null, null, "Limit the max height of the dropdown"> & DefineProp<"isLoading", boolean, false, null, "Displays a loading indicator"> & DefineProp<"hasSelection", boolean | any, false, null, "If the component has selection or not. If true it will render the selection slot"> & DefineProp<"placeholder", string, false, null, "Sets the placeholder of the component. The placeholder is shown if there is no selection and displays select if empty"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineProp<"actions", ActionDefinition[] | VNodeChild, false, null, "Actions to be showns on the blade header"> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => void> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"selectedItemRenderer", () => VNodeChild> & DefineSlot<"filter", () => VNodeChild> & DefineSlot<"actions", () => VNodeChild>;
|
7
7
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<PickerProps> & {
|
8
8
|
"onUpdate:modelValue"?: (value: MenuState) => any;
|
9
9
|
onSearch?: (searchText: string) => any;
|
@@ -12,10 +12,11 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<PickerProps>
|
|
12
12
|
"v-slots"?: {
|
13
13
|
activator?: () => VNodeChild;
|
14
14
|
selectedItemRenderer?: () => VNodeChild;
|
15
|
+
filter?: () => VNodeChild;
|
15
16
|
actions?: () => VNodeChild;
|
16
17
|
} & Omit<{
|
17
18
|
default?: import("vue").Slot;
|
18
19
|
$stable?: boolean;
|
19
|
-
}, "actions" | "activator" | "selectedItemRenderer">;
|
20
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "blueprint" | "grid" | "maxHeight" | "actions" | "label" | "variant" | "class" | "disabled" | "toned" | "v-model" | "modelValue" | "slot:actions" | "emit:update:modelValue" | "placeholder" | "slot:activator" | "getApi" | "searchable" | "emit:search" | "clearable" | "visibleOnContentClick" | "emit:click:clear" | "isLoading" | "slot:selectedItemRenderer" | "hasSelection"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
20
|
+
}, "filter" | "actions" | "activator" | "selectedItemRenderer">;
|
21
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "blueprint" | "grid" | "maxHeight" | "actions" | "label" | "variant" | "class" | "disabled" | "toned" | "v-model" | "modelValue" | "slot:actions" | "emit:update:modelValue" | "placeholder" | "slot:activator" | "getApi" | "searchable" | "slot:filter" | "emit:search" | "clearable" | "visibleOnContentClick" | "emit:click:clear" | "isLoading" | "slot:selectedItemRenderer" | "hasSelection"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
21
22
|
export default _default;
|
@@ -4,6 +4,7 @@ import { useColorSchemaStore } from "../../aurora";
|
|
4
4
|
type MediaComponentProps = {
|
5
5
|
media?: MediaPickerMedia | string;
|
6
6
|
theme?: ReturnType<typeof useColorSchemaStore>;
|
7
|
+
variant?: "image" | "avatar";
|
7
8
|
} & HTMLAttributes;
|
8
9
|
export declare function defineCardView(): {
|
9
10
|
Header: typeof HeaderComponent;
|
@@ -1,10 +1,7 @@
|
|
1
|
-
import
|
2
|
-
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
3
|
-
position: string;
|
4
|
-
}> & {} & {
|
1
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Record<string, any>> & {} & {
|
5
2
|
"v-slots"?: {} & Omit<{
|
6
3
|
default?: import("vue").Slot;
|
7
4
|
$stable?: boolean;
|
8
5
|
}, never>;
|
9
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps,
|
6
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string> & import("@omnia/fx/ux").VNodeEvents) => any;
|
10
7
|
export default _default;
|
package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutEditor.d.ts
CHANGED
@@ -9,6 +9,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
9
9
|
icon?: IIcon;
|
10
10
|
} & {
|
11
11
|
title?: string;
|
12
|
+
} & {
|
13
|
+
layoutProvider?: string;
|
12
14
|
} & {
|
13
15
|
showLayoutNavigation?: boolean;
|
14
16
|
} & {
|
@@ -26,5 +28,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
26
28
|
default?: import("vue").Slot;
|
27
29
|
$stable?: boolean;
|
28
30
|
}, "navigation">;
|
29
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "settings" | "appInstanceId" | "serviceContainerContext" | "subTitle" | "slot:navigation" | "getApi" | "emit:close" | "showLayoutNavigation"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
31
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "settings" | "appInstanceId" | "serviceContainerContext" | "subTitle" | "slot:navigation" | "getApi" | "emit:close" | "layoutProvider" | "showLayoutNavigation"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
30
32
|
export default _default;
|
package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/DefineDefaultView.d.ts
CHANGED
@@ -270,6 +270,7 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
|
|
270
270
|
};
|
271
271
|
remove: (view: import("@omnia/fx-models").EditorChromeView) => void;
|
272
272
|
history: {
|
273
|
+
removeCurrent: () => void;
|
273
274
|
goBack: () => boolean;
|
274
275
|
goForward: () => boolean;
|
275
276
|
addToHistory: (view: import("@omnia/fx-models").EditorChromeView) => void;
|
package/internal-do-not-import-from-here/ux/versionedlayout/stores/VersionedLayoutEditorStoreV2.d.ts
CHANGED
@@ -277,6 +277,7 @@ export declare const useVersionedLayoutEditorStore: () => {
|
|
277
277
|
};
|
278
278
|
remove: (view: EditorChromeView) => void;
|
279
279
|
history: {
|
280
|
+
removeCurrent: () => void;
|
280
281
|
goBack: () => boolean;
|
281
282
|
goForward: () => boolean;
|
282
283
|
addToHistory: (view: EditorChromeView) => void;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "8.0.
|
4
|
+
"version": "8.0.533-dev",
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
6
6
|
"scripts": {
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
@@ -20,7 +20,7 @@
|
|
20
20
|
],
|
21
21
|
"author": "Omnia Digital Workplace AB",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.533-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|