@omnia/fx 8.0.524-dev → 8.0.526-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/admin/usermanagement/groups/GroupDetailBlade.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/admin/usermanagement/usertypes/UserTypeDeleteDialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/app/management/blades/CreateItemBlade.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/GeneralTab.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/appprovisioningwizard/AppProvisioningWizard.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/components/AppInstancePermissionsVueComponent.d.ts +11 -21
- package/internal-do-not-import-from-here/ux/appprovisioning/components/AppProvisioningComponentBase.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/editorchrome/EditorChrome.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorChromeStoreV2.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/editorchrome/toolbars/HeaderToolbar.d.ts +6 -3
- package/internal-do-not-import-from-here/ux/governancedashboard/BarChartIndicator.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/governancedashboard/BarChartIndicator.stylex.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts +127 -3
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.stylex.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutRendererCanvasV2.d.ts +29 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasEditorStore.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStoreV2.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/mediagallery/gallerydialogproviders/slider/Slider.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/mediapickerV2/chrome/MediaPicker.d.ts +13 -442
- package/internal-do-not-import-from-here/ux/models/BarChartIndicatorStyles.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaPickerNodeView.d.ts +20 -85
- package/internal-do-not-import-from-here/ux/social/templates/LikeListingTemplate.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/Shared.d.ts +19 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutEditor.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutEditor_old.d.ts +27 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/helpers/ConfigurationHelper.d.ts +43 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/DefineDefaultView.d.ts +58 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/actions/CanvasActions.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/actions/CheckedOutActions.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/actions/NotCheckedOutActions.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/actions/PanelActions.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/stores/VersionedLayoutEditorStoreV2.d.ts +60 -0
- package/internal-do-not-import-from-here/wctypings.d.ts +27 -10
- package/package.json +4 -4
- package/internal-do-not-import-from-here/ux/governancedashboard/BarChartIndicator.css.d.ts +0 -1
package/internal-do-not-import-from-here/ux/admin/usermanagement/groups/GroupDetailBlade.d.ts
CHANGED
@@ -43,5 +43,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
43
43
|
default?: import("vue").Slot;
|
44
44
|
$stable?: boolean;
|
45
45
|
}, "actions">;
|
46
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "businessProfileId" | "slot:actions" | "readonly" | "getApi" | "group" | "
|
46
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "businessProfileId" | "slot:actions" | "readonly" | "getApi" | "group" | "emit:save" | "hasAdminPermission" | "emit:delete"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
47
47
|
export default _default;
|
package/internal-do-not-import-from-here/ux/admin/usermanagement/usertypes/UserTypeDeleteDialog.d.ts
CHANGED
@@ -16,5 +16,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
16
16
|
default?: import("vue").Slot;
|
17
17
|
$stable?: boolean;
|
18
18
|
}, never>;
|
19
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "modelValue" | "emit:update:modelValue" | "
|
19
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "modelValue" | "emit:update:modelValue" | "emit:close" | "userType"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
20
20
|
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { FontAwesomeIcon, guid } from "@omnia/fx-models";
|
2
2
|
import { DefineEmit, DefineProp, WizardStyles } from "@omnia/fx/ux";
|
3
3
|
import { appProvisioningComponentBaseProps } from "internal/fx/ux/appprovisioning/components";
|
4
4
|
import { TemplateStyles } from "internal/fx/ux/templatepicker/TemplatePicker.css";
|
@@ -20,17 +20,17 @@ export interface ItemMenuSetting {
|
|
20
20
|
icon: FontAwesomeIcon;
|
21
21
|
bladeType: BladeType;
|
22
22
|
}
|
23
|
-
type AppProvisioningWizardProps = appProvisioningComponentBaseProps & DefineProp<"styles", typeof WizardStyles> & DefineProp<"stylesTemplate", typeof TemplateStyles> & DefineProp<"
|
23
|
+
type AppProvisioningWizardProps = appProvisioningComponentBaseProps & DefineProp<"styles", typeof WizardStyles> & DefineProp<"stylesTemplate", typeof TemplateStyles> & DefineProp<"templatesToShow", Array<guid>> & DefineProp<"isOnDialog", boolean> & DefineProp<"horizontalMinHeight", number> & DefineProp<"colsGrid", number> & DefineProp<"templatePickerWrapperClass", string> & DefineProp<"isSort", boolean> & DefineProp<"isBlade", boolean> & DefineEmit<"refreshAllTabs", () => void>;
|
24
24
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<AppProvisioningWizardProps> & {
|
25
25
|
onApproved?: () => any;
|
26
26
|
onProvisioningCanceled?: () => any;
|
27
27
|
onInstancePropertiesChanged?: () => any;
|
28
|
-
onProvisioningCompleted?: (appInstance: AppInstance) => any;
|
28
|
+
onProvisioningCompleted?: (appInstance: import("@omnia/fx-models").AppInstance) => any;
|
29
29
|
onRefreshAllTabs?: () => any;
|
30
30
|
} & {
|
31
31
|
"v-slots"?: {} & Omit<{
|
32
32
|
default?: import("vue").Slot;
|
33
33
|
$stable?: boolean;
|
34
34
|
}, never>;
|
35
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "appDefinitionId" | "styles" | "colsGrid" | "stylesTemplate" | "isSort" | "isOnDialog" | "horizontalMinHeight" | "
|
35
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "appDefinitionId" | "styles" | "colsGrid" | "stylesTemplate" | "isSort" | "isOnDialog" | "horizontalMinHeight" | "emit:refreshAllTabs" | "allowMultipleAppAdministrators" | "allowMemberAndGroup" | "showEnabledTemplatesOnly" | "enableUserStep" | "emit:approved" | "emit:provisioningCanceled" | "emit:instancePropertiesChanged" | "emit:provisioningCompleted" | "templatesToShow" | "templatePickerWrapperClass" | "isBlade"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
36
36
|
export default _default;
|
package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/GeneralTab.d.ts
CHANGED
@@ -18,5 +18,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DefineEmit<"
|
|
18
18
|
default?: import("vue").Slot;
|
19
19
|
$stable?: boolean;
|
20
20
|
}, never>;
|
21
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "
|
21
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "emit:save" | "emit:close" | "isSaving" | "hasError" | "errorMessage" | "resourceTypeId" | "hasSaved"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
22
22
|
export default _default;
|
@@ -14,5 +14,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<AppProvision
|
|
14
14
|
default?: import("vue").Slot;
|
15
15
|
$stable?: boolean;
|
16
16
|
}, never>;
|
17
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "appDefinitionId" | "styles" | "colsGrid" | "stylesTemplate" | "isSort" | "isOnDialog" | "horizontalMinHeight" | "initialAppInstance" | "emit:refreshAllTabs" | "allowMultipleAppAdministrators" | "allowMemberAndGroup" | "showEnabledTemplatesOnly" | "enableUserStep" | "emit:approved" | "emit:provisioningCanceled" | "emit:instancePropertiesChanged" | "emit:provisioningCompleted" | "
|
17
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "appDefinitionId" | "styles" | "colsGrid" | "stylesTemplate" | "isSort" | "isOnDialog" | "horizontalMinHeight" | "initialAppInstance" | "emit:refreshAllTabs" | "allowMultipleAppAdministrators" | "allowMemberAndGroup" | "showEnabledTemplatesOnly" | "enableUserStep" | "emit:approved" | "emit:provisioningCanceled" | "emit:instancePropertiesChanged" | "emit:provisioningCompleted" | "templatesToShow" | "templatePickerWrapperClass" | "isBlade" | "initialAppTemplate" | "initialAppDefinition"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
18
18
|
export default _default;
|
@@ -1,24 +1,14 @@
|
|
1
|
-
import { AppInstance
|
2
|
-
|
3
|
-
interface AppInstanceUsersVueComponentProps {
|
1
|
+
import { AppInstance } from "../../../models";
|
2
|
+
declare const _default: (props: import("../..").ExtractProps<{
|
4
3
|
appInstance?: AppInstance;
|
4
|
+
} & {
|
5
5
|
allowMultipleAppAdministrators?: boolean;
|
6
|
+
} & {
|
6
7
|
allowMemberAndGroup?: boolean;
|
7
|
-
}
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
private appPolicyValidationState;
|
15
|
-
private identities;
|
16
|
-
private minimumAdministratorsMessage;
|
17
|
-
private minimumAdminitrators;
|
18
|
-
created(): void;
|
19
|
-
mounted(): void;
|
20
|
-
onAdminChanged(): void;
|
21
|
-
updateAppAdministrators(identities: Array<Identity>): void;
|
22
|
-
render(): import("vue/jsx-runtime").JSX.Element;
|
23
|
-
}
|
24
|
-
export {};
|
8
|
+
}> & {} & {
|
9
|
+
"v-slots"?: {} & Omit<{
|
10
|
+
default?: import("vue").Slot;
|
11
|
+
$stable?: boolean;
|
12
|
+
}, never>;
|
13
|
+
} & {} & Omit<import("../..").VueComponentBaseProps, "appInstance" | "allowMultipleAppAdministrators" | "allowMemberAndGroup"> & import("../..").VNodeEvents) => any;
|
14
|
+
export default _default;
|
@@ -30,6 +30,8 @@ export declare function useAppProvisioningComponentBase(props: IAppProvisioningC
|
|
30
30
|
createAppProvisioningContextInstance: (stepInfo: AppProvisioningStepInfo) => AppProvisioningStepContext;
|
31
31
|
getAppProvisioningSteps: (appTemplate: AppTemplate) => Promise<AppProvisioningStepInfo[]>;
|
32
32
|
initAppInstanceInfo: (appTemplate: AppTemplate, appDefinition: AppDefinition) => Promise<void>;
|
33
|
+
getAppendInformationInputManifestId: () => guid;
|
34
|
+
getOverriddenInformationInputManifestId: () => guid;
|
33
35
|
};
|
34
36
|
export declare abstract class AppProvisioningComponentBase<Props = IAppProvisioningComponentProps, EventsWithOn = {}, ScopedSlotArgs = {}> extends VueComponentBase<Props, EventsWithOn, ScopedSlotArgs> {
|
35
37
|
appDefinitionId?: guid;
|
@@ -9,5 +9,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<EditorChrome
|
|
9
9
|
default?: import("vue").Slot;
|
10
10
|
$stable?: boolean;
|
11
11
|
}, never>;
|
12
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "hideCloseButton" | "subTitle" | "getApi" | "emit:
|
12
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "hideCloseButton" | "subTitle" | "getApi" | "emit:close" | "emit:ready:render"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
13
13
|
export default _default;
|
@@ -1,8 +1,11 @@
|
|
1
|
-
import { DefinePropTheming } from "@omnia/fx/ux";
|
2
|
-
|
1
|
+
import { DefineEmit, DefinePropTheming } from "@omnia/fx/ux";
|
2
|
+
type ToolbarButtonProps = DefinePropTheming & DefineEmit<"close", () => true>;
|
3
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ToolbarButtonProps> & {
|
4
|
+
onClose?: () => any;
|
5
|
+
} & {
|
3
6
|
"v-slots"?: {} & Omit<{
|
4
7
|
default?: import("vue").Slot;
|
5
8
|
$stable?: boolean;
|
6
9
|
}, never>;
|
7
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "colors"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
10
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "colors" | "emit:close"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
8
11
|
export default _default;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import "./BarChartIndicator.css";
|
2
1
|
import { IIcon } from "../../models";
|
3
2
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
4
3
|
clickCallback?: (label?: string) => void;
|
@@ -17,7 +16,7 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
17
16
|
label?: string;
|
18
17
|
} & {
|
19
18
|
style?: {
|
20
|
-
container?: import("typestyle/lib/types").NestedCSSProperties;
|
19
|
+
container?: (color: string) => import("typestyle/lib/types").NestedCSSProperties;
|
21
20
|
title: import("typestyle/lib/types").NestedCSSProperties;
|
22
21
|
arrow: import("typestyle/lib/types").NestedCSSProperties;
|
23
22
|
previous: import("typestyle/lib/types").NestedCSSProperties;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export declare const BarChartIndicatorStyles: {
|
2
|
+
container: (color: string) => Readonly<import("../Styles.stylex").StylexValue>;
|
3
|
+
title: Readonly<import("../Styles.stylex").StylexValue>;
|
4
|
+
arrow: Readonly<import("../Styles.stylex").StylexValue>;
|
5
|
+
previous: Readonly<import("../Styles.stylex").StylexValue>;
|
6
|
+
next: Readonly<import("../Styles.stylex").StylexValue>;
|
7
|
+
};
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts
CHANGED
@@ -1,11 +1,9 @@
|
|
1
1
|
import { EditorChromeConfiguration, guid, ILayoutFileContext, ILayoutMediaContext } from "@omnia/fx-models";
|
2
2
|
import { useEditorChromeStore, useLayoutCanvasStore } from "@omnia/fx/ux";
|
3
|
-
import { type useLayoutCanvasEditorStore } from "../stores/LayoutCanvasEditorStore";
|
4
3
|
export interface LayoutEditorCanvasSettings {
|
5
4
|
blockProvider?: string;
|
6
5
|
chromeStore: ReturnType<typeof useEditorChromeStore>;
|
7
|
-
|
8
|
-
layoutCanvasStore?: ReturnType<typeof useLayoutCanvasStore>;
|
6
|
+
layoutCanvasStore: ReturnType<typeof useLayoutCanvasStore>;
|
9
7
|
mediaContext?: ILayoutMediaContext;
|
10
8
|
fileContext?: ILayoutFileContext;
|
11
9
|
}
|
@@ -73,6 +71,7 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
|
|
73
71
|
};
|
74
72
|
rules: {
|
75
73
|
isEditMode: () => boolean;
|
74
|
+
isEmptyLayout: () => boolean;
|
76
75
|
};
|
77
76
|
readonly editor: {
|
78
77
|
state: {
|
@@ -186,6 +185,7 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
|
|
186
185
|
isClipboardActive: () => boolean;
|
187
186
|
activeItem: {
|
188
187
|
isSection(): boolean;
|
188
|
+
isFirstSectionActive(): boolean;
|
189
189
|
};
|
190
190
|
showSelectors: () => boolean;
|
191
191
|
isLayoutItemLocked: (item: import("@omnia/fx-models").LayoutItem) => boolean;
|
@@ -199,4 +199,128 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
|
|
199
199
|
} & {
|
200
200
|
dispose?: () => void;
|
201
201
|
};
|
202
|
+
layoutEditorCanvasStore: {
|
203
|
+
state: {
|
204
|
+
editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
|
205
|
+
canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
|
206
|
+
id: guid;
|
207
|
+
settings: {
|
208
|
+
authDisabled: boolean;
|
209
|
+
breakpointSettingsEnabled: boolean;
|
210
|
+
};
|
211
|
+
drawerMode: "settings" | "editing" | "layout-structure" | "clipboard";
|
212
|
+
selected: {
|
213
|
+
layoutItem: import("@omnia/fx-models").LayoutItem;
|
214
|
+
clipBoardItem: import("@omnia/fx-models").ClipboardLayoutItem;
|
215
|
+
displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint;
|
216
|
+
layoutItem4Action: import("@omnia/fx-models").LayoutItem;
|
217
|
+
};
|
218
|
+
active: {
|
219
|
+
layoutItemAction: import("@omnia/fx-models").LayoutItemActionState;
|
220
|
+
};
|
221
|
+
dialogs: {
|
222
|
+
developerTools: {
|
223
|
+
show: boolean;
|
224
|
+
};
|
225
|
+
};
|
226
|
+
};
|
227
|
+
events: import("../../mobile").StoreEvents<{
|
228
|
+
editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
|
229
|
+
canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
|
230
|
+
id: guid;
|
231
|
+
settings: {
|
232
|
+
authDisabled: boolean;
|
233
|
+
breakpointSettingsEnabled: boolean;
|
234
|
+
};
|
235
|
+
drawerMode: "settings" | "editing" | "layout-structure" | "clipboard";
|
236
|
+
selected: {
|
237
|
+
layoutItem: import("@omnia/fx-models").LayoutItem;
|
238
|
+
clipBoardItem: import("@omnia/fx-models").ClipboardLayoutItem;
|
239
|
+
displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint;
|
240
|
+
layoutItem4Action: import("@omnia/fx-models").LayoutItem;
|
241
|
+
};
|
242
|
+
active: {
|
243
|
+
layoutItemAction: import("@omnia/fx-models").LayoutItemActionState;
|
244
|
+
};
|
245
|
+
dialogs: {
|
246
|
+
developerTools: {
|
247
|
+
show: boolean;
|
248
|
+
};
|
249
|
+
};
|
250
|
+
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
251
|
+
actions: import("../../mobile").StoreReturnDefineAction<{
|
252
|
+
onActivated: () => void;
|
253
|
+
scrollToLayoutItem: (item: import("@omnia/fx-models").LayoutItem) => void;
|
254
|
+
selection: () => import("../../mobile").StoreReturnDefineAction<{
|
255
|
+
execActiveAction: (container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
256
|
+
toggleActiveAction: (item: import("@omnia/fx-models").LayoutItem | import("@omnia/fx-models").ClipboardLayoutItem, action: import("@omnia/fx-models").LayoutItemActionState) => void;
|
257
|
+
removeActiveAction: () => void;
|
258
|
+
removeLayoutItemSelection: () => void;
|
259
|
+
setLayoutItem: (item: import("@omnia/fx-models").LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
260
|
+
}>;
|
261
|
+
enableDisplayBreakpointSettings: (enable: boolean) => void;
|
262
|
+
block: () => {
|
263
|
+
set: {
|
264
|
+
suggestedBlocks: (blocks: string[]) => void;
|
265
|
+
};
|
266
|
+
ensureRemoveDeletedBlocks: (layout: import("@omnia/fx-models").Layout) => void;
|
267
|
+
};
|
268
|
+
show: () => import("../../mobile").StoreReturnDefineAction<{
|
269
|
+
editingPanel: (action: "show" | "hide" | "toggle") => void;
|
270
|
+
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
271
|
+
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
272
|
+
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
273
|
+
developerTools: () => void;
|
274
|
+
}>;
|
275
|
+
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
276
|
+
copyItem: (item2Copy: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
|
277
|
+
moveItem: (item2Move: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
278
|
+
addItem: (itemreference: import("@omnia/fx-models").AddItemToLayoutPayLoad) => void;
|
279
|
+
insertClipboardItem: (clipboard: import("@omnia/fx-models").ClipboardLayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
|
280
|
+
deleteItem: (itemreference: import("@omnia/fx-models").DeleteItemFromLayoutPayLoad) => void;
|
281
|
+
changeSectionType: (section: import("@omnia/fx-models").Section, type: import("@omnia/fx-models").SectionTypes) => void;
|
282
|
+
}>;
|
283
|
+
configureDrawer: (header: {
|
284
|
+
icon?: import("@omnia/fx-models").IIcon;
|
285
|
+
title?: string;
|
286
|
+
enabled?: boolean;
|
287
|
+
}, customScroll?: boolean) => void;
|
288
|
+
setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
|
289
|
+
setCanvasMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
|
290
|
+
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
291
|
+
onBlockRemoved(block: import("@omnia/fx-models").Block): void;
|
292
|
+
onLayoutItemMoved(layoutItem: import("@omnia/fx-models").LayoutItem): void;
|
293
|
+
onBlockCopiedHook(originalBlock: import("@omnia/fx-models").Block, newBlock: import("@omnia/fx-models").Block): void;
|
294
|
+
onLayoutItemPasted(layoutItem: import("@omnia/fx-models").ClipboardLayoutItem): void;
|
295
|
+
}>;
|
296
|
+
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof useEditorChromeStore>) => void;
|
297
|
+
}>;
|
298
|
+
get: {
|
299
|
+
settingsDefinitions: import("@omnia/fx/ux").LayoutDefinitionBuilder;
|
300
|
+
layout: {
|
301
|
+
active: () => import("@omnia/fx-models").Layout;
|
302
|
+
};
|
303
|
+
block: {
|
304
|
+
suggestions: () => string[];
|
305
|
+
renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
|
306
|
+
};
|
307
|
+
};
|
308
|
+
rules: {
|
309
|
+
isSettingsActive: () => boolean;
|
310
|
+
isLayoutStructureActive: () => boolean;
|
311
|
+
isClipboardActive: () => boolean;
|
312
|
+
activeItem: {
|
313
|
+
isSection(): boolean;
|
314
|
+
isFirstSectionActive(): boolean;
|
315
|
+
};
|
316
|
+
showSelectors: () => boolean;
|
317
|
+
isLayoutItemLocked: (item: import("@omnia/fx-models").LayoutItem) => boolean;
|
318
|
+
isTemplateEnabledLayout: () => boolean;
|
319
|
+
isAdvancedModeActivated: () => boolean;
|
320
|
+
isAuthDisabled: () => boolean;
|
321
|
+
};
|
322
|
+
} & {
|
323
|
+
dispose?: () => void;
|
324
|
+
};
|
325
|
+
refresh(): void;
|
202
326
|
};
|
@@ -63,6 +63,7 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
63
63
|
};
|
64
64
|
rules: {
|
65
65
|
isEditMode: () => boolean;
|
66
|
+
isEmptyLayout: () => boolean;
|
66
67
|
};
|
67
68
|
readonly editor: {
|
68
69
|
state: {
|
@@ -176,6 +177,7 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
176
177
|
isClipboardActive: () => boolean;
|
177
178
|
activeItem: {
|
178
179
|
isSection(): boolean;
|
180
|
+
isFirstSectionActive(): boolean;
|
179
181
|
};
|
180
182
|
showSelectors: () => boolean;
|
181
183
|
isLayoutItemLocked: (item: import("@omnia/fx-models").LayoutItem) => boolean;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.stylex.d.ts
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
import { useColorSchemaStore } from "../..";
|
1
2
|
export declare const LayoutEditorCanvasStyles: {
|
2
|
-
|
3
|
+
canvasWrapper: (active: boolean, store: ReturnType<typeof useColorSchemaStore>) => Readonly<import("../..").StylexValue>;
|
4
|
+
layoutItemEmptySelectorPosition: Readonly<import("../..").StylexValue>;
|
3
5
|
};
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { ILayoutMediaContext, ILayoutFileContext } from "@omnia/fx/models";
|
2
|
+
import { DefineRef, DefineProp } from "@omnia/fx/ux";
|
3
|
+
import { useLayoutCanvasStore } from "../";
|
4
|
+
type Props = DefineProp<"designRender", boolean, false, null> & DefineRef<{
|
5
|
+
layoutCanvasStore: ReturnType<typeof useLayoutCanvasStore>;
|
6
|
+
mediaContext: ILayoutMediaContext;
|
7
|
+
fileContext: ILayoutFileContext;
|
8
|
+
}> & DefineProp<"height", string, false, null> & DefineProp<"provider", string, false, null> & DefineProp<"disableScrollCompensation", boolean, false, false> & DefineProp<"noScroll", boolean, false, false>;
|
9
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Props> & {} & {
|
10
|
+
"v-slots"?: {} & Omit<{
|
11
|
+
default?: import("vue").Slot;
|
12
|
+
$stable?: boolean;
|
13
|
+
}, never>;
|
14
|
+
} & {
|
15
|
+
ref?: import("vue").Ref<{
|
16
|
+
layoutCanvasStore: ReturnType<typeof useLayoutCanvasStore>;
|
17
|
+
mediaContext: ILayoutMediaContext;
|
18
|
+
fileContext: ILayoutFileContext;
|
19
|
+
}, {
|
20
|
+
layoutCanvasStore: ReturnType<typeof useLayoutCanvasStore>;
|
21
|
+
mediaContext: ILayoutMediaContext;
|
22
|
+
fileContext: ILayoutFileContext;
|
23
|
+
}> | ((ref: {
|
24
|
+
layoutCanvasStore: ReturnType<typeof useLayoutCanvasStore>;
|
25
|
+
mediaContext: ILayoutMediaContext;
|
26
|
+
fileContext: ILayoutFileContext;
|
27
|
+
}) => void);
|
28
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "height" | "provider" | "ref" | "designRender" | "disableScrollCompensation" | "noScroll"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
29
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasEditorStore.d.ts
CHANGED
@@ -113,6 +113,7 @@ export declare const useLayoutCanvasEditorStore: () => {
|
|
113
113
|
isClipboardActive: () => boolean;
|
114
114
|
activeItem: {
|
115
115
|
isSection(): boolean;
|
116
|
+
isFirstSectionActive(): boolean;
|
116
117
|
};
|
117
118
|
showSelectors: () => boolean;
|
118
119
|
isLayoutItemLocked: (item: LayoutItem) => boolean;
|
@@ -76,6 +76,7 @@ export declare const useLayoutCanvasStore: () => {
|
|
76
76
|
};
|
77
77
|
rules: {
|
78
78
|
isEditMode: () => boolean;
|
79
|
+
isEmptyLayout: () => boolean;
|
79
80
|
};
|
80
81
|
readonly editor: {
|
81
82
|
state: {
|
@@ -189,6 +190,7 @@ export declare const useLayoutCanvasStore: () => {
|
|
189
190
|
isClipboardActive: () => boolean;
|
190
191
|
activeItem: {
|
191
192
|
isSection(): boolean;
|
193
|
+
isFirstSectionActive(): boolean;
|
192
194
|
};
|
193
195
|
showSelectors: () => boolean;
|
194
196
|
isLayoutItemLocked: (item: LayoutItem) => boolean;
|
package/internal-do-not-import-from-here/ux/mediagallery/gallerydialogproviders/slider/Slider.d.ts
CHANGED
@@ -18,5 +18,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
18
18
|
default?: import("vue").Slot;
|
19
19
|
$stable?: boolean;
|
20
20
|
}, never>;
|
21
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "activeIndex" | "
|
21
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "activeIndex" | "emit:close" | "media" | "emit:update:activeIndex" | "v-model:activeIndex" | "showThumbnail"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
22
22
|
export default _default;
|