@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
@@ -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;
|
@@ -1 +1,18 @@
|
|
1
1
|
export * from "./ColorManager";
|
2
|
+
export * from "./ColorSchemaManager";
|
3
|
+
export * from "./ColorSchemaStore";
|
4
|
+
export * from "./ComponentBlueprintStore";
|
5
|
+
export * from "./FontStore";
|
6
|
+
export * from "./SpacingBlueprintStore";
|
7
|
+
export * from "./StateManager";
|
8
|
+
export * from "./TemplateRegistrationStore";
|
9
|
+
export * from "./ThemeContextStore";
|
10
|
+
export * from "./ThemeMigrations";
|
11
|
+
export * from "./ThemeNormalizer";
|
12
|
+
export * from "./ThemePreviewContextStore";
|
13
|
+
export * from "./DefineThemeProvider";
|
14
|
+
export * from "./ThemeSharedModels";
|
15
|
+
export * from "./ThemeStore";
|
16
|
+
export * from "./TypographyBlueprintManager";
|
17
|
+
export * from "./TypographyBlueprintStore";
|
18
|
+
export * from "./VariantManager";
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
|
1
|
+
import { ThemeRegistration } from "../shared-mobile";
|
2
|
+
import { ColorSchema, ComponentBlueprints, guid, ResolvedThemeDefinition, SpacingBlueprint, TemplateRegistrationType, ThemeDefinition, TypographyBlueprint } from "@omnia/fx-models";
|
3
3
|
type ThemesResolved = Array<ThemeDefinition | ColorSchema | TypographyBlueprint | SpacingBlueprint | ComponentBlueprints>;
|
4
4
|
export declare const useThemeProviderStore: () => {
|
5
5
|
state: {
|
@@ -1,17 +1,18 @@
|
|
1
1
|
export * from "../shared-mobile/ColorManager";
|
2
|
-
export * from "
|
3
|
-
export { type ColorSchemaStoreType
|
4
|
-
export * from "
|
5
|
-
export * from "
|
6
|
-
export * from "
|
7
|
-
export * from "
|
8
|
-
export * from "
|
9
|
-
export * from "
|
10
|
-
export * from "
|
11
|
-
export * from "
|
12
|
-
export * from "
|
2
|
+
export * from "../shared-mobile/ColorSchemaManager";
|
3
|
+
export { useColorSchemaStore, type ColorSchemaStoreType } from "../shared-mobile/ColorSchemaStore";
|
4
|
+
export * from "../shared-mobile/ComponentBlueprintStore";
|
5
|
+
export * from "../shared-mobile/FontStore";
|
6
|
+
export * from "../shared-mobile/SpacingBlueprintStore";
|
7
|
+
export * from "../shared-mobile/StateManager";
|
8
|
+
export * from "../shared-mobile/TemplateRegistrationStore";
|
9
|
+
export * from "../shared-mobile/ThemeContextStore";
|
10
|
+
export * from "../shared-mobile/ThemeMigrations";
|
11
|
+
export * from "../shared-mobile/ThemeNormalizer";
|
12
|
+
export * from "../shared-mobile/ThemePreviewContextStore";
|
13
|
+
export * from "../shared-mobile/ThemeSharedModels";
|
14
|
+
export * from "../shared-mobile/ThemeStore";
|
15
|
+
export * from "../shared-mobile/TypographyBlueprintManager";
|
16
|
+
export * from "../shared-mobile/TypographyBlueprintStore";
|
17
|
+
export * from "../shared-mobile/VariantManager";
|
13
18
|
export * from "./ThemeStorage";
|
14
|
-
export * from "./VariantManager";
|
15
|
-
export * from "./ThemeNormalizer";
|
16
|
-
export * from "./StateManager";
|
17
|
-
export * from "./TypographyBlueprintManager";
|
@@ -52,8 +52,8 @@ declare const _default: {
|
|
52
52
|
}>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
53
53
|
propsDefinition: Omit<Readonly<{} & {
|
54
54
|
title?: string;
|
55
|
-
description?: string;
|
56
55
|
component?: any;
|
56
|
+
description?: string;
|
57
57
|
relativeUrl?: string;
|
58
58
|
}>, never>;
|
59
59
|
};
|
@@ -5,6 +5,6 @@ export declare const FilterSizesName = "FilterSizes";
|
|
5
5
|
export declare const FilterPickerStyles: {
|
6
6
|
actionIcon: (size: FilterSizes) => string;
|
7
7
|
sortButton: string;
|
8
|
-
icon: (size: FilterSizes) => string;
|
8
|
+
icon: (size: FilterSizes, hasText: any) => string;
|
9
9
|
wrapper: (base: ColorDefinition, onBase: ColorDefinition, selected: boolean, size: FilterSizes, grow: boolean) => string;
|
10
10
|
};
|
@@ -31,5 +31,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
31
31
|
} & Omit<{
|
32
32
|
default?: import("vue").Slot;
|
33
33
|
}, "itemRendering">;
|
34
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "grow" | "size" | "class" | "filters" | "modelValue" | "emit:update:modelValue" | "v-model" | "sortable" | "
|
34
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "grow" | "size" | "class" | "filters" | "modelValue" | "emit:update:modelValue" | "v-model" | "sortable" | "singleSelect" | "slot:itemRendering" | "emit:item:removed" | "emit:item:sorted"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
35
35
|
export default _default;
|
@@ -7,5 +7,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ButtonProps>
|
|
7
7
|
"v-slots"?: {} & Omit<{
|
8
8
|
default?: import("vue").Slot;
|
9
9
|
}, never>;
|
10
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "icon" | "blueprint" | "animation" | "variant" | "active" | "size" | "
|
10
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "icon" | "blueprint" | "animation" | "variant" | "active" | "size" | "class" | "block" | "target" | "href" | "disabled" | "transparent" | "tooltip" | "colorSchemaType" | "loading" | "slim" | "colors" | "overrides" | "preset" | "grouped" | "toned" | "transparentHover" | "emit:click"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
11
11
|
export default _default;
|
@@ -10,5 +10,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ButtonGroupP
|
|
10
10
|
} & Omit<{
|
11
11
|
default?: import("vue").Slot;
|
12
12
|
}, "activator">;
|
13
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "
|
13
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "class" | "toggle" | "mandatory" | "colorSchemaType" | "modelValue" | "emit:update:modelValue" | "v-model" | "colors" | "toned" | "slot:activator"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
14
14
|
export default _default;
|
@@ -30,7 +30,7 @@ declare const _default: <TItem extends unknown, TVariant extends "default" | "cl
|
|
30
30
|
"v-slots"?: (DataTableProps<TItem, TVariant> extends infer T_3 ? { [K_3 in keyof T_3 as K_3 extends `slot:${infer N_1}` ? N_1 : never]: DataTableProps<TItem, TVariant>[K_3]; } : never) & Omit<{
|
31
31
|
default?: import("vue").Slot;
|
32
32
|
}, keyof (DataTableProps<TItem, TVariant> extends infer T_4 ? { [K_3 in keyof T_4 as K_3 extends `slot:${infer N_1}` ? N_1 : never]: DataTableProps<TItem, TVariant>[K_3]; } : never)>;
|
33
|
-
} & (DataTableProps<TItem, TVariant> extends infer T_5 ? { [K_4 in keyof T_5 as K_4 extends "ref" ? "ref" : never]: import("vue").Ref<DataTableProps<TItem, TVariant>[K_4], DataTableProps<TItem, TVariant>[K_4]> | ((ref: DataTableProps<TItem, TVariant>[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "search" | "height" | "variant" | "
|
33
|
+
} & (DataTableProps<TItem, TVariant> extends infer T_5 ? { [K_4 in keyof T_5 as K_4 extends "ref" ? "ref" : never]: import("vue").Ref<DataTableProps<TItem, TVariant>[K_4], DataTableProps<TItem, TVariant>[K_4]> | ((ref: DataTableProps<TItem, TVariant>[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "search" | "height" | "variant" | "class" | "drag" | "items" | "expanded" | "colorSchemaType" | "modelValue" | "loading" | "ref" | "hover" | "mobileColumn" | "emit:update:modelValue" | "v-model" | "colors" | "itemValue" | "emit:update:expanded" | "v-model:expanded" | "sortBy" | "emit:update:sortBy" | "v-model:sortBy" | "mustSort" | "showSelect" | "itemSelectable" | "noDataText" | "searchBy" | "showExpand" | "emit:update:items" | "v-model:items" | "emit:update:options" | "emit:update:page" | "emit:update:itemsPerPage" | "emit:click:loadMore" | "slot:row" | "slot:top" | "slot:expanded-row" | `slot:header.${string}` | `slot:item.${string}` | keyof (TVariant extends "client-pagination-scroll" ? {
|
34
34
|
itemHeight?: string | number;
|
35
35
|
} : TVariant extends "client-pagination-page" ? ClientPaginationPageProps<TItem_1> : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? ServerPaginationScrollProps<TItem> : DefaultProps)> & import("@omnia/fx/ux").VNodeEvents) => any;
|
36
36
|
export default _default;
|
@@ -16,5 +16,5 @@ declare const _default: <T extends unknown>(props: import("@omnia/fx/ux").Extrac
|
|
16
16
|
} & Omit<{
|
17
17
|
default?: import("vue").Slot;
|
18
18
|
}, "item">;
|
19
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "
|
19
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "class" | "drag" | "items" | "multiple" | "mandatory" | "colorSchemaType" | "modelValue" | "remove" | "emit:update:modelValue" | "v-model" | "colors" | "toned" | "itemValue" | "slot:item" | "emit:update:items" | "v-model:items" | "expandAll"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
20
20
|
export default _default;
|
@@ -7,5 +7,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<FabProps> &
|
|
7
7
|
"v-slots"?: {} & Omit<{
|
8
8
|
default?: import("vue").Slot;
|
9
9
|
}, never>;
|
10
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "icon" | "variant" | "active" | "size" | "
|
10
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "icon" | "variant" | "active" | "size" | "class" | "block" | "disabled" | "colorSchemaType" | "modelValue" | "stacked" | "app" | "emit:update:modelValue" | "v-model" | "colors"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
11
11
|
export default _default;
|
@@ -15,5 +15,5 @@ declare const _default: <T extends unknown>(props: import("@omnia/fx/ux").Extrac
|
|
15
15
|
} & Omit<{
|
16
16
|
default?: import("vue").Slot;
|
17
17
|
}, "item">;
|
18
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "
|
18
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "class" | "drag" | "nav" | "colorSchemaType" | "modelValue" | "remove" | "emit:update:modelValue" | "v-model" | "colors" | "toned" | "navigation" | "lines" | "divider" | "dragStyles" | "itemValue" | "disableItemClickable" | "slot:item"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
19
19
|
export default _default;
|
@@ -1,16 +1,16 @@
|
|
1
1
|
import { DefineProp, DefinePropTheming, DefineVModel, ValidationRule } from "@omnia/fx/ux";
|
2
|
-
import { TooltipPosition } from "@omnia/fx-models";
|
2
|
+
import { OSwitchVariants, TooltipPosition } from "@omnia/fx-models";
|
3
3
|
export interface SwitchTooltipOptions {
|
4
4
|
text: string;
|
5
5
|
element?: JSX.Element;
|
6
6
|
position?: TooltipPosition;
|
7
7
|
}
|
8
|
-
type SwitchProps<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", T, false, null, true, "The v-model of the component"> & DefineProp<"label", string, false, null, "The label of the component"> & DefineProp<"sublabel", string, false, null, "The label of the component"> & 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. The input field will enter an error state if a function returns (or any value in the array contains) false or is a string."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the component."> & DefineProp<"hint", string, false, "", "Displays hint text below the input when focused. Force this always open with the persistentHint property."> & DefineProp<"persistentHint", boolean, false, false, "Forces the hint to always be visible"> & DefineProp<"hideDetails", boolean, false, false, "Hides hint and validation errors"> & DefineProp<"revert", boolean, false, false, "Shows the switch inverted"> & DefineProp<"trueValue", boolean | string, false, true, "Sets value for truthy state."> & DefineProp<"falseValue", boolean | string, false, false, "Sets value for falsy state."> & DefineProp<"tooltip", SwitchTooltipOptions, false, null, "Sets tooltip to display when hovering the button.">;
|
8
|
+
type SwitchProps<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", T, false, null, true, "The v-model of the component"> & DefineProp<"label", string, false, null, "The label of the component"> & DefineProp<"sublabel", string, false, null, "The label of the component"> & DefineProp<"variant", OSwitchVariants, false, null, "The variant of the component."> & 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. The input field will enter an error state if a function returns (or any value in the array contains) false or is a string."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the component."> & DefineProp<"hint", string, false, "", "Displays hint text below the input when focused. Force this always open with the persistentHint property."> & DefineProp<"persistentHint", boolean, false, false, "Forces the hint to always be visible"> & DefineProp<"hideDetails", boolean, false, false, "Hides hint and validation errors"> & DefineProp<"revert", boolean, false, false, "Shows the switch inverted"> & DefineProp<"trueValue", boolean | string, false, true, "Sets value for truthy state."> & DefineProp<"falseValue", boolean | string, false, false, "Sets value for falsy state."> & DefineProp<"trueText", boolean | string, false, true, "Sets value for truthy state."> & DefineProp<"falseText", boolean | string, false, false, "Sets value for falsy state."> & DefineProp<"tooltip", SwitchTooltipOptions, false, null, "Sets tooltip to display when hovering the button.">;
|
9
9
|
declare const _default: <T extends string | boolean>(props: import("@omnia/fx/ux").ExtractProps<SwitchProps<T>> & {
|
10
10
|
"onUpdate:modelValue"?: (value: T) => any;
|
11
11
|
} & {
|
12
12
|
"v-slots"?: {} & Omit<{
|
13
13
|
default?: import("vue").Slot;
|
14
14
|
}, never>;
|
15
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "class" | "disabled" | "revert" | "tooltip" | "colorSchemaType" | "modelValue" | "rules" | "hideDetails" | "hint" | "persistentHint" | "emit:update:modelValue" | "v-model" | "colors" | "sublabel" | "trueValue" | "falseValue"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
15
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "variant" | "class" | "disabled" | "revert" | "tooltip" | "colorSchemaType" | "modelValue" | "rules" | "hideDetails" | "hint" | "persistentHint" | "emit:update:modelValue" | "v-model" | "colors" | "sublabel" | "trueValue" | "falseValue" | "trueText" | "falseText"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
16
16
|
export default _default;
|
@@ -14,5 +14,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<TabProps> &
|
|
14
14
|
} & Omit<{
|
15
15
|
default?: import("vue").Slot;
|
16
16
|
}, "itemRendering">;
|
17
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "icon" | "variant" | "class" | "disabled" | "eager" | "colorSchemaType" | "colors" | "
|
17
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "icon" | "variant" | "class" | "disabled" | "eager" | "colorSchemaType" | "colors" | "slot:itemRendering" | "notificationCount"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
18
18
|
export default _default;
|