@omnia/fx 8.0.499-dev → 8.0.500-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/BlockInstance.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/editings/BlockEditingRenderer.d.ts +6 -4
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutrenderinghooks/LayoutBlock.css.d.ts +1 -0
- package/package.json +2 -2
@@ -23,8 +23,8 @@ export declare class BlockInstance<TSettings = void> implements IBlockInstance<T
|
|
23
23
|
mediaContext: Readonly<ILayoutMediaContext>;
|
24
24
|
fileContext: Readonly<ILayoutFileContext>;
|
25
25
|
get editing(): boolean;
|
26
|
-
|
27
|
-
|
26
|
+
setEditing(): void;
|
27
|
+
exitEditing(): void;
|
28
28
|
configurations(): {
|
29
29
|
enableEdit: (renderer: (element: typeof omfx.layout.editor.block.edit) => VNodeChild, mode?: "design-write" | "design" | "write") => void;
|
30
30
|
};
|
@@ -1335,6 +1335,9 @@ export interface OmniaUxLocalization {
|
|
1335
1335
|
BackendRuntimesDependencyNotValid: string;
|
1336
1336
|
BlockRegistrationNotFound: string;
|
1337
1337
|
};
|
1338
|
+
BlockEdit: {
|
1339
|
+
ExitEditMode: string;
|
1340
|
+
};
|
1338
1341
|
PlaceHolders: {
|
1339
1342
|
SelectPlaceHolder: string;
|
1340
1343
|
App: string;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/editings/BlockEditingRenderer.d.ts
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
import { IIcon } from "@omnia/fx-models";
|
2
|
-
import { DefineProp, DefineSlot } from "@omnia/fx/ux";
|
2
|
+
import { DefineProp, DefineSlot, VNodeEvents } from "@omnia/fx/ux";
|
3
3
|
import { VNodeChild } from "vue";
|
4
|
-
type
|
4
|
+
type BladeProps = Parameters<typeof omfx.journey.blade>[0];
|
5
|
+
type BladeElement = (props: Omit<BladeProps, "id"> & VNodeEvents) => any;
|
6
|
+
type Props = DefineProp<"title", string, true, null> & DefineProp<"icon", IIcon, false, null> & DefineProp<"variant", "inline" | "panel", false, "panel"> & DefineSlot<"panel", (baldeRenderer: BladeElement) => VNodeChild>;
|
5
7
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Props> & {} & {
|
6
8
|
"v-slots"?: {
|
7
|
-
panel?: (baldeRenderer:
|
9
|
+
panel?: (baldeRenderer: BladeElement) => VNodeChild;
|
8
10
|
} & Omit<{
|
9
11
|
default?: import("vue").Slot;
|
10
12
|
}, "panel">;
|
11
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "variant" | "slot:panel"> &
|
13
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "variant" | "slot:panel"> & VNodeEvents) => any;
|
12
14
|
export default _default;
|
@@ -84,3 +84,4 @@ export declare const LayoutBlockStyles: {
|
|
84
84
|
positionItemSelectorOnBorderBottom: Readonly<import("@omnia/fx/ux").StylexValue>;
|
85
85
|
padLockIcon: import("@omnia/fx/ux").StylexValue;
|
86
86
|
};
|
87
|
+
export declare const toolbarLeftStylex: Readonly<import("@omnia/fx/ux").StylexValue>;
|
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.500-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.500-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|