@omnia/fx 8.0.452-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/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
@@ -38,6 +38,7 @@ export declare class HttpClient {
|
|
38
38
|
protected ax: AxiosInstance;
|
39
39
|
protected conf: AxiosRequestConfig;
|
40
40
|
private maxCount;
|
41
|
+
private defaultConfig;
|
41
42
|
private safeHeaderNames;
|
42
43
|
private axiosHeaderObjects;
|
43
44
|
constructor(configPromise?: Promise<AxiosRequestConfig>);
|
@@ -74,6 +75,7 @@ export declare class HttpClient {
|
|
74
75
|
private handleSuccessResponse;
|
75
76
|
private enableCircuitBreaker;
|
76
77
|
private checkCircuitBreaker;
|
78
|
+
private getPayload;
|
77
79
|
private static requestKeyHash;
|
78
80
|
private writeHeadersToCookie;
|
79
81
|
private removeHeadersCookie;
|
@@ -1,20 +1,20 @@
|
|
1
|
-
export {
|
1
|
+
export { defineFactory, defineInjectable, defineService, Http, http, HttpBuilder, Inject, Injectable, isInjectable, ServiceContainer, ServiceContainerContext, ServiceLocator, useInject, useProvide, type SetupFactoryContext } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
|
2
2
|
export { Broadcast } from "@omnia/fx-models/internal-do-not-import-from-here/shared/broadcasting";
|
3
|
+
export { ObjectMerger } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
3
4
|
export { Extend, registerApi } from "./Extend";
|
4
|
-
export * from "./Provide";
|
5
5
|
export * from "./Factory";
|
6
|
-
export * from "./
|
6
|
+
export * from "./Provide";
|
7
|
+
export { PublicManifestResourceLoader as ManifestResourceLoader } from "../runtime/core/ManifestResourceLoader";
|
7
8
|
export * from "./Cookies";
|
8
|
-
export * from "./LocalStorage";
|
9
9
|
export * from "./Encoder";
|
10
|
-
export * from "./
|
11
|
-
export { PublicManifestResourceLoader as ManifestResourceLoader } from "../runtime/core/ManifestResourceLoader";
|
10
|
+
export * from "./LocalStorage";
|
12
11
|
export * from "./propertyPath";
|
13
12
|
export * from "./propertyPathValue";
|
14
|
-
export * from "./
|
15
|
-
export * from "./http";
|
16
|
-
export * from "./utils";
|
13
|
+
export * from "./Require";
|
17
14
|
export * from "./console";
|
18
|
-
export * from "./services";
|
19
15
|
export * from "./graphclient";
|
16
|
+
export * from "./http";
|
17
|
+
export * from "./messaging";
|
18
|
+
export * from "./services";
|
20
19
|
export * from "./use";
|
20
|
+
export * from "./utils";
|
@@ -45,50 +45,45 @@ export declare function setCurrentManifest(omniaServiceId: any, resourceId: any)
|
|
45
45
|
OmniaContextProvider: typeof Exposes.OmniaContextProvider;
|
46
46
|
OmniaContext: typeof Exposes.OmniaContext;
|
47
47
|
ContextProviderCollection: typeof Exposes.ContextProviderCollection;
|
48
|
-
ServiceContainer: typeof Exposes.ServiceContainer;
|
49
|
-
ServiceContainerContext: typeof Exposes.ServiceContainerContext;
|
50
48
|
defineFactory: typeof Exposes.defineFactory;
|
51
49
|
defineInjectable: typeof Exposes.defineInjectable;
|
52
50
|
defineService: typeof Exposes.defineService;
|
53
|
-
ServiceLocator: typeof Exposes.ServiceLocator;
|
54
51
|
Http: typeof Exposes.Http;
|
55
|
-
HttpBuilder: typeof Exposes.HttpBuilder;
|
56
52
|
http: typeof Exposes.http;
|
53
|
+
HttpBuilder: typeof Exposes.HttpBuilder;
|
57
54
|
Inject: typeof Exposes.Inject;
|
58
55
|
Injectable: typeof Exposes.Injectable;
|
56
|
+
isInjectable: typeof Exposes.isInjectable;
|
57
|
+
ServiceContainer: typeof Exposes.ServiceContainer;
|
58
|
+
ServiceContainerContext: typeof Exposes.ServiceContainerContext;
|
59
|
+
ServiceLocator: typeof Exposes.ServiceLocator;
|
59
60
|
useInject: typeof Exposes.useInject;
|
60
61
|
useProvide: typeof Exposes.useProvide;
|
61
|
-
isInjectable: typeof Exposes.isInjectable;
|
62
62
|
Broadcast: typeof Exposes.Broadcast;
|
63
|
+
ObjectMerger: typeof Exposes.ObjectMerger;
|
63
64
|
Extend: Models.IExtend;
|
64
65
|
registerApi: typeof Exposes.registerApi;
|
65
66
|
ManifestResourceLoader: typeof Exposes.ManifestResourceLoader;
|
66
|
-
Provide<T>(classType: any, constructorArgs?: T): any;
|
67
67
|
injectByTypeId(typeId: Models.guid): any;
|
68
|
-
|
68
|
+
Provide<T>(classType: any, constructorArgs?: T): any;
|
69
69
|
Cookies: typeof Exposes.Cookies;
|
70
|
-
LocalStorage: typeof Exposes.LocalStorage;
|
71
70
|
Encoder: typeof Exposes.Encoder;
|
72
|
-
|
71
|
+
LocalStorage: typeof Exposes.LocalStorage;
|
73
72
|
propertyPath<StartType, TargetType = any>(): <Path extends string>(propertyPathToCheck: Exposes.PropPathCheckTargetType<StartType, Path, TargetType>) => string;
|
74
73
|
propertyPathValue: <T, P extends string>(obj: T, path: Exposes.PropPathCheckTargetType<T, P, Exposes.PropPathType<T, P>>) => Exposes.PropPathType<T, P>;
|
74
|
+
Require: typeof Exposes.Require;
|
75
|
+
Console: typeof Exposes.Console;
|
76
|
+
ConsoleUIService: typeof Exposes.ConsoleUIService;
|
77
|
+
GraphClient: typeof Exposes.GraphClient;
|
78
|
+
useOmniaClient(serviceId?: Models.guid): Exposes.HttpClient;
|
79
|
+
HttpContextProviderCollection: typeof Exposes.HttpContextProviderCollection;
|
80
|
+
HttpClient: typeof Exposes.HttpClient;
|
75
81
|
MessageBusTopicMediator: typeof Exposes.MessageBusTopicMediator;
|
76
82
|
MessageBus: typeof Exposes.MessageBus;
|
77
83
|
SubscriptionHandler: typeof Exposes.SubscriptionHandler;
|
78
84
|
MessageBusExposeOnlyPublication: typeof Exposes.MessageBusExposeOnlyPublication;
|
79
85
|
MessageBusExposeOnlySubscription: typeof Exposes.MessageBusExposeOnlySubscription;
|
80
86
|
Topics: typeof Exposes.Topics;
|
81
|
-
useOmniaClient(serviceId?: Models.guid): Exposes.HttpClient;
|
82
|
-
HttpContextProviderCollection: typeof Exposes.HttpContextProviderCollection;
|
83
|
-
HttpClient: typeof Exposes.HttpClient;
|
84
|
-
MD5Util: typeof Exposes.MD5Util;
|
85
|
-
WebUtils: typeof Exposes.WebUtils;
|
86
|
-
Utils: typeof Exposes.Utils;
|
87
|
-
EnterprisePropertyHandler: typeof Exposes.EnterprisePropertyHandler;
|
88
|
-
MigrationUtils: typeof Exposes.MigrationUtils;
|
89
|
-
UserAgentUtils: typeof Exposes.UserAgentUtils;
|
90
|
-
Console: typeof Exposes.Console;
|
91
|
-
ConsoleUIService: typeof Exposes.ConsoleUIService;
|
92
87
|
ServiceManifestProvider: typeof Exposes.ServiceManifestProvider;
|
93
88
|
NamedPropertyOperationsFactory: typeof Exposes.NamedPropertyOperationsFactory;
|
94
89
|
IBusinessProfileFactory: typeof Exposes.IBusinessProfileFactory;
|
@@ -105,8 +100,13 @@ export declare function setCurrentManifest(omniaServiceId: any, resourceId: any)
|
|
105
100
|
AuthenticationSessionService: typeof Exposes.AuthenticationSessionService;
|
106
101
|
mergeLocaliation(srcObj: object, desObj: object): void;
|
107
102
|
LocalizationServiceProviders: typeof Exposes.LocalizationServiceProviders;
|
108
|
-
GraphClient: typeof Exposes.GraphClient;
|
109
103
|
createEventHook<T = any>(): Exposes.EventHook<T>;
|
104
|
+
MD5Util: typeof Exposes.MD5Util;
|
105
|
+
WebUtils: typeof Exposes.WebUtils;
|
106
|
+
Utils: typeof Exposes.Utils;
|
107
|
+
EnterprisePropertyHandler: typeof Exposes.EnterprisePropertyHandler;
|
108
|
+
MigrationUtils: typeof Exposes.MigrationUtils;
|
109
|
+
UserAgentUtils: typeof Exposes.UserAgentUtils;
|
110
110
|
registerVuePlugin(plugin: (((app: import("vue").App, ...options: any[]) => any) & {
|
111
111
|
install?: (app: import("vue").App, ...options: any[]) => any;
|
112
112
|
}) | {
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a2892051-fd9f-4056-ae8d-30d16d48417d']","content":{"./node_modules/@omnia/fx/core/messaging/InternalTopics.js":{"id":"./node_modules/@omnia/fx/core/messaging/internaltopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalTopics"]},"./node_modules/@omnia/fx/core/services/IAppRouteFactory.js":{"id":"./node_modules/@omnia/fx/core/services/iapproutefactory.js","buildMeta":{"exportsType":"namespace"},"expo.js":["IAppRouteFactory"]},"./node_modules/@omnia/fx/core/services/InternalConfigurationService.js":{"id":"./node_modules/@omnia/fx/core/services/internalconfigurationservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalConfigurationService"]},"./node_modules/@omnia/fx-models/ManifestIds.js":{"id":"./node_modules/@omnia/fx-models/manifestids.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AnalyticService","OmniaService"]},"./node_modules/@omnia/fx/ux/velcron/core/models/index.js":{"id":"./node_modules/@omnia/fx/ux/velcron/core/models/index.js","buildMeta":{"exportsType":"namespace"}
|
1
|
+
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a2892051-fd9f-4056-ae8d-30d16d48417d']","content":{"./node_modules/@omnia/fx/core/messaging/InternalTopics.js":{"id":"./node_modules/@omnia/fx/core/messaging/internaltopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalTopics"]},"./node_modules/@omnia/fx/core/services/IAppRouteFactory.js":{"id":"./node_modules/@omnia/fx/core/services/iapproutefactory.js","buildMeta":{"exportsType":"namespace"},"expo.js":["IAppRouteFactory"]},"./node_modules/@omnia/fx/core/services/InternalConfigurationService.js":{"id":"./node_modules/@omnia/fx/core/services/internalconfigurationservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalConfigurationService"]},"./node_modules/@omnia/fx-models/ManifestIds.js":{"id":"./node_modules/@omnia/fx-models/manifestids.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AnalyticService","OmniaService"]},"./node_modules/@omnia/fx/ux/velcron/core/models/index.js":{"id":"./node_modules/@omnia/fx/ux/velcron/core/models/index.js","buildMeta":{"exportsType":"namespace"}},"./node_modules/@omnia/fx/core/services/ServiceManifestProviderInternal.js":{"id":"0688ceff-4257-4427-b385-a83d6802c509","buildMeta":{"exportsType":"namespace"},"expo.js":["ServiceManifestProviderInternal"]},"./node_modules/@omnia/fx/core/Extend.js":{"id":"4eeb27d5-906a-4edf-bd38-3d97048cda3d","buildMeta":{"exportsType":"namespace"},"expo.js":["Extend","InternalExtend","registerApi"]},"./node_modules/@omnia/fx/core/index.js":{"id":"97786ea9-4861-48bd-8a57-eae9bbdb4892","buildMeta":{"exportsType":"namespace"},"expo.js":["AppRoutePropertyBagFactory","AuthenticationSessionService","Broadcast","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","Cookies","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","Http","HttpBuilder","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","Inject","Injectable","LocalStorage","LocalizationServiceProviders","MD5Util","ManifestResourceLoader","MessageBus","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","ObjectMerger","OmniaPropertyBagBase","Provide","Require","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","Utils","WebUtils","createEventHook","defineFactory","defineInjectable","defineService","http","injectByTypeId","isInjectable","mergeLocaliation","propertyPath","propertyPathValue","registerApi","useInject","useOmniaClient","useProvide"]},"./node_modules/@omnia/fx/core/http/InternalHttpPlugins.js":{"id":"b8d937e0-3fc3-4412-a469-92941b829cdb","buildMeta":{"exportsType":"namespace"},"expo.js":["HttpContextConfigPlugin","HttpRetryPlugIn"]},"./node_modules/@omnia/fx/runtime/core/InternalWebComponentBootstrapper.js":{"id":"c9f21f62-e664-44e4-8cf4-0dcbec75c4bf","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWebComponentBootstrapper"]},"./node_modules/@omnia/fx-models/index.js":{"id":"d0a145a7-d1ef-4217-aa6f-85dd18c4231d","buildMeta":{"exportsType":"namespace"}},"./node_modules/@omnia/fx/core/messaging/InternalMessageBusMediator.js":{"id":"f986d8dd-7c76-40b6-9bf8-b64ac2902642","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/fx/runtime/core/index.js":{"id":"ff061abc-7f0e-444b-b2b9-7ff71c5842c5","buildMeta":{"exportsType":"namespace"},"expo.js":["LoadableManifest","LocalHostingService","ManifestByBackendRuntimeLoader","ManifestByClientRuntimeLoader","ManifestByElementLoader","ManifestByFeatureLoader","ManifestByLicenseLoader","ManifestByUrlLoader","ManifestByUserLoader","ManifestCombinedRuleLoader","ManifestExtendRuleLoader","ManifestPublisher","ManifestResourceLoader","ManifestSubscriber","PublicManifestResourceLoader"]}}}
|
@@ -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
|
+
};
|