@omnia/fx-models 8.0.509-dev → 8.0.511-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/Contexts.d.ts
CHANGED
package/Enums.d.ts
CHANGED
@@ -414,7 +414,8 @@ export declare enum LayoutEditorModes {
|
|
414
414
|
designPreview = 1,
|
415
415
|
devicePreview = 2
|
416
416
|
}
|
417
|
-
export type
|
417
|
+
export type LayoutCanvasEditorMode = "design" | "design-preview" | "preview";
|
418
|
+
export type LayoutCanvasMode = "edit" | "read-only";
|
418
419
|
export declare enum LayoutItemActions {
|
419
420
|
move = 0,
|
420
421
|
copy = 1,
|
@@ -1,5 +1,18 @@
|
|
1
1
|
import { VNodeChild } from "vue";
|
2
2
|
import { guid, IIcon } from "@omnia/fx-models";
|
3
|
+
import { ConfirmDialogOptions } from "@omnia/fx/ux";
|
4
|
+
export interface EditorChromePanel {
|
5
|
+
title?: string;
|
6
|
+
icon?: IIcon;
|
7
|
+
renderer?: () => Array<JSX.Element> | JSX.Element;
|
8
|
+
actions?: Array<ChromeActionItem>;
|
9
|
+
footerToolbar?: {
|
10
|
+
actionsLeft?: Array<ChromeActionItem>;
|
11
|
+
actionsCenter?: Array<ChromeActionItem>;
|
12
|
+
actionsRight?: Array<ChromeActionItem>;
|
13
|
+
ExtendActionsRight?: Array<ChromeActionItem>;
|
14
|
+
};
|
15
|
+
}
|
3
16
|
export interface EditorChromeNavigationConfiguration {
|
4
17
|
title?: string;
|
5
18
|
renderer?: () => Array<JSX.Element> | JSX.Element;
|
@@ -15,6 +28,7 @@ export interface EditorChromeConfiguration {
|
|
15
28
|
hidden?: boolean;
|
16
29
|
icon?: IIcon;
|
17
30
|
journey?: boolean;
|
31
|
+
onActivated?: () => void;
|
18
32
|
focused?: boolean;
|
19
33
|
settings?: {
|
20
34
|
displayResizable?: boolean;
|
@@ -47,8 +61,11 @@ export interface ChromeActionItem {
|
|
47
61
|
showText?: boolean;
|
48
62
|
hide?: boolean;
|
49
63
|
};
|
64
|
+
confirmation?: ConfirmDialogOptions;
|
50
65
|
requiredRoles?: guid[];
|
51
|
-
|
66
|
+
excludedRoles?: guid[];
|
67
|
+
title?: string | (() => string);
|
68
|
+
toolTip?: string | (() => string);
|
52
69
|
description?: string;
|
53
70
|
loading?: boolean | (() => boolean);
|
54
71
|
icon?: IIcon;
|
package/filterengine/Shared.d.ts
CHANGED
@@ -130,7 +130,7 @@ export interface FilterEnginePropertyDefaultValueInputProps<T extends BaseFilter
|
|
130
130
|
propertyDefinitionAsHash: {
|
131
131
|
[internalName: string]: EnterprisePropertyDefinition;
|
132
132
|
};
|
133
|
-
|
133
|
+
"onUpdate:modelValue"?: (value: T) => void;
|
134
134
|
}
|
135
135
|
/**
|
136
136
|
* Implementation only props interface, used for property settings component
|
@@ -143,7 +143,7 @@ export type FilterEnginePropertySettingsImplProps<T extends BaseFilterEngineProp
|
|
143
143
|
*/
|
144
144
|
export interface FilterEnginePropertySettingsProps<T extends BaseFilterEngineProperty> {
|
145
145
|
modelValue: T;
|
146
|
-
|
146
|
+
"onUpdate:modelValue"?: (value: T) => void;
|
147
147
|
propertyDefinitionAsHash: {
|
148
148
|
[internalName: string]: EnterprisePropertyDefinition;
|
149
149
|
};
|
package/links/LinkItem.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { guid, Id } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
|
1
|
+
import { guid, Id, IIcon } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
|
2
2
|
import { LegacyIconPickerModel } from "../shared-mobile/Icon";
|
3
3
|
export type LinkProviderId = Id<guid, "LinkProviderId">;
|
4
4
|
export declare function LinkProviderId(id: guid): LinkProviderId;
|
@@ -10,3 +10,11 @@ export interface LinkItem {
|
|
10
10
|
icon: LegacyIconPickerModel;
|
11
11
|
openInNewWindow: boolean;
|
12
12
|
}
|
13
|
+
export interface LinkItemV2 {
|
14
|
+
providerId: LinkProviderId;
|
15
|
+
title: string;
|
16
|
+
url: string;
|
17
|
+
icon?: IIcon;
|
18
|
+
openInNewWindow?: boolean;
|
19
|
+
customRendererManifestId?: guid;
|
20
|
+
}
|
package/package.json
CHANGED
package/shared-mobile/Icon.js
CHANGED
@@ -19,6 +19,10 @@ class FontAwesomeIcon {
|
|
19
19
|
if (!force && this.faClass.indexOf(" ") === -1) {
|
20
20
|
return;
|
21
21
|
}
|
22
|
+
/**Brand icons cannot have different styles */
|
23
|
+
if (this.faClass.indexOf("fa-brands") > -1) {
|
24
|
+
return;
|
25
|
+
}
|
22
26
|
if (style === "solid") {
|
23
27
|
this.setIconStyle("fas");
|
24
28
|
}
|