@omnia/fx 8.0.531-dev → 8.0.532-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.
@@ -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;
@@ -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>>;
@@ -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;
@@ -1,10 +1,7 @@
1
- import "./SidePanel.css";
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, "position"> & import("@omnia/fx/ux").VNodeEvents) => any;
6
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string> & import("@omnia/fx/ux").VNodeEvents) => any;
10
7
  export default _default;
@@ -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;
@@ -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.531-dev",
4
+ "version": "8.0.532-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.531-dev",
23
+ "@omnia/fx-models": "8.0.532-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",