@omnia/fx 8.0.452-dev → 8.0.454-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.fx.ux.manifest.json +1 -1
- package/internal-do-not-import-from-here/ux/StyleFlow.d.ts +0 -155
- package/internal-do-not-import-from-here/ux/Styles.stylex.d.ts +1 -158
- 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/aurora/styling/UseStyling.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/Spacing.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/confirmdialog/ConfirmDialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/datetimepicker/DateTimePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/docs/chrome/SampleViewer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/datetimefield/DateTimeFieldEdit.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/identitypicker/IdentityPickerField.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/mediapickerproviders/dalleprovider/DallEProvider.stylex.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/mobile/index.d.ts +1 -0
- 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/ExpansionPanel.stylex.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/icon/Icon.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/image/Image.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/link/link.stylex.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/selection/Selection.stylex.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/skeletonloader/SkeletonLoader.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/stickycontainer/StickyContainer.stylex.d.ts +2 -2
- 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/oxide/tab/Tab.stylex.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/oxide/table/Table.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/timepicker/TimePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/treeview/OTreeViewV3.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/shapedivider/ShapeDivider.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/shared-mobile/stylex/Typings.d.ts +894 -0
- package/internal-do-not-import-from-here/ux/shared-mobile/stylex/index.d.ts +154 -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
@@ -40,18 +40,17 @@ export declare const useComponentsEditorStore: () => {
|
|
40
40
|
blueprints: import("@omnia/fx-models").TabsBlueprints;
|
41
41
|
editingTabBlueprint: import("@omnia/fx-models").TabsBlueprint;
|
42
42
|
editingVariant: import("@omnia/fx-models").BlueprintVariant;
|
43
|
-
strategy:
|
43
|
+
strategy: BlueprintsStrategyBase;
|
44
44
|
};
|
45
45
|
events: import("@omnia/fx/stores").StoreEvents<{
|
46
46
|
blueprints: import("@omnia/fx-models").TabsBlueprints;
|
47
47
|
editingTabBlueprint: import("@omnia/fx-models").TabsBlueprint;
|
48
48
|
editingVariant: import("@omnia/fx-models").BlueprintVariant;
|
49
|
-
strategy:
|
49
|
+
strategy: BlueprintsStrategyBase;
|
50
50
|
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
51
51
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
52
52
|
setEditingBlueprints(blueprints: ComponentBlueprints): void;
|
53
53
|
deleteEditingVariant(): void;
|
54
|
-
addVariant(): string;
|
55
54
|
setEditingBlueprint(variant: import("@omnia/fx-models").BlueprintVariant): void;
|
56
55
|
applyChanges(): void;
|
57
56
|
}>;
|
@@ -1,21 +1,20 @@
|
|
1
|
-
import { BlueprintVariant, ComponentBlueprints, TabsBlueprint, TabsBlueprints } from "@omnia/fx-models";
|
1
|
+
import { BlueprintsStrategyBase, BlueprintVariant, ComponentBlueprints, TabsBlueprint, TabsBlueprints } from "@omnia/fx-models";
|
2
2
|
export declare const useTabsEditorStore: () => {
|
3
3
|
state: {
|
4
4
|
blueprints: TabsBlueprints;
|
5
5
|
editingTabBlueprint: TabsBlueprint;
|
6
6
|
editingVariant: BlueprintVariant;
|
7
|
-
strategy:
|
7
|
+
strategy: BlueprintsStrategyBase;
|
8
8
|
};
|
9
9
|
events: import("@omnia/fx/stores").StoreEvents<{
|
10
10
|
blueprints: TabsBlueprints;
|
11
11
|
editingTabBlueprint: TabsBlueprint;
|
12
12
|
editingVariant: BlueprintVariant;
|
13
|
-
strategy:
|
13
|
+
strategy: BlueprintsStrategyBase;
|
14
14
|
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
15
15
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
16
16
|
setEditingBlueprints(blueprints: ComponentBlueprints): void;
|
17
17
|
deleteEditingVariant(): void;
|
18
|
-
addVariant(): string;
|
19
18
|
setEditingBlueprint(variant: BlueprintVariant): void;
|
20
19
|
applyChanges(): void;
|
21
20
|
}>;
|
package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/ButtonStylePicker.d.ts
CHANGED
@@ -17,8 +17,6 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
17
17
|
customStyling?: boolean;
|
18
18
|
} & {
|
19
19
|
blueprints?: ButtonBlueprints;
|
20
|
-
} & {
|
21
|
-
baseBlueprint?: ButtonBlueprints;
|
22
20
|
} & {
|
23
21
|
baseStrategy?: BlueprintsStrategyBase;
|
24
22
|
} & {
|
@@ -29,5 +27,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
29
27
|
"v-slots"?: {} & Omit<{
|
30
28
|
default?: import("vue").Slot;
|
31
29
|
}, never>;
|
32
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "variant" | "modelValue" | "emit:update:modelValue" | "v-model" | "toned" | "placeholder" | "blueprints" | "sampleText" | "baseStrategy" | "customStyling"
|
30
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "variant" | "modelValue" | "emit:update:modelValue" | "v-model" | "toned" | "placeholder" | "blueprints" | "sampleText" | "baseStrategy" | "customStyling"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
33
31
|
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BlueprintVariant, TabsBlueprint } from "@omnia/fx-models";
|
1
|
+
import { BlueprintsStrategyBase, BlueprintVariant, TabsBlueprint, TabsBlueprints } from "@omnia/fx-models";
|
2
2
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
3
3
|
"emit:update:modelValue": (value: BlueprintVariant | TabsBlueprint) => void;
|
4
4
|
} & {
|
@@ -9,6 +9,10 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
9
9
|
label?: string;
|
10
10
|
} & {
|
11
11
|
toned?: boolean;
|
12
|
+
} & {
|
13
|
+
blueprints?: TabsBlueprints;
|
14
|
+
} & {
|
15
|
+
baseStrategy?: BlueprintsStrategyBase;
|
12
16
|
} & {
|
13
17
|
customStyling?: boolean;
|
14
18
|
}> & {
|
@@ -17,5 +21,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
17
21
|
"v-slots"?: {} & Omit<{
|
18
22
|
default?: import("vue").Slot;
|
19
23
|
}, never>;
|
20
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "modelValue" | "emit:update:modelValue" | "v-model" | "toned" | "customStyling"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
24
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "modelValue" | "emit:update:modelValue" | "v-model" | "toned" | "blueprints" | "baseStrategy" | "customStyling"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
21
25
|
export default _default;
|
package/internal-do-not-import-from-here/ux/aurora/components/tabs/store/TabStyleEditorStore.d.ts
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
import { ColorSchemaType, ColorValue, guid, TabsBlueprint, TextBlueprint } from "@omnia/fx-models";
|
2
|
+
export declare const useTabStyleEditorStore: () => {
|
3
|
+
state: {
|
4
|
+
internalModel: TabsBlueprint;
|
5
|
+
minWidth: any;
|
6
|
+
minHeight: any;
|
7
|
+
activeTab: {
|
8
|
+
model: any;
|
9
|
+
textBlueprint: TextBlueprint;
|
10
|
+
};
|
11
|
+
inactiveTab: {
|
12
|
+
model: any;
|
13
|
+
textBlueprint: TextBlueprint;
|
14
|
+
};
|
15
|
+
alignment: any;
|
16
|
+
iconPosition: any;
|
17
|
+
dynamiColorSchemaType: ColorSchemaType;
|
18
|
+
enableDynamicColor: boolean;
|
19
|
+
previewId: guid;
|
20
|
+
sliderColor: ColorValue;
|
21
|
+
};
|
22
|
+
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
23
|
+
activeTab: () => {
|
24
|
+
setTextBlueprint: (textBlueprint: TextBlueprint) => void;
|
25
|
+
ensure(): void;
|
26
|
+
};
|
27
|
+
inActiveTab: () => {
|
28
|
+
setTextBlueprint: (textBlueprint: TextBlueprint) => void;
|
29
|
+
ensure(): void;
|
30
|
+
};
|
31
|
+
ensureInheritedSettings: () => void;
|
32
|
+
updateName: (name: string) => void;
|
33
|
+
initState: (model: TabsBlueprint) => void;
|
34
|
+
}>;
|
35
|
+
get: {};
|
36
|
+
datatTypes: {};
|
37
|
+
rules: {
|
38
|
+
isAdvanceModeEnabled: () => boolean;
|
39
|
+
showInputField(): boolean;
|
40
|
+
};
|
41
|
+
} & {
|
42
|
+
dispose?: () => void;
|
43
|
+
};
|
package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ColorSchemaManager.d.ts
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TonalPalette } from "@material/material-color-utilities";
|
2
|
-
import { ColorSchema } from "@omnia/fx-models";
|
2
|
+
import { ColorSchema } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
3
3
|
interface ColorGroup {
|
4
4
|
dark: ColorSchema;
|
5
5
|
light: ColorSchema;
|
package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ColorSchemaStore.d.ts
RENAMED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { type
|
2
|
-
import { ColorDefinition, ColorGradientValue, ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorTypes, ColorValue, guid } from "@omnia/fx-models";
|
1
|
+
import { type StoreEvents, type StoreReturnDefineAction } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
|
2
|
+
import { ColorDefinition, ColorGradientValue, ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorTypes, ColorValue, guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
3
3
|
import { useThemeStore } from "./ThemeStore";
|
4
4
|
export type ColorSchemaStoreType = {
|
5
5
|
state: {
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import {
|
1
|
+
import { Blueprint, BlueprintsStrategyBase, BlueprintVariant, ButtonBlueprint, ButtonBlueprintVariant, ComponentBlueprints, ContainerFillValue, HeaderBlueprint, IconBlueprint, InputBlueprint, OIconSizes, TabsBlueprint, TextStyleDefinition, TypographyBlueprint, WebBlueprintItemDefintionType } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
type blueprintType = "default";
|
3
3
|
export declare const useComponentBlueprintStore: () => {
|
4
4
|
state: {
|
5
5
|
blueprints: ComponentBlueprints;
|
6
6
|
};
|
7
|
-
events: import("@omnia/fx/
|
7
|
+
events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
|
8
8
|
blueprints: ComponentBlueprints;
|
9
|
-
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
10
|
-
actions: import("@omnia/fx/
|
9
|
+
}, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
|
10
|
+
actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
|
11
11
|
ensure(): {
|
12
12
|
buttons: () => void;
|
13
13
|
};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { useThemeProviderStore } from "./ThemeProvider";
|
2
|
+
type SetupThemeProvider = Pick<ReturnType<typeof useThemeProviderStore>["actions"], "registerStore" | "registerDefaultTypographyBlueprints" | "registerDefaultSpacingBlueprints" | "registerDefaultLightColorSchema" | "registerDefaultDarkColorSchema" | "registerComponentBlueprintStrategy" | "defineCustomFontLoader">;
|
3
|
+
export declare function defineThemeProvider(setup: (ctx: SetupThemeProvider) => void): void;
|
4
|
+
export {};
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import { ITemplateRegistration, TypographyFontDefinition
|
1
|
+
import { Future, ITemplateRegistration, TypographyFontDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
export declare const useFontStore: () => {
|
3
|
-
actions: import("@omnia/fx/
|
4
|
-
ensureLoadFonts: () => Future<ITemplateRegistration<TypographyFontDefinition, import("@omnia/fx-models").TemplateRegistrationType>[]>;
|
3
|
+
actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
|
4
|
+
ensureLoadFonts: () => Future<ITemplateRegistration<TypographyFontDefinition, import("@omnia/fx-models/internal-do-not-import-from-here/shared").TemplateRegistrationType>[]>;
|
5
5
|
addFont(font: TypographyFontDefinition): void;
|
6
6
|
editFont(font: TypographyFontDefinition): void;
|
7
|
-
onFinishLoad(): Future<Record<string, ITemplateRegistration<any, import("@omnia/fx-models").TemplateRegistrationType>>>;
|
7
|
+
onFinishLoad(): Future<Record<string, ITemplateRegistration<any, import("@omnia/fx-models/internal-do-not-import-from-here/shared").TemplateRegistrationType>>>;
|
8
8
|
saveFont(): Promise<boolean>;
|
9
9
|
delete(font: TypographyFontDefinition): Promise<void>;
|
10
10
|
}>;
|
11
11
|
get: {
|
12
12
|
readonly availableFonts: TypographyFontDefinition[];
|
13
|
-
findFont(family: string): ITemplateRegistration<TypographyFontDefinition, import("@omnia/fx-models").TemplateRegistrationType>;
|
13
|
+
findFont(family: string): ITemplateRegistration<TypographyFontDefinition, import("@omnia/fx-models/internal-do-not-import-from-here/shared").TemplateRegistrationType>;
|
14
14
|
readonly finishLoad: boolean;
|
15
15
|
};
|
16
16
|
} & {
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { BlueprintVariant, guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
+
import { useThemeStore } from "./ThemeStore";
|
3
|
+
export declare const useSpacingBlueprintStore: () => {
|
4
|
+
state: {
|
5
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingBlueprint;
|
6
|
+
blueprintType: BlueprintVariant;
|
7
|
+
id: guid;
|
8
|
+
isCustomBlueprint: boolean;
|
9
|
+
};
|
10
|
+
events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
|
11
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingBlueprint;
|
12
|
+
blueprintType: BlueprintVariant;
|
13
|
+
id: guid;
|
14
|
+
isCustomBlueprint: boolean;
|
15
|
+
}, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
|
16
|
+
actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
|
17
|
+
setBlueprint(): void;
|
18
|
+
setThemeStore(themeStoreInstance: ReturnType<typeof useThemeStore>): void;
|
19
|
+
}>;
|
20
|
+
get: {
|
21
|
+
readonly defaultSpacingBlueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingBlueprint;
|
22
|
+
readonly themeStore: ReturnType<typeof useThemeStore>;
|
23
|
+
readonly blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingBlueprint;
|
24
|
+
readonly spacingScaling: {
|
25
|
+
get: {
|
26
|
+
valueWithoutScale: (value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingValue) => string | number;
|
27
|
+
scaleFromValue: (value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingValue) => import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingScale;
|
28
|
+
scale: (value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").Spacing | import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingValue) => import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingScale;
|
29
|
+
};
|
30
|
+
add: {
|
31
|
+
scaleToValue: (value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingValue, scale: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingScale) => string | number;
|
32
|
+
fallBackScale: (value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingValue, scale: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingScale) => string | number;
|
33
|
+
};
|
34
|
+
has: {
|
35
|
+
scaling: (value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingValue) => boolean;
|
36
|
+
};
|
37
|
+
};
|
38
|
+
};
|
39
|
+
deactivated(): void;
|
40
|
+
} & {
|
41
|
+
dispose?: () => void;
|
42
|
+
};
|
package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/StateManager.d.ts
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronState } from "@omnia/fx-models";
|
1
|
+
import { VelcronState } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
export declare function StateManager(): {
|
3
3
|
cleanState: (object2Clean: VelcronState, objectToCompareAgainst: VelcronState) => VelcronState;
|
4
4
|
};
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { guid, ITemplateRegistration, TemplateRegistrationType, Future } from "@omnia/fx-models";
|
1
|
+
import { guid, ITemplateRegistration, TemplateRegistrationType, Future } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
export declare const useTemplateRegistrationStore: () => {
|
3
3
|
state: {
|
4
4
|
registrations: Record<string, ITemplateRegistration<any, TemplateRegistrationType>>;
|
5
5
|
};
|
6
|
-
events: import("@omnia/fx/
|
6
|
+
events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
|
7
7
|
registrations: Record<string, ITemplateRegistration<any, TemplateRegistrationType>>;
|
8
|
-
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
9
|
-
actions: import("@omnia/fx/
|
8
|
+
}, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
|
9
|
+
actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
|
10
10
|
upsertRegistration<TTemplateRegistration extends ITemplateRegistration<any>>(registration: TTemplateRegistration): Promise<boolean>;
|
11
11
|
deleteRegistration(registrationId: guid): Promise<boolean>;
|
12
12
|
ensureLoadTemplates: () => Future<Record<string, ITemplateRegistration<any, TemplateRegistrationType>>>;
|
package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ThemeContextStore.d.ts
RENAMED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { ThemeContextType } from "@omnia/fx-models";
|
1
|
+
import { ThemeContextType } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { useThemeStore } from "./ThemeStore";
|
3
3
|
export declare const useThemeContextStore: () => {
|
4
|
-
actions: import("@omnia/fx/
|
4
|
+
actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
|
5
5
|
saveTheme(variant: ThemeContextType): void;
|
6
6
|
}>;
|
7
7
|
get: {
|
package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ThemeMigrations.d.ts
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SpacingBlueprint, TypographyBlueprint } from "@omnia/fx-models";
|
1
|
+
import { SpacingBlueprint, TypographyBlueprint } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
export declare function ThemeMigrations(): {
|
3
3
|
spacing: {
|
4
4
|
migrate: (blueprint: SpacingBlueprint) => SpacingBlueprint;
|
package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ThemeNormalizer.d.ts
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ResolvedThemeDefinition, TypographyBlueprint } from "@omnia/fx-models";
|
1
|
+
import { ResolvedThemeDefinition, TypographyBlueprint } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
export declare function ThemeNormalizer(): {
|
3
3
|
normalizeTypography: (typography: TypographyBlueprint) => TypographyBlueprint;
|
4
4
|
normalize: (themeDefinition: ResolvedThemeDefinition) => ResolvedThemeDefinition;
|
package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemePreviewContextStore.d.ts
ADDED
@@ -0,0 +1,100 @@
|
|
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/internal-do-not-import-from-here/shared").guid;
|
10
|
+
state: {
|
11
|
+
currentTheme: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ResolvedThemeDefinition;
|
12
|
+
};
|
13
|
+
events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
|
14
|
+
currentTheme: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ResolvedThemeDefinition;
|
15
|
+
}, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
|
16
|
+
actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
|
17
|
+
setTheme(themeDefinition: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ResolvedThemeDefinition): void;
|
18
|
+
}>;
|
19
|
+
get: {
|
20
|
+
getOrSetColorSchema(colorSchemaType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaTypes | import("@omnia/fx-models/internal-do-not-import-from-here/shared").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/internal-do-not-import-from-here/shared").ComponentBlueprints;
|
27
|
+
};
|
28
|
+
events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
|
29
|
+
blueprints: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
|
30
|
+
}, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
|
31
|
+
actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
|
32
|
+
ensure(): {
|
33
|
+
buttons: () => void;
|
34
|
+
};
|
35
|
+
setBlueprint(type: "default"): void;
|
36
|
+
setBluePrints(componentBlueprints: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints): void;
|
37
|
+
}>;
|
38
|
+
get: {
|
39
|
+
byType<TType extends import("@omnia/fx-models/internal-do-not-import-from-here/shared").Blueprint>(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").WebBlueprintItemDefintionType): any;
|
40
|
+
readonly blueprints: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
|
41
|
+
fallbackBlueprints: {
|
42
|
+
get(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
|
43
|
+
byType(strategyType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintsStrategyBase): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
|
44
|
+
};
|
45
|
+
button: {
|
46
|
+
iconBlueprintBySize(sizeType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").OIconSizes): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ButtonBlueprint;
|
47
|
+
blueprintByType(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ButtonBlueprintVariant | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ButtonBlueprint): any;
|
48
|
+
};
|
49
|
+
input: {
|
50
|
+
blueprintByType(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintVariant | import("@omnia/fx-models/internal-do-not-import-from-here/shared").InputBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").InputBlueprint;
|
51
|
+
};
|
52
|
+
tabs: {
|
53
|
+
blueprintByType(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintVariant | import("@omnia/fx-models/internal-do-not-import-from-here/shared").TabsBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").TabsBlueprint;
|
54
|
+
};
|
55
|
+
icon: {
|
56
|
+
blueprint(size: import("@omnia/fx-models/internal-do-not-import-from-here/shared").OIconSizes): import("@omnia/fx-models/internal-do-not-import-from-here/shared").IconBlueprint;
|
57
|
+
size: {
|
58
|
+
byBluePrint(blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").IconBlueprint, typographyBlueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").TypographyBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").TextStyleDefinition;
|
59
|
+
byIconSize(size: import("@omnia/fx-models/internal-do-not-import-from-here/shared").OIconSizes, typographyBlueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").TypographyBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").TextStyleDefinition;
|
60
|
+
};
|
61
|
+
};
|
62
|
+
containerFill: {
|
63
|
+
hasVariant(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintVariant | string): boolean;
|
64
|
+
getByType(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ContainerFillValue): any;
|
65
|
+
};
|
66
|
+
header: {
|
67
|
+
hasVariant(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintVariant | string): boolean;
|
68
|
+
getRendererBlueprint(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").HeaderBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").HeaderBlueprint;
|
69
|
+
};
|
70
|
+
};
|
71
|
+
deactivated(): void;
|
72
|
+
} & {
|
73
|
+
dispose?: () => void;
|
74
|
+
};
|
75
|
+
colorSchema(colorSchemaType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaTypes | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaType | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchema): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchema;
|
76
|
+
typography(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").TypographyBlueprint;
|
77
|
+
fills(): {
|
78
|
+
text: {
|
79
|
+
hasVariant(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintVariant | string): boolean;
|
80
|
+
byValue(value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").TextFillDefinitionValue): import("@omnia/fx-models/internal-do-not-import-from-here/shared").TextFillDefinitionValue;
|
81
|
+
};
|
82
|
+
container: {
|
83
|
+
hasVariant(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintVariant | string): boolean;
|
84
|
+
bluePrints(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ContainerFillBlueprints;
|
85
|
+
byValue(value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ContainerFillValue): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ContainerFillBlueprint;
|
86
|
+
};
|
87
|
+
};
|
88
|
+
spacing(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingBlueprint;
|
89
|
+
component(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
|
90
|
+
color(colorSchemaType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaTypes | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaType, colorType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorTypes | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorType): string;
|
91
|
+
colorDefinition(colorSchemaType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaTypes | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaType, colorType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorTypes | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorType): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorDefinition;
|
92
|
+
currentTheme(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ResolvedThemeDefinition;
|
93
|
+
};
|
94
|
+
} & {
|
95
|
+
dispose?: () => void;
|
96
|
+
};
|
97
|
+
};
|
98
|
+
} & {
|
99
|
+
dispose?: () => void;
|
100
|
+
};
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { ColorSchemas, guid, ResolvedThemeDefinition, SpacingBlueprint, TypographyBlueprint, TypographyFontDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
+
import { ThemeRegistrationStoreType, ThemeRegistration, ComponentBlueprintStrategyType } from "./ThemeSharedModels";
|
3
|
+
export declare const useThemeProviderStore: () => {
|
4
|
+
actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
|
5
|
+
registerStore(store: () => ThemeRegistrationStoreType): void;
|
6
|
+
initiateStore(): void;
|
7
|
+
registerDefaultTypographyBlueprints(blueprints: TypographyBlueprint): void;
|
8
|
+
registerDefaultSpacingBlueprints(blueprints: SpacingBlueprint): void;
|
9
|
+
registerDefaultLightColorSchema(blueprints: ColorSchemas): void;
|
10
|
+
registerDefaultDarkColorSchema(blueprints: ColorSchemas): void;
|
11
|
+
registerComponentBlueprintStrategy(strategy: ComponentBlueprintStrategyType): void;
|
12
|
+
defineCustomFontLoader(loader: (font: TypographyFontDefinition) => void): void;
|
13
|
+
loadAll(): Promise<import("./ThemeSharedModels").ThemesResolved>;
|
14
|
+
save(theme: ThemeRegistration): Promise<any>;
|
15
|
+
delete(id: guid): Promise<any>;
|
16
|
+
setAdminTheme(theme: ResolvedThemeDefinition): void;
|
17
|
+
setDefaultTheme(theme: ResolvedThemeDefinition): void;
|
18
|
+
loadCustomFont(font: TypographyFontDefinition): void;
|
19
|
+
}>;
|
20
|
+
get: {
|
21
|
+
readonly adminTheme: ResolvedThemeDefinition;
|
22
|
+
readonly defaultTheme: ResolvedThemeDefinition;
|
23
|
+
readonly defaultTypographyBlueprints: TypographyBlueprint;
|
24
|
+
readonly defaultSpacingBlueprints: SpacingBlueprint;
|
25
|
+
readonly defaultLightColorSchema: ColorSchemas;
|
26
|
+
readonly defaultDarkColorSchema: ColorSchemas;
|
27
|
+
readonly componentBlueprintStrategry: ComponentBlueprintStrategyType;
|
28
|
+
};
|
29
|
+
events: {
|
30
|
+
onMutatedAdminTheme: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<ResolvedThemeDefinition>;
|
31
|
+
onMutatedDefaultTheme: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<ResolvedThemeDefinition>;
|
32
|
+
};
|
33
|
+
validations: {
|
34
|
+
checkPlatformStoreRegistered(): void;
|
35
|
+
checkDefaultBlueprintsRegistered(type: "typography" | "spacing" | "light" | "dark" | "component"): void;
|
36
|
+
};
|
37
|
+
} & {
|
38
|
+
dispose?: () => void;
|
39
|
+
};
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { ColorSchema, ComponentBlueprints, guid, ITemplateRegistration, ResolvedThemeDefinition, SpacingBlueprint, TemplateRegistrationType, ThemeDefinition, TypographyBlueprint } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
+
import { StoreEvents, StoreReturnDefineAction } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
|
3
|
+
export type ThemeRegistration = ITemplateRegistration<ResolvedThemeDefinition, TemplateRegistrationType> | ITemplateRegistration<ColorSchema> | ITemplateRegistration<TypographyBlueprint> | ITemplateRegistration<ComponentBlueprints> | ITemplateRegistration<SpacingBlueprint>;
|
4
|
+
export type ThemesResolved = Array<ThemeDefinition | ColorSchema | TypographyBlueprint | SpacingBlueprint | ComponentBlueprints>;
|
5
|
+
export type ThemeRegistrationStoreType = {
|
6
|
+
state: {
|
7
|
+
adminTheme: ResolvedThemeDefinition;
|
8
|
+
defaultTheme: ResolvedThemeDefinition;
|
9
|
+
};
|
10
|
+
events: StoreEvents<{
|
11
|
+
adminTheme: ResolvedThemeDefinition;
|
12
|
+
defaultTheme: ResolvedThemeDefinition;
|
13
|
+
}>;
|
14
|
+
actions: StoreReturnDefineAction<{
|
15
|
+
loadAll(): Promise<ThemesResolved>;
|
16
|
+
save(theme: ThemeRegistration): Promise<any>;
|
17
|
+
delete(id: guid): Promise<any>;
|
18
|
+
}>;
|
19
|
+
get: {
|
20
|
+
readonly adminTheme: ResolvedThemeDefinition;
|
21
|
+
readonly defaultTheme: ResolvedThemeDefinition;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
export type ComponentBlueprintStrategyType = {
|
25
|
+
roundness: {
|
26
|
+
readonly none: ComponentBlueprints;
|
27
|
+
readonly xs: ComponentBlueprints;
|
28
|
+
readonly s: ComponentBlueprints;
|
29
|
+
readonly m: ComponentBlueprints;
|
30
|
+
readonly l: ComponentBlueprints;
|
31
|
+
readonly full: ComponentBlueprints;
|
32
|
+
};
|
33
|
+
};
|
@@ -0,0 +1,91 @@
|
|
1
|
+
import { ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes, BlueprintVariant, ResolvedThemeDefinition, guid, TextFillDefinitionValue, ContainerFillValue, ContainerFillBlueprint } from "@omnia/fx-models/internal-do-not-import-from-here/shared/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-models/internal-do-not-import-from-here/shared").StoreEvents<{
|
9
|
+
currentTheme: ResolvedThemeDefinition;
|
10
|
+
}, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
|
11
|
+
actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").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/internal-do-not-import-from-here/shared").ComponentBlueprints;
|
22
|
+
};
|
23
|
+
events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
|
24
|
+
blueprints: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
|
25
|
+
}, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
|
26
|
+
actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
|
27
|
+
ensure(): {
|
28
|
+
buttons: () => void;
|
29
|
+
};
|
30
|
+
setBlueprint(type: "default"): void;
|
31
|
+
setBluePrints(componentBlueprints: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints): void;
|
32
|
+
}>;
|
33
|
+
get: {
|
34
|
+
byType<TType extends import("@omnia/fx-models/internal-do-not-import-from-here/shared").Blueprint>(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").WebBlueprintItemDefintionType): any;
|
35
|
+
readonly blueprints: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
|
36
|
+
fallbackBlueprints: {
|
37
|
+
get(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
|
38
|
+
byType(strategyType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintsStrategyBase): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
|
39
|
+
};
|
40
|
+
button: {
|
41
|
+
iconBlueprintBySize(sizeType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").OIconSizes): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ButtonBlueprint;
|
42
|
+
blueprintByType(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ButtonBlueprintVariant | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ButtonBlueprint): any;
|
43
|
+
};
|
44
|
+
input: {
|
45
|
+
blueprintByType(type: BlueprintVariant | import("@omnia/fx-models/internal-do-not-import-from-here/shared").InputBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").InputBlueprint;
|
46
|
+
};
|
47
|
+
tabs: {
|
48
|
+
blueprintByType(type: BlueprintVariant | import("@omnia/fx-models/internal-do-not-import-from-here/shared").TabsBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").TabsBlueprint;
|
49
|
+
};
|
50
|
+
icon: {
|
51
|
+
blueprint(size: import("@omnia/fx-models/internal-do-not-import-from-here/shared").OIconSizes): import("@omnia/fx-models/internal-do-not-import-from-here/shared").IconBlueprint;
|
52
|
+
size: {
|
53
|
+
byBluePrint(blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").IconBlueprint, typographyBlueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").TypographyBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").TextStyleDefinition;
|
54
|
+
byIconSize(size: import("@omnia/fx-models/internal-do-not-import-from-here/shared").OIconSizes, typographyBlueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").TypographyBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").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/internal-do-not-import-from-here/shared").HeaderBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").HeaderBlueprint;
|
64
|
+
};
|
65
|
+
};
|
66
|
+
deactivated(): void;
|
67
|
+
} & {
|
68
|
+
dispose?: () => void;
|
69
|
+
};
|
70
|
+
colorSchema(colorSchemaType: ColorSchemaTypes | ColorSchemaType | ColorSchema): ColorSchema;
|
71
|
+
typography(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").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/internal-do-not-import-from-here/shared").ContainerFillBlueprints;
|
80
|
+
byValue(value: ContainerFillValue): ContainerFillBlueprint;
|
81
|
+
};
|
82
|
+
};
|
83
|
+
spacing(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingBlueprint;
|
84
|
+
component(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
|
85
|
+
color(colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType): string;
|
86
|
+
colorDefinition(colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorDefinition;
|
87
|
+
currentTheme(): ResolvedThemeDefinition;
|
88
|
+
};
|
89
|
+
} & {
|
90
|
+
dispose?: () => void;
|
91
|
+
};
|
@@ -1,20 +1,22 @@
|
|
1
|
-
import { guid, TextStyleSize, TextStyleSizes, TextStyleType,
|
1
|
+
import { guid, TextStyleDefinition, TextStyleSize, TextStyleSizes, TextStyleType, TextStyleTypes, TypographyBlueprint, TypographyFontDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { useThemeStore } from "./ThemeStore";
|
3
3
|
export declare const useTypographyBlueprintStore: () => {
|
4
4
|
state: {
|
5
5
|
blueprint: TypographyBlueprint;
|
6
6
|
id: guid;
|
7
7
|
availableFonts: TypographyFontDefinition[];
|
8
|
+
isCustomBlueprint: boolean;
|
8
9
|
};
|
9
|
-
events: import("@omnia/fx/
|
10
|
+
events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
|
10
11
|
blueprint: TypographyBlueprint;
|
11
12
|
id: guid;
|
12
13
|
availableFonts: TypographyFontDefinition[];
|
13
|
-
|
14
|
+
isCustomBlueprint: boolean;
|
15
|
+
}, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
|
14
16
|
rules: {
|
15
17
|
isStyleActive: (textStyleType: TextStyleType, size: TextStyleSizes) => boolean;
|
16
18
|
};
|
17
|
-
actions: import("@omnia/fx/
|
19
|
+
actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
|
18
20
|
normalize(blueprint: TypographyBlueprint): TypographyBlueprint;
|
19
21
|
setBlueprint(): void;
|
20
22
|
setThemeStore(themeStoreInstance: ReturnType<typeof useThemeStore>): void;
|