@omnia/fx-models 8.0.429-dev → 8.0.431-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/Icon.d.ts +1 -1
- package/Layout.d.ts +3 -3
- package/apps/App.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/broadcasting/index.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/factory/Provide.d.ts +4 -0
- package/internal-do-not-import-from-here/shared/factory/index.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/theme/Blueprints.d.ts +2 -1
- package/internal-do-not-import-from-here/shared/workers/index.d.ts +0 -1
- package/links/LinkItem.d.ts +2 -2
- package/oxide/ActionMenu.d.ts +2 -1
- package/package.json +1 -1
- /package/internal-do-not-import-from-here/shared/{workers → broadcasting}/Leader.d.ts +0 -0
package/Icon.d.ts
CHANGED
@@ -51,7 +51,7 @@ export interface IconTooltipOptions {
|
|
51
51
|
element?: JSX.Element;
|
52
52
|
position?: TooltipPosition;
|
53
53
|
}
|
54
|
-
export interface
|
54
|
+
export interface LegacyIconPickerModel extends IIcon {
|
55
55
|
iconSource?: IconSources;
|
56
56
|
faClass?: string;
|
57
57
|
fabClass?: string;
|
package/Layout.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { MultilingualString, LegacyThemeDefinition, IIcon, Spacing,
|
1
|
+
import { MultilingualString, LegacyThemeDefinition, IIcon, Spacing, LegacyIconPickerModel, WebComponentDefinition, OmniaBlock, guid, RadialGradientShapes, BlockTitleSettings, LayoutItemActions, LayoutEditorModes, BlockRenderingModes, TabbedDisplayModes, TabbedIconPositions, LayoutDrawerTabs, ILayoutCanvasDefinitionBuilder, MediaPickerImage, IMessageBusTopicSubscription, MediaPickerStorageProviderContext, OmniaBackendRuntimes, OmniaClientRuntimes, LayoutCanvasModes, HorizontalAlignments, SpacingValue, ColorValue, VerticalAlignments, BlueprintVariant, ContainerFillBlueprint, ColorSchemaTypes, ColorSchema, TabsBlueprint, HeaderBlueprint } from ".";
|
2
2
|
import { MessageBusTopicMediator } from "../";
|
3
3
|
import { TargetingFilterProperty } from "../sp";
|
4
4
|
import { ShapeDividerSettings } from "./ShapeDividerSettingsModel";
|
@@ -233,7 +233,7 @@ export interface TabbedSectionItemSettings extends SectionItemSettings {
|
|
233
233
|
type: SectionTypes.Tab;
|
234
234
|
label: MultilingualString;
|
235
235
|
tooltip: MultilingualString;
|
236
|
-
icon:
|
236
|
+
icon: LegacyIconPickerModel;
|
237
237
|
customAnchorNameEnabled: boolean;
|
238
238
|
anchorName?: string;
|
239
239
|
scrollIntoViewDisabled: boolean;
|
@@ -242,7 +242,7 @@ export interface AccordionedSectionItemSettings extends SectionItemSettings {
|
|
242
242
|
type: SectionTypes.Accordion;
|
243
243
|
label: MultilingualString;
|
244
244
|
tooltip: MultilingualString;
|
245
|
-
icon:
|
245
|
+
icon: LegacyIconPickerModel;
|
246
246
|
customAnchorNameEnabled: boolean;
|
247
247
|
anchorName?: string;
|
248
248
|
scrollIntoViewDisabled: boolean;
|
package/apps/App.d.ts
CHANGED
@@ -2,7 +2,7 @@ import { guid, ThemeSelection, IIcon } from "@omnia/fx-models/internal-do-not-im
|
|
2
2
|
import { TargetingFilterProperty } from "../../sp/models";
|
3
3
|
import { ProvisioningTemplateEnterpriseProperty } from "../enterprise-properties/EnterpriseProperty";
|
4
4
|
import { AppCategories, AppInstanceScopedQueryTypes, AppInstanceStatus, AppTemplatePermissionLevel } from "../Enums";
|
5
|
-
import {
|
5
|
+
import { LegacyIconPickerModel } from "../Icon";
|
6
6
|
import { Identity } from "../identities";
|
7
7
|
import { MediaPickerImage } from "../media-picker";
|
8
8
|
import { MultilingualString } from "../MultilingualString";
|
@@ -100,7 +100,7 @@ export interface AppTemplate {
|
|
100
100
|
appDefinitionId: guid;
|
101
101
|
title: MultilingualString;
|
102
102
|
description: MultilingualString;
|
103
|
-
icons:
|
103
|
+
icons: LegacyIconPickerModel[];
|
104
104
|
features: guid[];
|
105
105
|
permissionIdentities: string[];
|
106
106
|
properties: AppTemplateProperties;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
type Resolver = <TProvide, TConstructor>(provide: TProvide, constructorArgs?: TConstructor) => TProvide extends new (...args: any) => infer P ? P : TProvide extends (...args: any) => infer P2 ? P2 : TProvide extends Object ? TProvide : never;
|
2
|
+
export declare function registerProvideResolver(resolver: Resolver): void;
|
3
|
+
export declare function useProvide<TProvide, TConstructor>(provide: TProvide, constructorArgs?: TConstructor): TProvide extends new (...args: any) => infer P ? P : TProvide extends (...args: any) => infer P2 ? P2 : TProvide extends Object ? TProvide : never;
|
4
|
+
export {};
|
@@ -53,8 +53,9 @@ export interface ContainerFillBlueprint extends Blueprints, BlueprintsReference
|
|
53
53
|
export interface IFontBlueprints extends Blueprints, BlueprintsReference {
|
54
54
|
fonts: Array<TypographyFontDefinition>;
|
55
55
|
}
|
56
|
+
export type BlueprintsStrategyBase = "none" | "x-small" | "small" | "medium" | "large" | "full";
|
56
57
|
export interface ComponentBlueprints extends ThemeBase {
|
57
|
-
|
58
|
+
baseStrategy?: BlueprintsStrategyBase;
|
58
59
|
buttons?: ButtonBlueprints;
|
59
60
|
tabs?: TabsBlueprints;
|
60
61
|
icons?: IconBlueprints;
|
package/links/LinkItem.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { guid, Id } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
|
2
|
-
import {
|
2
|
+
import { LegacyIconPickerModel } from "../Icon";
|
3
3
|
export type LinkProviderId = Id<guid, "LinkProviderId">;
|
4
4
|
export declare function LinkProviderId(id: guid): LinkProviderId;
|
5
5
|
export interface LinkItem {
|
@@ -7,6 +7,6 @@ export interface LinkItem {
|
|
7
7
|
linkType?: string;
|
8
8
|
title: string;
|
9
9
|
url: string;
|
10
|
-
icon:
|
10
|
+
icon: LegacyIconPickerModel;
|
11
11
|
openInNewWindow: boolean;
|
12
12
|
}
|
package/oxide/ActionMenu.d.ts
CHANGED
@@ -7,9 +7,10 @@ export interface ActionDefinition {
|
|
7
7
|
disabled?: boolean;
|
8
8
|
loading?: boolean;
|
9
9
|
icon: IIcon;
|
10
|
-
type?: "default" | "switch";
|
10
|
+
type?: "default" | "switch" | "custom";
|
11
11
|
onClick?: () => void;
|
12
12
|
activator?: (activatorRenderer: VNodeChild) => VNodeChild;
|
13
|
+
customRenderer?: () => VNodeChild;
|
13
14
|
colorSchemaType?: ColorSchemaTypes | ColorSchemaType;
|
14
15
|
}
|
15
16
|
export interface ActionSwitchDefinition extends ActionDefinition {
|
package/package.json
CHANGED
File without changes
|