@omnia/fx 7.9.27-preview → 7.9.29-preview
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/blockgallery/apis/Registration.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/blockgallery/store/BlockGalleryStore.d.ts +14 -8
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutItemselector/AddContentDialog.d.ts +2 -2
- package/package.json +3 -3
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,12 +1,14 @@
|
|
1
|
-
import {
|
1
|
+
import { BlockDialogLayoutInfo, BlockGalleryDialogLayoutSetting, BlockGalleryGeneralSetting, BlockGalleryHeader, BlockGalleryItem, BlockGalleryItemView, BlockTemplate, MultilingualString } from "@omnia/fx-models";
|
2
|
+
import { LocalizationService, SettingsService } from "@omnia/fx/services";
|
2
3
|
import { MultilingualStore, Store } from "@omnia/fx/stores";
|
4
|
+
import { OmniaUxLocalization } from "../../UxModels";
|
3
5
|
import { BlockCatalogStore } from "../../layoutcanvas";
|
4
|
-
import { LocalizationService, SettingsService } from "@omnia/fx/services";
|
5
6
|
export declare class BlockGalleryStore extends Store {
|
6
7
|
blockCatalogStore: BlockCatalogStore;
|
7
8
|
multilingualStore: MultilingualStore;
|
8
9
|
settingsService: SettingsService<any>;
|
9
10
|
localizationService: LocalizationService;
|
11
|
+
uxLoc: OmniaUxLocalization;
|
10
12
|
private blockTemplateService;
|
11
13
|
private omniaBlocks;
|
12
14
|
private ensureInitAdminView;
|
@@ -25,7 +27,8 @@ export declare class BlockGalleryStore extends Store {
|
|
25
27
|
private spfxBlocks;
|
26
28
|
private initSpfxDictionary;
|
27
29
|
private layoutBlockSettingForRender;
|
28
|
-
|
30
|
+
private dialogLayouts;
|
31
|
+
protected onActivated(): Promise<void>;
|
29
32
|
getters: {
|
30
33
|
blocks: () => {
|
31
34
|
[id: string]: BlockGalleryItemView;
|
@@ -34,13 +37,15 @@ export declare class BlockGalleryStore extends Store {
|
|
34
37
|
[id: string]: BlockGalleryItemView;
|
35
38
|
};
|
36
39
|
header: (headerId: string) => BlockGalleryHeader;
|
37
|
-
blockGalleryLayoutSetting: (layoutType:
|
40
|
+
blockGalleryLayoutSetting: (layoutType: string) => BlockGalleryDialogLayoutSetting;
|
38
41
|
orderedItems: () => BlockGalleryItem[];
|
39
42
|
orderedItemTitle: (blockId: string) => string;
|
40
43
|
editingHeaderId: () => string;
|
41
44
|
editingTemplateId: () => number;
|
42
45
|
isBlockDialogInAlterMode: () => boolean;
|
43
|
-
editingDialogLayoutType: () =>
|
46
|
+
editingDialogLayoutType: () => string;
|
47
|
+
dialogLayouts: () => BlockDialogLayoutInfo[];
|
48
|
+
getDialogLayoutType: (layoutProvider: string) => string;
|
44
49
|
};
|
45
50
|
private isBlockValidForLayout;
|
46
51
|
mutations: {
|
@@ -58,13 +63,13 @@ export declare class BlockGalleryStore extends Store {
|
|
58
63
|
switchToTemplateAddMode: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
59
64
|
switchBlockDialogToAlterMode: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
60
65
|
switchOffBlockDialogAlterMode: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
61
|
-
setEditingDialogLayout: import("@omnia/fx/stores").StoreMutation<(dialogLayoutType:
|
66
|
+
setEditingDialogLayout: import("@omnia/fx/stores").StoreMutation<(dialogLayoutType: string) => void, (dialogLayoutType: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
62
67
|
};
|
63
68
|
actions: {
|
64
69
|
ensureLoadAllBlocksForAdminView: import("@omnia/fx/stores").StoreAction<unknown, (forceReload?: boolean) => void, (result: void, forceReload?: boolean) => void, (failureReason: any, forceReload?: boolean) => void, (forceReload?: boolean) => Promise<void>>;
|
65
|
-
ensureLoadAllBlocksForRender: import("@omnia/fx/stores").StoreAction<unknown, (layoutType:
|
70
|
+
ensureLoadAllBlocksForRender: import("@omnia/fx/stores").StoreAction<unknown, (layoutType: string) => void, (result: void, layoutType: string) => void, (failureReason: any, layoutType: string) => void, (layoutType: string) => Promise<void>>;
|
66
71
|
getOmniaBlocks: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
67
|
-
getBlockDialogSettings: import("@omnia/fx/stores").StoreAction<unknown, (layoutType:
|
72
|
+
getBlockDialogSettings: import("@omnia/fx/stores").StoreAction<unknown, (layoutType: string) => void, (result: void, layoutType: string) => void, (failureReason: any, layoutType: string) => void, (layoutType: string) => Promise<void>>;
|
68
73
|
updateBlockDialogSettings: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
69
74
|
addOrUpdateBlockTemplate: import("@omnia/fx/stores").StoreAction<unknown, (blockTemplate: BlockTemplate, isEdit: boolean) => void, (result: void, blockTemplate: BlockTemplate, isEdit: boolean) => void, (failureReason: any, blockTemplate: BlockTemplate, isEdit: boolean) => void, (blockTemplate: BlockTemplate, isEdit: boolean) => Promise<void>>;
|
70
75
|
ensureGeneralSetting: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: BlockGalleryGeneralSetting) => void, (failureReason: any) => void, () => Promise<BlockGalleryGeneralSetting>>;
|
@@ -76,4 +81,5 @@ export declare class BlockGalleryStore extends Store {
|
|
76
81
|
private getBlockTemplateIdFromGalleryItem;
|
77
82
|
private updateBlockDictionary;
|
78
83
|
private updateBlockDictionaryItem;
|
84
|
+
private getDialogLayoutProviders;
|
79
85
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { LayoutItem, LayoutItemRegistration
|
1
|
+
import { LayoutItem, LayoutItemRegistration } from "@omnia/fx-models";
|
2
2
|
declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default, {}, import("vue-tsx-support").PropsForOutside<{
|
3
3
|
visible: boolean;
|
4
4
|
closeEvent: () => void;
|
@@ -7,6 +7,6 @@ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").
|
|
7
7
|
filterValidBlock: (item: LayoutItemRegistration) => boolean;
|
8
8
|
siblingId: string;
|
9
9
|
postInsert: boolean;
|
10
|
-
blockDialogLayoutType:
|
10
|
+
blockDialogLayoutType: string;
|
11
11
|
}, "visible" | "closeEvent" | "selectBlockEvent">, any, any, any>;
|
12
12
|
export default _default;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "7.9.
|
4
|
+
"version": "7.9.29-preview",
|
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": "7.9.
|
23
|
+
"@omnia/fx-models": "7.9.29-preview",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.10.7",
|
@@ -48,7 +48,7 @@
|
|
48
48
|
"prosemirror-schema-list": "1.0.4",
|
49
49
|
"vue-property-decorator": "8.3.0",
|
50
50
|
"vue-class-component": "7.1.0",
|
51
|
-
"axios": "0.
|
51
|
+
"axios": "0.30.0",
|
52
52
|
"mousetrap": "1.6.1"
|
53
53
|
},
|
54
54
|
"devDependencies": {},
|