@omnia/fx 8.0.483-dev → 8.0.484-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/manifests/omnia.fx.ux.editor.manifest.json +1 -1
- package/internal-do-not-import-from-here/ux/conditioncontrol/ConditionControl.d.ts +13 -8
- package/internal-do-not-import-from-here/ux/conditioncontrol/loc/Localize.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/editor/use/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/editorchrome/EditorChrome_testSetup.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/editorchrome/buttons/ToolbarButton.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorChromeStoreV2.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerButton.d.ts +1 -1
- 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/IdentityPickerInlineField.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts +19 -6
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/block/Css_old.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/block/Targeting_old.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/layoutclipboard/LayoutClipboard_old.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/targetselector/TargetSelector.css.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasEditorStore.d.ts +20 -8
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStore.d.ts +19 -7
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStoreV2.d.ts +25 -7
- package/internal-do-not-import-from-here/ux/oxide/logoomnia/LogoOmnia.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/use/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/vuetify/VuetifyCore.d.ts +0 -3
- package/internal-do-not-import-from-here/wctypings.d.ts +10 -0
- package/package.json +3 -3
- package/internal-do-not-import-from-here/ux/editorchrome/toolbars/LeftPanelToolbar.d.ts +0 -7
- /package/internal-do-not-import-from-here/ux/{editor/use → use}/UseBlockMigration.d.ts +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['e0d8cdbf-5683-4f1b-883b-da203e8193a4']","content":{"./node_modules/@omnia/fx/ux/editor/index.js":{"id":"9a97c476-5a09-4522-b16d-db752dc06c7e","buildMeta":{"exportsType":"namespace"},"expo.js":["
|
1
|
+
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['e0d8cdbf-5683-4f1b-883b-da203e8193a4']","content":{"./node_modules/@omnia/fx/ux/editor/index.js":{"id":"9a97c476-5a09-4522-b16d-db752dc06c7e","buildMeta":{"exportsType":"namespace"},"expo.js":["defineJourneyMenuSettings","useBlockJourneyMenuSettings","useDefineLayoutEditorCanvas","useJourneyMenuSettingsStore"]}}}
|
@@ -1,11 +1,16 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
import { DefineSlot, DefineVModel } from "@omnia/fx/ux";
|
2
|
+
import { VNodeChild } from "vue";
|
3
|
+
import { ConditionDefinition } from "../../models/ConditionDefinition";
|
4
|
+
type ConditionControlProps = DefineVModel<"", Array<ConditionDefinition>, true> & DefineSlot<"selectionRenderer", (item: ConditionDefinition) => VNodeChild> & DefineSlot<"displayRenderer", (item: ConditionDefinition) => VNodeChild> & DefineSlot<"editRenderer", (item: ConditionDefinition) => VNodeChild>;
|
5
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ConditionControlProps> & {
|
6
|
+
"onUpdate:modelValue"?: (value: ConditionDefinition[]) => any;
|
6
7
|
} & {
|
7
|
-
"v-slots"?: {
|
8
|
+
"v-slots"?: {
|
9
|
+
selectionRenderer?: (item: ConditionDefinition) => VNodeChild;
|
10
|
+
displayRenderer?: (item: ConditionDefinition) => VNodeChild;
|
11
|
+
editRenderer?: (item: ConditionDefinition) => VNodeChild;
|
12
|
+
} & Omit<{
|
8
13
|
default?: import("vue").Slot;
|
9
|
-
},
|
10
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "modelValue" | "emit:update:modelValue" | "
|
14
|
+
}, "selectionRenderer" | "displayRenderer" | "editRenderer">;
|
15
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "modelValue" | "emit:update:modelValue" | "slot:selectionRenderer" | "slot:displayRenderer" | "slot:editRenderer"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
11
16
|
export default _default;
|
@@ -2,11 +2,15 @@ export declare namespace ConditionControlLocalization {
|
|
2
2
|
const namespace = "Omnia.Ux.ConditionControl";
|
3
3
|
interface locInterface {
|
4
4
|
Button: {
|
5
|
+
Add: string;
|
5
6
|
AddProperty: string;
|
6
7
|
FilterValues: {
|
7
8
|
Add: string;
|
8
9
|
Edit: string;
|
9
10
|
};
|
10
11
|
};
|
12
|
+
SelectionBlade: {
|
13
|
+
Title: "Select property";
|
14
|
+
};
|
11
15
|
}
|
12
16
|
}
|
@@ -11,6 +11,7 @@ export declare function useDefineEditorChromeTestSetup(editorStore: ReturnType<t
|
|
11
11
|
toggleGrid: ChromeActionItem;
|
12
12
|
};
|
13
13
|
footer: {
|
14
|
+
settingsTab: ChromeActionItem;
|
14
15
|
active: ChromeActionItem;
|
15
16
|
noToggle: ChromeActionItem;
|
16
17
|
hideOnClick: ChromeActionItem;
|
@@ -21,7 +22,6 @@ export declare function useDefineEditorChromeTestSetup(editorStore: ReturnType<t
|
|
21
22
|
extendedButton3: ChromeActionItem;
|
22
23
|
};
|
23
24
|
drawer: {
|
24
|
-
settingsTab: ChromeActionItem;
|
25
25
|
drawerToolbarSettings: ChromeActionItem;
|
26
26
|
drawerToolbarPreview: ChromeActionItem;
|
27
27
|
drawerToolbarNoToggle: ChromeActionItem;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { DefineProp, DefinePropTheming } from "@omnia/fx/ux";
|
2
2
|
import { ChromeActionItem } from "@omnia/fx-models";
|
3
|
-
type ToolbarButtonProps = DefinePropTheming & DefineProp<"action", ChromeActionItem> & DefineProp<"position", "topBar" | "bottomBar" | "rightBar"> & DefineProp<"border", "left" | "right" | "left right" | "bottom">;
|
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<{
|
6
6
|
default?: import("vue").Slot;
|
7
7
|
}, never>;
|
8
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "border" | "position" | "colorSchemaType" | "colors" | "action"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
8
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "border" | "position" | "colorSchemaType" | "colors" | "action" | "alignHeader"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
9
9
|
export default _default;
|
@@ -323,9 +323,9 @@ declare const _default: {
|
|
323
323
|
hideTab?: Boolean;
|
324
324
|
hideGroupTypeSelection?: Boolean;
|
325
325
|
hideUserTypeSelection?: Boolean;
|
326
|
-
showSelectedIdentities?: Boolean;
|
327
326
|
displayIdentityType?: Boolean;
|
328
327
|
enableSpecialUser?: ISpecialUserConfiguration;
|
328
|
+
showSelectedIdentities?: Boolean;
|
329
329
|
isClosed?: Boolean;
|
330
330
|
}>, "onRemove" | "onDoc$" | "onAdd" | "onCloseDialog"> & {
|
331
331
|
onRemove?: (identity: Identity) => any;
|
@@ -310,12 +310,12 @@ declare const _default: {
|
|
310
310
|
hideDynamicGroupSelection?: boolean;
|
311
311
|
singleLine?: boolean;
|
312
312
|
attachToParent?: boolean;
|
313
|
+
keepSelectionMenu?: boolean;
|
313
314
|
disabledIdentities?: Identity[];
|
314
315
|
blockedIdentities?: Identity[];
|
315
316
|
hideTab?: boolean;
|
316
317
|
hideGroupTypeSelection?: boolean;
|
317
318
|
hideUserTypeSelection?: boolean;
|
318
|
-
keepSelectionMenu?: boolean;
|
319
319
|
onMenuToggle?: (value: boolean) => void;
|
320
320
|
}>, "onSelect" | "onDoc$"> & {
|
321
321
|
onSelect?: (value: Identity) => any;
|
@@ -54,5 +54,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
54
54
|
"v-slots"?: {} & Omit<{
|
55
55
|
default?: import("vue").Slot;
|
56
56
|
}, never>;
|
57
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "type" | "top" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "identityStore" | "disabled" | "location" | "modelValue" | "emit:update:modelValue" | "v-model" | "hideDynamicGroupSelection" | "attachToParent" | "disabledIdentities" | "blockedIdentities" | "hideTab" | "hideGroupTypeSelection" | "hideUserTypeSelection" | "displayIdentityType" | "enableSpecialUser" | "
|
57
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "type" | "top" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "identityStore" | "disabled" | "location" | "modelValue" | "emit:update:modelValue" | "v-model" | "hideDynamicGroupSelection" | "attachToParent" | "keepSelectionMenu" | "disabledIdentities" | "blockedIdentities" | "hideTab" | "hideGroupTypeSelection" | "hideUserTypeSelection" | "displayIdentityType" | "enableSpecialUser" | "emit:identityChanged"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
58
58
|
export default _default;
|
@@ -74,5 +74,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
74
74
|
"v-slots"?: {} & Omit<{
|
75
75
|
default?: import("vue").Slot;
|
76
76
|
}, never>;
|
77
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "type" | "top" | "label" | "variant" | "required" | "description" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "identityStore" | "dense" | "multiple" | "disabled" | "modelValue" | "emit:update:modelValue" | "v-model" | "ariaInvalid" | "ariaDescribedby" | "hideDynamicGroupSelection" | "singleLine" | "attachToParent" | "
|
77
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "type" | "top" | "label" | "variant" | "required" | "description" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "identityStore" | "dense" | "multiple" | "disabled" | "modelValue" | "emit:update:modelValue" | "v-model" | "ariaInvalid" | "ariaDescribedby" | "hideDynamicGroupSelection" | "singleLine" | "attachToParent" | "keepSelectionMenu" | "showCurrentUserOption" | "autoOpenSelection" | "disabledIdentities" | "blockedIdentities" | "emit:menuToggle" | "hideTab" | "hideGroupTypeSelection" | "hideUserTypeSelection" | "displayIdentityType" | "enableSpecialUser"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
78
78
|
export default _default;
|
@@ -391,15 +391,15 @@ declare const _default: {
|
|
391
391
|
ariaDescribedby?: string;
|
392
392
|
hideDynamicGroupSelection?: boolean;
|
393
393
|
singleLine?: boolean;
|
394
|
+
keepSelectionMenu?: boolean;
|
395
|
+
showCurrentUserOption?: boolean;
|
396
|
+
autoOpenSelection?: boolean;
|
394
397
|
disabledIdentities?: Identity[];
|
395
398
|
blockedIdentities?: Identity[];
|
396
399
|
hideTab?: boolean;
|
397
400
|
hideGroupTypeSelection?: boolean;
|
398
401
|
hideUserTypeSelection?: boolean;
|
399
402
|
showSelectedIdentities?: boolean;
|
400
|
-
keepSelectionMenu?: boolean;
|
401
|
-
showCurrentUserOption?: boolean;
|
402
|
-
autoOpenSelection?: boolean;
|
403
403
|
onMenuToggle?: (value: boolean) => void;
|
404
404
|
}>, "onUpdate:modelValue" | "onDoc$"> & {
|
405
405
|
"onUpdate:modelValue"?: (value: Identity[]) => any;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts
CHANGED
@@ -3,6 +3,7 @@ import { useEditorChromeStore } from "../../editorchrome";
|
|
3
3
|
import { useLayoutCanvasStore } from "../..";
|
4
4
|
export interface LayoutEditorCanvasSettings {
|
5
5
|
blockProvider?: string;
|
6
|
+
deisgnModes?: "design" | "write" | "design preview" | "write preview" | "design write" | "design write preview";
|
6
7
|
chromeStore: ReturnType<typeof useEditorChromeStore>;
|
7
8
|
mediaContext?: ILayoutMediaContext;
|
8
9
|
fileContext?: ILayoutFileContext;
|
@@ -94,8 +95,11 @@ export declare function useDefineLayoutEditorCanvas(settings: LayoutEditorCanvas
|
|
94
95
|
actions: import("../../mobile").StoreReturnDefineAction<{
|
95
96
|
scrollToLayoutItem: (item: import("@omnia/fx-models").LayoutItem) => void;
|
96
97
|
selection: () => import("../../mobile").StoreReturnDefineAction<{
|
97
|
-
|
98
|
-
|
98
|
+
execActiveAction: (container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
99
|
+
toggleActiveAction: (item: import("@omnia/fx-models").LayoutItem | import("@omnia/fx-models").ClipboardLayoutItem, action: import("@omnia/fx-models").LayoutItemActionState) => void;
|
100
|
+
removeActiveAction: () => void;
|
101
|
+
removeLayoutItemSelection: () => void;
|
102
|
+
setLayoutItem: (item: import("@omnia/fx-models").LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
99
103
|
}>;
|
100
104
|
enableDisplayBreakpointSettings: (enable: boolean) => void;
|
101
105
|
block: () => {
|
@@ -105,13 +109,16 @@ export declare function useDefineLayoutEditorCanvas(settings: LayoutEditorCanvas
|
|
105
109
|
ensureRemoveDeletedBlocks: (layout: import("@omnia/fx-models").Layout) => void;
|
106
110
|
};
|
107
111
|
show: () => import("../../mobile").StoreReturnDefineAction<{
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
clipboardPanel: (toggle: boolean) => void;
|
112
|
+
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
113
|
+
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
114
|
+
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
112
115
|
}>;
|
113
116
|
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
117
|
+
copyItem: (item2Copy: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("../..").CopiedLayoutItemResult;
|
118
|
+
moveItem: (item2Move: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
114
119
|
addItem: (itemreference: import("@omnia/fx-models").AddItemToLayoutPayLoad) => void;
|
120
|
+
insertClipboardItem: (clipboard: import("@omnia/fx-models").ClipboardLayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("../..").CopiedLayoutItemResult;
|
121
|
+
deleteItem: (itemreference: import("@omnia/fx-models").DeleteItemFromLayoutPayLoad) => void;
|
115
122
|
changeSectionType: (section: import("@omnia/fx-models").Section, type: import("@omnia/fx-models").SectionTypes) => void;
|
116
123
|
}>;
|
117
124
|
configureDrawer: (header: {
|
@@ -120,6 +127,12 @@ export declare function useDefineLayoutEditorCanvas(settings: LayoutEditorCanvas
|
|
120
127
|
enabled?: boolean;
|
121
128
|
}, customScroll?: boolean) => void;
|
122
129
|
setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
|
130
|
+
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
131
|
+
onBlockRemoved(block: import("@omnia/fx-models").Block): void;
|
132
|
+
onLayoutItemMoved(layoutItem: import("@omnia/fx-models").LayoutItem): void;
|
133
|
+
onBlockCopiedHook(originalBlock: import("@omnia/fx-models").Block, newBlock: import("@omnia/fx-models").Block): void;
|
134
|
+
onLayoutItemPasted(layoutItem: import("@omnia/fx-models").ClipboardLayoutItem): void;
|
135
|
+
}>;
|
123
136
|
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof useEditorChromeStore>) => void;
|
124
137
|
}>;
|
125
138
|
get: {
|
@@ -0,0 +1,16 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
3
|
+
P: {};
|
4
|
+
B: {};
|
5
|
+
D: {};
|
6
|
+
C: {};
|
7
|
+
M: {};
|
8
|
+
Defaults: {};
|
9
|
+
}, Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
|
10
|
+
__isFragment?: never;
|
11
|
+
__isTeleport?: never;
|
12
|
+
__isSuspense?: never;
|
13
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
14
|
+
propsDefinition: Omit<Readonly<{} & {}>, never>;
|
15
|
+
};
|
16
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/block/Targeting_old.d.ts
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
3
|
+
P: {};
|
4
|
+
B: {};
|
5
|
+
D: {};
|
6
|
+
C: {};
|
7
|
+
M: {};
|
8
|
+
Defaults: {};
|
9
|
+
}, Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
|
10
|
+
__isFragment?: never;
|
11
|
+
__isTeleport?: never;
|
12
|
+
__isSuspense?: never;
|
13
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
14
|
+
propsDefinition: Omit<Readonly<{} & {}>, never>;
|
15
|
+
};
|
16
|
+
export default _default;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Record<string, any>> & {} & {
|
2
|
+
"v-slots"?: {} & Omit<{
|
3
|
+
default?: import("vue").Slot;
|
4
|
+
}, never>;
|
5
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string> & import("@omnia/fx/ux").VNodeEvents) => any;
|
6
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasEditorStore.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { AddItemToLayoutPayLoad, BlockRenderingModes, ClipboardLayoutItem, DisplayBreakPoint, guid, IIcon, Layout, LayoutCanvasMode, LayoutItem, LayoutItemActionState, Section, SectionTypes } from "@omnia/fx-models";
|
2
|
-
import { LayoutDefinitionBuilder, useLayoutCanvasStore } from "..";
|
1
|
+
import { AddItemToLayoutPayLoad, Block, BlockRenderingModes, ClipboardLayoutItem, DeleteItemFromLayoutPayLoad, DisplayBreakPoint, guid, IIcon, Layout, LayoutCanvasMode, LayoutItem, LayoutItemActionState, Section, SectionTypes } from "@omnia/fx-models";
|
2
|
+
import { CopiedLayoutItemResult, LayoutDefinitionBuilder, useLayoutCanvasStore } from "..";
|
3
3
|
import { useEditorChromeStore } from "../..";
|
4
4
|
export declare const useLayoutCanvasEditorStore: () => {
|
5
5
|
state: {
|
@@ -23,8 +23,11 @@ export declare const useLayoutCanvasEditorStore: () => {
|
|
23
23
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
24
24
|
scrollToLayoutItem: (item: LayoutItem) => void;
|
25
25
|
selection: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
26
|
-
|
27
|
-
|
26
|
+
execActiveAction: (container: LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
27
|
+
toggleActiveAction: (item: LayoutItem | ClipboardLayoutItem, action: LayoutItemActionState) => void;
|
28
|
+
removeActiveAction: () => void;
|
29
|
+
removeLayoutItemSelection: () => void;
|
30
|
+
setLayoutItem: (item: LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
28
31
|
}>;
|
29
32
|
enableDisplayBreakpointSettings: (enable: boolean) => void;
|
30
33
|
block: () => {
|
@@ -34,13 +37,16 @@ export declare const useLayoutCanvasEditorStore: () => {
|
|
34
37
|
ensureRemoveDeletedBlocks: (layout: Layout) => void;
|
35
38
|
};
|
36
39
|
show: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
clipboardPanel: (toggle: boolean) => void;
|
40
|
+
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
41
|
+
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
42
|
+
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
41
43
|
}>;
|
42
44
|
layout: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
45
|
+
copyItem: (item2Copy: LayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => CopiedLayoutItemResult;
|
46
|
+
moveItem: (item2Move: LayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
43
47
|
addItem: (itemreference: AddItemToLayoutPayLoad) => void;
|
48
|
+
insertClipboardItem: (clipboard: ClipboardLayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => CopiedLayoutItemResult;
|
49
|
+
deleteItem: (itemreference: DeleteItemFromLayoutPayLoad) => void;
|
44
50
|
changeSectionType: (section: Section, type: SectionTypes) => void;
|
45
51
|
}>;
|
46
52
|
configureDrawer: (header: {
|
@@ -49,6 +55,12 @@ export declare const useLayoutCanvasEditorStore: () => {
|
|
49
55
|
enabled?: boolean;
|
50
56
|
}, customScroll?: boolean) => void;
|
51
57
|
setEditorMode: (mode: LayoutCanvasMode) => void;
|
58
|
+
hooks: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
59
|
+
onBlockRemoved(block: Block): void;
|
60
|
+
onLayoutItemMoved(layoutItem: LayoutItem): void;
|
61
|
+
onBlockCopiedHook(originalBlock: Block, newBlock: Block): void;
|
62
|
+
onLayoutItemPasted(layoutItem: ClipboardLayoutItem): void;
|
63
|
+
}>;
|
52
64
|
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof useEditorChromeStore>) => void;
|
53
65
|
}>;
|
54
66
|
get: {
|
@@ -5,7 +5,7 @@ import { AddItemToLayoutPayLoad, Block, BlockRenderingModes, ClipboardLayoutItem
|
|
5
5
|
import { Store, StoreState } from "../../../stores";
|
6
6
|
import { useScrollContainerStore } from "../../oxide";
|
7
7
|
import { BlockSettingsProvider, LayoutDefinitionBuilder, LayoutEditorThemingManager } from "../shared_old";
|
8
|
-
import { useLayoutCanvasStore } from "./LayoutCanvasStoreV2";
|
8
|
+
import { CopiedLayoutItemResult, useLayoutCanvasStore } from "./LayoutCanvasStoreV2";
|
9
9
|
import { ReactiveLayoutItemsSettingsStore } from "./ReactiveLayoutItemsSettingsStore";
|
10
10
|
export interface IBlockInstanceExtends<TSettings = void> extends IBlockInstance<TSettings> {
|
11
11
|
settings: TSettings;
|
@@ -104,8 +104,11 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
104
104
|
actions: import("../../../stores").StoreReturnDefineAction<{
|
105
105
|
scrollToLayoutItem: (item: LayoutItem) => void;
|
106
106
|
selection: () => import("../../../stores").StoreReturnDefineAction<{
|
107
|
-
|
108
|
-
|
107
|
+
execActiveAction: (container: LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
108
|
+
toggleActiveAction: (item: LayoutItem | ClipboardLayoutItem, action: LayoutItemActionState) => void;
|
109
|
+
removeActiveAction: () => void;
|
110
|
+
removeLayoutItemSelection: () => void;
|
111
|
+
setLayoutItem: (item: LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
109
112
|
}>;
|
110
113
|
enableDisplayBreakpointSettings: (enable: boolean) => void;
|
111
114
|
block: () => {
|
@@ -115,13 +118,16 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
115
118
|
ensureRemoveDeletedBlocks: (layout: Layout) => void;
|
116
119
|
};
|
117
120
|
show: () => import("../../../stores").StoreReturnDefineAction<{
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
clipboardPanel: (toggle: boolean) => void;
|
121
|
+
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
122
|
+
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
123
|
+
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
122
124
|
}>;
|
123
125
|
layout: () => import("../../../stores").StoreReturnDefineAction<{
|
126
|
+
copyItem: (item2Copy: LayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => CopiedLayoutItemResult;
|
127
|
+
moveItem: (item2Move: LayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
124
128
|
addItem: (itemreference: AddItemToLayoutPayLoad) => void;
|
129
|
+
insertClipboardItem: (clipboard: ClipboardLayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => CopiedLayoutItemResult;
|
130
|
+
deleteItem: (itemreference: DeleteItemFromLayoutPayLoad) => void;
|
125
131
|
changeSectionType: (section: Section, type: SectionTypes) => void;
|
126
132
|
}>;
|
127
133
|
configureDrawer: (header: {
|
@@ -130,6 +136,12 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
130
136
|
enabled?: boolean;
|
131
137
|
}, customScroll?: boolean) => void;
|
132
138
|
setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
|
139
|
+
hooks: () => import("../../../stores").StoreReturnDefineAction<{
|
140
|
+
onBlockRemoved(block: Block): void;
|
141
|
+
onLayoutItemMoved(layoutItem: LayoutItem): void;
|
142
|
+
onBlockCopiedHook(originalBlock: Block, newBlock: Block): void;
|
143
|
+
onLayoutItemPasted(layoutItem: ClipboardLayoutItem): void;
|
144
|
+
}>;
|
133
145
|
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof import("../..").useEditorChromeStore>) => void;
|
134
146
|
}>;
|
135
147
|
get: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ServiceContainerContext } from "@omnia/fx";
|
2
|
-
import { BlockRenderingModes, guid, IBlockInstance, ILayoutFileContext, ILayoutMediaContext, ILayoutSectionRenderer, Layout, LayoutDefinition, LayoutItem, LoadedLayout, Section, SectionTypes } from "@omnia/fx-models";
|
2
|
+
import { Block, BlockRenderingModes, guid, IBlockInstance, ILayoutFileContext, ILayoutMediaContext, ILayoutSectionRenderer, Layout, LayoutDefinition, LayoutItem, LoadedLayout, Section, SectionTypes } from "@omnia/fx-models";
|
3
3
|
import { ReactiveLayoutItemsSettingsStore } from "./ReactiveLayoutItemsSettingsStore";
|
4
4
|
import { useEditorChromeStore } from "../../editorchrome";
|
5
5
|
import { BlockSettingsProvider } from "..";
|
@@ -10,6 +10,12 @@ export interface IBlockInstanceExtendsInternal<TSettings = void> extends IBlockI
|
|
10
10
|
type LayoutCanvasBlockInstance<TSettings = void> = {
|
11
11
|
instance: IBlockInstanceExtendsInternal<TSettings>;
|
12
12
|
};
|
13
|
+
export interface CopiedLayoutItemResult {
|
14
|
+
copiedLayoutItem: LayoutItem;
|
15
|
+
copiedItemIds: {
|
16
|
+
[oldBlockId: guid]: guid;
|
17
|
+
};
|
18
|
+
}
|
13
19
|
export declare const useLayoutCanvasStore: () => {
|
14
20
|
state: {
|
15
21
|
compatibilityMode: boolean;
|
@@ -93,8 +99,11 @@ export declare const useLayoutCanvasStore: () => {
|
|
93
99
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
94
100
|
scrollToLayoutItem: (item: LayoutItem) => void;
|
95
101
|
selection: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
96
|
-
|
97
|
-
|
102
|
+
execActiveAction: (container: LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
103
|
+
toggleActiveAction: (item: LayoutItem | import("@omnia/fx-models").ClipboardLayoutItem, action: import("@omnia/fx-models").LayoutItemActionState) => void;
|
104
|
+
removeActiveAction: () => void;
|
105
|
+
removeLayoutItemSelection: () => void;
|
106
|
+
setLayoutItem: (item: LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
98
107
|
}>;
|
99
108
|
enableDisplayBreakpointSettings: (enable: boolean) => void;
|
100
109
|
block: () => {
|
@@ -104,13 +113,16 @@ export declare const useLayoutCanvasStore: () => {
|
|
104
113
|
ensureRemoveDeletedBlocks: (layout: Layout) => void;
|
105
114
|
};
|
106
115
|
show: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
clipboardPanel: (toggle: boolean) => void;
|
116
|
+
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
117
|
+
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
118
|
+
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
111
119
|
}>;
|
112
120
|
layout: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
121
|
+
copyItem: (item2Copy: LayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => CopiedLayoutItemResult;
|
122
|
+
moveItem: (item2Move: LayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
113
123
|
addItem: (itemreference: import("@omnia/fx-models").AddItemToLayoutPayLoad) => void;
|
124
|
+
insertClipboardItem: (clipboard: import("@omnia/fx-models").ClipboardLayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => CopiedLayoutItemResult;
|
125
|
+
deleteItem: (itemreference: import("@omnia/fx-models").DeleteItemFromLayoutPayLoad) => void;
|
114
126
|
changeSectionType: (section: Section, type: SectionTypes) => void;
|
115
127
|
}>;
|
116
128
|
configureDrawer: (header: {
|
@@ -119,6 +131,12 @@ export declare const useLayoutCanvasStore: () => {
|
|
119
131
|
enabled?: boolean;
|
120
132
|
}, customScroll?: boolean) => void;
|
121
133
|
setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
|
134
|
+
hooks: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
135
|
+
onBlockRemoved(block: Block): void;
|
136
|
+
onLayoutItemMoved(layoutItem: LayoutItem): void;
|
137
|
+
onBlockCopiedHook(originalBlock: Block, newBlock: Block): void;
|
138
|
+
onLayoutItemPasted(layoutItem: import("@omnia/fx-models").ClipboardLayoutItem): void;
|
139
|
+
}>;
|
122
140
|
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof useEditorChromeStore>) => void;
|
123
141
|
}>;
|
124
142
|
get: {
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { OIconSizes } from "@omnia/fx-models";
|
2
|
+
import { DefineProp, DefinePropTheming } from "@omnia/fx/ux";
|
3
|
+
type ScrollContainerProps = DefinePropTheming & DefineProp<"size", OIconSizes, false, null, "Sets the height and width of the icon. Should be used as default."> & DefineProp<"customSize", number, false, null, "Sets a custom height and width of the icon. Should be used only as an exception.">;
|
4
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ScrollContainerProps> & {} & {
|
5
|
+
"v-slots"?: {} & Omit<{
|
6
|
+
default?: import("vue").Slot;
|
7
|
+
}, never>;
|
8
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "size" | "colors" | "customSize"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
9
|
+
export default _default;
|
@@ -38,7 +38,6 @@ export declare const vuetifyPlugin: {
|
|
38
38
|
};
|
39
39
|
instance: {
|
40
40
|
locale?: any;
|
41
|
-
createDateRange: (start: unknown, stop?: unknown) => unknown[];
|
42
41
|
date: (value?: any) => unknown;
|
43
42
|
format: (date: unknown, formatString: string) => string;
|
44
43
|
toJsDate: (value: unknown) => Date;
|
@@ -82,8 +81,6 @@ export declare const vuetifyPlugin: {
|
|
82
81
|
setHours: (date: unknown, hours: number) => unknown;
|
83
82
|
getMinutes: (date: unknown) => number;
|
84
83
|
setMinutes: (date: unknown, minutes: number) => unknown;
|
85
|
-
} & {
|
86
|
-
createDateRange(start: unknown, stop?: unknown): unknown[];
|
87
84
|
};
|
88
85
|
};
|
89
86
|
goTo: import("vuetify").GoToInstance;
|
@@ -310,6 +310,7 @@ import wc2df6ab65eea84ed8bab297dff9c56224 from './ux/oxide/lazy/Lazy';
|
|
310
310
|
import wc75cd93099dd146469e0ce6b5b1cac14d from './ux/oxide/link/Link';
|
311
311
|
import wc154a229c9bd84d31aed848da93f29ea2 from './ux/oxide/list/List';
|
312
312
|
import wc4a4631845ea24fbb8cabdbb9b06772da from './ux/oxide/list/ListItem';
|
313
|
+
import wcd0b8420c01d54ab28be011c92c8f0d24 from './ux/oxide/logoomnia/LogoOmnia';
|
313
314
|
import wc1ed9f2ec3580492cb211d719c9b15ad1 from './ux/oxide/main/Main';
|
314
315
|
import wc01c206c8b30e41408b6457cdea679b78 from './ux/oxide/menu/Menu';
|
315
316
|
import wc3e9e78e3757946ffb9d1b19e67727eb1 from './ux/oxide/motion/Motion';
|
@@ -5368,6 +5369,15 @@ declare global {
|
|
5368
5369
|
};
|
5369
5370
|
} : typeof wc4a4631845ea24fbb8cabdbb9b06772da;
|
5370
5371
|
};
|
5372
|
+
"omnia": {
|
5373
|
+
"logo": typeof wcd0b8420c01d54ab28be011c92c8f0d24 extends {
|
5374
|
+
propsDefinition: infer TProp;
|
5375
|
+
} ? {
|
5376
|
+
new (...args: any[]): {
|
5377
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
5378
|
+
};
|
5379
|
+
} : typeof wcd0b8420c01d54ab28be011c92c8f0d24;
|
5380
|
+
};
|
5371
5381
|
"main": typeof wc1ed9f2ec3580492cb211d719c9b15ad1 extends {
|
5372
5382
|
propsDefinition: infer TProp;
|
5373
5383
|
} ? {
|
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.484-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,13 +20,13 @@
|
|
20
20
|
],
|
21
21
|
"author": "Omnia Digital Workplace AB",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.484-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
27
27
|
"splitpanes": "3.2.0",
|
28
28
|
"vue": "3.5.16",
|
29
|
-
"vuetify": "3.8.
|
29
|
+
"vuetify": "3.8.10",
|
30
30
|
"tslib": "2.6.2",
|
31
31
|
"typescript": "5.8.2",
|
32
32
|
"@tiptap/vue-3": "2.1.13",
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { DefinePropTheming } from "@omnia/fx/ux";
|
2
|
-
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DefinePropTheming> & {} & {
|
3
|
-
"v-slots"?: {} & Omit<{
|
4
|
-
default?: import("vue").Slot;
|
5
|
-
}, never>;
|
6
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "colors"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
7
|
-
export default _default;
|
File without changes
|