@omnia/fx 8.0.482-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/aurora/components/buttonstyle/ButtonBlueprintsViewer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/ButtonStylePicker.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/store/ButtonStylePickerStore.d.ts +6 -2
- package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaPicker.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/store/ColorSchemaPickerStore.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/aurora/components/containerFillpicker/ContainerFillPicker.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/aurora/components/containerFillpicker/ContainerFillStyleEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/containerFillpicker/store/ContainerFillPickerStore.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderPicker.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderRenderer.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/store/HeaderPickerStore.d.ts +6 -2
- package/internal-do-not-import-from-here/ux/aurora/components/input/InputStylePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/tabs/TabStylePicker.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/aurora/components/tabs/store/TabStylePickerStore.d.ts +5 -1
- package/internal-do-not-import-from-here/ux/conditioncontrol/ConditionControl.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/conditioncontrol/loc/Localize.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/dynamicplaceholder/models/DynamicPlaceholderSettings.d.ts +0 -1
- 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 +19 -7
- package/internal-do-not-import-from-here/ux/enterpriseproperties/settingpicker/EnterprisePropertySettingPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/DefineBlade.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/SettingsJourneyMenu.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts +36 -4
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas_old.d.ts +49 -4
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutitemactiontoolbar/LayoutItemActionToolbarStyles.css.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutrenderinghooks/LayoutBlock.css.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutrenderinghooks/LayoutSection.css.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/ColorSettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/TabsSettingsStylePanel.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/_old/TemplatePreview_old.d.ts +65 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/block/Targeting.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/{_old/settings → settings}/blocktitle/BlockTitle.css.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/breakpoints/BreakPointBlockSettingsComponent.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/breakpoints/BreakPointSectionSettingsComponent.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/breakpoints/BreakPointSettingsComponent.css.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/breakpoints/BreakPointSettingsComponent.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/layout/Style.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/layout/Style_old.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Columns.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Columns_old.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Css.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Css_old.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/General.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/General_old.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Header.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Header_old.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Spacing.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Spacing_old.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Style.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Style_old.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Targeting.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Targeting_old.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/section/items/AccordionListingSettingsPanel.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/section/items/ColumnListingSettingsPanel.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/section/items/SectionItemListing.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/section/items/StepListingSettingsPanel.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/section/items/TabListingSettingsPanel.d.ts +1 -1
- 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 +36 -6
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStore.d.ts +37 -5
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStoreV2.d.ts +42 -5
- package/internal-do-not-import-from-here/ux/multitextinput/MultiTextInput.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/logoomnia/LogoOmnia.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/store/ScrollContainerStore.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/selection/Selection.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +1 -1
- 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 +315 -319
- 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/layoutcanvas/editor/_old/settings/breakpoints/BreakPointBlockSettingsComponent.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/_old/settings/breakpoints/BreakPointSectionSettingsComponent.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/_old/settings/layout/Style.d.ts +0 -341
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/_old/settings/section/Css.d.ts +0 -341
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/_old/settings/section/Style.d.ts +0 -341
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/BlockSettingsPanel.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/LayoutStructure.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/SettingsPanel.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/TemplatePreview.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/layoutclipboard/LayoutClipboard.d.ts → settings/_old/BlockSettingsPanel_old.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/block/Css.d.ts → settings/_old/LayoutStructure_old.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/section/Columns.d.ts → settings/_old/SettingsPanel_old.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/backgroundsettings/BackgroundSettings.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/block/Header.d.ts → settings/block/Css.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/block/Spacing.d.ts → settings/block/Css_old.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/section → settings/block}/Header.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/block/Style.d.ts → settings/block/Header_old.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/block/Targeting.d.ts → settings/block/Spacing.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/section/Targeting.d.ts → settings/block/Style.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/blocktitle/BlockTitle.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/blocktitle/BlockTitleSettings.css.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/blocktitle/BlockTitleSettings.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/blocktitle_old/BlockTitle.css.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/blocktitle_old/BlockTitle.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/blocktitle_old/BlockTitleSettings.css.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/blocktitle_old/BlockTitleSettings.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/breakpoints/BreakPointSettingsstyles.css.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/canvas/Spacing.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/imagebackgroundsettings/ImageBackgroundSettings.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/journey/JourneyBlockSettings.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/journey/JourneyMenuItemSettings.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/layout/BlockHeader.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/layout/GlobalHeaderStyling.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/layout/LayoutTheming.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/layoutclipboard/LayoutClipboard.css.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/section/General.d.ts → settings/layoutclipboard/LayoutClipboard.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/section/Spacing.d.ts → settings/layoutclipboard/LayoutClipboard_old.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/lock/Lock.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/section/Theming.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/section/items/ColumnListingSettingsPanel.css.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/settingstabs/TabBlockSettings.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings → settings}/settingstabs/TabLayoutSettings.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{editor/use → use}/UseBlockMigration.d.ts +0 -0
@@ -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;
|
@@ -21,6 +21,7 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
21
21
|
readonly ColorSchemaSection = ColorSchemaTypes.primary;
|
22
22
|
newStore: {
|
23
23
|
state: {
|
24
|
+
compatibilityMode: boolean;
|
24
25
|
layout: {
|
25
26
|
definition: LayoutDefinition;
|
26
27
|
ownerLayoutItemsOverride: LayoutItem[];
|
@@ -86,9 +87,10 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
86
87
|
editorMode: import("@omnia/fx-models").LayoutCanvasMode;
|
87
88
|
id: guid;
|
88
89
|
settings: {
|
89
|
-
showGrid: boolean;
|
90
90
|
authDisabled: boolean;
|
91
|
+
breakpointSettingsEnabled: boolean;
|
91
92
|
};
|
93
|
+
drawerMode: "settings" | "layout-structure" | "clipboard";
|
92
94
|
selected: {
|
93
95
|
layoutItem: LayoutItem;
|
94
96
|
clipBoardItem: ClipboardLayoutItem;
|
@@ -100,24 +102,50 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
100
102
|
};
|
101
103
|
};
|
102
104
|
actions: import("../../../stores").StoreReturnDefineAction<{
|
105
|
+
scrollToLayoutItem: (item: LayoutItem) => void;
|
103
106
|
selection: () => import("../../../stores").StoreReturnDefineAction<{
|
104
|
-
|
105
|
-
|
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;
|
106
112
|
}>;
|
113
|
+
enableDisplayBreakpointSettings: (enable: boolean) => void;
|
107
114
|
block: () => {
|
108
115
|
set: {
|
109
116
|
suggestedBlocks: (blocks: string[]) => void;
|
110
117
|
};
|
111
118
|
ensureRemoveDeletedBlocks: (layout: Layout) => void;
|
112
119
|
};
|
120
|
+
show: () => import("../../../stores").StoreReturnDefineAction<{
|
121
|
+
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
122
|
+
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
123
|
+
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
124
|
+
}>;
|
113
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;
|
114
128
|
addItem: (itemreference: AddItemToLayoutPayLoad) => void;
|
129
|
+
insertClipboardItem: (clipboard: ClipboardLayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => CopiedLayoutItemResult;
|
130
|
+
deleteItem: (itemreference: DeleteItemFromLayoutPayLoad) => void;
|
131
|
+
changeSectionType: (section: Section, type: SectionTypes) => void;
|
115
132
|
}>;
|
116
|
-
|
133
|
+
configureDrawer: (header: {
|
134
|
+
icon?: import("@omnia/fx-models").IIcon;
|
135
|
+
title?: string;
|
136
|
+
enabled?: boolean;
|
137
|
+
}, customScroll?: boolean) => void;
|
117
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
|
+
}>;
|
118
145
|
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof import("../..").useEditorChromeStore>) => void;
|
119
146
|
}>;
|
120
147
|
get: {
|
148
|
+
settingsDefinitions: import("..").LayoutDefinitionBuilder;
|
121
149
|
layout: {
|
122
150
|
active: () => Layout;
|
123
151
|
};
|
@@ -127,6 +155,9 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
127
155
|
};
|
128
156
|
};
|
129
157
|
rules: {
|
158
|
+
isSettingsActive: () => boolean;
|
159
|
+
isLayoutStructureActive: () => boolean;
|
160
|
+
isClipboardActive: () => boolean;
|
130
161
|
activeItem: {
|
131
162
|
isSection(): boolean;
|
132
163
|
};
|
@@ -173,6 +204,7 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
173
204
|
}, Record<string, IMessageBusTopicPublishSubscriber<any>>>;
|
174
205
|
actions: import("../../../stores").StoreReturnDefineAction<{
|
175
206
|
scroll: () => void;
|
207
|
+
setDisableScrolling: (disable: boolean) => void;
|
176
208
|
calculateDynamicHeight: () => void;
|
177
209
|
setHeight: (height: string) => void;
|
178
210
|
setWidth: (width: string) => void;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ServiceContainerContext } from "@omnia/fx";
|
2
|
-
import { BlockRenderingModes, guid, IBlockInstance, ILayoutFileContext, ILayoutMediaContext, ILayoutSectionRenderer, Layout, LayoutDefinition, LayoutItem, LoadedLayout } 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,8 +10,15 @@ 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: {
|
21
|
+
compatibilityMode: boolean;
|
15
22
|
layout: {
|
16
23
|
definition: LayoutDefinition;
|
17
24
|
ownerLayoutItemsOverride: LayoutItem[];
|
@@ -75,9 +82,10 @@ export declare const useLayoutCanvasStore: () => {
|
|
75
82
|
editorMode: import("@omnia/fx-models").LayoutCanvasMode;
|
76
83
|
id: guid;
|
77
84
|
settings: {
|
78
|
-
showGrid: boolean;
|
79
85
|
authDisabled: boolean;
|
86
|
+
breakpointSettingsEnabled: boolean;
|
80
87
|
};
|
88
|
+
drawerMode: "settings" | "layout-structure" | "clipboard";
|
81
89
|
selected: {
|
82
90
|
layoutItem: LayoutItem;
|
83
91
|
clipBoardItem: import("@omnia/fx-models").ClipboardLayoutItem;
|
@@ -89,24 +97,50 @@ export declare const useLayoutCanvasStore: () => {
|
|
89
97
|
};
|
90
98
|
};
|
91
99
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
100
|
+
scrollToLayoutItem: (item: LayoutItem) => void;
|
92
101
|
selection: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
93
|
-
|
94
|
-
|
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;
|
95
107
|
}>;
|
108
|
+
enableDisplayBreakpointSettings: (enable: boolean) => void;
|
96
109
|
block: () => {
|
97
110
|
set: {
|
98
111
|
suggestedBlocks: (blocks: string[]) => void;
|
99
112
|
};
|
100
113
|
ensureRemoveDeletedBlocks: (layout: Layout) => void;
|
101
114
|
};
|
115
|
+
show: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
116
|
+
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
117
|
+
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
118
|
+
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
119
|
+
}>;
|
102
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;
|
103
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;
|
126
|
+
changeSectionType: (section: Section, type: SectionTypes) => void;
|
104
127
|
}>;
|
105
|
-
|
128
|
+
configureDrawer: (header: {
|
129
|
+
icon?: import("@omnia/fx-models").IIcon;
|
130
|
+
title?: string;
|
131
|
+
enabled?: boolean;
|
132
|
+
}, customScroll?: boolean) => void;
|
106
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
|
+
}>;
|
107
140
|
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof useEditorChromeStore>) => void;
|
108
141
|
}>;
|
109
142
|
get: {
|
143
|
+
settingsDefinitions: import("..").LayoutDefinitionBuilder;
|
110
144
|
layout: {
|
111
145
|
active: () => Layout;
|
112
146
|
};
|
@@ -116,6 +150,9 @@ export declare const useLayoutCanvasStore: () => {
|
|
116
150
|
};
|
117
151
|
};
|
118
152
|
rules: {
|
153
|
+
isSettingsActive: () => boolean;
|
154
|
+
isLayoutStructureActive: () => boolean;
|
155
|
+
isClipboardActive: () => boolean;
|
119
156
|
activeItem: {
|
120
157
|
isSection(): boolean;
|
121
158
|
};
|
@@ -37,5 +37,5 @@ declare const _default: <T1 extends unknown, T2 extends unknown>(props: import("
|
|
37
37
|
"v-slots"?: {} & Omit<{
|
38
38
|
default?: import("vue").Slot;
|
39
39
|
}, never>;
|
40
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "mode" | "grid" | "label" | "disabled" | "modelValue" | "items" | "rules" | "emit:update:modelValue" | "v-model" | "autofocus" | "itemValue" | "
|
40
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "mode" | "grid" | "label" | "disabled" | "modelValue" | "items" | "rules" | "emit:update:modelValue" | "v-model" | "autofocus" | "itemValue" | "emit:selectItem" | "defaultValueItem" | "hideEditGrid" | "selectionVisible" | "isAppendIcon"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
41
41
|
export default _default;
|
@@ -31,5 +31,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<OListItemPro
|
|
31
31
|
} & Omit<{
|
32
32
|
default?: import("vue").Slot;
|
33
33
|
}, "title" | "default" | "append" | "prepend" | "subtitle">;
|
34
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "colorSchemaType" | "variant" | "active" | "class" | "disabled" | "colors" | "divider" | "
|
34
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "colorSchemaType" | "variant" | "active" | "class" | "disabled" | "colors" | "divider" | "subtitle" | "expandableHeight" | "selected" | "isDragMode" | "slot:append" | "slot:prepend" | "slot:default" | "slot:title" | "slot:subtitle" | "emit:click:delete" | "emit:click:remove" | "emit:click:navigate" | "emit:click:select"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
35
35
|
export default _default;
|
@@ -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;
|
package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/store/ScrollContainerStore.d.ts
CHANGED
@@ -24,6 +24,7 @@ export declare const useScrollContainerStore: () => {
|
|
24
24
|
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
25
25
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
26
26
|
scroll: () => void;
|
27
|
+
setDisableScrolling: (disable: boolean) => void;
|
27
28
|
calculateDynamicHeight: () => void;
|
28
29
|
setHeight: (height: string) => void;
|
29
30
|
setWidth: (width: string) => void;
|
@@ -2,11 +2,11 @@ import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, ItemValueType }
|
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
import { OMultiSelectionStyles } from "@omnia/fx-models";
|
4
4
|
type SelectionVariants = "remove" | "settings" | "readonly";
|
5
|
-
type BaseProps<TItem> = DefinePropTheming & 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<"variant", SelectionVariants, false, null, "The component variants"> & DefineProp<"toned", boolean, false, null, "Sets the component to toned"> & DefineProp<"sorting", boolean, false, null, "Sets the component to sorting mode"> & DefineProp<"itemValue", ItemValueType<TItem>, false, null, "Property on supplied items that contains its value."> & DefineProp<"itemTitle", ItemValueType<TItem>, false, null, "Property on supplied items that contains its title."> & DefineProp<"itemSubtitle", string, false, null, "Property on supplied items that contains its value."> & DefineProp<"itemIcon", string, false, null, "Property on supplied items that contains its value."> & DefineProp<"enableAdd", boolean, false, null, "If add button is shown"> & DefineProp<"selectionStyle", OMultiSelectionStyles, false, null, "The style of multi select"> & DefineProp<"itemSettingable", (item: TItem) => boolean, false, null, "Item has settings or not."> & DefineProp<"itemDeletable", (item: TItem) => boolean, false, null, "Item can be deleted or not."> & DefineSlot<"item", (item: TItem, index: Number) => VNodeChild> & DefineEmit<"selectItem", (index: any) => true> & DefineEmit<"removeItem", (index: any) => true> & DefineEmit<"sort:update", (items: TItem[]) => true> & DefineEmit<"addItem", () => true>;
|
5
|
+
type BaseProps<TItem> = DefinePropTheming & 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<"variant", SelectionVariants, false, null, "The component variants"> & DefineProp<"toned", boolean, false, null, "Sets the component to toned"> & DefineProp<"sorting", boolean, false, null, "Sets the component to sorting mode"> & DefineProp<"itemValue", ItemValueType<TItem>, false, null, "Property on supplied items that contains its value."> & DefineProp<"itemTitle", ItemValueType<TItem>, false, null, "Property on supplied items that contains its title."> & DefineProp<"itemSubtitle", string, false, null, "Property on supplied items that contains its value."> & DefineProp<"itemIcon", string, false, null, "Property on supplied items that contains its value."> & DefineProp<"enableAdd", boolean, false, null, "If add button is shown"> & DefineProp<"labelAdd", string, null, null, "The label for the add button of the component"> & DefineProp<"selectionStyle", OMultiSelectionStyles, false, null, "The style of multi select"> & DefineProp<"itemSettingable", (item: TItem) => boolean, false, null, "Item has settings or not."> & DefineProp<"itemDeletable", (item: TItem) => boolean, false, null, "Item can be deleted or not."> & DefineSlot<"item", (item: TItem, index: Number) => VNodeChild> & DefineEmit<"selectItem", (index: any) => true> & DefineEmit<"removeItem", (index: any) => true> & DefineEmit<"sort:update", (items: TItem[]) => true> & DefineEmit<"addItem", () => true>;
|
6
6
|
declare const _default: <TItem extends unknown>(props: import("@omnia/fx/ux").ExtractProps<BaseProps<TItem>> & {
|
7
7
|
onRemoveItem?: (index: any) => any;
|
8
|
-
onSelectItem?: (index: any) => any;
|
9
8
|
onAddItem?: () => any;
|
9
|
+
onSelectItem?: (index: any) => any;
|
10
10
|
"onSort:update"?: (items: TItem[]) => any;
|
11
11
|
} & {
|
12
12
|
"v-slots"?: {
|
@@ -14,5 +14,5 @@ declare const _default: <TItem extends unknown>(props: import("@omnia/fx/ux").Ex
|
|
14
14
|
} & Omit<{
|
15
15
|
default?: import("vue").Slot;
|
16
16
|
}, "item">;
|
17
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "variant" | "items" | "colors" | "toned" | "itemValue" | "slot:item" | "itemTitle" | "itemDeletable" | "itemIcon" | "
|
17
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "variant" | "items" | "colors" | "toned" | "itemValue" | "slot:item" | "itemTitle" | "itemDeletable" | "itemIcon" | "labelAdd" | "itemSettingable" | "sorting" | "itemSubtitle" | "enableAdd" | "selectionStyle" | "emit:selectItem" | "emit:removeItem" | "emit:sort:update" | "emit:addItem"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
18
18
|
export default _default;
|
@@ -17,5 +17,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ToolbarProps
|
|
17
17
|
} & Omit<{
|
18
18
|
default?: import("vue").Slot;
|
19
19
|
}, "title" | "prepend" | "customButtons">;
|
20
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "colorSchemaType" | "variant" | "class" | "closeButton" | "colors" | "toned" | "subTitle" | "backButton" | "emit:click:close" | "divider" | "slot:prepend" | "
|
20
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "colorSchemaType" | "variant" | "class" | "closeButton" | "colors" | "toned" | "subTitle" | "backButton" | "emit:click:close" | "divider" | "slot:prepend" | "slot:title" | "emit:click:back" | "slot:customButtons"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
21
21
|
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;
|