@omnia/fx 8.0.558-dev → 8.0.560-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/UxModels.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/theme-designer/componentblueprints/store/ComponentEditorStore.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/theme-designer/themes/store/ThemeEditorStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorChromeStoreV2.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts +10 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +4 -219
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasEditorStore.d.ts +6 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStoreV2.d.ts +5 -1
- package/internal-do-not-import-from-here/ux/monaco/MonacoEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/column/Column.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/column/Column.stylex.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/oxide/image/Image.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/oxide/spacer/Spacer.d.ts +5 -2
- package/internal-do-not-import-from-here/ux/oxide/splitpane/SplitPaneContainer.d.ts +5 -1
- package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/rollup/views/CardView.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/velcron/editor/hooks/canvasEditorHooks.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/hooks/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/store/VelcronCanvasStoreV2.d.ts +96 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/store/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/store/tempDefinition.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/views/DefineVelcronCanvasConfig.d.ts +358 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/views/DefineVelcronEditorView.d.ts +266 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/views/DefineVelcronTemplatesConfig.d.ts +357 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/views/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/editor_old/VelcronEditor.d.ts +27 -0
- package/internal-do-not-import-from-here/ux/velcron/editor_old/components/panels/edit-component/StylingPanel.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/velcron/editor_old/components/panels/edit-editors/EditEditorsPanel.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/DefineDefaultView.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/stores/VersionedLayoutEditorStoreV2.d.ts +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +12 -3
- package/package.json +2 -2
- /package/internal-do-not-import-from-here/ux/velcron/editor/{components/AddDataObject.d.ts → drawers/settings/VelcronSettingsPanel.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/editor/{components/CodeEditor.d.ts → drawers/source-code/VelcronSourceDefinitionPanel.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/VelcronEditor.css.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/VelcronEditorAction.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/VelcronEditorClickHandler.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/AddApp.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor/components/panels/edit-component/ConditionalStatements.d.ts → editor_old/components/AddDataObject.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/AddItem.css.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/AddItem.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/AppExplorer.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor/components/panels/edit-component/EventsPanel.d.ts → editor_old/components/CodeEditor.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/ComponentStyles.css.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/ContextMenu.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/EditComponentPane.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/EditDataPane.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/EditDefinitionPropertiesPane.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/EditEditorsPane.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/EditorCanvas.css.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/EditorCanvas.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/StateTree.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor/components/panels/edit-component/StylingPanel.d.ts → editor_old/components/panels/edit-component/ConditionalStatements.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor/components/panels/edit-editors/EditEditorsPanel.d.ts → editor_old/components/panels/edit-component/EventsPanel.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/panels/edit-component/PropertiesPanel.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/panels/edit-data/EditDataMemberPanel.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/CodeEditor.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/ComponentDescriptors.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/ComponentPropertyDescriptorTemplates.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/ComponentePropertiesGroupDescriptorTemplates.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/Enums.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/EventDescriptors.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/Shared.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/StateDescriptors.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/VelcronDescriptors.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/VelcronEditorDescriptors.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/index.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/stores/VelcronComponentStore.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/stores/VelcronEditorStore.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/stores/index.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/templates/ComponentTemplates.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/templates/ContentTemplates.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/templates/EditorTemplates.d.ts +0 -0
|
@@ -29,6 +29,7 @@ export declare const useComponentsEditorStore: () => {
|
|
|
29
29
|
deleteBlueprints(blueprints: IBlueprintItem): void;
|
|
30
30
|
createBlueprints(): void;
|
|
31
31
|
editBlueprints(blueprint: ITemplateRegistration<ComponentBlueprints>): void;
|
|
32
|
+
import(blueprint: ITemplateRegistration<ComponentBlueprints>): void;
|
|
32
33
|
copyBlueprints(blueprints: ComponentBlueprints): void;
|
|
33
34
|
updateBlueprintsByType(type: BlueprintType): void;
|
|
34
35
|
save(): Promise<boolean>;
|
|
@@ -18,7 +18,7 @@ export declare const useThemeEditorStore: () => {
|
|
|
18
18
|
show: boolean;
|
|
19
19
|
fillType: "text" | "container";
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
predefinedSettings: {
|
|
22
22
|
typography: {
|
|
23
23
|
custom: boolean;
|
|
24
24
|
value: any;
|
|
@@ -63,7 +63,7 @@ export declare const useThemeEditorStore: () => {
|
|
|
63
63
|
show: boolean;
|
|
64
64
|
fillType: "text" | "container";
|
|
65
65
|
};
|
|
66
|
-
|
|
66
|
+
predefinedSettings: {
|
|
67
67
|
typography: {
|
|
68
68
|
custom: boolean;
|
|
69
69
|
value: any;
|
|
@@ -161,7 +161,7 @@ export declare const useThemeEditorStore: () => {
|
|
|
161
161
|
byType: (type: TemplateRegistrationType) => any[];
|
|
162
162
|
typography: () => any[];
|
|
163
163
|
spacing: () => any[];
|
|
164
|
-
|
|
164
|
+
components: () => any[];
|
|
165
165
|
};
|
|
166
166
|
mediaResources: {
|
|
167
167
|
logo: () => MediaPickerImage;
|
package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts
CHANGED
|
@@ -127,9 +127,9 @@ declare const _default: {
|
|
|
127
127
|
required: boolean;
|
|
128
128
|
};
|
|
129
129
|
}>> & {
|
|
130
|
-
"onUpdate:modelValue"?: (value: ColorValue) => any;
|
|
130
|
+
"onUpdate:modelValue"?: (value: ColorValue, isColorAdjusted: boolean) => any;
|
|
131
131
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
132
|
-
"update:modelValue": (value: ColorValue) => any;
|
|
132
|
+
"update:modelValue": (value: ColorValue, isColorAdjusted: boolean) => any;
|
|
133
133
|
}, import("vue").PublicProps, {
|
|
134
134
|
container: boolean;
|
|
135
135
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -264,7 +264,7 @@ declare const _default: {
|
|
|
264
264
|
required: boolean;
|
|
265
265
|
};
|
|
266
266
|
}>> & {
|
|
267
|
-
"onUpdate:modelValue"?: (value: ColorValue) => any;
|
|
267
|
+
"onUpdate:modelValue"?: (value: ColorValue, isColorAdjusted: boolean) => any;
|
|
268
268
|
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
269
269
|
container: boolean;
|
|
270
270
|
}>;
|
|
@@ -396,9 +396,9 @@ declare const _default: {
|
|
|
396
396
|
required: boolean;
|
|
397
397
|
};
|
|
398
398
|
}>> & {
|
|
399
|
-
"onUpdate:modelValue"?: (value: ColorValue) => any;
|
|
399
|
+
"onUpdate:modelValue"?: (value: ColorValue, isColorAdjusted: boolean) => any;
|
|
400
400
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
401
|
-
"update:modelValue": (value: ColorValue) => any;
|
|
401
|
+
"update:modelValue": (value: ColorValue, isColorAdjusted: boolean) => any;
|
|
402
402
|
}, string, {
|
|
403
403
|
container: boolean;
|
|
404
404
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
@@ -489,7 +489,7 @@ declare const _default: {
|
|
|
489
489
|
showSystemColors?: boolean;
|
|
490
490
|
toolbarCallback?: (value: () => VNodeChild) => void;
|
|
491
491
|
}>, "onUpdate:modelValue"> & {
|
|
492
|
-
"onUpdate:modelValue"?: (value: ColorValue) => any;
|
|
492
|
+
"onUpdate:modelValue"?: (value: ColorValue, isColorAdjusted: boolean) => any;
|
|
493
493
|
};
|
|
494
494
|
};
|
|
495
495
|
export default _default;
|
|
@@ -154,7 +154,7 @@ export declare const useEditorChromeStore: () => {
|
|
|
154
154
|
};
|
|
155
155
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
|
156
156
|
canvas: () => {
|
|
157
|
-
syncDisplaySettings: () => void
|
|
157
|
+
syncDisplaySettings: () => Promise<void>;
|
|
158
158
|
setDisplayBreakPoint: (value: DisplayBreakpointTypes) => void;
|
|
159
159
|
zoomIn: (step?: number) => void;
|
|
160
160
|
zoomOut: (step?: number) => void;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts
CHANGED
|
@@ -150,7 +150,11 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
|
|
|
150
150
|
removeLayoutItemSelection: () => void;
|
|
151
151
|
setLayoutItem: (item: import("@omnia/fx-models").LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
|
152
152
|
}>;
|
|
153
|
-
|
|
153
|
+
displayBreakpointsSettings: () => {
|
|
154
|
+
enable: (enable: boolean) => void;
|
|
155
|
+
add: (breakPointSetting: import("@omnia/fx-models").DisplayBreakPointSetting) => void;
|
|
156
|
+
remove: (propertyName: string, displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint) => void;
|
|
157
|
+
};
|
|
154
158
|
block: () => {
|
|
155
159
|
set: {
|
|
156
160
|
suggestedBlocks: (blocks: string[]) => void;
|
|
@@ -289,7 +293,11 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
|
|
|
289
293
|
removeLayoutItemSelection: () => void;
|
|
290
294
|
setLayoutItem: (item: import("@omnia/fx-models").LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
|
291
295
|
}>;
|
|
292
|
-
|
|
296
|
+
displayBreakpointsSettings: () => {
|
|
297
|
+
enable: (enable: boolean) => void;
|
|
298
|
+
add: (breakPointSetting: import("@omnia/fx-models").DisplayBreakPointSetting) => void;
|
|
299
|
+
remove: (propertyName: string, displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint) => void;
|
|
300
|
+
};
|
|
293
301
|
block: () => {
|
|
294
302
|
set: {
|
|
295
303
|
suggestedBlocks: (blocks: string[]) => void;
|
|
@@ -1,224 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
4
|
-
store?: {
|
|
5
|
-
state: {
|
|
6
|
-
compatibilityMode: boolean;
|
|
7
|
-
layout: {
|
|
8
|
-
definition: import("@omnia/fx-models").LayoutDefinition;
|
|
9
|
-
ownerLayoutItemsOverride: import("@omnia/fx-models").LayoutItem[];
|
|
10
|
-
originalId: import("@omnia/fx-models").guid;
|
|
11
|
-
};
|
|
12
|
-
id: import("@omnia/fx-models").guid;
|
|
13
|
-
settings: {
|
|
14
|
-
providers: {
|
|
15
|
-
block: string;
|
|
16
|
-
mediaContext: import("@omnia/fx-models").ILayoutMediaContext;
|
|
17
|
-
fileContext: import("@omnia/fx-models").ILayoutFileContext;
|
|
18
|
-
dependencyProviders: string[];
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
visiblePane: {
|
|
22
|
-
id: import("@omnia/fx-models").guid;
|
|
23
|
-
elementRenderer: () => import("vue").VNode;
|
|
24
|
-
position: import("@omnia/fx-models").SidePanelPosition;
|
|
25
|
-
width: number;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
actions: import("../../mobile").StoreReturnDefineAction<{
|
|
29
|
-
pane: () => import("../../mobile").StoreReturnDefineAction<{
|
|
30
|
-
show: (elementRenderer: () => import("vue").VNode, position: import("@omnia/fx-models").SidePanelPosition, width?: number) => void;
|
|
31
|
-
hide: () => void;
|
|
32
|
-
}>;
|
|
33
|
-
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
|
34
|
-
blockinstanceCreated: (blockInstance: import("@omnia/fx-models").IBlockInstance) => void;
|
|
35
|
-
layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) => import("@omnia/fx-models").ILayoutSectionRenderer;
|
|
36
|
-
}>;
|
|
37
|
-
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
|
38
|
-
set: (layout: import("@omnia/fx-models").Layout) => void;
|
|
39
|
-
}>;
|
|
40
|
-
providers: () => {
|
|
41
|
-
set: {
|
|
42
|
-
dependencyProviders: (providers: Array<string>) => void;
|
|
43
|
-
block: (blockProvider: string) => void;
|
|
44
|
-
mediaContext: (mediaContext: import("@omnia/fx-models").ILayoutMediaContext) => void;
|
|
45
|
-
fileContext: (fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
notify: (blockManifestId: string) => void;
|
|
49
|
-
init: () => {
|
|
50
|
-
readOnlyCanvas: (blockProvider: string, mediaContext: import("@omnia/fx-models").ILayoutMediaContext, fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
|
|
51
|
-
editableCanvas: (editorChromeStore: ReturnType<typeof import("@omnia/fx/ux").useEditorChromeStore>, layoutEditorCanvasStore: any, blockProvider: string, mediaContext: import("@omnia/fx-models").ILayoutMediaContext, fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
get: {
|
|
55
|
-
layout: {
|
|
56
|
-
loaded: () => import("@omnia/fx-models").LoadedLayout;
|
|
57
|
-
};
|
|
58
|
-
block: {
|
|
59
|
-
readonly instances: {
|
|
60
|
-
[blockManifestId: string]: Set<{
|
|
61
|
-
instance: import("@omnia/fx/ux").IBlockInstanceExtendsInternal<void>;
|
|
62
|
-
}>;
|
|
63
|
-
};
|
|
64
|
-
readonly settings: import("@omnia/fx/ux").ReactiveLayoutItemsSettingsStore;
|
|
65
|
-
settingsProvider: () => import("@omnia/fx/ux").BlockSettingsProvider;
|
|
66
|
-
renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
|
|
67
|
-
};
|
|
68
|
-
providers: {
|
|
69
|
-
block: string;
|
|
70
|
-
mediaContext: import("@omnia/fx-models").ILayoutMediaContext;
|
|
71
|
-
fileContext: import("@omnia/fx-models").ILayoutFileContext;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
rules: {
|
|
75
|
-
isEditMode: () => boolean;
|
|
76
|
-
isEmptyLayout: () => boolean;
|
|
77
|
-
isPaneDisplayAsDialog: (breakpoints: import("@omnia/fx-models").Breakpoint) => boolean;
|
|
78
|
-
};
|
|
79
|
-
readonly editor: {
|
|
80
|
-
state: {
|
|
81
|
-
editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
|
|
82
|
-
canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
|
|
83
|
-
history: {
|
|
84
|
-
editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode[];
|
|
85
|
-
};
|
|
86
|
-
id: import("@omnia/fx-models").guid;
|
|
87
|
-
settings: {
|
|
88
|
-
authDisabled: boolean;
|
|
89
|
-
breakpointSettingsEnabled: boolean;
|
|
90
|
-
};
|
|
91
|
-
drawerMode: "settings" | "editing" | "layout-structure" | "clipboard";
|
|
92
|
-
selected: {
|
|
93
|
-
layoutItem: import("@omnia/fx-models").LayoutItem;
|
|
94
|
-
clipBoardItem: import("@omnia/fx-models").ClipboardLayoutItem;
|
|
95
|
-
displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint;
|
|
96
|
-
layoutItem4Action: import("@omnia/fx-models").LayoutItem;
|
|
97
|
-
};
|
|
98
|
-
active: {
|
|
99
|
-
layoutItemAction: import("@omnia/fx-models").LayoutItemActionState;
|
|
100
|
-
};
|
|
101
|
-
dialogs: {
|
|
102
|
-
developerTools: {
|
|
103
|
-
show: boolean;
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
events: import("../../mobile").StoreEvents<{
|
|
108
|
-
editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
|
|
109
|
-
canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
|
|
110
|
-
history: {
|
|
111
|
-
editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode[];
|
|
112
|
-
};
|
|
113
|
-
id: import("@omnia/fx-models").guid;
|
|
114
|
-
settings: {
|
|
115
|
-
authDisabled: boolean;
|
|
116
|
-
breakpointSettingsEnabled: boolean;
|
|
117
|
-
};
|
|
118
|
-
drawerMode: "settings" | "editing" | "layout-structure" | "clipboard";
|
|
119
|
-
selected: {
|
|
120
|
-
layoutItem: import("@omnia/fx-models").LayoutItem;
|
|
121
|
-
clipBoardItem: import("@omnia/fx-models").ClipboardLayoutItem;
|
|
122
|
-
displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint;
|
|
123
|
-
layoutItem4Action: import("@omnia/fx-models").LayoutItem;
|
|
124
|
-
};
|
|
125
|
-
active: {
|
|
126
|
-
layoutItemAction: import("@omnia/fx-models").LayoutItemActionState;
|
|
127
|
-
};
|
|
128
|
-
dialogs: {
|
|
129
|
-
developerTools: {
|
|
130
|
-
show: boolean;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
|
134
|
-
actions: import("../../mobile").StoreReturnDefineAction<{
|
|
135
|
-
onActivated: () => void;
|
|
136
|
-
scrollToLayoutItem: (item: import("@omnia/fx-models").LayoutItem) => void;
|
|
137
|
-
selection: () => import("../../mobile").StoreReturnDefineAction<{
|
|
138
|
-
execActiveAction: (container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
|
139
|
-
toggleActiveAction: (item: import("@omnia/fx-models").LayoutItem | import("@omnia/fx-models").ClipboardLayoutItem, action: import("@omnia/fx-models").LayoutItemActionState) => void;
|
|
140
|
-
removeActiveAction: () => void;
|
|
141
|
-
removeLayoutItemSelection: () => void;
|
|
142
|
-
setLayoutItem: (item: import("@omnia/fx-models").LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
|
143
|
-
}>;
|
|
144
|
-
enableDisplayBreakpointSettings: (enable: boolean) => void;
|
|
145
|
-
block: () => {
|
|
146
|
-
set: {
|
|
147
|
-
suggestedBlocks: (blocks: string[]) => void;
|
|
148
|
-
};
|
|
149
|
-
ensureRemoveDeletedBlocks: (layout: import("@omnia/fx-models").Layout) => void;
|
|
150
|
-
};
|
|
151
|
-
show: () => import("../../mobile").StoreReturnDefineAction<{
|
|
152
|
-
editingPanel: (action: "show" | "hide" | "toggle") => void;
|
|
153
|
-
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
|
154
|
-
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
|
155
|
-
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
|
156
|
-
developerTools: () => void;
|
|
157
|
-
}>;
|
|
158
|
-
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
|
159
|
-
copyItem: (item2Copy: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
|
|
160
|
-
moveItem: (item2Move: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
|
161
|
-
addItem: (itemreference: import("@omnia/fx-models").AddItemToLayoutPayLoad) => void;
|
|
162
|
-
insertClipboardItem: (clipboard: import("@omnia/fx-models").ClipboardLayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
|
|
163
|
-
deleteItem: (itemreference: import("@omnia/fx-models").DeleteItemFromLayoutPayLoad) => void;
|
|
164
|
-
changeSectionType: (section: Section, type: import("@omnia/fx-models").SectionTypes) => void;
|
|
165
|
-
}>;
|
|
166
|
-
configureDrawer: (header: {
|
|
167
|
-
icon?: import("@omnia/fx-models").IIcon;
|
|
168
|
-
title?: string;
|
|
169
|
-
enabled?: boolean;
|
|
170
|
-
}, customScroll?: boolean) => void;
|
|
171
|
-
setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode, toggle?: boolean) => void;
|
|
172
|
-
setCanvasMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
|
|
173
|
-
history: () => {
|
|
174
|
-
editorMode: {
|
|
175
|
-
back: () => import("@omnia/fx-models").LayoutCanvasEditorMode;
|
|
176
|
-
add: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
|
|
177
|
-
clear: () => void;
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
|
181
|
-
onBlockRemoved(block: import("@omnia/fx-models").Block): void;
|
|
182
|
-
onLayoutItemMoved(layoutItem: import("@omnia/fx-models").LayoutItem): void;
|
|
183
|
-
onBlockCopiedHook(originalBlock: import("@omnia/fx-models").Block, newBlock: import("@omnia/fx-models").Block): void;
|
|
184
|
-
onLayoutItemPasted(layoutItem: import("@omnia/fx-models").ClipboardLayoutItem): void;
|
|
185
|
-
}>;
|
|
186
|
-
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof import("@omnia/fx/ux").useEditorChromeStore>) => void;
|
|
187
|
-
}>;
|
|
188
|
-
get: {
|
|
189
|
-
settingsDefinitions: import("@omnia/fx/ux").LayoutDefinitionBuilder;
|
|
190
|
-
layout: {
|
|
191
|
-
active: () => import("@omnia/fx-models").Layout;
|
|
192
|
-
};
|
|
193
|
-
block: {
|
|
194
|
-
suggestions: () => string[];
|
|
195
|
-
renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
|
|
196
|
-
};
|
|
197
|
-
};
|
|
198
|
-
rules: {
|
|
199
|
-
isSettingsActive: () => boolean;
|
|
200
|
-
isLayoutStructureActive: () => boolean;
|
|
201
|
-
isClipboardActive: () => boolean;
|
|
202
|
-
activeItem: {
|
|
203
|
-
isSection(): boolean;
|
|
204
|
-
isFirstSectionActive(): boolean;
|
|
205
|
-
};
|
|
206
|
-
showSelectors: () => boolean;
|
|
207
|
-
isLayoutItemLocked: (item: import("@omnia/fx-models").LayoutItem) => boolean;
|
|
208
|
-
isTemplateEnabledLayout: () => boolean;
|
|
209
|
-
isAdvancedModeActivated: () => boolean;
|
|
210
|
-
isAuthDisabled: () => boolean;
|
|
211
|
-
};
|
|
212
|
-
} & {
|
|
213
|
-
dispose?: () => void;
|
|
214
|
-
};
|
|
215
|
-
} & {
|
|
216
|
-
dispose?: () => void;
|
|
217
|
-
};
|
|
218
|
-
}> & {} & {
|
|
1
|
+
import { DefineProp, useLayoutCanvasStore } from "@omnia/fx/ux";
|
|
2
|
+
type LayoutEditorCanvasProps = DefineProp<"store", ReturnType<typeof useLayoutCanvasStore>> & DefineProp<"minHeight", string>;
|
|
3
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<LayoutEditorCanvasProps> & {} & {
|
|
219
4
|
"v-slots"?: {} & Omit<{
|
|
220
5
|
default?: import("vue").Slot;
|
|
221
6
|
$stable?: boolean;
|
|
222
7
|
}, never>;
|
|
223
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "store"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
8
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "minHeight" | "store"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
224
9
|
export default _default;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasEditorStore.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AddItemToLayoutPayLoad, Block, BlockRenderingModes, ClipboardLayoutItem, DeleteItemFromLayoutPayLoad, DisplayBreakPoint, guid, IIcon, Layout, LayoutCanvasEditorMode, LayoutCanvasMode, LayoutItem, LayoutItemActionState, Section, SectionTypes } from "@omnia/fx-models";
|
|
1
|
+
import { AddItemToLayoutPayLoad, Block, BlockRenderingModes, ClipboardLayoutItem, DeleteItemFromLayoutPayLoad, DisplayBreakPoint, DisplayBreakPointSetting, guid, IIcon, Layout, LayoutCanvasEditorMode, LayoutCanvasMode, LayoutItem, LayoutItemActionState, Section, SectionTypes } from "@omnia/fx-models";
|
|
2
2
|
import { CopiedLayoutItemResult, LayoutDefinitionBuilder, useLayoutCanvasStore } from "..";
|
|
3
3
|
import { useEditorChromeStore } from "../..";
|
|
4
4
|
export declare const useLayoutCanvasEditorStore: () => {
|
|
@@ -66,7 +66,11 @@ export declare const useLayoutCanvasEditorStore: () => {
|
|
|
66
66
|
removeLayoutItemSelection: () => void;
|
|
67
67
|
setLayoutItem: (item: LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
|
68
68
|
}>;
|
|
69
|
-
|
|
69
|
+
displayBreakpointsSettings: () => {
|
|
70
|
+
enable: (enable: boolean) => void;
|
|
71
|
+
add: (breakPointSetting: DisplayBreakPointSetting) => void;
|
|
72
|
+
remove: (propertyName: string, displayBreakPoint: DisplayBreakPoint) => void;
|
|
73
|
+
};
|
|
70
74
|
block: () => {
|
|
71
75
|
set: {
|
|
72
76
|
suggestedBlocks: (blocks: string[]) => void;
|
|
@@ -155,7 +155,11 @@ export declare const useLayoutCanvasStore: () => {
|
|
|
155
155
|
removeLayoutItemSelection: () => void;
|
|
156
156
|
setLayoutItem: (item: LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
|
157
157
|
}>;
|
|
158
|
-
|
|
158
|
+
displayBreakpointsSettings: () => {
|
|
159
|
+
enable: (enable: boolean) => void;
|
|
160
|
+
add: (breakPointSetting: import("@omnia/fx-models").DisplayBreakPointSetting) => void;
|
|
161
|
+
remove: (propertyName: string, displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint) => void;
|
|
162
|
+
};
|
|
159
163
|
block: () => {
|
|
160
164
|
set: {
|
|
161
165
|
suggestedBlocks: (blocks: string[]) => void;
|
|
@@ -10,10 +10,10 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<MonacoEditor
|
|
|
10
10
|
onKeydown?: (event: any) => any;
|
|
11
11
|
onKeyup?: (event: any) => any;
|
|
12
12
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
13
|
+
onSelection?: (event: any) => any;
|
|
13
14
|
onConfiguration?: (event: any) => any;
|
|
14
15
|
onPosition?: (event: any) => any;
|
|
15
16
|
onLayout?: (event: any) => any;
|
|
16
|
-
onSelection?: (event: any) => any;
|
|
17
17
|
onEditorDidMount?: (editor: editor.IStandaloneCodeEditor) => any;
|
|
18
18
|
onContextMenu?: (event: any) => any;
|
|
19
19
|
onBlurText?: () => any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { DefineProp, DefinePropTheming } from "@omnia/fx/ux";
|
|
2
|
-
import { OVerticalAlignments, Spacing, SpacingValue } from "@omnia/fx-models";
|
|
3
|
-
type ColumnProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"filled", boolean, false, false, "Applies the a background color to the flex. The color is based on the colorSchema either set or inherited."> & DefineProp<"grow", number, false, null, "How the flex grows in relation to other flexes. This is used to set the flex-grow property on the flex."> & DefineProp<"toned", boolean, false, false> & DefineProp<"width", string | number, false, null, "Sets the width of the column."> & DefineProp<"minWidth", string | number, false, null, "Sets the min width of the column"> & DefineProp<"alignY", OVerticalAlignments, false, null, "Sets the vertical alignment of the column."> & DefineProp<"padding", Spacing | SpacingValue, false, null, "Ensures padding of the col from the blueprint. Apply to all dimensions using only one value."> & DefineProp<"margin", Spacing | SpacingValue, false, null, "Ensures margin of the col from the blueprint.Apply to all dimensions using only one value.">;
|
|
2
|
+
import { OHorizontalAlignments, OVerticalAlignments, Spacing, SpacingValue } from "@omnia/fx-models";
|
|
3
|
+
type ColumnProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"filled", boolean, false, false, "Applies the a background color to the flex. The color is based on the colorSchema either set or inherited."> & DefineProp<"grow", number, false, null, "How the flex grows in relation to other flexes. This is used to set the flex-grow property on the flex."> & DefineProp<"toned", boolean, false, false> & DefineProp<"width", string | number, false, null, "Sets the width of the column."> & DefineProp<"minWidth", string | number, false, null, "Sets the min width of the column"> & DefineProp<"alignY", OVerticalAlignments, false, null, "Sets the vertical alignment of the column."> & DefineProp<"alignX", OHorizontalAlignments, false, null, "Sets the horizontal alignment of the columns."> & DefineProp<"padding", Spacing | SpacingValue, false, null, "Ensures padding of the col from the blueprint. Apply to all dimensions using only one value."> & DefineProp<"margin", Spacing | SpacingValue, false, null, "Ensures margin of the col from the blueprint.Apply to all dimensions using only one value."> & DefineProp<"gapY", SpacingValue | number, false, null, "Sets the gap/spacing between rows. It applies only between rows and not on the outer edges.">;
|
|
4
4
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ColumnProps> & {} & {
|
|
5
5
|
"v-slots"?: {} & Omit<{
|
|
6
6
|
default?: import("vue").Slot;
|
|
7
7
|
$stable?: boolean;
|
|
8
8
|
}, never>;
|
|
9
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "padding" | "margin" | "filled" | "grow" | "minWidth" | "width" | "class" | "colors" | "toned" | "alignY"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
9
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "padding" | "margin" | "filled" | "grow" | "minWidth" | "width" | "class" | "colors" | "toned" | "gapY" | "alignX" | "alignY"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
10
10
|
export default _default;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { OVerticalAlignments, OPaddingCombination } from "@omnia/fx-models";
|
|
1
|
+
import { OVerticalAlignments, OPaddingCombination, OHorizontalAlignments } from "@omnia/fx-models";
|
|
2
2
|
export interface stylingSettings {
|
|
3
3
|
alignY: OVerticalAlignments;
|
|
4
|
+
alignX: OHorizontalAlignments;
|
|
5
|
+
gapY: string;
|
|
4
6
|
paddings: OPaddingCombination;
|
|
5
7
|
width: string | number;
|
|
6
8
|
grow: number;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { ColorSchemaType, ContainerFillValue } from "@omnia/fx-models";
|
|
1
2
|
import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot } from "@omnia/fx/ux";
|
|
2
3
|
import { VNodeChild } from "vue";
|
|
3
4
|
type ImageProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"aspectRatio", string | number, false, null, "The aspect ratio of the image."> & DefineProp<"src", string, false, null, "The image URL. This prop is mandatory."> & DefineProp<"height", number | string, false, null, "Sets the height for the component."> & DefineProp<"width", number | string, false, null, "Sets the height for the component."> & DefineProp<"cover", boolean, false, true, "Resizes the image to cover the entire container."> & DefineProp<"draggable", boolean, false, false, "Controls the draggable behavior of the image."> & DefineProp<"eager", boolean, false, false, "Forces the component’s content to render when it mounts. This is useful if you have content that will not be rendered in the DOM that you want crawled for SEO."> & DefineProp<"alt", string, false, "", "Alternate text for screen readers. Leave empty for decorative images."> & DefineProp<"maxWidth", number | string, false, null> & DefineProp<"maxHeight", number | string, false, null> & DefineProp<"placeholder", string, false, null, "The placeholder image to display while the main image is loading."> & DefineProp<"lazySrc", string, false, null, "The image to display while the main image is loading."> & DefineEmit<"load", (info: {
|
|
4
5
|
naturalWidth: number;
|
|
5
6
|
naturalHeight: number;
|
|
6
7
|
image: HTMLElement;
|
|
7
|
-
}) => void> & DefineSlot<"placeholder", () => VNodeChild>;
|
|
8
|
+
}) => void> & DefineProp<"fill", ContainerFillValue> & DefineProp<"fillOpacity", number> & DefineProp<"dynamicColorSchema", ColorSchemaType> & DefineSlot<"placeholder", () => VNodeChild>;
|
|
8
9
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ImageProps> & {
|
|
9
10
|
onLoad?: (info: {
|
|
10
11
|
naturalWidth: number;
|
|
@@ -18,5 +19,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ImageProps>
|
|
|
18
19
|
default?: import("vue").Slot;
|
|
19
20
|
$stable?: boolean;
|
|
20
21
|
}, "placeholder">;
|
|
21
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "height" | "aspectRatio" | "maxHeight" | "maxWidth" | "width" | "class" | "cover" | "src" | "colors" | "draggable" | "eager" | "alt" | "placeholder" | "lazySrc" | "emit:load" | "slot:placeholder"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
22
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "fill" | "colorSchemaType" | "dynamicColorSchema" | "height" | "aspectRatio" | "fillOpacity" | "maxHeight" | "maxWidth" | "width" | "class" | "cover" | "src" | "colors" | "draggable" | "eager" | "alt" | "placeholder" | "lazySrc" | "emit:load" | "slot:placeholder"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
22
23
|
export default _default;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { Spacing, SpacingValue } from "@omnia/fx-models";
|
|
2
|
+
import { DefineProp } from "@omnia/fx/ux";
|
|
3
|
+
type spacerProps = DefineProp<"padding", Spacing | SpacingValue, false, null, "Ensures padding from the blueprint. Apply to all dimensions using only one value."> & DefineProp<"margin", Spacing | SpacingValue, false, null, "Ensures margin from the blueprint. Apply to all dimensions using only one value.">;
|
|
4
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<spacerProps> & {} & {
|
|
2
5
|
"v-slots"?: {} & Omit<{
|
|
3
6
|
default?: import("vue").Slot;
|
|
4
7
|
$stable?: boolean;
|
|
5
8
|
}, never>;
|
|
6
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps,
|
|
9
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "padding" | "margin"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
7
10
|
export default _default;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { DefineEmit } from "@omnia/fx/ux";
|
|
2
2
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
3
|
+
class?: String | String[];
|
|
4
|
+
} & {
|
|
5
|
+
style?: object;
|
|
6
|
+
} & {
|
|
3
7
|
disabled?: boolean;
|
|
4
8
|
} & DefineEmit<"resize", (sizes: number[]) => void>> & {
|
|
5
9
|
onResize?: (sizes: number[]) => any;
|
|
@@ -8,5 +12,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
|
8
12
|
default?: import("vue").Slot;
|
|
9
13
|
$stable?: boolean;
|
|
10
14
|
}, never>;
|
|
11
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "disabled" | "emit:resize"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
15
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "style" | "class" | "disabled" | "emit:resize"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
12
16
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DefineProp, DefinePropTheming, DefineRef, DefineVModel } from "@omnia/fx/ux";
|
|
2
2
|
import { OTabAlignments, OScrollOffsetTypes, OTabVariants, TabsBlueprint, BlueprintVariant } from "@omnia/fx-models";
|
|
3
|
-
type TabsProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", number, false, 0, false, "The v-model of the component"> & DefineProp<"contentClass", string | string[], false, null, "The class of the content container."> & DefineProp<"stacked", boolean, false, null, "Applies the stacked prop to all children o.tab components."> & DefineProp<"variant", OTabVariants, false, null, "Applies a distinct style to the component."> & DefineProp<"toned", boolean, false, null> & DefineProp<"vertical", boolean, false, null> & DefineProp<"hideTabNameIfOnlyOneTab", boolean, false, null, "Hides the tab name if there is only one tab in the component."> & DefineProp<"noScrolling", boolean, false, null, "Removes the scrolling from the tabs component."> & DefineProp<"alignTabs", OTabAlignments, false, "start", "sets the horizontal alignment of the tabs."> & DefineProp<"grow", boolean, false, null, "sets how the flex grows in relation to other flexes of the tab."> & DefineProp<"scrolling", OScrollOffsetTypes, false, null, "Sets a custom blueprint for the tab control."> & DefineProp<"blueprint", TabsBlueprint | BlueprintVariant, false, null, "Applies the blueprint to the component."> & DefineProp<"disableBlueprint", boolean, false, null, "Disables the blueprint and use properties instead."> & DefineProp<"position", "top" | "bottom", false, "top", "The position of the horizontal tab."> & DefineRef<{
|
|
3
|
+
type TabsProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", number, false, 0, false, "The v-model of the component"> & DefineProp<"contentClass", string | string[], false, null, "The class of the content container."> & DefineProp<"stacked", boolean, false, null, "Applies the stacked prop to all children o.tab components."> & DefineProp<"variant", OTabVariants, false, null, "Applies a distinct style to the component."> & DefineProp<"toned", boolean, false, null> & DefineProp<"vertical", boolean, false, null> & DefineProp<"hideTabName", boolean, false, null> & DefineProp<"hideTabNameIfOnlyOneTab", boolean, false, null, "Hides the tab name if there is only one tab in the component."> & DefineProp<"noScrolling", boolean, false, null, "Removes the scrolling from the tabs component."> & DefineProp<"alignTabs", OTabAlignments, false, "start", "sets the horizontal alignment of the tabs."> & DefineProp<"grow", boolean, false, null, "sets how the flex grows in relation to other flexes of the tab."> & DefineProp<"scrolling", OScrollOffsetTypes, false, null, "Sets a custom blueprint for the tab control."> & DefineProp<"blueprint", TabsBlueprint | BlueprintVariant, false, null, "Applies the blueprint to the component."> & DefineProp<"disableBlueprint", boolean, false, null, "Disables the blueprint and use properties instead."> & DefineProp<"position", "top" | "bottom", false, "top", "The position of the horizontal tab."> & DefineRef<{
|
|
4
4
|
getTabs: () => Promise<HTMLElement>;
|
|
5
5
|
}>;
|
|
6
6
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<TabsProps> & {
|
|
@@ -18,5 +18,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<TabsProps> &
|
|
|
18
18
|
}> | ((ref: {
|
|
19
19
|
getTabs: () => Promise<HTMLElement>;
|
|
20
20
|
}) => void);
|
|
21
|
-
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "variant" | "vertical" | "grow" | "blueprint" | "position" | "class" | "colors" | "toned" | "ref" | "v-model" | "modelValue" | "contentClass" | "emit:update:modelValue" | "stacked" | "scrolling" | "hideTabNameIfOnlyOneTab" | "noScrolling" | "alignTabs" | "disableBlueprint"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
21
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "variant" | "vertical" | "grow" | "blueprint" | "position" | "class" | "colors" | "toned" | "ref" | "v-model" | "modelValue" | "contentClass" | "emit:update:modelValue" | "stacked" | "scrolling" | "hideTabName" | "hideTabNameIfOnlyOneTab" | "noScrolling" | "alignTabs" | "disableBlueprint"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
22
22
|
export default _default;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { MediaPickerMedia } from "@omnia/fx-models";
|
|
1
|
+
import { BlueprintVariant, ColorSchema, ColorSchemaTypes, ContainerFillBlueprint, MediaPickerMedia } from "@omnia/fx-models";
|
|
2
2
|
import { type FunctionalComponent, HTMLAttributes, SetupContext, SlotsType, VNodeChild } from "vue";
|
|
3
3
|
import { useColorSchemaStore } from "../../aurora";
|
|
4
4
|
type MediaComponentProps = {
|
|
5
5
|
media?: MediaPickerMedia | string;
|
|
6
6
|
theme?: ReturnType<typeof useColorSchemaStore>;
|
|
7
7
|
variant?: "image" | "avatar";
|
|
8
|
+
containerVariant?: BlueprintVariant | ContainerFillBlueprint;
|
|
9
|
+
colorSchemaType?: ColorSchemaTypes | ColorSchema;
|
|
8
10
|
} & HTMLAttributes;
|
|
9
11
|
export declare function defineCardView(): {
|
|
10
12
|
Header: typeof HeaderComponent;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VelcronDefinition } from "@omnia/fx-models";
|
|
2
|
+
import { useVelcronCanvasStore } from "../store";
|
|
3
|
+
export declare function useCanvasEditorHooks(canvasStore: ReturnType<typeof useVelcronCanvasStore>): {
|
|
4
|
+
onItemSelected: (item: VelcronDefinition) => void;
|
|
5
|
+
wrapperStyleExtensions: (definition: any, renderCtx: any) => string;
|
|
6
|
+
renderExtensions: (definition: VelcronDefinition) => void;
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./canvasEditorHooks";
|