@omnia/fx 8.0.99-vnext → 8.0.100-vnext
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/manifests/omnia.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/stores/DefineStore.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/journey/v2/stores/JourneyStore.d.ts +4 -18
- package/internal-do-not-import-from-here/ux/velcron/core/actions/Date.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +33 -6
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronColorSchemaBuilder.d.ts +10 -5
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronContentStateBuilder.d.ts +7 -13
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronImageStateBuilder.d.ts +2 -4
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronPropertyMappingStateBuilder.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronStateBuilder.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronStateBuilderBase.d.ts +7 -3
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronTextContentBuilder.d.ts +31 -0
- package/package.json +2 -2
@@ -1 +1 @@
|
|
1
|
-
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a5a89056-b5f5-475d-8518-a1f55090379d']","content":{"./node_modules/@omnia/fx/Bootstrapper.js":{"id":"./node_modules/@omnia/fx/bootstrapper.js","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/fx/index.js":{"id":"14a8d443-2e58-450b-a462-258bdaf69b49","buildMeta":{"exportsType":"namespace"}},"./node_modules/@omnia/fx/stores/index.js":{"id":"5e618f4d-d014-414e-a681-89e34cbeda0f","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyStore","AppStore","AuditLogStore","AzureAdUserStore","BlockTitleGlobalSettingsStore","BlockTitleSettingsStore","BusinessProfileStore","ClipboardStore","CommentLikeStore","ConnectedTenantStore","DirectionRuleStore","DynamicGroupStore","EnterpriseGlossaryStore","EnterprisePropertyCategoryStore","EnterprisePropertySetStore","EnterprisePropertyStore","ExtensionStore","FeatureStore","FileUploaderStore","GroupIdentityStore","IdentityStore","IdentitySyncProviderStore","MSTeamsStore","MediaPickerStore","MultilingualStore","OrganizationTreeStore","PostStore","ProfileCardStore","PromotedTagStore","SiteStore","Store","StoreAction","StoreLogTypes","StoreLogger","StoreMutation","StoreState","SystemLogStore","TargetingPropertyStore","TimeZoneStore","TokenStatus","TokenStore","UserIdentityStore","UserTargetingStore","UserTypeStore","VersionedLayoutStore","defineStore","useCompontentHostStore","useCompontentSharedSettingsStore","useLocalizationStore"]},"./node_modules/@omnia/fx/vue/index.js":{"id":"c041fe9f-1e14-443d-9407-5aa8829fbc21","buildMeta":{"exportsType":"namespace"},"expo.js":["createVueApp","destroyVueApp","getVueApps","getVueMixins","getVueOptionsHooks","getVuePlugins","registerAsyncVueComponent","registerVueMixin","registerVueOptionsHook","registerVuePlugin","resolveAsyncVueComponent","vueCustomElement"]},"./node_modules/@omnia/fx/services/index.js":{"id":"e25b9dd8-6dd7-4437-8ddd-0b9fadba73ac","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyService","AppRouteService","AppService","AuditLogService","AzureAdUserService","AzureOpenAIService","BusinessProfileService","ConnectedTenantService","DataSourcePropertiesService","DataSourcePropertyDefinitionHandler","DynamicGroupService","DynamicPropertyDataSource","EnterpriseGlossaryService","EnterprisePropertiesProvider","EnterprisePropertyCategoryService","EnterprisePropertySetService","ExtendedEnterprisePropertiesPropertyBindingProvider","ExtensionsService","FileStorageService","GroupIdentityService","GroupService","IdentityPropertyBindingProvider","IdentityService","IdentitySyncProviderService","ImageProxyService","LocalizationService","ManifestService","MediaPickerService","MicrosoftStreamService","OrganizationTreeService","PermissionNode","PermissionService","PostService","ProfileCardService","PropertyBindingService","PropertyDataSourceBase","QueryablePropertiesService","QueueService","RealtimeService","SecretsService","SecurityRoles","SecurityService","SettingsService","SiteService","TagsService","TargetingPropertyService","TenantContactService","TenantPreSetupService","TestDataSourcePropertiesService","TimeZoneService","TranslationService","UserIdentityService","UserPresenceStatus","UserService","UserTypeService","VersionedDataService","VersionedLayoutService","WebImageService","WriteBackStatus"]}}}
|
1
|
+
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a5a89056-b5f5-475d-8518-a1f55090379d']","content":{"./node_modules/@omnia/fx/Bootstrapper.js":{"id":"./node_modules/@omnia/fx/bootstrapper.js","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/fx/index.js":{"id":"14a8d443-2e58-450b-a462-258bdaf69b49","buildMeta":{"exportsType":"namespace"}},"./node_modules/@omnia/fx/stores/index.js":{"id":"5e618f4d-d014-414e-a681-89e34cbeda0f","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyStore","AppStore","AuditLogStore","AzureAdUserStore","BlockTitleGlobalSettingsStore","BlockTitleSettingsStore","BusinessProfileStore","ClipboardStore","CommentLikeStore","ConnectedTenantStore","DirectionRuleStore","DynamicGroupStore","EnterpriseGlossaryStore","EnterprisePropertyCategoryStore","EnterprisePropertySetStore","EnterprisePropertyStore","ExtensionStore","FeatureStore","FileUploaderStore","GroupIdentityStore","IdentityStore","IdentitySyncProviderStore","MSTeamsStore","MediaPickerStore","MultilingualStore","OrganizationTreeStore","PostStore","ProfileCardStore","PromotedTagStore","SiteStore","Store","StoreAction","StoreLogTypes","StoreLogger","StoreMutation","StoreState","SystemLogStore","TargetingPropertyStore","TimeZoneStore","TokenStatus","TokenStore","UserIdentityStore","UserTargetingStore","UserTypeStore","VersionedLayoutStore","defineStore","defineStoreV2","useCompontentHostStore","useCompontentSharedSettingsStore","useLocalizationStore"]},"./node_modules/@omnia/fx/vue/index.js":{"id":"c041fe9f-1e14-443d-9407-5aa8829fbc21","buildMeta":{"exportsType":"namespace"},"expo.js":["createVueApp","destroyVueApp","getVueApps","getVueMixins","getVueOptionsHooks","getVuePlugins","registerAsyncVueComponent","registerVueMixin","registerVueOptionsHook","registerVuePlugin","resolveAsyncVueComponent","vueCustomElement"]},"./node_modules/@omnia/fx/services/index.js":{"id":"e25b9dd8-6dd7-4437-8ddd-0b9fadba73ac","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyService","AppRouteService","AppService","AuditLogService","AzureAdUserService","AzureOpenAIService","BusinessProfileService","ConnectedTenantService","DataSourcePropertiesService","DataSourcePropertyDefinitionHandler","DynamicGroupService","DynamicPropertyDataSource","EnterpriseGlossaryService","EnterprisePropertiesProvider","EnterprisePropertyCategoryService","EnterprisePropertySetService","ExtendedEnterprisePropertiesPropertyBindingProvider","ExtensionsService","FileStorageService","GroupIdentityService","GroupService","IdentityPropertyBindingProvider","IdentityService","IdentitySyncProviderService","ImageProxyService","LocalizationService","ManifestService","MediaPickerService","MicrosoftStreamService","OrganizationTreeService","PermissionNode","PermissionService","PostService","ProfileCardService","PropertyBindingService","PropertyDataSourceBase","QueryablePropertiesService","QueueService","RealtimeService","SecretsService","SecurityRoles","SecurityService","SettingsService","SiteService","TagsService","TargetingPropertyService","TenantContactService","TenantPreSetupService","TestDataSourcePropertiesService","TimeZoneService","TranslationService","UserIdentityService","UserPresenceStatus","UserService","UserTypeService","VersionedDataService","VersionedLayoutService","WebImageService","WriteBackStatus"]}}}
|
@@ -22,6 +22,23 @@ type StoreActivatedContext<TState extends object, TInternalState extends object,
|
|
22
22
|
type Events<TState extends object, TEvents extends Record<string, EventHook<any>>> = {
|
23
23
|
[K in keyof TState as `onMutating${Capitalize<string & K>}` | `onMutated${Capitalize<string & K>}`]: EventHook<TState[K]>;
|
24
24
|
} & TEvents;
|
25
|
+
interface SetupContext {
|
26
|
+
createState<TState extends object, TEvents extends Record<string, EventHook<any>>>(state: TState): {
|
27
|
+
state: TState;
|
28
|
+
events: Events<TState, TEvents>;
|
29
|
+
mutate: {
|
30
|
+
[K in keyof TState]: MutateFn<TState[K]>;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
}
|
34
|
+
interface ReturnSetup<TState, TGetters, TActions, TEvents> {
|
35
|
+
state?: TState;
|
36
|
+
get?: TGetters;
|
37
|
+
actions?: TActions;
|
38
|
+
events?: TEvents;
|
39
|
+
deactivated?(): void;
|
40
|
+
}
|
41
|
+
export declare function defineStoreV2<TState extends object, TGetters extends object, TActions extends object, TEvents extends Record<string, EventHook<any>>, InferReturnSetup extends ReturnSetup<TState, TGetters, TActions, TEvents>>(name: string, setup: (ctx: SetupContext) => InferReturnSetup): (newInstanceWithName?: string) => InferReturnSetup;
|
25
42
|
export declare function defineStore<TState extends object = {}, TInternalState extends object = {}, TSetup extends object = {}, TGetters extends object = {}, TActions extends object = {}, TEvents extends Record<string, EventHook<any>> = {}>(name: string, definition: {
|
26
43
|
state: () => TState;
|
27
44
|
internalState?: () => TInternalState;
|
@@ -30,17 +30,10 @@ export declare const useJourneyStore: (newInstanceWithName?: string) => {
|
|
30
30
|
};
|
31
31
|
};
|
32
32
|
get: {
|
33
|
-
shareds: <T>() =>
|
33
|
+
shareds: <T>() => {
|
34
34
|
state: T;
|
35
|
-
|
36
|
-
|
37
|
-
};
|
38
|
-
actions: {
|
39
|
-
setState: (value: T) => T;
|
40
|
-
};
|
41
|
-
events: { [K in keyof T as `onMutating${Capitalize<string & K>}` | `onMutated${Capitalize<string & K>}`]: import("@omnia/fx").EventHook<T[K]>; };
|
42
|
-
deactivated(): void;
|
43
|
-
}, "state" | "deactivated">;
|
35
|
+
events: { [K in keyof T as `onMutating${Capitalize<string & K>}` | `onMutated${Capitalize<string & K>}`]: import("@omnia/fx").EventHook<T[K]>; } & Record<string, import("@omnia/fx").EventHook<any>>;
|
36
|
+
};
|
44
37
|
blade: (id: GuidValue) => BladeInstance;
|
45
38
|
showBackButton: (bladeId: GuidValue) => boolean;
|
46
39
|
readonly isNested: boolean;
|
@@ -117,13 +110,6 @@ export declare const useJourneyStore: (newInstanceWithName?: string) => {
|
|
117
110
|
};
|
118
111
|
declare function createJourneyStateManager<T extends Object>(): {
|
119
112
|
state: T;
|
120
|
-
|
121
|
-
state: () => import("vue").UnwrapRef<T>;
|
122
|
-
};
|
123
|
-
actions: {
|
124
|
-
setState: (value: T) => T;
|
125
|
-
};
|
126
|
-
events: { [K in keyof T as `onMutating${Capitalize<string & K>}` | `onMutated${Capitalize<string & K>}`]: import("@omnia/fx").EventHook<T[K]>; };
|
127
|
-
deactivated(): void;
|
113
|
+
events: { [K in keyof T as `onMutating${Capitalize<string & K>}` | `onMutated${Capitalize<string & K>}`]: import("@omnia/fx").EventHook<T[K]>; } & Record<string, import("@omnia/fx").EventHook<any>>;
|
128
114
|
};
|
129
115
|
export {};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronImageRatios } from "@omnia/fx-models";
|
1
|
+
import { TypographySize, TypographyType, VelcronImageRatios } from "@omnia/fx-models";
|
2
2
|
export interface ResolvedPropertyEditor {
|
3
3
|
editor: VelcronPropertyEditor;
|
4
4
|
}
|
@@ -78,16 +78,43 @@ export interface VelcronMarkdownPropertyEditor extends VelcronPropertyEditor<any
|
|
78
78
|
export interface VelcronImagePropertyEditor extends VelcronPropertyEditor<any> {
|
79
79
|
type: "image";
|
80
80
|
}
|
81
|
+
export interface VelcronState {
|
82
|
+
images?: VelcronImagesState;
|
83
|
+
styling?: VelcronStylingState;
|
84
|
+
colorSchema?: VelcronColorSchemaState;
|
85
|
+
content?: VelcronContentState;
|
86
|
+
properties?: VelcronPropertiesState;
|
87
|
+
}
|
88
|
+
export interface VelcronTextState {
|
89
|
+
text: string;
|
90
|
+
typography?: VelcronTypographyState;
|
91
|
+
}
|
92
|
+
export interface VelcronTypographyState {
|
93
|
+
type?: TypographyType;
|
94
|
+
size?: TypographySize;
|
95
|
+
toned?: boolean;
|
96
|
+
}
|
81
97
|
export interface VelcronContentState {
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
98
|
+
caption?: VelcronTextState;
|
99
|
+
main?: VelcronTextState;
|
100
|
+
title?: VelcronTextState;
|
101
|
+
summary?: VelcronTextState;
|
86
102
|
}
|
87
103
|
export interface VelcronPropertiesState {
|
88
|
-
|
104
|
+
user: any;
|
105
|
+
mappings: Array<any>;
|
106
|
+
}
|
107
|
+
export interface VelcronImagesState {
|
108
|
+
main?: VelcronImageState;
|
89
109
|
}
|
90
110
|
export interface VelcronImageState {
|
91
111
|
url?: string;
|
92
112
|
ratio?: VelcronImageRatios;
|
113
|
+
caption?: VelcronTextState;
|
114
|
+
}
|
115
|
+
export interface VelcronStylingState {
|
116
|
+
}
|
117
|
+
export interface VelcronColorSchemaState {
|
118
|
+
type?: string;
|
119
|
+
filled?: boolean;
|
93
120
|
}
|
@@ -1,11 +1,16 @@
|
|
1
|
-
import { ColorSchemaType } from "@omnia/fx-models";
|
1
|
+
import { ColorSchemaType, VelcronState } from "@omnia/fx-models";
|
2
2
|
import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
|
3
3
|
export declare class VelcronColorSchemaStateBuilder extends VelcronStateBuilderBase {
|
4
4
|
private colorSchema;
|
5
|
+
private filledValue;
|
5
6
|
constructor(stateBuilder: any);
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background";
|
7
|
+
type: {
|
8
|
+
add(colorSchema?: ColorSchemaType): VelcronColorSchemaStateBuilder;
|
9
|
+
bind: string;
|
10
10
|
};
|
11
|
+
filled: {
|
12
|
+
add(filled: boolean): VelcronColorSchemaStateBuilder;
|
13
|
+
bind: any;
|
14
|
+
};
|
15
|
+
protected internalBuild(): VelcronState;
|
11
16
|
}
|
@@ -1,17 +1,11 @@
|
|
1
|
+
import { VelcronState } from "@omnia/fx-models";
|
1
2
|
import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
|
3
|
+
import { VelcronTextContentBuilder } from "./VelcronTextContentBuilder";
|
2
4
|
export declare class VelcronContentStateBuilder extends VelcronStateBuilderBase {
|
3
|
-
|
4
|
-
|
5
|
+
main: VelcronTextContentBuilder<VelcronContentStateBuilder>;
|
6
|
+
caption: VelcronTextContentBuilder<VelcronContentStateBuilder>;
|
7
|
+
title: VelcronTextContentBuilder<VelcronContentStateBuilder>;
|
8
|
+
summary: VelcronTextContentBuilder<VelcronContentStateBuilder>;
|
5
9
|
constructor(stateBuilder: any);
|
6
|
-
|
7
|
-
add: (value?: string) => VelcronContentStateBuilder;
|
8
|
-
bind: string;
|
9
|
-
};
|
10
|
-
caption: {
|
11
|
-
add: (value?: string) => VelcronContentStateBuilder;
|
12
|
-
bind: string;
|
13
|
-
};
|
14
|
-
protected internalBuild(): {
|
15
|
-
content: {};
|
16
|
-
};
|
10
|
+
protected internalBuild(): VelcronState;
|
17
11
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronImageRatios } from "
|
1
|
+
import { VelcronImageRatios, VelcronState } from "@omnia/fx-models";
|
2
2
|
import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
|
3
3
|
export declare class VelcronImageStateBuilder extends VelcronStateBuilderBase {
|
4
4
|
private mainImageUrl;
|
@@ -14,7 +14,5 @@ export declare class VelcronImageStateBuilder extends VelcronStateBuilderBase {
|
|
14
14
|
bind: string;
|
15
15
|
};
|
16
16
|
};
|
17
|
-
protected internalBuild():
|
18
|
-
"main-image": {};
|
19
|
-
};
|
17
|
+
protected internalBuild(): VelcronState;
|
20
18
|
}
|
@@ -1,11 +1,12 @@
|
|
1
|
+
import { VelcronState } from "@omnia/fx-models";
|
1
2
|
import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
|
2
3
|
export declare class VelcronPropertyMappingStateBuilder extends VelcronStateBuilderBase {
|
3
4
|
private propertyItemsValue;
|
4
5
|
constructor(stateBuilder: any);
|
5
|
-
|
6
|
+
items: {
|
6
7
|
add: (items?: any[]) => VelcronPropertyMappingStateBuilder;
|
7
8
|
bind: string;
|
8
9
|
foreach: string;
|
9
10
|
};
|
10
|
-
protected internalBuild():
|
11
|
+
protected internalBuild(): VelcronState;
|
11
12
|
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { VelcronState } from "@omnia/fx-models";
|
1
2
|
import { VelcronColorSchemaStateBuilder } from "./VelcronColorSchemaBuilder";
|
2
3
|
import { VelcronContentStateBuilder } from "./VelcronContentStateBuilder";
|
3
4
|
import { VelcronImageStateBuilder } from "./VelcronImageStateBuilder";
|
@@ -11,5 +12,5 @@ export declare class VelcronStateBuilder {
|
|
11
12
|
image(): VelcronImageStateBuilder;
|
12
13
|
colorSchemaType(): VelcronColorSchemaStateBuilder;
|
13
14
|
properties(): VelcronPropertyMappingStateBuilder;
|
14
|
-
build():
|
15
|
+
build(): VelcronState;
|
15
16
|
}
|
@@ -1,8 +1,12 @@
|
|
1
1
|
import { VelcronStateBuilder } from "./VelcronStateBuilder";
|
2
|
-
export declare abstract class
|
2
|
+
export declare abstract class VelcronStateBuilderStrategy {
|
3
|
+
abstract done(): any;
|
4
|
+
protected abstract internalBuild(): any;
|
5
|
+
}
|
6
|
+
export declare abstract class VelcronStateBuilderBase extends VelcronStateBuilderStrategy {
|
3
7
|
protected stateBuilder: VelcronStateBuilder;
|
4
|
-
constructor(
|
8
|
+
constructor(stateBuilder: VelcronStateBuilder);
|
5
9
|
done(): VelcronStateBuilder;
|
6
|
-
build():
|
10
|
+
build(): import("@omnia/fx-models").VelcronState;
|
7
11
|
protected abstract internalBuild(): any;
|
8
12
|
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { TypographySize, TypographyType, VelcronTextState, VelcronTypographyState } from "@omnia/fx-models";
|
2
|
+
import { VelcronStateBuilderStrategy } from "./VelcronStateBuilderBase";
|
3
|
+
export declare class VelcronTextContentBuilder<TBaseBuilder> extends VelcronStateBuilderStrategy {
|
4
|
+
private _textState;
|
5
|
+
private baseBind;
|
6
|
+
private _typographyState;
|
7
|
+
private baseBuilder;
|
8
|
+
constructor(baseBuilder: TBaseBuilder, bind: string);
|
9
|
+
get typographyState(): VelcronTypographyState;
|
10
|
+
get textState(): VelcronTextState;
|
11
|
+
text: {
|
12
|
+
add: (value: string) => VelcronTextContentBuilder<TBaseBuilder>;
|
13
|
+
bind: string;
|
14
|
+
};
|
15
|
+
typography: {
|
16
|
+
type: {
|
17
|
+
add: (type: TypographyType) => VelcronTextContentBuilder<TBaseBuilder>;
|
18
|
+
bind: string;
|
19
|
+
};
|
20
|
+
size: {
|
21
|
+
add: (size: TypographySize) => VelcronTextContentBuilder<TBaseBuilder>;
|
22
|
+
bind: string;
|
23
|
+
};
|
24
|
+
toned: {
|
25
|
+
add: (toned: boolean) => VelcronTextContentBuilder<TBaseBuilder>;
|
26
|
+
bind: string;
|
27
|
+
};
|
28
|
+
};
|
29
|
+
done(): TBaseBuilder;
|
30
|
+
protected internalBuild(): VelcronTextState;
|
31
|
+
}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "8.0.
|
4
|
+
"version": "8.0.100-vnext",
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
6
6
|
"scripts": {
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
@@ -20,7 +20,7 @@
|
|
20
20
|
],
|
21
21
|
"author": "Precio Fishbone",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.100-vnext",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.10.7",
|