@omnia/fx 8.0.451-dev → 8.0.453-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/core/http/HttpClient.d.ts +2 -0
- package/internal-do-not-import-from-here/core/index.d.ts +10 -10
- package/internal-do-not-import-from-here/index.d.ts +21 -21
- package/internal-do-not-import-from-here/manifests/omnia.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.shared.vendor.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.vendor.manifest.json +1 -1
- package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/componentblueprints/store/ComponentEditorStore.d.ts +2 -3
- package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/componentblueprints/store/TabsEditorStore.d.ts +3 -4
- package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/ButtonStylePicker.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/aurora/components/tabs/TabStylePicker.d.ts +6 -2
- package/internal-do-not-import-from-here/ux/aurora/components/tabs/store/TabStyleEditorStore.d.ts +43 -0
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ColorSchemaManager.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ColorSchemaStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ComponentBlueprintStore.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/DefineThemeProvider.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/FontStore.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/SpacingBlueprintStore.d.ts +42 -0
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/StateManager.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/TemplateRegistrationStore.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ThemeContextStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ThemeMigrations.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ThemeNormalizer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemePreviewContextStore.d.ts +100 -0
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeProvider.d.ts +39 -0
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeSharedModels.d.ts +33 -0
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeStore.d.ts +91 -0
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/TypographyBlueprintManager.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/TypographyBlueprintStore.d.ts +6 -4
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/index.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/aurora/store/ThemeStorage.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +16 -15
- package/internal-do-not-import-from-here/ux/docs/chrome/SampleViewer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/btngroup/ButtonGroup.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/fab/FloatingActionButton..d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/list/List.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/switch/Switch.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/tab/Tab.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/shared-mobile/stylex/Stylex.d.ts +35 -0
- package/internal-do-not-import-from-here/ux/shared-mobile/stylex/Typings.d.ts +894 -0
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +1 -5
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronState.d.ts +1 -71
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronContentStateBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronImageStateBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronPropertyMappingStateBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronStateBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronTextContentBuilder.d.ts +1 -2
- package/package.json +2 -2
- package/internal-do-not-import-from-here/core/ObjectMerger.d.ts +0 -7
- package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +0 -40
- package/internal-do-not-import-from-here/ux/aurora/store/ThemePreviewContextStore.d.ts +0 -100
- package/internal-do-not-import-from-here/ux/aurora/store/ThemeStore.d.ts +0 -91
- /package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/VariantManager.d.ts +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, VelcronEditor, ContainerFillBlueprint, BackgroundDefinition, BlueprintVariant, IconBlueprint, ButtonBlueprint, VelcronOnPressOutsideEvent, VelcronOnPointerEnterEvent, VelcronOnPointerLeaveEvent, VelcronColorStyling, VelcronOverflowValues } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
1
|
+
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, VelcronEditor, ContainerFillBlueprint, BackgroundDefinition, BlueprintVariant, IconBlueprint, ButtonBlueprint, VelcronOnPressOutsideEvent, VelcronOnPointerEnterEvent, VelcronOnPointerLeaveEvent, VelcronColorStyling, VelcronOverflowValues, VelcronImageRatios } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronComponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
|
3
3
|
import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, VelcronActionTypes, VelcronVerticalAlignments } from "./Enums";
|
4
4
|
import { DynamicState, VelcronDefinition, VelcronEffects, useVelcronThemingStore } from "..";
|
@@ -257,10 +257,6 @@ export interface VelcronTextDefinition extends VelcronDefinition, VelcronColorSt
|
|
257
257
|
events?: VelcronOnPressEvent & VelcronOnUpdatedEvent;
|
258
258
|
blueprint?: VelcronBindableProp<TextBlueprint>;
|
259
259
|
}
|
260
|
-
export declare enum VelcronImageRatios {
|
261
|
-
square = "square",
|
262
|
-
landscape = "landscape"
|
263
|
-
}
|
264
260
|
export interface VelcronImageDefinition extends VelcronDefinitionWithEditMode {
|
265
261
|
type: "image";
|
266
262
|
value?: VelcronBindableProp<string>;
|
@@ -1,74 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import { VelcronImageRatios } from "./VelcronDefinitions";
|
3
|
-
export interface VelcronState {
|
4
|
-
states?: {
|
5
|
-
active?: boolean;
|
6
|
-
};
|
7
|
-
component?: {
|
8
|
-
title: string;
|
9
|
-
icon: string;
|
10
|
-
};
|
11
|
-
images?: VelcronImagesState;
|
12
|
-
container?: {
|
13
|
-
maxWidth?: number;
|
14
|
-
minHeight?: number;
|
15
|
-
alignX?: string;
|
16
|
-
alignY?: string;
|
17
|
-
colorSchemaType?: string;
|
18
|
-
spacing?: VelcronSpacing;
|
19
|
-
blueprint?: ContainerFillBlueprint | BlueprintVariant;
|
20
|
-
background?: BackgroundDefinition;
|
21
|
-
};
|
22
|
-
grid?: VelcronGridState;
|
23
|
-
content?: VelcronContentState;
|
24
|
-
header?: VelcronHeaderState;
|
25
|
-
properties?: VelcronPropertiesState;
|
26
|
-
spacing?: VelcronSpacingState;
|
27
|
-
}
|
28
|
-
export interface VelcronGridState {
|
29
|
-
columnWidth?: number;
|
30
|
-
columns?: Array<object>;
|
31
|
-
gap?: string | number;
|
32
|
-
}
|
33
|
-
export interface VelcronSpacingState {
|
34
|
-
container?: VelcronSpacing;
|
35
|
-
}
|
36
|
-
export interface VelcronHeaderState {
|
37
|
-
title?: VelcronTextState;
|
38
|
-
icon?: string;
|
39
|
-
}
|
40
|
-
export interface VelcronTextState {
|
41
|
-
text?: string;
|
42
|
-
placeholder?: string;
|
43
|
-
typography?: VelcronTypographyState;
|
44
|
-
}
|
45
|
-
export interface VelcronTypographyState {
|
46
|
-
type?: TextStyleType;
|
47
|
-
size?: TextStyleSize;
|
48
|
-
toned?: boolean;
|
49
|
-
}
|
50
|
-
export interface VelcronContentState {
|
51
|
-
caption?: VelcronTextState;
|
52
|
-
main?: VelcronTextState;
|
53
|
-
title?: VelcronTextState;
|
54
|
-
summary?: VelcronTextState;
|
55
|
-
}
|
56
|
-
export interface VelcronPropertiesState {
|
57
|
-
user: any;
|
58
|
-
mappings: Array<any>;
|
59
|
-
}
|
60
|
-
export interface VelcronImagesState {
|
61
|
-
main?: VelcronImageState;
|
62
|
-
alt1?: VelcronImageState;
|
63
|
-
alt2?: VelcronImageState;
|
64
|
-
}
|
65
|
-
export interface VelcronImageState {
|
66
|
-
url?: string;
|
67
|
-
ratio?: VelcronImageRatios;
|
68
|
-
caption?: VelcronTextState;
|
69
|
-
width?: number;
|
70
|
-
height?: number;
|
71
|
-
}
|
1
|
+
import { TextBlueprint } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
72
2
|
export declare const VelcronImagesStateBinding: {
|
73
3
|
main: {
|
74
4
|
mediapickerImage: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronState } from "
|
1
|
+
import { VelcronState } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
|
3
3
|
import { VelcronTextContentBuilder } from "./VelcronTextContentBuilder";
|
4
4
|
export declare class VelcronContentStateBuilder extends VelcronStateBuilderBase {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronImageRatios, VelcronState } from "
|
1
|
+
import { VelcronImageRatios, VelcronState } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
|
3
3
|
export declare class VelcronImageStateBuilder extends VelcronStateBuilderBase {
|
4
4
|
private mainImageUrl;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronState } from "
|
1
|
+
import { VelcronState } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
|
3
3
|
export declare class VelcronPropertyMappingStateBuilder extends VelcronStateBuilderBase {
|
4
4
|
private propertyItemsValue;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronState } from "
|
1
|
+
import { VelcronState } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronColorSchemaStateBuilder } from "./VelcronColorSchemaBuilder";
|
3
3
|
import { VelcronContentStateBuilder } from "./VelcronContentStateBuilder";
|
4
4
|
import { VelcronImageStateBuilder } from "./VelcronImageStateBuilder";
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import { TextStyleSize, TextStyleType } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
1
|
+
import { TextStyleSize, TextStyleType, VelcronTextState, VelcronTypographyState } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronStateBuilderStrategy } from "./VelcronStateBuilderBase";
|
3
|
-
import { VelcronTextState, VelcronTypographyState } from "../../../models";
|
4
3
|
export declare class VelcronTextContentBuilder<TBaseBuilder> extends VelcronStateBuilderStrategy {
|
5
4
|
private _textState;
|
6
5
|
private bindingContextValue;
|
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.453-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,7 +20,7 @@
|
|
20
20
|
],
|
21
21
|
"author": "Omnia Digital Workplace AB",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.453-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export declare class ObjectMerger {
|
2
|
-
static isEmptyObject(item: any): boolean;
|
3
|
-
static objectKeysWithFilter(object: any, includeFunctions: boolean): Array<string>;
|
4
|
-
static mergeObjects<T extends object = object>(target: T, nullOrUndefinedValueCustomHandler: (missingPropertyName: string, parent: object, defaultValue: object) => object, emptyStringValueCustomHandler: (propertyName: string, parent: object, defaultValue: object) => object, emptyArrayValueCustomHandler: (propertyName: string, parent: object, defaultValue: object) => object, ...sources: T[]): T;
|
5
|
-
static customNullCondition<T extends object = object>(target: T, condition: (target: T) => boolean): T;
|
6
|
-
static deleteNullProperties<T extends object = object>(target: T, disableTreatingEmptyStringAsNull?: boolean, disableTreatingFalseAsNull?: boolean, disableTreatingZeroAsNull?: boolean, disableTreatingEmptyArrayAsNull?: boolean): void;
|
7
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import { BlueprintVariant, guid } from "@omnia/fx-models";
|
2
|
-
import { useThemeStore } from "./ThemeStore";
|
3
|
-
export declare const useSpacingBlueprintStore: () => {
|
4
|
-
state: {
|
5
|
-
blueprint: import("@omnia/fx-models").SpacingBlueprint;
|
6
|
-
blueprintType: BlueprintVariant;
|
7
|
-
id: guid;
|
8
|
-
};
|
9
|
-
events: import("@omnia/fx/stores").StoreEvents<{
|
10
|
-
blueprint: import("@omnia/fx-models").SpacingBlueprint;
|
11
|
-
blueprintType: BlueprintVariant;
|
12
|
-
id: guid;
|
13
|
-
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
14
|
-
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
15
|
-
setBlueprint(): void;
|
16
|
-
setThemeStore(themeStoreInstance: ReturnType<typeof useThemeStore>): void;
|
17
|
-
}>;
|
18
|
-
get: {
|
19
|
-
readonly defaultSpacingBlueprint: import("@omnia/fx-models").SpacingBlueprint;
|
20
|
-
readonly themeStore: ReturnType<typeof useThemeStore>;
|
21
|
-
readonly blueprint: import("@omnia/fx-models").SpacingBlueprint;
|
22
|
-
readonly spacingScaling: {
|
23
|
-
get: {
|
24
|
-
valueWithoutScale: (value: import("@omnia/fx-models").SpacingValue) => string | number;
|
25
|
-
scaleFromValue: (value: import("@omnia/fx-models").SpacingValue) => import("@omnia/fx-models").SpacingScale;
|
26
|
-
scale: (value: import("@omnia/fx-models").Spacing | import("@omnia/fx-models").SpacingValue) => import("@omnia/fx-models").SpacingScale;
|
27
|
-
};
|
28
|
-
add: {
|
29
|
-
scaleToValue: (value: import("@omnia/fx-models").SpacingValue, scale: import("@omnia/fx-models").SpacingScale) => string | number;
|
30
|
-
fallBackScale: (value: import("@omnia/fx-models").SpacingValue, scale: import("@omnia/fx-models").SpacingScale) => string | number;
|
31
|
-
};
|
32
|
-
has: {
|
33
|
-
scaling: (value: import("@omnia/fx-models").SpacingValue) => boolean;
|
34
|
-
};
|
35
|
-
};
|
36
|
-
};
|
37
|
-
deactivated(): void;
|
38
|
-
} & {
|
39
|
-
dispose?: () => void;
|
40
|
-
};
|
@@ -1,100 +0,0 @@
|
|
1
|
-
export declare const useThemePreviewContextStore: () => {
|
2
|
-
actions: {
|
3
|
-
onDispatching: {};
|
4
|
-
onDispatched: {};
|
5
|
-
onFailure: {};
|
6
|
-
};
|
7
|
-
get: {
|
8
|
-
readonly themeStore: {
|
9
|
-
id: import("@omnia/fx-models").guid;
|
10
|
-
state: {
|
11
|
-
currentTheme: import("@omnia/fx-models").ResolvedThemeDefinition;
|
12
|
-
};
|
13
|
-
events: import("@omnia/fx/stores").StoreEvents<{
|
14
|
-
currentTheme: import("@omnia/fx-models").ResolvedThemeDefinition;
|
15
|
-
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
16
|
-
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
17
|
-
setTheme(themeDefinition: import("@omnia/fx-models").ResolvedThemeDefinition): void;
|
18
|
-
}>;
|
19
|
-
get: {
|
20
|
-
getOrSetColorSchema(colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType, container?: boolean): {
|
21
|
-
value: import("./ColorSchemaStore").ColorSchemaStoreType;
|
22
|
-
setValue(value: import("./ColorSchemaStore").ColorSchemaStoreType): void;
|
23
|
-
};
|
24
|
-
componentBlueprintStore(): {
|
25
|
-
state: {
|
26
|
-
blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
27
|
-
};
|
28
|
-
events: import("@omnia/fx/stores").StoreEvents<{
|
29
|
-
blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
30
|
-
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
31
|
-
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
32
|
-
ensure(): {
|
33
|
-
buttons: () => void;
|
34
|
-
};
|
35
|
-
setBlueprint(type: "default"): void;
|
36
|
-
setBluePrints(componentBlueprints: import("@omnia/fx-models").ComponentBlueprints): void;
|
37
|
-
}>;
|
38
|
-
get: {
|
39
|
-
byType<TType extends import("@omnia/fx-models").Blueprint>(type: import("@omnia/fx-models").WebBlueprintItemDefintionType): any;
|
40
|
-
readonly blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
41
|
-
fallbackBlueprints: {
|
42
|
-
get(): import("@omnia/fx-models").ComponentBlueprints;
|
43
|
-
byType(strategyType: import("@omnia/fx-models").BlueprintsStrategyBase): import("@omnia/fx-models").ComponentBlueprints;
|
44
|
-
};
|
45
|
-
button: {
|
46
|
-
iconBlueprintBySize(sizeType: import("@omnia/fx-models").OIconSizes): import("@omnia/fx-models").ButtonBlueprint;
|
47
|
-
blueprintByType(type: import("@omnia/fx-models").ButtonBlueprintVariant | import("@omnia/fx-models").ButtonBlueprint): any;
|
48
|
-
};
|
49
|
-
input: {
|
50
|
-
blueprintByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").InputBlueprint): import("@omnia/fx-models").InputBlueprint;
|
51
|
-
};
|
52
|
-
tabs: {
|
53
|
-
blueprintByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").TabsBlueprint): import("@omnia/fx-models").TabsBlueprint;
|
54
|
-
};
|
55
|
-
icon: {
|
56
|
-
blueprint(size: import("@omnia/fx-models").OIconSizes): import("@omnia/fx-models").IconBlueprint;
|
57
|
-
size: {
|
58
|
-
byBluePrint(blueprint: import("@omnia/fx-models").IconBlueprint, typographyBlueprint: import("@omnia/fx-models").TypographyBlueprint): import("@omnia/fx-models").TextStyleDefinition;
|
59
|
-
byIconSize(size: import("@omnia/fx-models").OIconSizes, typographyBlueprint: import("@omnia/fx-models").TypographyBlueprint): import("@omnia/fx-models").TextStyleDefinition;
|
60
|
-
};
|
61
|
-
};
|
62
|
-
containerFill: {
|
63
|
-
hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
|
64
|
-
getByType(type: import("@omnia/fx-models").ContainerFillValue): any;
|
65
|
-
};
|
66
|
-
header: {
|
67
|
-
hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
|
68
|
-
getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
|
69
|
-
};
|
70
|
-
};
|
71
|
-
deactivated(): void;
|
72
|
-
} & {
|
73
|
-
dispose?: () => void;
|
74
|
-
};
|
75
|
-
colorSchema(colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType | import("@omnia/fx-models").ColorSchema): import("@omnia/fx-models").ColorSchema;
|
76
|
-
typography(): import("@omnia/fx-models").TypographyBlueprint;
|
77
|
-
fills(): {
|
78
|
-
text: {
|
79
|
-
hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
|
80
|
-
byValue(value: import("@omnia/fx-models").TextFillDefinitionValue): import("@omnia/fx-models").TextFillDefinitionValue;
|
81
|
-
};
|
82
|
-
container: {
|
83
|
-
hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
|
84
|
-
bluePrints(): import("@omnia/fx-models").ContainerFillBlueprints;
|
85
|
-
byValue(value: import("@omnia/fx-models").ContainerFillValue): import("@omnia/fx-models").ContainerFillBlueprint;
|
86
|
-
};
|
87
|
-
};
|
88
|
-
spacing(): import("@omnia/fx-models").SpacingBlueprint;
|
89
|
-
component(): import("@omnia/fx-models").ComponentBlueprints;
|
90
|
-
color(colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType, colorType: import("@omnia/fx-models").ColorTypes | import("@omnia/fx-models").ColorType): string;
|
91
|
-
colorDefinition(colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType, colorType: import("@omnia/fx-models").ColorTypes | import("@omnia/fx-models").ColorType): import("@omnia/fx-models").ColorDefinition;
|
92
|
-
currentTheme(): import("@omnia/fx-models").ResolvedThemeDefinition;
|
93
|
-
};
|
94
|
-
} & {
|
95
|
-
dispose?: () => void;
|
96
|
-
};
|
97
|
-
};
|
98
|
-
} & {
|
99
|
-
dispose?: () => void;
|
100
|
-
};
|
@@ -1,91 +0,0 @@
|
|
1
|
-
import { ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes, BlueprintVariant, ResolvedThemeDefinition, guid, TextFillDefinitionValue, ContainerFillValue, ContainerFillBlueprint } from "@omnia/fx-models";
|
2
|
-
import { type ColorSchemaStoreType } from "./ColorSchemaStore";
|
3
|
-
export declare const useThemeStore: () => {
|
4
|
-
id: guid;
|
5
|
-
state: {
|
6
|
-
currentTheme: ResolvedThemeDefinition;
|
7
|
-
};
|
8
|
-
events: import("@omnia/fx/stores").StoreEvents<{
|
9
|
-
currentTheme: ResolvedThemeDefinition;
|
10
|
-
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
11
|
-
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
12
|
-
setTheme(themeDefinition: ResolvedThemeDefinition): void;
|
13
|
-
}>;
|
14
|
-
get: {
|
15
|
-
getOrSetColorSchema(colorSchemaType: ColorSchemaTypes | ColorSchemaType, container?: boolean): {
|
16
|
-
value: ColorSchemaStoreType;
|
17
|
-
setValue(value: ColorSchemaStoreType): void;
|
18
|
-
};
|
19
|
-
componentBlueprintStore(): {
|
20
|
-
state: {
|
21
|
-
blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
22
|
-
};
|
23
|
-
events: import("@omnia/fx/stores").StoreEvents<{
|
24
|
-
blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
25
|
-
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
26
|
-
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
27
|
-
ensure(): {
|
28
|
-
buttons: () => void;
|
29
|
-
};
|
30
|
-
setBlueprint(type: "default"): void;
|
31
|
-
setBluePrints(componentBlueprints: import("@omnia/fx-models").ComponentBlueprints): void;
|
32
|
-
}>;
|
33
|
-
get: {
|
34
|
-
byType<TType extends import("@omnia/fx-models").Blueprint>(type: import("@omnia/fx-models").WebBlueprintItemDefintionType): any;
|
35
|
-
readonly blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
36
|
-
fallbackBlueprints: {
|
37
|
-
get(): import("@omnia/fx-models").ComponentBlueprints;
|
38
|
-
byType(strategyType: import("@omnia/fx-models").BlueprintsStrategyBase): import("@omnia/fx-models").ComponentBlueprints;
|
39
|
-
};
|
40
|
-
button: {
|
41
|
-
iconBlueprintBySize(sizeType: import("@omnia/fx-models").OIconSizes): import("@omnia/fx-models").ButtonBlueprint;
|
42
|
-
blueprintByType(type: import("@omnia/fx-models").ButtonBlueprintVariant | import("@omnia/fx-models").ButtonBlueprint): any;
|
43
|
-
};
|
44
|
-
input: {
|
45
|
-
blueprintByType(type: BlueprintVariant | import("@omnia/fx-models").InputBlueprint): import("@omnia/fx-models").InputBlueprint;
|
46
|
-
};
|
47
|
-
tabs: {
|
48
|
-
blueprintByType(type: BlueprintVariant | import("@omnia/fx-models").TabsBlueprint): import("@omnia/fx-models").TabsBlueprint;
|
49
|
-
};
|
50
|
-
icon: {
|
51
|
-
blueprint(size: import("@omnia/fx-models").OIconSizes): import("@omnia/fx-models").IconBlueprint;
|
52
|
-
size: {
|
53
|
-
byBluePrint(blueprint: import("@omnia/fx-models").IconBlueprint, typographyBlueprint: import("@omnia/fx-models").TypographyBlueprint): import("@omnia/fx-models").TextStyleDefinition;
|
54
|
-
byIconSize(size: import("@omnia/fx-models").OIconSizes, typographyBlueprint: import("@omnia/fx-models").TypographyBlueprint): import("@omnia/fx-models").TextStyleDefinition;
|
55
|
-
};
|
56
|
-
};
|
57
|
-
containerFill: {
|
58
|
-
hasVariant(type: BlueprintVariant | string): boolean;
|
59
|
-
getByType(type: ContainerFillValue): any;
|
60
|
-
};
|
61
|
-
header: {
|
62
|
-
hasVariant(type: BlueprintVariant | string): boolean;
|
63
|
-
getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
|
64
|
-
};
|
65
|
-
};
|
66
|
-
deactivated(): void;
|
67
|
-
} & {
|
68
|
-
dispose?: () => void;
|
69
|
-
};
|
70
|
-
colorSchema(colorSchemaType: ColorSchemaTypes | ColorSchemaType | ColorSchema): ColorSchema;
|
71
|
-
typography(): import("@omnia/fx-models").TypographyBlueprint;
|
72
|
-
fills(): {
|
73
|
-
text: {
|
74
|
-
hasVariant(type: BlueprintVariant | string): boolean;
|
75
|
-
byValue(value: TextFillDefinitionValue): TextFillDefinitionValue;
|
76
|
-
};
|
77
|
-
container: {
|
78
|
-
hasVariant(type: BlueprintVariant | string): boolean;
|
79
|
-
bluePrints(): import("@omnia/fx-models").ContainerFillBlueprints;
|
80
|
-
byValue(value: ContainerFillValue): ContainerFillBlueprint;
|
81
|
-
};
|
82
|
-
};
|
83
|
-
spacing(): import("@omnia/fx-models").SpacingBlueprint;
|
84
|
-
component(): import("@omnia/fx-models").ComponentBlueprints;
|
85
|
-
color(colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType): string;
|
86
|
-
colorDefinition(colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType): import("@omnia/fx-models").ColorDefinition;
|
87
|
-
currentTheme(): ResolvedThemeDefinition;
|
88
|
-
};
|
89
|
-
} & {
|
90
|
-
dispose?: () => void;
|
91
|
-
};
|
/package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/VariantManager.d.ts
RENAMED
File without changes
|