@omnia/fx 8.0.482-dev → 8.0.483-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/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 +11 -0
- package/internal-do-not-import-from-here/ux/conditioncontrol/loc/Localize.d.ts +12 -0
- package/internal-do-not-import-from-here/ux/dynamicplaceholder/models/DynamicPlaceholderSettings.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorChromeStoreV2.d.ts +18 -4
- package/internal-do-not-import-from-here/ux/enterpriseproperties/settingpicker/EnterprisePropertySettingPicker.d.ts +1 -1
- 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/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 +21 -2
- 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/{_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_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/stores/LayoutCanvasEditorStore.d.ts +22 -4
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStore.d.ts +22 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStoreV2.d.ts +22 -3
- 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/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/wctypings.d.ts +305 -319
- package/package.json +2 -2
- 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/section → settings/block}/Header.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/block/Spacing.d.ts → settings/block/Header_old.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/block/Style.d.ts → settings/block/Spacing.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/block/Targeting.d.ts → settings/block/Style.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/section → settings/block}/Targeting.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 → settings}/lock/Lock.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/layoutcanvas/editor/{_old/settings/section/Spacing.d.ts → settings/section/Columns.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
@@ -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 { 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 "..";
|
@@ -12,6 +12,7 @@ type LayoutCanvasBlockInstance<TSettings = void> = {
|
|
12
12
|
};
|
13
13
|
export declare const useLayoutCanvasStore: () => {
|
14
14
|
state: {
|
15
|
+
compatibilityMode: boolean;
|
15
16
|
layout: {
|
16
17
|
definition: LayoutDefinition;
|
17
18
|
ownerLayoutItemsOverride: LayoutItem[];
|
@@ -75,9 +76,10 @@ export declare const useLayoutCanvasStore: () => {
|
|
75
76
|
editorMode: import("@omnia/fx-models").LayoutCanvasMode;
|
76
77
|
id: guid;
|
77
78
|
settings: {
|
78
|
-
showGrid: boolean;
|
79
79
|
authDisabled: boolean;
|
80
|
+
breakpointSettingsEnabled: boolean;
|
80
81
|
};
|
82
|
+
drawerMode: "settings" | "layout-structure" | "clipboard";
|
81
83
|
selected: {
|
82
84
|
layoutItem: LayoutItem;
|
83
85
|
clipBoardItem: import("@omnia/fx-models").ClipboardLayoutItem;
|
@@ -89,24 +91,38 @@ export declare const useLayoutCanvasStore: () => {
|
|
89
91
|
};
|
90
92
|
};
|
91
93
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
94
|
+
scrollToLayoutItem: (item: LayoutItem) => void;
|
92
95
|
selection: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
93
96
|
removeSelectedLayoutItem: () => void;
|
94
97
|
setSelectedLayoutItem: (item: LayoutItem, toggleSettings: boolean) => void;
|
95
98
|
}>;
|
99
|
+
enableDisplayBreakpointSettings: (enable: boolean) => void;
|
96
100
|
block: () => {
|
97
101
|
set: {
|
98
102
|
suggestedBlocks: (blocks: string[]) => void;
|
99
103
|
};
|
100
104
|
ensureRemoveDeletedBlocks: (layout: Layout) => void;
|
101
105
|
};
|
106
|
+
show: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
107
|
+
showPanel: (panelType: "settings" | "layout-structure" | "clipboard", toggle: boolean) => void;
|
108
|
+
settingsPanel: (toggle: boolean) => void;
|
109
|
+
layoutStructurePanel: (toggle: boolean) => void;
|
110
|
+
clipboardPanel: (toggle: boolean) => void;
|
111
|
+
}>;
|
102
112
|
layout: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
103
113
|
addItem: (itemreference: import("@omnia/fx-models").AddItemToLayoutPayLoad) => void;
|
114
|
+
changeSectionType: (section: Section, type: SectionTypes) => void;
|
104
115
|
}>;
|
105
|
-
|
116
|
+
configureDrawer: (header: {
|
117
|
+
icon?: import("@omnia/fx-models").IIcon;
|
118
|
+
title?: string;
|
119
|
+
enabled?: boolean;
|
120
|
+
}, customScroll?: boolean) => void;
|
106
121
|
setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
|
107
122
|
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof useEditorChromeStore>) => void;
|
108
123
|
}>;
|
109
124
|
get: {
|
125
|
+
settingsDefinitions: import("..").LayoutDefinitionBuilder;
|
110
126
|
layout: {
|
111
127
|
active: () => Layout;
|
112
128
|
};
|
@@ -116,6 +132,9 @@ export declare const useLayoutCanvasStore: () => {
|
|
116
132
|
};
|
117
133
|
};
|
118
134
|
rules: {
|
135
|
+
isSettingsActive: () => boolean;
|
136
|
+
isLayoutStructureActive: () => boolean;
|
137
|
+
isClipboardActive: () => boolean;
|
119
138
|
activeItem: {
|
120
139
|
isSection(): boolean;
|
121
140
|
};
|
@@ -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;
|
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;
|