@omnia/fx 8.0.523-dev → 8.0.525-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/enterpriseproperties/picker/EnterprisePropertyPicker.d.ts +1 -1
- 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 +124 -3
- 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/rollupfilter/loc/localize.d.ts +1 -0
- 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 +16 -8
- 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;
|
@@ -2,7 +2,7 @@ import { DefineEmit, DefineProp, DefineVModel } from "@omnia/fx/ux";
|
|
2
2
|
import { EnterprisePropertyDefinition, ExternalPropertySelectionItem, guid, OSelectVariants, QueryFilter } from "../../../models";
|
3
3
|
declare const emptyArray: any[];
|
4
4
|
declare const excludedPropertyTypeIds: guid[];
|
5
|
-
type EnterprisePropertyPickerProps = DefineVModel<"", Array<string> | string, false, null> & DefineProp<"preSelectedPropertyInternalName", string | Array<string>, false, typeof emptyArray, "Depricated use v-model instead"> & DefineProp<"propertyItems", Array<EnterprisePropertyDefinition>, false, typeof emptyArray> & DefineProp<"externalPropertyItems", Array<ExternalPropertySelectionItem>, false, typeof emptyArray> & DefineProp<"label", string, false, null> & DefineProp<"variant", OSelectVariants | "condition" | "journey", false, null> & DefineProp<"disabled", boolean, false, false> & DefineProp<"multiple", boolean, false, false> & DefineProp<"required", boolean, false, false> & DefineVModel<"queryFilter", QueryFilter[], false> & DefineProp<"labelAddProp", string, false, null> & DefineProp<"labelAddValue", string, false, null> &
|
5
|
+
type EnterprisePropertyPickerProps = DefineVModel<"", Array<string> | string, false, null> & DefineProp<"preSelectedPropertyInternalName", string | Array<string>, false, typeof emptyArray, "Depricated use v-model instead"> & DefineProp<"propertyItems", Array<EnterprisePropertyDefinition>, false, typeof emptyArray> & DefineProp<"externalPropertyItems", Array<ExternalPropertySelectionItem>, false, typeof emptyArray> & DefineProp<"label", string, false, null> & DefineProp<"variant", OSelectVariants | "condition" | "journey" | "list", false, null> & DefineProp<"disabled", boolean, false, false> & DefineProp<"multiple", boolean, false, false> & DefineProp<"required", boolean, false, false> & DefineVModel<"queryFilter", QueryFilter[], false> & DefineProp<"labelAddProp", string, false, null> & DefineProp<"labelAddValue", string, false, null> &
|
6
6
|
/**To support old settings... */
|
7
7
|
DefineEmit<"change", (propertyInternalName: string | Array<string>) => void> & DefineProp<"excludedPropertyTypeIds", Array<guid>, false, typeof excludedPropertyTypeIds> & DefineProp<"hideDetails", boolean, false, false>;
|
8
8
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<EnterprisePropertyPickerProps> & {
|
@@ -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
|
}
|
@@ -199,4 +197,127 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
|
|
199
197
|
} & {
|
200
198
|
dispose?: () => void;
|
201
199
|
};
|
200
|
+
layoutEditorCanvasStore: {
|
201
|
+
state: {
|
202
|
+
editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
|
203
|
+
canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
|
204
|
+
id: guid;
|
205
|
+
settings: {
|
206
|
+
authDisabled: boolean;
|
207
|
+
breakpointSettingsEnabled: boolean;
|
208
|
+
};
|
209
|
+
drawerMode: "settings" | "editing" | "layout-structure" | "clipboard";
|
210
|
+
selected: {
|
211
|
+
layoutItem: import("@omnia/fx-models").LayoutItem;
|
212
|
+
clipBoardItem: import("@omnia/fx-models").ClipboardLayoutItem;
|
213
|
+
displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint;
|
214
|
+
layoutItem4Action: import("@omnia/fx-models").LayoutItem;
|
215
|
+
};
|
216
|
+
active: {
|
217
|
+
layoutItemAction: import("@omnia/fx-models").LayoutItemActionState;
|
218
|
+
};
|
219
|
+
dialogs: {
|
220
|
+
developerTools: {
|
221
|
+
show: boolean;
|
222
|
+
};
|
223
|
+
};
|
224
|
+
};
|
225
|
+
events: import("../../mobile").StoreEvents<{
|
226
|
+
editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
|
227
|
+
canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
|
228
|
+
id: guid;
|
229
|
+
settings: {
|
230
|
+
authDisabled: boolean;
|
231
|
+
breakpointSettingsEnabled: boolean;
|
232
|
+
};
|
233
|
+
drawerMode: "settings" | "editing" | "layout-structure" | "clipboard";
|
234
|
+
selected: {
|
235
|
+
layoutItem: import("@omnia/fx-models").LayoutItem;
|
236
|
+
clipBoardItem: import("@omnia/fx-models").ClipboardLayoutItem;
|
237
|
+
displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint;
|
238
|
+
layoutItem4Action: import("@omnia/fx-models").LayoutItem;
|
239
|
+
};
|
240
|
+
active: {
|
241
|
+
layoutItemAction: import("@omnia/fx-models").LayoutItemActionState;
|
242
|
+
};
|
243
|
+
dialogs: {
|
244
|
+
developerTools: {
|
245
|
+
show: boolean;
|
246
|
+
};
|
247
|
+
};
|
248
|
+
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
249
|
+
actions: import("../../mobile").StoreReturnDefineAction<{
|
250
|
+
onActivated: () => void;
|
251
|
+
scrollToLayoutItem: (item: import("@omnia/fx-models").LayoutItem) => void;
|
252
|
+
selection: () => import("../../mobile").StoreReturnDefineAction<{
|
253
|
+
execActiveAction: (container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
254
|
+
toggleActiveAction: (item: import("@omnia/fx-models").LayoutItem | import("@omnia/fx-models").ClipboardLayoutItem, action: import("@omnia/fx-models").LayoutItemActionState) => void;
|
255
|
+
removeActiveAction: () => void;
|
256
|
+
removeLayoutItemSelection: () => void;
|
257
|
+
setLayoutItem: (item: import("@omnia/fx-models").LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
258
|
+
}>;
|
259
|
+
enableDisplayBreakpointSettings: (enable: boolean) => void;
|
260
|
+
block: () => {
|
261
|
+
set: {
|
262
|
+
suggestedBlocks: (blocks: string[]) => void;
|
263
|
+
};
|
264
|
+
ensureRemoveDeletedBlocks: (layout: import("@omnia/fx-models").Layout) => void;
|
265
|
+
};
|
266
|
+
show: () => import("../../mobile").StoreReturnDefineAction<{
|
267
|
+
editingPanel: (action: "show" | "hide" | "toggle") => void;
|
268
|
+
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
269
|
+
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
270
|
+
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
271
|
+
developerTools: () => void;
|
272
|
+
}>;
|
273
|
+
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
274
|
+
copyItem: (item2Copy: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
|
275
|
+
moveItem: (item2Move: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
276
|
+
addItem: (itemreference: import("@omnia/fx-models").AddItemToLayoutPayLoad) => void;
|
277
|
+
insertClipboardItem: (clipboard: import("@omnia/fx-models").ClipboardLayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
|
278
|
+
deleteItem: (itemreference: import("@omnia/fx-models").DeleteItemFromLayoutPayLoad) => void;
|
279
|
+
changeSectionType: (section: import("@omnia/fx-models").Section, type: import("@omnia/fx-models").SectionTypes) => void;
|
280
|
+
}>;
|
281
|
+
configureDrawer: (header: {
|
282
|
+
icon?: import("@omnia/fx-models").IIcon;
|
283
|
+
title?: string;
|
284
|
+
enabled?: boolean;
|
285
|
+
}, customScroll?: boolean) => void;
|
286
|
+
setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
|
287
|
+
setCanvasMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
|
288
|
+
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
289
|
+
onBlockRemoved(block: import("@omnia/fx-models").Block): void;
|
290
|
+
onLayoutItemMoved(layoutItem: import("@omnia/fx-models").LayoutItem): void;
|
291
|
+
onBlockCopiedHook(originalBlock: import("@omnia/fx-models").Block, newBlock: import("@omnia/fx-models").Block): void;
|
292
|
+
onLayoutItemPasted(layoutItem: import("@omnia/fx-models").ClipboardLayoutItem): void;
|
293
|
+
}>;
|
294
|
+
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof useEditorChromeStore>) => void;
|
295
|
+
}>;
|
296
|
+
get: {
|
297
|
+
settingsDefinitions: import("@omnia/fx/ux").LayoutDefinitionBuilder;
|
298
|
+
layout: {
|
299
|
+
active: () => import("@omnia/fx-models").Layout;
|
300
|
+
};
|
301
|
+
block: {
|
302
|
+
suggestions: () => string[];
|
303
|
+
renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
|
304
|
+
};
|
305
|
+
};
|
306
|
+
rules: {
|
307
|
+
isSettingsActive: () => boolean;
|
308
|
+
isLayoutStructureActive: () => boolean;
|
309
|
+
isClipboardActive: () => boolean;
|
310
|
+
activeItem: {
|
311
|
+
isSection(): boolean;
|
312
|
+
};
|
313
|
+
showSelectors: () => boolean;
|
314
|
+
isLayoutItemLocked: (item: import("@omnia/fx-models").LayoutItem) => boolean;
|
315
|
+
isTemplateEnabledLayout: () => boolean;
|
316
|
+
isAdvancedModeActivated: () => boolean;
|
317
|
+
isAuthDisabled: () => boolean;
|
318
|
+
};
|
319
|
+
} & {
|
320
|
+
dispose?: () => void;
|
321
|
+
};
|
322
|
+
refresh(): void;
|
202
323
|
};
|
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;
|
@@ -1,448 +1,19 @@
|
|
1
|
+
import { DefineProp, DefineVModel, DefineSlot, DefineEmit } from "@omnia/fx/ux";
|
1
2
|
import { VNodeChild } from "vue";
|
2
3
|
import { MediaPickerEnums, MediaPickerImageSettings, MediaPickerProvider, MediaPickerStorageProviderContext, MediaPickerMedia } from "@omnia/fx-models";
|
3
4
|
import { SelectedMedia } from "./types";
|
4
|
-
|
5
|
-
|
6
|
-
"v-slots": import("vue").Prop<{
|
7
|
-
default?: import("../../DefineVueTypings").Slot;
|
8
|
-
} & {
|
9
|
-
activator?: () => VNodeChild;
|
10
|
-
}>;
|
11
|
-
enableMediaCaption: {
|
12
|
-
type: import("vue").PropType<boolean>;
|
13
|
-
required: false;
|
14
|
-
};
|
15
|
-
galleryItemLimit: {
|
16
|
-
type: import("vue").PropType<number>;
|
17
|
-
required: false;
|
18
|
-
};
|
19
|
-
settings: {
|
20
|
-
type: import("vue").PropType<MediaPickerImageSettings>;
|
21
|
-
};
|
22
|
-
enableGallery: {
|
23
|
-
type: import("vue").PropType<boolean>;
|
24
|
-
required: false;
|
25
|
-
};
|
26
|
-
"onUpdate:selectedMedia": {
|
27
|
-
type: import("vue").PropType<(value: SelectedMedia) => any | void>;
|
28
|
-
};
|
29
|
-
"v-model:selectedMedia": {
|
30
|
-
type: import("vue").PropType<SelectedMedia>;
|
31
|
-
required: false;
|
32
|
-
};
|
33
|
-
selectedMedia: {
|
34
|
-
type: import("vue").PropType<SelectedMedia>;
|
35
|
-
required: false;
|
36
|
-
};
|
37
|
-
providerContext: {
|
38
|
-
type: import("vue").PropType<MediaPickerStorageProviderContext>;
|
39
|
-
};
|
40
|
-
providerConfiguration: {
|
41
|
-
type: import("vue").PropType<(providers: MediaPickerProvider[]) => MediaPickerProvider[]>;
|
42
|
-
};
|
43
|
-
selectableMediaTypes: {
|
44
|
-
type: import("vue").PropType<MediaPickerEnums.OmniaMediaTypes[]>;
|
45
|
-
};
|
46
|
-
"onUpdate:modelValue": {
|
47
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
48
|
-
};
|
49
|
-
"v-model": {
|
50
|
-
type: import("vue").PropType<boolean>;
|
51
|
-
required: false;
|
52
|
-
};
|
53
|
-
modelValue: {
|
54
|
-
type: import("vue").PropType<boolean>;
|
55
|
-
required: false;
|
56
|
-
};
|
57
|
-
name: <TName extends string>(n?: TName) => { [key in import("../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
|
58
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
59
|
-
}; } & { [key_1 in import("../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
|
60
|
-
type: import("vue").PropType<boolean>;
|
61
|
-
required: false;
|
62
|
-
}; } & { [key_2 in import("../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
|
63
|
-
type: import("vue").PropType<boolean>;
|
64
|
-
required: false;
|
65
|
-
}; } & {
|
66
|
-
require(): import("../../DefineVueTypings").DefinePropModelRequire<TName, boolean, {
|
67
|
-
"onUpdate:modelValue": {
|
68
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
69
|
-
};
|
70
|
-
} & {
|
71
|
-
"v-model": {
|
72
|
-
type: import("vue").PropType<boolean>;
|
73
|
-
required: false;
|
74
|
-
};
|
75
|
-
} & {
|
76
|
-
modelValue: {
|
77
|
-
type: import("vue").PropType<boolean>;
|
78
|
-
required: false;
|
79
|
-
};
|
80
|
-
}>;
|
81
|
-
defaultValue(value?: boolean): import("../../DefineVueTypings").DefinePropModelDefaultValue<TName, boolean, {
|
82
|
-
"onUpdate:modelValue": {
|
83
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
84
|
-
};
|
85
|
-
} & {
|
86
|
-
"v-model": {
|
87
|
-
type: import("vue").PropType<boolean>;
|
88
|
-
required: false;
|
89
|
-
};
|
90
|
-
} & {
|
91
|
-
modelValue: {
|
92
|
-
type: import("vue").PropType<boolean>;
|
93
|
-
required: false;
|
94
|
-
};
|
95
|
-
}, false>;
|
96
|
-
doc$(description?: string): import("../../DefineVueTypings").DefinePropModelDoc<TName, boolean, {
|
97
|
-
"onUpdate:modelValue": {
|
98
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
99
|
-
};
|
100
|
-
} & {
|
101
|
-
"v-model": {
|
102
|
-
type: import("vue").PropType<boolean>;
|
103
|
-
required: false;
|
104
|
-
};
|
105
|
-
} & {
|
106
|
-
modelValue: {
|
107
|
-
type: import("vue").PropType<boolean>;
|
108
|
-
required: false;
|
109
|
-
};
|
110
|
-
}>;
|
111
|
-
};
|
112
|
-
}>> & {
|
113
|
-
onClose?: () => any;
|
114
|
-
onSave?: (result: MediaPickerMedia | MediaPickerMedia[]) => any;
|
115
|
-
onDoc$?: (description?: string) => any;
|
116
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
117
|
-
close: () => void;
|
118
|
-
doc$(description?: string): {
|
119
|
-
close: () => void;
|
120
|
-
};
|
121
|
-
save: (result: MediaPickerMedia | MediaPickerMedia[]) => void;
|
122
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
123
|
-
P: {};
|
124
|
-
B: {};
|
125
|
-
D: {};
|
126
|
-
C: {};
|
127
|
-
M: {};
|
128
|
-
Defaults: {};
|
129
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
130
|
-
"v-slots": import("vue").Prop<{
|
131
|
-
default?: import("../../DefineVueTypings").Slot;
|
132
|
-
} & {
|
133
|
-
activator?: () => VNodeChild;
|
134
|
-
}>;
|
135
|
-
enableMediaCaption: {
|
136
|
-
type: import("vue").PropType<boolean>;
|
137
|
-
required: false;
|
138
|
-
};
|
139
|
-
galleryItemLimit: {
|
140
|
-
type: import("vue").PropType<number>;
|
141
|
-
required: false;
|
142
|
-
};
|
143
|
-
settings: {
|
144
|
-
type: import("vue").PropType<MediaPickerImageSettings>;
|
145
|
-
};
|
146
|
-
enableGallery: {
|
147
|
-
type: import("vue").PropType<boolean>;
|
148
|
-
required: false;
|
149
|
-
};
|
150
|
-
"onUpdate:selectedMedia": {
|
151
|
-
type: import("vue").PropType<(value: SelectedMedia) => any | void>;
|
152
|
-
};
|
153
|
-
"v-model:selectedMedia": {
|
154
|
-
type: import("vue").PropType<SelectedMedia>;
|
155
|
-
required: false;
|
156
|
-
};
|
157
|
-
selectedMedia: {
|
158
|
-
type: import("vue").PropType<SelectedMedia>;
|
159
|
-
required: false;
|
160
|
-
};
|
161
|
-
providerContext: {
|
162
|
-
type: import("vue").PropType<MediaPickerStorageProviderContext>;
|
163
|
-
};
|
164
|
-
providerConfiguration: {
|
165
|
-
type: import("vue").PropType<(providers: MediaPickerProvider[]) => MediaPickerProvider[]>;
|
166
|
-
};
|
167
|
-
selectableMediaTypes: {
|
168
|
-
type: import("vue").PropType<MediaPickerEnums.OmniaMediaTypes[]>;
|
169
|
-
};
|
170
|
-
"onUpdate:modelValue": {
|
171
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
172
|
-
};
|
173
|
-
"v-model": {
|
174
|
-
type: import("vue").PropType<boolean>;
|
175
|
-
required: false;
|
176
|
-
};
|
177
|
-
modelValue: {
|
178
|
-
type: import("vue").PropType<boolean>;
|
179
|
-
required: false;
|
180
|
-
};
|
181
|
-
name: <TName extends string>(n?: TName) => { [key in import("../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
|
182
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
183
|
-
}; } & { [key_1 in import("../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
|
184
|
-
type: import("vue").PropType<boolean>;
|
185
|
-
required: false;
|
186
|
-
}; } & { [key_2 in import("../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
|
187
|
-
type: import("vue").PropType<boolean>;
|
188
|
-
required: false;
|
189
|
-
}; } & {
|
190
|
-
require(): import("../../DefineVueTypings").DefinePropModelRequire<TName, boolean, {
|
191
|
-
"onUpdate:modelValue": {
|
192
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
193
|
-
};
|
194
|
-
} & {
|
195
|
-
"v-model": {
|
196
|
-
type: import("vue").PropType<boolean>;
|
197
|
-
required: false;
|
198
|
-
};
|
199
|
-
} & {
|
200
|
-
modelValue: {
|
201
|
-
type: import("vue").PropType<boolean>;
|
202
|
-
required: false;
|
203
|
-
};
|
204
|
-
}>;
|
205
|
-
defaultValue(value?: boolean): import("../../DefineVueTypings").DefinePropModelDefaultValue<TName, boolean, {
|
206
|
-
"onUpdate:modelValue": {
|
207
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
208
|
-
};
|
209
|
-
} & {
|
210
|
-
"v-model": {
|
211
|
-
type: import("vue").PropType<boolean>;
|
212
|
-
required: false;
|
213
|
-
};
|
214
|
-
} & {
|
215
|
-
modelValue: {
|
216
|
-
type: import("vue").PropType<boolean>;
|
217
|
-
required: false;
|
218
|
-
};
|
219
|
-
}, false>;
|
220
|
-
doc$(description?: string): import("../../DefineVueTypings").DefinePropModelDoc<TName, boolean, {
|
221
|
-
"onUpdate:modelValue": {
|
222
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
223
|
-
};
|
224
|
-
} & {
|
225
|
-
"v-model": {
|
226
|
-
type: import("vue").PropType<boolean>;
|
227
|
-
required: false;
|
228
|
-
};
|
229
|
-
} & {
|
230
|
-
modelValue: {
|
231
|
-
type: import("vue").PropType<boolean>;
|
232
|
-
required: false;
|
233
|
-
};
|
234
|
-
}>;
|
235
|
-
};
|
236
|
-
}>> & {
|
237
|
-
onClose?: () => any;
|
238
|
-
onSave?: (result: MediaPickerMedia | MediaPickerMedia[]) => any;
|
239
|
-
onDoc$?: (description?: string) => any;
|
240
|
-
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
|
241
|
-
__isFragment?: never;
|
242
|
-
__isTeleport?: never;
|
243
|
-
__isSuspense?: never;
|
244
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
245
|
-
"v-slots": import("vue").Prop<{
|
246
|
-
default?: import("../../DefineVueTypings").Slot;
|
247
|
-
} & {
|
248
|
-
activator?: () => VNodeChild;
|
249
|
-
}>;
|
250
|
-
enableMediaCaption: {
|
251
|
-
type: import("vue").PropType<boolean>;
|
252
|
-
required: false;
|
253
|
-
};
|
254
|
-
galleryItemLimit: {
|
255
|
-
type: import("vue").PropType<number>;
|
256
|
-
required: false;
|
257
|
-
};
|
258
|
-
settings: {
|
259
|
-
type: import("vue").PropType<MediaPickerImageSettings>;
|
260
|
-
};
|
261
|
-
enableGallery: {
|
262
|
-
type: import("vue").PropType<boolean>;
|
263
|
-
required: false;
|
264
|
-
};
|
265
|
-
"onUpdate:selectedMedia": {
|
266
|
-
type: import("vue").PropType<(value: SelectedMedia) => any | void>;
|
267
|
-
};
|
268
|
-
"v-model:selectedMedia": {
|
269
|
-
type: import("vue").PropType<SelectedMedia>;
|
270
|
-
required: false;
|
271
|
-
};
|
272
|
-
selectedMedia: {
|
273
|
-
type: import("vue").PropType<SelectedMedia>;
|
274
|
-
required: false;
|
275
|
-
};
|
276
|
-
providerContext: {
|
277
|
-
type: import("vue").PropType<MediaPickerStorageProviderContext>;
|
278
|
-
};
|
279
|
-
providerConfiguration: {
|
280
|
-
type: import("vue").PropType<(providers: MediaPickerProvider[]) => MediaPickerProvider[]>;
|
281
|
-
};
|
282
|
-
selectableMediaTypes: {
|
283
|
-
type: import("vue").PropType<MediaPickerEnums.OmniaMediaTypes[]>;
|
284
|
-
};
|
285
|
-
"onUpdate:modelValue": {
|
286
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
287
|
-
};
|
288
|
-
"v-model": {
|
289
|
-
type: import("vue").PropType<boolean>;
|
290
|
-
required: false;
|
291
|
-
};
|
292
|
-
modelValue: {
|
293
|
-
type: import("vue").PropType<boolean>;
|
294
|
-
required: false;
|
295
|
-
};
|
296
|
-
name: <TName extends string>(n?: TName) => { [key in import("../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
|
297
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
298
|
-
}; } & { [key_1 in import("../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
|
299
|
-
type: import("vue").PropType<boolean>;
|
300
|
-
required: false;
|
301
|
-
}; } & { [key_2 in import("../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
|
302
|
-
type: import("vue").PropType<boolean>;
|
303
|
-
required: false;
|
304
|
-
}; } & {
|
305
|
-
require(): import("../../DefineVueTypings").DefinePropModelRequire<TName, boolean, {
|
306
|
-
"onUpdate:modelValue": {
|
307
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
308
|
-
};
|
309
|
-
} & {
|
310
|
-
"v-model": {
|
311
|
-
type: import("vue").PropType<boolean>;
|
312
|
-
required: false;
|
313
|
-
};
|
314
|
-
} & {
|
315
|
-
modelValue: {
|
316
|
-
type: import("vue").PropType<boolean>;
|
317
|
-
required: false;
|
318
|
-
};
|
319
|
-
}>;
|
320
|
-
defaultValue(value?: boolean): import("../../DefineVueTypings").DefinePropModelDefaultValue<TName, boolean, {
|
321
|
-
"onUpdate:modelValue": {
|
322
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
323
|
-
};
|
324
|
-
} & {
|
325
|
-
"v-model": {
|
326
|
-
type: import("vue").PropType<boolean>;
|
327
|
-
required: false;
|
328
|
-
};
|
329
|
-
} & {
|
330
|
-
modelValue: {
|
331
|
-
type: import("vue").PropType<boolean>;
|
332
|
-
required: false;
|
333
|
-
};
|
334
|
-
}, false>;
|
335
|
-
doc$(description?: string): import("../../DefineVueTypings").DefinePropModelDoc<TName, boolean, {
|
336
|
-
"onUpdate:modelValue": {
|
337
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
338
|
-
};
|
339
|
-
} & {
|
340
|
-
"v-model": {
|
341
|
-
type: import("vue").PropType<boolean>;
|
342
|
-
required: false;
|
343
|
-
};
|
344
|
-
} & {
|
345
|
-
modelValue: {
|
346
|
-
type: import("vue").PropType<boolean>;
|
347
|
-
required: false;
|
348
|
-
};
|
349
|
-
}>;
|
350
|
-
};
|
351
|
-
}>> & {
|
5
|
+
type MediaPickerProps = DefineVModel<"", boolean, false, false> & DefineProp<"providerContext", MediaPickerStorageProviderContext> & DefineVModel<"selectedMedia", SelectedMedia> & DefineProp<"enableGallery", boolean> & DefineProp<"settings", MediaPickerImageSettings> & DefineProp<"galleryItemLimit", number, false, -1> & DefineProp<"enableMediaCaption", boolean> & DefineProp<"providerConfiguration", (providers: MediaPickerProvider[]) => MediaPickerProvider[]> & DefineProp<"selectableMediaTypes", MediaPickerEnums.OmniaMediaTypes[]> & DefineSlot<"activator", () => VNodeChild> & DefineEmit<"save", (result: MediaPickerMedia | MediaPickerMedia[]) => void> & DefineEmit<"close", () => void>;
|
6
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<MediaPickerProps> & {
|
352
7
|
onClose?: () => any;
|
8
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
353
9
|
onSave?: (result: MediaPickerMedia | MediaPickerMedia[]) => any;
|
354
|
-
|
355
|
-
}
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
},
|
362
|
-
|
363
|
-
name?: {
|
364
|
-
[x: `onUpdate:${string}`]: {
|
365
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
366
|
-
};
|
367
|
-
} & {
|
368
|
-
[x: `v-model:${string}`]: {
|
369
|
-
type: import("vue").PropType<boolean>;
|
370
|
-
required: false;
|
371
|
-
};
|
372
|
-
} & {
|
373
|
-
[x: string]: {
|
374
|
-
type: import("vue").PropType<boolean>;
|
375
|
-
required: false;
|
376
|
-
};
|
377
|
-
} & {
|
378
|
-
require(): import("../../DefineVueTypings").DefinePropModelRequire<string, boolean, {
|
379
|
-
"onUpdate:modelValue": {
|
380
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
381
|
-
};
|
382
|
-
} & {
|
383
|
-
"v-model": {
|
384
|
-
type: import("vue").PropType<boolean>;
|
385
|
-
required: false;
|
386
|
-
};
|
387
|
-
} & {
|
388
|
-
modelValue: {
|
389
|
-
type: import("vue").PropType<boolean>;
|
390
|
-
required: false;
|
391
|
-
};
|
392
|
-
}>;
|
393
|
-
defaultValue(value?: boolean): import("../../DefineVueTypings").DefinePropModelDefaultValue<string, boolean, {
|
394
|
-
"onUpdate:modelValue": {
|
395
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
396
|
-
};
|
397
|
-
} & {
|
398
|
-
"v-model": {
|
399
|
-
type: import("vue").PropType<boolean>;
|
400
|
-
required: false;
|
401
|
-
};
|
402
|
-
} & {
|
403
|
-
modelValue: {
|
404
|
-
type: import("vue").PropType<boolean>;
|
405
|
-
required: false;
|
406
|
-
};
|
407
|
-
}, false>;
|
408
|
-
doc$(description?: string): import("../../DefineVueTypings").DefinePropModelDoc<string, boolean, {
|
409
|
-
"onUpdate:modelValue": {
|
410
|
-
type: import("vue").PropType<(value: boolean) => any | void>;
|
411
|
-
};
|
412
|
-
} & {
|
413
|
-
"v-model": {
|
414
|
-
type: import("vue").PropType<boolean>;
|
415
|
-
required: false;
|
416
|
-
};
|
417
|
-
} & {
|
418
|
-
modelValue: {
|
419
|
-
type: import("vue").PropType<boolean>;
|
420
|
-
required: false;
|
421
|
-
};
|
422
|
-
}>;
|
423
|
-
};
|
424
|
-
settings?: MediaPickerImageSettings;
|
425
|
-
providerContext?: MediaPickerStorageProviderContext;
|
426
|
-
"v-slots"?: {
|
427
|
-
default?: import("../../DefineVueTypings").Slot;
|
428
|
-
} & {
|
429
|
-
activator?: () => VNodeChild;
|
430
|
-
};
|
431
|
-
"v-model"?: boolean;
|
432
|
-
modelValue?: boolean;
|
433
|
-
"onUpdate:modelValue"?: (value: boolean) => any | void;
|
434
|
-
selectableMediaTypes?: MediaPickerEnums.OmniaMediaTypes[];
|
435
|
-
providerConfiguration?: (providers: MediaPickerProvider[]) => MediaPickerProvider[];
|
436
|
-
selectedMedia?: SelectedMedia;
|
437
|
-
"onUpdate:selectedMedia"?: (value: SelectedMedia) => any | void;
|
438
|
-
"v-model:selectedMedia"?: SelectedMedia;
|
439
|
-
enableGallery?: boolean;
|
440
|
-
galleryItemLimit?: number;
|
441
|
-
enableMediaCaption?: boolean;
|
442
|
-
}>, "onClose" | "onSave" | "onDoc$"> & {
|
443
|
-
onClose?: () => any;
|
444
|
-
onSave?: (result: MediaPickerMedia | MediaPickerMedia[]) => any;
|
445
|
-
onDoc$?: (description?: string) => any;
|
446
|
-
};
|
447
|
-
};
|
10
|
+
"onUpdate:selectedMedia"?: (value: SelectedMedia) => any;
|
11
|
+
} & {
|
12
|
+
"v-slots"?: {
|
13
|
+
activator?: () => VNodeChild;
|
14
|
+
} & Omit<{
|
15
|
+
default?: import("vue").Slot;
|
16
|
+
$stable?: boolean;
|
17
|
+
}, "activator">;
|
18
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "settings" | "providerContext" | "v-model" | "modelValue" | "emit:update:modelValue" | "slot:activator" | "selectedMedia" | "emit:update:selectedMedia" | "v-model:selectedMedia" | "enableGallery" | "galleryItemLimit" | "enableMediaCaption" | "providerConfiguration" | "selectableMediaTypes" | "emit:save" | "emit:close"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
448
19
|
export default _default;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { types } from "typestyle";
|
2
2
|
export declare const BarChartIndicatorStyles: {
|
3
|
-
container?: types.NestedCSSProperties;
|
3
|
+
container?: (color: string) => types.NestedCSSProperties;
|
4
4
|
title: types.NestedCSSProperties;
|
5
5
|
arrow: types.NestedCSSProperties;
|
6
6
|
previous: types.NestedCSSProperties;
|
@@ -6,7 +6,7 @@ export type InputTypes = typeof InputTypeDefinitions[number];
|
|
6
6
|
export type InputApi = {
|
7
7
|
focus: () => void;
|
8
8
|
};
|
9
|
-
type BaseProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"variant", OTextFieldTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"color", ColorValue, false, null, "Define the custom color for text field."> & DefineProp<"readonly", boolean, false, null, "Makes the text field readonly."> & DefineProp<"persistentHint", boolean, false, null, "Forces hint to always be visible."> & DefineProp<"hint", string, false, null, "Sets the hint of the text field. Hint will be displayed below the input when focused."> & DefineProp<"errorMessages", string | string[], false, null, "Puts the input in an error state and passes through custom error messages. Will be combined with any validations that occur from the rules prop. This field will not trigger validation."> & DefineProp<"rules", ValidationRule[], false, null, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message."> & DefineProp<"toned", boolean, false, null, ""> & DefineProp<"transparent", boolean, false, null, "Adds transparency to the text field."> & DefineProp<"label", string, false, null, "The label of the input field."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the input."> & DefineProp<"textBlueprint", TextBlueprint, false, null, "Sets a custom blueprint for the text."> & DefineProp<"blueprint", InputBlueprint, false, null, "Sets a custom blueprint for the text."> & DefineProp<"getApi", (api: InputApi) => void, false, null, "Gets the api"> & DefineSlot<"append", () => VNodeChild, "Adds an item inside the input and after input content."> & DefineProp<"suffix", string, false, null, "The suffix text of the text field."> & DefineProp<"prefix", string, false, null, "The prefix text of the text field."> & DefineSlot<"append-inner", () => VNodeChild, "Adds an item inside the input content."> & DefineSlot<"prepend", () => VNodeChild, "Adds an item outside the input and before input content."> & DefineSlot<"prepend-inner", () => VNodeChild, "Slot that is prepended to the input."> & DefineSlot<"message", () => VNodeChild, "Slot used to customize the message content."> & DefineEmit<"update:focused", (value: boolean) => void, "Emit when search input field is focused."> & DefineEmit<"click:button", () => void, "Emit when click on icon."> & DefineEmit<"click:clear", () => void, "Emit when search input field is cleared.">;
|
9
|
+
type BaseProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"variant", OTextFieldTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"color", ColorValue, false, null, "Define the custom color for text field."> & DefineProp<"readonly", boolean, false, null, "Makes the text field readonly."> & DefineProp<"persistentHint", boolean, false, null, "Forces hint to always be visible."> & DefineProp<"hint", string, false, null, "Sets the hint of the text field. Hint will be displayed below the input when focused."> & DefineProp<"errorMessages", string | string[], false, null, "Puts the input in an error state and passes through custom error messages. Will be combined with any validations that occur from the rules prop. This field will not trigger validation."> & DefineProp<"rules", ValidationRule[], false, null, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message."> & DefineProp<"toned", boolean, false, null, ""> & DefineProp<"transparent", boolean, false, null, "Adds transparency to the text field."> & DefineProp<"label", string, false, null, "The label of the input field."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the input."> & DefineProp<"textBlueprint", TextBlueprint, false, null, "Sets a custom blueprint for the text."> & DefineProp<"blueprint", InputBlueprint, false, null, "Sets a custom blueprint for the text."> & DefineProp<"getApi", (api: InputApi) => void, false, null, "Gets the api"> & DefineSlot<"append", () => VNodeChild, "Adds an item inside the input and after input content."> & DefineProp<"suffix", string, false, null, "The suffix text of the text field."> & DefineProp<"prefix", string, false, null, "The prefix text of the text field."> & DefineSlot<"append-inner", () => VNodeChild, "Adds an item inside the input content."> & DefineSlot<"prepend", () => VNodeChild, "Adds an item outside the input and before input content."> & DefineSlot<"prepend-inner", () => VNodeChild, "Slot that is prepended to the input."> & DefineSlot<"message", () => VNodeChild, "Slot used to customize the message content."> & DefineEmit<"update:focused", (value: boolean) => void, "Emit when search input field is focused."> & DefineEmit<"update:blured", (value: boolean) => void, "Emit when search input field is blured."> & DefineEmit<"click:button", () => void, "Emit when click on icon."> & DefineEmit<"click:clear", () => void, "Emit when search input field is cleared.">;
|
10
10
|
type NumberInputProps = DefineVModel<"", number, false, null, true, "The v-model value of the component."> & DefineProp<"max", number, false, null, "The max value."> & DefineProp<"min", number, false, null, "The min value."> & DefineProp<"step", number, false, null, "incremental steps for adjusting the numeric value."> & DefineProp<"precision", number, false, null, "Enforces strict precision. It is expected to be an integer value in range between 0 and 15, or null for unrestricted."> & BaseProps;
|
11
11
|
type TextInputProps = DefineVModel<"", string, false, null, true, "The v-model value of the component."> & DefineProp<"clearable", boolean, false, false, "Adds a clear button when the text field is not empty."> & DefineProp<"autofocus", boolean, false, false, "Enables autofocus."> & DefineProp<"placeholder", string, false, null, "Sets the input’s placeholder text."> & BaseProps;
|
12
12
|
declare const _default: <TType extends "text" | "number" | "password" = "text">(props: ExtractProps<{
|
@@ -9,5 +9,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<LikeListingT
|
|
9
9
|
default?: import("vue").Slot;
|
10
10
|
$stable?: boolean;
|
11
11
|
}, never>;
|
12
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "
|
12
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "emit:close" | "likes" | "socialReactionStylings" | "currentSocialReaction"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
13
13
|
export default _default;
|
@@ -1,5 +1,23 @@
|
|
1
|
-
import { guid, VersionedLayoutDefinition, VersionedLayout } from "@omnia/fx/models";
|
1
|
+
import { guid, VersionedLayoutDefinition, VersionedLayout, LayoutEditorModes } from "@omnia/fx/models";
|
2
2
|
import { VersionedLayoutEditorApi, VersionedLayoutDefinitionEditorItem } from "@omnia/fx/ux";
|
3
|
+
export interface VersionedLayoutEditorSettings<T extends VersionedLayoutDefinition = VersionedLayoutDefinition> {
|
4
|
+
layoutDefinition: new () => T;
|
5
|
+
appInstanceId?: guid;
|
6
|
+
sort?: (a: VersionedLayout, b: VersionedLayout) => number;
|
7
|
+
businessProfileId?: guid;
|
8
|
+
checkDeletable?: (layout: VersionedLayout) => Promise<boolean>;
|
9
|
+
enableBlockLockSettings?: boolean;
|
10
|
+
versionedLayoutId: number;
|
11
|
+
api: VersionedLayoutEditorApi;
|
12
|
+
layoutEditorMode?: LayoutEditorModes;
|
13
|
+
enableAlternateLayouts?: boolean;
|
14
|
+
hideDeleteAction?: boolean;
|
15
|
+
hideBreakpointPreview?: boolean;
|
16
|
+
profileAdminEditable?: boolean;
|
17
|
+
authDisabled?: boolean;
|
18
|
+
layoutProvider?: string;
|
19
|
+
layoutDependencyProviders?: string[];
|
20
|
+
}
|
3
21
|
export interface VersionedLayoutBladeSettings<T extends VersionedLayoutDefinition = VersionedLayoutDefinition> {
|
4
22
|
layoutDefinition: new () => T;
|
5
23
|
appInstanceId?: guid;
|
package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutEditor.d.ts
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
import { ServiceContainerContext } from "@omnia/fx";
|
2
2
|
import { guid, IIcon } from "@omnia/fx-models";
|
3
|
-
import { DefineEmit,
|
4
|
-
import {
|
3
|
+
import { DefineEmit, VersionedLayoutEditorSettings } from "@omnia/fx/ux";
|
4
|
+
import { useVersionedLayoutEditorStore } from "../stores/VersionedLayoutEditorStoreV2";
|
5
5
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
6
|
+
settings?: VersionedLayoutEditorSettings<import("@omnia/fx-models").VersionedLayoutDefinition>;
|
7
|
+
} & {
|
6
8
|
appInstanceId?: guid;
|
7
9
|
} & {
|
8
10
|
icon?: IIcon;
|
@@ -12,16 +14,14 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
12
14
|
subTitle?: string;
|
13
15
|
} & {
|
14
16
|
serviceContainerContext?: ServiceContainerContext;
|
15
|
-
} &
|
16
|
-
|
17
|
+
} & {
|
18
|
+
getApi?: (store: ReturnType<typeof useVersionedLayoutEditorStore>) => void;
|
19
|
+
} & DefineEmit<"closeEditor", () => void>> & {
|
17
20
|
onCloseEditor?: () => any;
|
18
21
|
} & {
|
19
|
-
"v-slots"?: {
|
20
|
-
navigationDrawerLeft?: () => JSX.Element;
|
21
|
-
navigationDrawerBottom?: () => JSX.Element;
|
22
|
-
} & Omit<{
|
22
|
+
"v-slots"?: {} & Omit<{
|
23
23
|
default?: import("vue").Slot;
|
24
24
|
$stable?: boolean;
|
25
|
-
},
|
26
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "appInstanceId" | "serviceContainerContext" | "subTitle" | "
|
25
|
+
}, never>;
|
26
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "settings" | "appInstanceId" | "serviceContainerContext" | "subTitle" | "getApi" | "emit:closeEditor"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
27
27
|
export default _default;
|
package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutEditor_old.d.ts
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
import { ServiceContainerContext } from "@omnia/fx";
|
2
|
+
import { guid, IIcon } from "@omnia/fx-models";
|
3
|
+
import { DefineEmit, DefineSlot } from "@omnia/fx/ux";
|
4
|
+
import { VersionedLayoutEditorApi } from "./IVersionedLayoutEditor";
|
5
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
6
|
+
appInstanceId?: guid;
|
7
|
+
} & {
|
8
|
+
icon?: IIcon;
|
9
|
+
} & {
|
10
|
+
title?: string;
|
11
|
+
} & {
|
12
|
+
subTitle?: string;
|
13
|
+
} & {
|
14
|
+
serviceContainerContext?: ServiceContainerContext;
|
15
|
+
} & DefineEmit<"getApi", (api: VersionedLayoutEditorApi) => void> & DefineEmit<"closeEditor", () => void> & DefineSlot<"navigationDrawerLeft", () => JSX.Element> & DefineSlot<"navigationDrawerBottom", () => JSX.Element>> & {
|
16
|
+
onGetApi?: (api: VersionedLayoutEditorApi) => any;
|
17
|
+
onCloseEditor?: () => any;
|
18
|
+
} & {
|
19
|
+
"v-slots"?: {
|
20
|
+
navigationDrawerLeft?: () => JSX.Element;
|
21
|
+
navigationDrawerBottom?: () => JSX.Element;
|
22
|
+
} & Omit<{
|
23
|
+
default?: import("vue").Slot;
|
24
|
+
$stable?: boolean;
|
25
|
+
}, "navigationDrawerLeft" | "navigationDrawerBottom">;
|
26
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "appInstanceId" | "serviceContainerContext" | "subTitle" | "emit:getApi" | "emit:closeEditor" | "slot:navigationDrawerLeft" | "slot:navigationDrawerBottom"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
27
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/versionedlayout/editor/helpers/ConfigurationHelper.d.ts
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
import { ChromeActionItem, EditorChromeConfiguration } from "@omnia/fx-models";
|
2
|
+
export declare class ConfigurationHelper {
|
3
|
+
/**
|
4
|
+
* Ensures an array exists, returns empty array if undefined
|
5
|
+
*/
|
6
|
+
static ensureArray<T>(array: T[] | undefined): T[];
|
7
|
+
/**
|
8
|
+
* Ensures footer toolbar exists on configuration
|
9
|
+
*/
|
10
|
+
static ensureFooterToolbar(configuration: EditorChromeConfiguration): void;
|
11
|
+
/**
|
12
|
+
* Ensures header toolbar exists on configuration
|
13
|
+
*/
|
14
|
+
static ensureHeaderToolbar(configuration: EditorChromeConfiguration): void;
|
15
|
+
/**
|
16
|
+
* Adds an action to an array if it doesn't already exist (based on id)
|
17
|
+
*/
|
18
|
+
static addActionToArray(actions: Array<ChromeActionItem>, action: ChromeActionItem): void;
|
19
|
+
/**
|
20
|
+
* Adds an action to the left footer toolbar actions of configuration(s)
|
21
|
+
*/
|
22
|
+
static addActionToLeftFooter(configuration: EditorChromeConfiguration | EditorChromeConfiguration[], action: ChromeActionItem): void;
|
23
|
+
/**
|
24
|
+
* Adds an action to the right footer toolbar actions of configuration(s)
|
25
|
+
*/
|
26
|
+
static addActionToRightFooter(configuration: EditorChromeConfiguration | EditorChromeConfiguration[], action: ChromeActionItem): void;
|
27
|
+
/**
|
28
|
+
* Adds an action to the center footer toolbar actions of configuration(s)
|
29
|
+
*/
|
30
|
+
static addActionToCenterFooter(configuration: EditorChromeConfiguration | EditorChromeConfiguration[], action: ChromeActionItem): void;
|
31
|
+
/**
|
32
|
+
* Adds an action to the extended right footer toolbar actions of configuration(s)
|
33
|
+
*/
|
34
|
+
static addActionToExtendedRightFooter(configuration: EditorChromeConfiguration | EditorChromeConfiguration[], action: ChromeActionItem): void;
|
35
|
+
/**
|
36
|
+
* Adds multiple actions to a specific toolbar location
|
37
|
+
*/
|
38
|
+
static addActionsToToolbar(configuration: EditorChromeConfiguration | EditorChromeConfiguration[], actions: ChromeActionItem[], location: "left" | "right" | "center" | "extendedRight"): void;
|
39
|
+
/**
|
40
|
+
* Ensures all standard toolbar arrays exist on configuration(s)
|
41
|
+
*/
|
42
|
+
static ensureAllToolbars(configuration: EditorChromeConfiguration | EditorChromeConfiguration[]): void;
|
43
|
+
}
|
package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/DefineDefaultView.d.ts
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
import { EditorChromeConfiguration, guid } from "@omnia/fx/models";
|
2
|
+
export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration, param2: {
|
3
|
+
state: {
|
4
|
+
id: guid;
|
5
|
+
settings: import("../..").VersionedLayoutEditorSettings<import("@omnia/fx-models").VersionedLayoutDefinition>;
|
6
|
+
active: {
|
7
|
+
versionedLayout: import("@omnia/fx-models").VersionedLayout;
|
8
|
+
layout: import("@omnia/fx-models").Layout;
|
9
|
+
versionedData: import("@omnia/fx-models").IVersionedData<import("@omnia/fx-models").VersionedLayoutDefinition>;
|
10
|
+
};
|
11
|
+
views: import("../../stores/VersionedLayoutEditorStoreV2").EditorViews;
|
12
|
+
chrome: {
|
13
|
+
title: string;
|
14
|
+
subTitle: string;
|
15
|
+
};
|
16
|
+
panels: {};
|
17
|
+
};
|
18
|
+
events: import("../../../mobile").StoreEvents<{
|
19
|
+
id: guid;
|
20
|
+
settings: import("../..").VersionedLayoutEditorSettings<import("@omnia/fx-models").VersionedLayoutDefinition>;
|
21
|
+
active: {
|
22
|
+
versionedLayout: import("@omnia/fx-models").VersionedLayout;
|
23
|
+
layout: import("@omnia/fx-models").Layout;
|
24
|
+
versionedData: import("@omnia/fx-models").IVersionedData<import("@omnia/fx-models").VersionedLayoutDefinition>;
|
25
|
+
};
|
26
|
+
views: import("../../stores/VersionedLayoutEditorStoreV2").EditorViews;
|
27
|
+
chrome: {
|
28
|
+
title: string;
|
29
|
+
subTitle: string;
|
30
|
+
};
|
31
|
+
panels: {};
|
32
|
+
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
33
|
+
actions: import("../../../mobile").StoreReturnDefineAction<{
|
34
|
+
layout: () => {
|
35
|
+
set: (layout: import("@omnia/fx-models").VersionedLayout) => Promise<unknown>;
|
36
|
+
setDefault: () => void;
|
37
|
+
};
|
38
|
+
editor: () => {
|
39
|
+
set: {
|
40
|
+
mode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
|
41
|
+
toReadMode: () => void;
|
42
|
+
};
|
43
|
+
};
|
44
|
+
init: (editorChromeStore: ReturnType<typeof import("../../..").useEditorChromeStore>, views: import("../../stores/VersionedLayoutEditorStoreV2").EditorViews) => void;
|
45
|
+
}>;
|
46
|
+
get: {
|
47
|
+
editorMode: () => import("@omnia/fx-models").LayoutCanvasEditorMode;
|
48
|
+
canvasMode: () => import("@omnia/fx-models").LayoutCanvasMode;
|
49
|
+
};
|
50
|
+
rules: {};
|
51
|
+
} & {
|
52
|
+
dispose?: () => void;
|
53
|
+
}) => {
|
54
|
+
view: {
|
55
|
+
id: guid;
|
56
|
+
configurations: EditorChromeConfiguration[];
|
57
|
+
};
|
58
|
+
};
|
package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/actions/CanvasActions.d.ts
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
import { ChromeActionItem } from "@omnia/fx-models";
|
2
|
+
import { useVersionedLayoutEditorStore } from "../../../stores/VersionedLayoutEditorStoreV2";
|
3
|
+
export declare function useCanvasActions(editorStore: ReturnType<typeof useVersionedLayoutEditorStore>): {
|
4
|
+
preview: ChromeActionItem;
|
5
|
+
design: ChromeActionItem;
|
6
|
+
};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ChromeActionItem } from "@omnia/fx-models";
|
2
|
+
import { useVersionedLayoutEditorStore } from "../../../stores/VersionedLayoutEditorStoreV2";
|
3
|
+
export declare function useCheckedOutActions(editorStore: ReturnType<typeof useVersionedLayoutEditorStore>): {
|
4
|
+
discardChanges: ChromeActionItem;
|
5
|
+
saveAsDraft: ChromeActionItem;
|
6
|
+
publish: ChromeActionItem;
|
7
|
+
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { ChromeActionItem } from "@omnia/fx-models";
|
2
|
+
import { useVersionedLayoutEditorStore } from "../../../stores/VersionedLayoutEditorStoreV2";
|
3
|
+
export declare function useNotCheckedOutActions(editorStore: ReturnType<typeof useVersionedLayoutEditorStore>): {
|
4
|
+
takeControl: ChromeActionItem;
|
5
|
+
edit: ChromeActionItem;
|
6
|
+
delete: ChromeActionItem;
|
7
|
+
close: ChromeActionItem;
|
8
|
+
};
|
package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/actions/PanelActions.d.ts
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
import { ChromeActionItem } from "@omnia/fx-models";
|
2
|
+
import { useVersionedLayoutEditorStore } from "../../../stores/VersionedLayoutEditorStoreV2";
|
3
|
+
export declare function usePanelActions(editorStore: ReturnType<typeof useVersionedLayoutEditorStore>): {
|
4
|
+
versionHistory: ChromeActionItem;
|
5
|
+
statistics: ChromeActionItem;
|
6
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./DefineDefaultView";
|
package/internal-do-not-import-from-here/ux/versionedlayout/stores/VersionedLayoutEditorStoreV2.d.ts
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
import { EditorChromeView, guid, IVersionedData, Layout, LayoutCanvasEditorMode, VersionedLayout, VersionedLayoutDefinition } from "@omnia/fx-models";
|
2
|
+
import { useEditorChromeStore, useLayoutCanvasStore, VersionedLayoutEditorSettings } from "@omnia/fx/ux";
|
3
|
+
export interface EditorViews {
|
4
|
+
default: () => {
|
5
|
+
view: EditorChromeView;
|
6
|
+
layoutStore: ReturnType<typeof useLayoutCanvasStore>;
|
7
|
+
};
|
8
|
+
}
|
9
|
+
export declare const useVersionedLayoutEditorStore: () => {
|
10
|
+
state: {
|
11
|
+
id: guid;
|
12
|
+
settings: VersionedLayoutEditorSettings<VersionedLayoutDefinition>;
|
13
|
+
active: {
|
14
|
+
versionedLayout: VersionedLayout;
|
15
|
+
layout: Layout;
|
16
|
+
versionedData: IVersionedData<VersionedLayoutDefinition>;
|
17
|
+
};
|
18
|
+
views: EditorViews;
|
19
|
+
chrome: {
|
20
|
+
title: string;
|
21
|
+
subTitle: string;
|
22
|
+
};
|
23
|
+
panels: {};
|
24
|
+
};
|
25
|
+
events: import("@omnia/fx/stores").StoreEvents<{
|
26
|
+
id: guid;
|
27
|
+
settings: VersionedLayoutEditorSettings<VersionedLayoutDefinition>;
|
28
|
+
active: {
|
29
|
+
versionedLayout: VersionedLayout;
|
30
|
+
layout: Layout;
|
31
|
+
versionedData: IVersionedData<VersionedLayoutDefinition>;
|
32
|
+
};
|
33
|
+
views: EditorViews;
|
34
|
+
chrome: {
|
35
|
+
title: string;
|
36
|
+
subTitle: string;
|
37
|
+
};
|
38
|
+
panels: {};
|
39
|
+
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
40
|
+
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
41
|
+
layout: () => {
|
42
|
+
set: (layout: VersionedLayout) => Promise<unknown>;
|
43
|
+
setDefault: () => void;
|
44
|
+
};
|
45
|
+
editor: () => {
|
46
|
+
set: {
|
47
|
+
mode: (mode: LayoutCanvasEditorMode) => void;
|
48
|
+
toReadMode: () => void;
|
49
|
+
};
|
50
|
+
};
|
51
|
+
init: (editorChromeStore: ReturnType<typeof useEditorChromeStore>, views: EditorViews) => void;
|
52
|
+
}>;
|
53
|
+
get: {
|
54
|
+
editorMode: () => LayoutCanvasEditorMode;
|
55
|
+
canvasMode: () => import("@omnia/fx-models").LayoutCanvasMode;
|
56
|
+
};
|
57
|
+
rules: {};
|
58
|
+
} & {
|
59
|
+
dispose?: () => void;
|
60
|
+
};
|
@@ -148,7 +148,8 @@ import wc21a1f20b3d404602853049c1c8b8da2f from './ux/userpresence/UserPresence';
|
|
148
148
|
import wc30289e2b58ff48b0aabb3cb3732c3038 from './ux/usertypelayout/UserTypeLayoutRenderer';
|
149
149
|
import wc90cfd68bb4e04f67bfd5677bdf4af59d from './ux/validation/FieldValidation';
|
150
150
|
import wcba03fc7e6921468289c0a0ffe0cf942e from './ux/versionedlayout/renderer/VersionedLayoutRenderer';
|
151
|
-
import wc73154f51a92944acbe248779a3fa7ef5 from './ux/versionedlayout/editor/
|
151
|
+
import wc73154f51a92944acbe248779a3fa7ef5 from './ux/versionedlayout/editor/VersionedLayoutEditor_old';
|
152
|
+
import wcf61a88097aa748dbb99b691f78da571a from './ux/versionedlayout/editor/VersionedLayoutEditor';
|
152
153
|
import wc32a6ca3074384eb4bcef68e9cd49a334 from './ux/versionedlayout/editor/panels/versionhistory/VersionHistory';
|
153
154
|
import wcf024796066784669a26452b2da403b70 from './ux/versionedlayout/editor/panels/Panels';
|
154
155
|
import wcc88e2566b07a4680aef7f575f5c5641b from './ux/versionedlayout/controller/VersionedLayoutController';
|
@@ -2597,13 +2598,6 @@ declare global {
|
|
2597
2598
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
2598
2599
|
};
|
2599
2600
|
} : typeof wcba03fc7e6921468289c0a0ffe0cf942e;
|
2600
|
-
"controller": typeof wcc88e2566b07a4680aef7f575f5c5641b extends {
|
2601
|
-
propsDefinition: infer TProp;
|
2602
|
-
} ? {
|
2603
|
-
new (...args: any[]): {
|
2604
|
-
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
2605
|
-
};
|
2606
|
-
} : typeof wcc88e2566b07a4680aef7f575f5c5641b;
|
2607
2601
|
"editor": (typeof wc73154f51a92944acbe248779a3fa7ef5 extends {
|
2608
2602
|
propsDefinition: infer TProp;
|
2609
2603
|
} ? {
|
@@ -2611,6 +2605,13 @@ declare global {
|
|
2611
2605
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
2612
2606
|
};
|
2613
2607
|
} : typeof wc73154f51a92944acbe248779a3fa7ef5) & {
|
2608
|
+
"v2": typeof wcf61a88097aa748dbb99b691f78da571a extends {
|
2609
|
+
propsDefinition: infer TProp;
|
2610
|
+
} ? {
|
2611
|
+
new (...args: any[]): {
|
2612
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
2613
|
+
};
|
2614
|
+
} : typeof wcf61a88097aa748dbb99b691f78da571a;
|
2614
2615
|
"chrome": typeof wc177046bfd171495bbce70d1cd9242fa1 extends {
|
2615
2616
|
propsDefinition: infer TProp;
|
2616
2617
|
} ? {
|
@@ -2619,6 +2620,13 @@ declare global {
|
|
2619
2620
|
};
|
2620
2621
|
} : typeof wc177046bfd171495bbce70d1cd9242fa1;
|
2621
2622
|
};
|
2623
|
+
"controller": typeof wcc88e2566b07a4680aef7f575f5c5641b extends {
|
2624
|
+
propsDefinition: infer TProp;
|
2625
|
+
} ? {
|
2626
|
+
new (...args: any[]): {
|
2627
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
2628
|
+
};
|
2629
|
+
} : typeof wcc88e2566b07a4680aef7f575f5c5641b;
|
2622
2630
|
"blade": {
|
2623
2631
|
"builder": typeof wc35ec8e8c3b6e45858afd0b1832eef250 extends {
|
2624
2632
|
propsDefinition: infer TProp;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "8.0.
|
4
|
+
"version": "8.0.525-dev",
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
6
6
|
"scripts": {
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
@@ -20,20 +20,20 @@
|
|
20
20
|
],
|
21
21
|
"author": "Omnia Digital Workplace AB",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.525-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
27
27
|
"splitpanes": "3.2.0",
|
28
28
|
"vue": "3.5.18",
|
29
|
-
"vuetify": "3.9.
|
29
|
+
"vuetify": "3.9.4",
|
30
30
|
"tslib": "2.6.2",
|
31
31
|
"typescript": "5.8.2",
|
32
32
|
"@tiptap/vue-3": "2.1.13",
|
33
33
|
"@tiptap/pm": "2.1.13",
|
34
34
|
"@tiptap/suggestion": "2.1.13",
|
35
35
|
"@tiptap/starter-kit": "2.1.13",
|
36
|
-
"axios": "1.
|
36
|
+
"axios": "1.11.0",
|
37
37
|
"mousetrap": "1.6.1",
|
38
38
|
"@stylexjs/stylex": "0.7.5"
|
39
39
|
},
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|