@omnia/fx 8.0.98-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.
@@ -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>() => Omit<{
33
+ shareds: <T>() => {
34
34
  state: T;
35
- get: {
36
- state: () => import("vue").UnwrapRef<T>;
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
- get: {
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 {};
@@ -54,8 +54,8 @@ declare const _default: {
54
54
  readonly color?: string;
55
55
  readonly icon?: IIcon;
56
56
  readonly location?: Position;
57
- readonly "offset-y"?: string | number;
58
57
  readonly "offset-x"?: string | number;
58
+ readonly "offset-y"?: string | number;
59
59
  };
60
60
  $attrs: {
61
61
  [x: string]: unknown;
@@ -189,8 +189,8 @@ declare const _default: {
189
189
  color?: string;
190
190
  icon?: IIcon;
191
191
  location?: Position;
192
- "offset-y"?: string | number;
193
192
  "offset-x"?: string | number;
193
+ "offset-y"?: string | number;
194
194
  }>, never>;
195
195
  };
196
196
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import { IActionHandler } from "./IActionHandler";
2
2
  export declare const dateFormat: IActionHandler;
3
- export declare const dateCountDown: IActionHandler;
3
+ export declare const diff: IActionHandler;
@@ -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
- content: {
83
- caption?: string;
84
- main?: string;
85
- };
98
+ caption?: VelcronTextState;
99
+ main?: VelcronTextState;
100
+ title?: VelcronTextState;
101
+ summary?: VelcronTextState;
86
102
  }
87
103
  export interface VelcronPropertiesState {
88
- propertyItems: Array<any>;
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
- add(colorSchema?: ColorSchemaType): VelcronColorSchemaStateBuilder;
7
- bind: string;
8
- protected internalBuild(): {
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
- private mainContent;
4
- private captionContent;
5
+ main: VelcronTextContentBuilder<VelcronContentStateBuilder>;
6
+ caption: VelcronTextContentBuilder<VelcronContentStateBuilder>;
7
+ title: VelcronTextContentBuilder<VelcronContentStateBuilder>;
8
+ summary: VelcronTextContentBuilder<VelcronContentStateBuilder>;
5
9
  constructor(stateBuilder: any);
6
- main: {
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 "../../models";
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
- propertyItems: {
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(): any;
15
+ build(): VelcronState;
15
16
  }
@@ -1,8 +1,12 @@
1
1
  import { VelcronStateBuilder } from "./VelcronStateBuilder";
2
- export declare abstract class VelcronStateBuilderBase {
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(stateBulder: VelcronStateBuilder);
8
+ constructor(stateBuilder: VelcronStateBuilder);
5
9
  done(): VelcronStateBuilder;
6
- build(): any;
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
+ }