@omnia/fx 7.8.162-preview → 7.9.0
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/Cookies.d.ts +2 -1
- package/internal-do-not-import-from-here/core/http/HttpClient.d.ts +3 -2
- package/internal-do-not-import-from-here/core/utils/Utils.d.ts +3 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/services/SecurityRoles.d.ts +1 -0
- package/internal-do-not-import-from-here/services/identities/IdentityService.d.ts +5 -0
- package/internal-do-not-import-from-here/services/permissions/PermissionService.d.ts +1 -0
- package/internal-do-not-import-from-here/stores/ArchivedIdentityStore.d.ts +23 -0
- package/internal-do-not-import-from-here/stores/BlockTitleSettingsStore.d.ts +4 -2
- package/internal-do-not-import-from-here/stores/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +53 -1
- package/internal-do-not-import-from-here/ux/analytics/metric/Metric.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/blockgallery/AddEditBlockBlade.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/blockgallery/AddEditHeaderBlade.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/blockgallery/AddEditTemplateBlade.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/blockgallery/AdminBlade.d.ts +12 -0
- package/internal-do-not-import-from-here/ux/blockgallery/BlockDialogBlade.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/blockgallery/BlockDialogLayoutListBlade.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/blockgallery/BlockTemplatesBlade.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/blockgallery/SettingsBlade.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/blockgallery/admin/AdminRegistration.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/blockgallery/admin/Constants.d.ts +26 -0
- package/internal-do-not-import-from-here/ux/blockgallery/admin/TenantBlockTemplateJourney.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/blockgallery/apis/Registration.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/blockgallery/factory/Factory.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/blockgallery/factory/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/blockgallery/services/BlockTemplateService.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/blockgallery/services/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/blockgallery/store/BlockGalleryStore.d.ts +94 -0
- package/internal-do-not-import-from-here/ux/blockgallery/store/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/blockgallery/style/General.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/blockgallery/style/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/editorchrome/action_toolbar/ActionToolbar.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/editorchrome/chrome/EditorChrome.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/editorchrome/chrome/IEditorChrome.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/EnterprisePropertyComponentProps.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/richtextfield/RichTextFieldEdit.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/headingconfigurations/HeadingConfigurationFactory.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/identities/IdentityRenderer.d.ts +6 -1
- package/internal-do-not-import-from-here/ux/identities/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutItemselector/AddContentDialog.d.ts +12 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutItemselector/LayoutItemSelector.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/block/Header.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +5 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/IBlockTitle.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Header.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/BlockCatalogStore.d.ts +14 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStore.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/mediapickerproviders/apis/FileHandlerRegistration.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/mycomputerprovider/MyComputerProvider.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/models/enterpriseproperties/PersonFieldDisplayStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/organizationtree/OrganizationTree.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/permissioninput/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/profilecard/ProfileCard.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +2 -0
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CookieOptions } from "../models";
|
|
1
|
+
import { CookieOptions, CookieExpiresInDays, CookieExpiresInSeconds } from "../models";
|
|
2
2
|
export declare class Cookies {
|
|
3
3
|
/**
|
|
4
4
|
* Gets content of cookie by name
|
|
@@ -6,6 +6,7 @@ export declare class Cookies {
|
|
|
6
6
|
static get(name: string): string;
|
|
7
7
|
private static isDayExpiry;
|
|
8
8
|
private static isSecondsExpiry;
|
|
9
|
+
static getCookieExpiryUtcString(expires: CookieExpiresInDays | CookieExpiresInSeconds): string;
|
|
9
10
|
/**
|
|
10
11
|
* Creates a cookie
|
|
11
12
|
*/
|
|
@@ -115,6 +115,7 @@ export declare class HttpClient {
|
|
|
115
115
|
private writeHeadersToCookie;
|
|
116
116
|
private removeHeadersCookie;
|
|
117
117
|
private requestCtxKey;
|
|
118
|
+
private expiresAt;
|
|
118
119
|
private setupCtxAwareClient;
|
|
119
120
|
private ensureRemoveHeadersCookie;
|
|
120
121
|
private setupCtxAwareClientMSService;
|
|
@@ -142,7 +143,7 @@ export declare class HttpClient {
|
|
|
142
143
|
*
|
|
143
144
|
* }
|
|
144
145
|
*/
|
|
145
|
-
static createOmniaServiceRequestConfig: (serviceId?: GuidValue) => Promise<AxiosRequestConfig>;
|
|
146
|
+
static createOmniaServiceRequestConfig: (serviceId?: GuidValue, skipDomainReplacement?: boolean) => Promise<AxiosRequestConfig>;
|
|
146
147
|
static createMS365ServiceRequestConfig(): Promise<AxiosRequestConfig<any>>;
|
|
147
148
|
static createSPServiceRequestConfig(authorityUrl: string): Promise<AxiosRequestConfig<any>>;
|
|
148
149
|
/**
|
|
@@ -168,7 +169,7 @@ export declare class HttpClient {
|
|
|
168
169
|
*
|
|
169
170
|
* }
|
|
170
171
|
*/
|
|
171
|
-
static createContextAwareRequestConfig: (baseUrl: string, acceptHeader?: string) => Promise<AxiosRequestConfig>;
|
|
172
|
+
static createContextAwareRequestConfig: (baseUrl: string, acceptHeader?: string, skipDomainReplacement?: boolean) => Promise<AxiosRequestConfig>;
|
|
172
173
|
private static getDomainRegex;
|
|
173
174
|
private static createMSServiceContextAwareRequestConfig;
|
|
174
175
|
private static get omniaBootstrapData();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { FirstDayOfWeeks, GuidValue, IIcon, TenantRegionalSettings, TimePeriodSettings } from "../../models";
|
|
1
|
+
import { DateOperator, FirstDayOfWeeks, GuidValue, IIcon, TenantRegionalSettings, TimePeriodSettings } from "../../models";
|
|
2
2
|
export declare module Utils {
|
|
3
3
|
function isNativeClass(value: any): boolean;
|
|
4
|
+
function isJson(str: any): boolean;
|
|
4
5
|
function asyncForEach<T>(array: Array<T>, callback: (item: T, index?: number, items?: Array<T>) => Promise<void>): Promise<void>;
|
|
5
6
|
function isPromise(val: any): boolean;
|
|
6
7
|
function isString(target: any): boolean;
|
|
@@ -95,6 +96,7 @@ export declare module Utils {
|
|
|
95
96
|
function trimEnd(str: string, chr: string): string;
|
|
96
97
|
function after(timePeriodSettings: TimePeriodSettings, date?: Date): Date;
|
|
97
98
|
function before(timePeriodSettings: TimePeriodSettings, date?: Date): Date;
|
|
99
|
+
function calculate(timePeriodSettings: TimePeriodSettings, date?: Date, operator?: DateOperator): Date;
|
|
98
100
|
function getScrollParent(node: any): any;
|
|
99
101
|
function throttle(func: any, wait: any, options: any): () => any;
|
|
100
102
|
/**
|
|
@@ -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"},"expo.js":["ApiHelper","AppRoutePropertyBagFactory","AuthenticationSessionService","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","ContextProviderCollection","Cookies","DisplayRules","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","ImageProxyService","Inject","Injectable","LocalStorage","Localize","MD5Util","ManifestResourceLoader","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","OmniaContext","OmniaContextProvider","OmniaPropertyBagBase","Provide","ReplaceToken","Require","ScrollPagingUtils","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","UserTypeStore","Utils","VueWebComponentSlot","WebComponentBootstrapper","WebUtils","extendApi","install","isInjectable","omniaScriptApi","propertyPath","propertyPathValue","registerApi","setCurrentManifest","useInject","useLocalize","useOmniaClient","useProvide","useRequestAborter","vueCustomElement"]},"./node_modules/@omnia/fx/stores/index.js":{"id":"5e618f4d-d014-414e-a681-89e34cbeda0f","buildMeta":{"exportsType":"namespace"},"expo.js":["AiSettingsStore","AppNamingPolicyStore","AppStore","AuditLogStore","AzureAdUserStore","BlockTitleGlobalSettingsStore","BlockTitleSettingsStore","BusinessProfileStore","ClipboardStore","CommentLikeStore","ConnectedTenantStore","DirectionRuleStore","DynamicGroupStore","EnterpriseGlossaryStore","EnterprisePropertyCategoryStore","EnterprisePropertySetStore","EnterprisePropertyStore","ExtensionStore","FeatureStore","FileUploaderStore","FocusStore","GroupIdentityStore","IdentityStore","IdentitySyncProviderStore","LinkReferencesStore","LocalizationStore","MSTeamsStore","MediaPickerStore","MultilingualStore","OrganizationTreeStore","PostStore","ProfileCardHandlerStore","ProfileCardStore","PromotedTagStore","SiteStore","Store","StoreAction","StoreLogTypes","StoreLogger","StoreMutation","StoreState","SystemLogStore","TargetingPropertyStore","TimeZoneStore","TokenStatus","TokenStore","UserIdentityStore","UserTargetingStore","UserTypeIdentityPickerStore","UserTypeIdentityStore","UserTypeStore","VersionedLayoutStore","defineStore","defineStore2"]},"./node_modules/@omnia/fx/vue/index.js":{"id":"c041fe9f-1e14-443d-9407-5aa8829fbc21","buildMeta":{"exportsType":"namespace"},"expo.js":["Localize","VueWebComponentSlot","install","useLocalize","vueCustomElement"]},"./node_modules/@omnia/fx/services/index.js":{"id":"e25b9dd8-6dd7-4437-8ddd-0b9fadba73ac","buildMeta":{"exportsType":"namespace"},"expo.js":["AIEngineSetupService","AiSettingsService","AppNamingPolicyService","AppRouteService","AppService","AuditLogService","AzureAdGroupService","AzureAdUserService","AzureOpenAIService","BusinessProfilePropertyBindingProvider","BusinessProfileService","ConnectedTenantService","DataSourcePropertiesService","DataSourcePropertyDefinitionHandler","DynamicGroupService","DynamicPropertyDataSource","EnterpriseGlossaryService","EnterprisePropertiesProvider","EnterprisePropertyCategoryService","EnterprisePropertySetService","ExtendedEnterprisePropertiesPropertyBindingProvider","ExtensionsService","FeatureService","FileStorageService","GroupIdentityService","GroupService","IdentityAuthenticationService","IdentityCreationRequestService","IdentityPropertyBindingProvider","IdentitySelfServiceService","IdentityService","IdentitySyncProviderService","ImageProxyService","LinkStatusService","LocalizationService","LoginLogService","ManifestService","MediaPickerService","MicrosoftStreamService","OmniaSearchService","OmniaSearchUserService","OrganizationTreeService","PermissionNode","PermissionService","PostService","ProfileCardService","PropertyBindingService","PropertyDataSourceBase","QueryablePropertiesService","QueueService","RealtimeService","ReindexOmniaSearchUserService","SecretsService","SecurityRoles","SecurityService","SemanticSearchService","SettingsService","SiteService","TagsService","TargetingPropertyService","TenantContactService","TenantPreSetupService","TestDataSourcePropertiesService","TimeZoneService","TranslationService","UserIdentityService","UserPresenceStatus","UserPropertyBindingProvider","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"},"expo.js":["ApiHelper","AppRoutePropertyBagFactory","AuthenticationSessionService","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","ContextProviderCollection","Cookies","DisplayRules","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","ImageProxyService","Inject","Injectable","LocalStorage","Localize","MD5Util","ManifestResourceLoader","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","OmniaContext","OmniaContextProvider","OmniaPropertyBagBase","Provide","ReplaceToken","Require","ScrollPagingUtils","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","UserTypeStore","Utils","VueWebComponentSlot","WebComponentBootstrapper","WebUtils","extendApi","install","isInjectable","omniaScriptApi","propertyPath","propertyPathValue","registerApi","setCurrentManifest","useInject","useLocalize","useOmniaClient","useProvide","useRequestAborter","vueCustomElement"]},"./node_modules/@omnia/fx/stores/index.js":{"id":"5e618f4d-d014-414e-a681-89e34cbeda0f","buildMeta":{"exportsType":"namespace"},"expo.js":["AiSettingsStore","AppNamingPolicyStore","AppStore","ArchivedIdentityStore","AuditLogStore","AzureAdUserStore","BlockTitleGlobalSettingsStore","BlockTitleSettingsStore","BusinessProfileStore","ClipboardStore","CommentLikeStore","ConnectedTenantStore","DirectionRuleStore","DynamicGroupStore","EnterpriseGlossaryStore","EnterprisePropertyCategoryStore","EnterprisePropertySetStore","EnterprisePropertyStore","ExtensionStore","FeatureStore","FileUploaderStore","FocusStore","GroupIdentityStore","IdentityStore","IdentitySyncProviderStore","LinkReferencesStore","LocalizationStore","MSTeamsStore","MediaPickerStore","MultilingualStore","OrganizationTreeStore","PostStore","ProfileCardHandlerStore","ProfileCardStore","PromotedTagStore","SiteStore","Store","StoreAction","StoreLogTypes","StoreLogger","StoreMutation","StoreState","SystemLogStore","TargetingPropertyStore","TimeZoneStore","TokenStatus","TokenStore","UserIdentityStore","UserTargetingStore","UserTypeIdentityPickerStore","UserTypeIdentityStore","UserTypeStore","VersionedLayoutStore","defineStore","defineStore2"]},"./node_modules/@omnia/fx/vue/index.js":{"id":"c041fe9f-1e14-443d-9407-5aa8829fbc21","buildMeta":{"exportsType":"namespace"},"expo.js":["Localize","VueWebComponentSlot","install","useLocalize","vueCustomElement"]},"./node_modules/@omnia/fx/services/index.js":{"id":"e25b9dd8-6dd7-4437-8ddd-0b9fadba73ac","buildMeta":{"exportsType":"namespace"},"expo.js":["AIEngineSetupService","AiSettingsService","AppNamingPolicyService","AppRouteService","AppService","AuditLogService","AzureAdGroupService","AzureAdUserService","AzureOpenAIService","BusinessProfilePropertyBindingProvider","BusinessProfileService","ConnectedTenantService","DataSourcePropertiesService","DataSourcePropertyDefinitionHandler","DynamicGroupService","DynamicPropertyDataSource","EnterpriseGlossaryService","EnterprisePropertiesProvider","EnterprisePropertyCategoryService","EnterprisePropertySetService","ExtendedEnterprisePropertiesPropertyBindingProvider","ExtensionsService","FeatureService","FileStorageService","GroupIdentityService","GroupService","IdentityAuthenticationService","IdentityCreationRequestService","IdentityPropertyBindingProvider","IdentitySelfServiceService","IdentityService","IdentitySyncProviderService","ImageProxyService","LinkStatusService","LocalizationService","LoginLogService","ManifestService","MediaPickerService","MicrosoftStreamService","OmniaSearchService","OmniaSearchUserService","OrganizationTreeService","PermissionNode","PermissionService","PostService","ProfileCardService","PropertyBindingService","PropertyDataSourceBase","QueryablePropertiesService","QueueService","RealtimeService","ReindexOmniaSearchUserService","SecretsService","SecurityRoles","SecurityService","SemanticSearchService","SettingsService","SiteService","TagsService","TargetingPropertyService","TenantContactService","TenantPreSetupService","TestDataSourcePropertiesService","TimeZoneService","TranslationService","UserIdentityService","UserPresenceStatus","UserPropertyBindingProvider","UserService","UserTypeService","VersionedDataService","VersionedLayoutService","WebImageService","WriteBackStatus"]}}}
|
|
@@ -2,6 +2,7 @@ import { Future, GroupIdentity, GroupMembers, Identity, IdentityQuery, IResolved
|
|
|
2
2
|
export declare class IdentityService {
|
|
3
3
|
private httpClient;
|
|
4
4
|
private baseUrl;
|
|
5
|
+
private archiveUrl;
|
|
5
6
|
query(query: IdentityQuery): Future<ItemQueryResult<IResolvedIdentity>>;
|
|
6
7
|
queryUsers(query: UserIdentityQuery): Future<ItemQueryResult<IResolvedIdentity>>;
|
|
7
8
|
getSpecialIdentities(): Future<IResolvedIdentity[]>;
|
|
@@ -24,4 +25,8 @@ export declare class IdentityService {
|
|
|
24
25
|
getIdentitiesWithProviderIdentities: (providerId: GuidValue, userIds: GuidValue[]) => Future<{
|
|
25
26
|
[userIdentityUid: string]: Identity;
|
|
26
27
|
}>;
|
|
28
|
+
queryArchive(query: IdentityQuery): Future<ItemQueryResult<IResolvedIdentity>>;
|
|
29
|
+
resolveArchivedUserIdentities(identites: Identity[]): Future<{
|
|
30
|
+
[uid: string]: IResolvedIdentity;
|
|
31
|
+
}>;
|
|
27
32
|
}
|
|
@@ -29,6 +29,7 @@ export declare class PermissionService {
|
|
|
29
29
|
hasPermissionForRoles(roleIds: GuidValue[], contextParams?: {
|
|
30
30
|
[key: string]: string | number;
|
|
31
31
|
}): Promise<boolean>;
|
|
32
|
+
hasPermissionForRolesInApp(roleIds: GuidValue[], appInstanceId: GuidValue): Promise<boolean>;
|
|
32
33
|
addOrUpdatePermissionBindings(rolePermissionSettingWithParam: RolePermissionSettingWithContextParam, contextParams?: {
|
|
33
34
|
[key: string]: string | number;
|
|
34
35
|
}, serviceId?: GuidValue): Promise<void>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Future, IResolvedIdentity, Identity, IdentityQuery } from "@omnia/fx-models";
|
|
2
|
+
import { Store } from "./Store";
|
|
3
|
+
import { IIdentityPickerStore } from "./IdentityStore";
|
|
4
|
+
export declare class ArchivedIdentityStore extends Store implements IIdentityPickerStore {
|
|
5
|
+
private identityService;
|
|
6
|
+
private archivedIdentitiesState;
|
|
7
|
+
getters: {
|
|
8
|
+
getResolvedIdentity: (identity: Identity) => IResolvedIdentity;
|
|
9
|
+
getResolvedIdentities: () => IResolvedIdentity[];
|
|
10
|
+
};
|
|
11
|
+
mutations: {
|
|
12
|
+
addOrUpdateResolvedIdentities: (resolvedIdentities: IResolvedIdentity[]) => void;
|
|
13
|
+
};
|
|
14
|
+
actions: {
|
|
15
|
+
resolveIdentities: import("./Store").StoreAction<unknown, (identities: Identity[]) => void, (result: {
|
|
16
|
+
[uid: string]: IResolvedIdentity;
|
|
17
|
+
}, identities: Identity[]) => void, (failureReason: any, identities: Identity[]) => void, (identities: Identity[]) => Promise<{
|
|
18
|
+
[uid: string]: IResolvedIdentity;
|
|
19
|
+
}>>;
|
|
20
|
+
query: import("./Store").StoreAction<unknown, (query: IdentityQuery) => void, (result: import("@omnia/fx-models").ItemQueryResult<IResolvedIdentity>, query: IdentityQuery) => void, (failureReason: any, query: IdentityQuery) => void, (query: IdentityQuery) => Future<import("@omnia/fx-models").ItemQueryResult<IResolvedIdentity>>>;
|
|
21
|
+
};
|
|
22
|
+
protected onActivated(): void;
|
|
23
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from "./Store";
|
|
2
|
-
import { IIcon, BlockTitleSettings } from "../models";
|
|
2
|
+
import { IIcon, BlockTitleSettings, GuidValue } from "../models";
|
|
3
3
|
import { BlockTitleGlobalSettingsStore } from "./BlockTitleGlobalSettingsStore";
|
|
4
4
|
import { DirectionRuleStore } from "./DirectionRuleStore";
|
|
5
5
|
export interface SettingsValue {
|
|
@@ -7,6 +7,7 @@ export interface SettingsValue {
|
|
|
7
7
|
blockTitleSettings: BlockTitleSettings;
|
|
8
8
|
icon: IIcon;
|
|
9
9
|
customSettings: boolean;
|
|
10
|
+
headerLevel?: GuidValue;
|
|
10
11
|
}
|
|
11
12
|
export declare class BlockTitleSettingsStore extends Store {
|
|
12
13
|
blockTitleGlobalSettingsStore: BlockTitleGlobalSettingsStore;
|
|
@@ -36,8 +37,9 @@ export declare class BlockTitleSettingsStore extends Store {
|
|
|
36
37
|
setLayoutInheritage: (key: any) => void;
|
|
37
38
|
setComponentIcon: (key: any, icon: IIcon) => void;
|
|
38
39
|
removeComponentIcon: (key: any) => void;
|
|
39
|
-
setComponentSettings: (key: any, blockTitleSettings: BlockTitleSettings, icon?: IIcon) => void;
|
|
40
|
+
setComponentSettings: (key: any, blockTitleSettings: BlockTitleSettings, icon?: IIcon, headerLevel?: GuidValue) => void;
|
|
40
41
|
revertComponentToGlobalSettings: (key: any) => void;
|
|
42
|
+
setComponentTitleHeaderLevel: (key: any, headerLevel: GuidValue) => void;
|
|
41
43
|
};
|
|
42
44
|
/**
|
|
43
45
|
* Implementation of actions
|
|
@@ -723,6 +723,12 @@ export interface OmniaUxLocalization {
|
|
|
723
723
|
Title: string;
|
|
724
724
|
};
|
|
725
725
|
};
|
|
726
|
+
ExtraIDAdditionalUserProperties: {
|
|
727
|
+
Category: string;
|
|
728
|
+
Description: string;
|
|
729
|
+
Title: string;
|
|
730
|
+
ConsentInformation: string;
|
|
731
|
+
};
|
|
726
732
|
};
|
|
727
733
|
AuditLog: {
|
|
728
734
|
Title: string;
|
|
@@ -967,6 +973,7 @@ export interface OmniaUxLocalization {
|
|
|
967
973
|
AnchorName: string;
|
|
968
974
|
CustomAnchorName: string;
|
|
969
975
|
ScrollIntoView: string;
|
|
976
|
+
HeaderLevel: string;
|
|
970
977
|
};
|
|
971
978
|
Buttons: {
|
|
972
979
|
AddColor: string;
|
|
@@ -1138,7 +1145,9 @@ export interface OmniaUxLocalization {
|
|
|
1138
1145
|
LabelPadding: string;
|
|
1139
1146
|
Tab: string;
|
|
1140
1147
|
Accordion: string;
|
|
1148
|
+
AccordionDescription: string;
|
|
1141
1149
|
Stepper: string;
|
|
1150
|
+
StepperDescription: string;
|
|
1142
1151
|
Label: string;
|
|
1143
1152
|
Tooltip: string;
|
|
1144
1153
|
Icon: string;
|
|
@@ -1244,11 +1253,15 @@ export interface OmniaUxLocalization {
|
|
|
1244
1253
|
};
|
|
1245
1254
|
PredefinedSections: {
|
|
1246
1255
|
OneColumn: string;
|
|
1256
|
+
OneColumnDescription: string;
|
|
1247
1257
|
TwoColumns: string;
|
|
1258
|
+
TwoColumnsDescription: string;
|
|
1248
1259
|
ThreeColumn: string;
|
|
1260
|
+
ThreeColumnsDescription: string;
|
|
1249
1261
|
Center: string;
|
|
1250
1262
|
Hero: string;
|
|
1251
1263
|
Tab: string;
|
|
1264
|
+
TabSummary: string;
|
|
1252
1265
|
};
|
|
1253
1266
|
DisplayBreakPoints: {
|
|
1254
1267
|
ExtraSmall: string;
|
|
@@ -1343,7 +1356,7 @@ export interface OmniaUxLocalization {
|
|
|
1343
1356
|
};
|
|
1344
1357
|
AuthenticationBlock: {
|
|
1345
1358
|
Title: string;
|
|
1346
|
-
|
|
1359
|
+
Summary: string;
|
|
1347
1360
|
};
|
|
1348
1361
|
IdentityPicker: {
|
|
1349
1362
|
User: {
|
|
@@ -1405,6 +1418,45 @@ export interface OmniaUxLocalization {
|
|
|
1405
1418
|
InvalidField: string;
|
|
1406
1419
|
};
|
|
1407
1420
|
};
|
|
1421
|
+
BlockGallery: {
|
|
1422
|
+
Title: string;
|
|
1423
|
+
Settings: string;
|
|
1424
|
+
EnableModernDialogSwitch: string;
|
|
1425
|
+
BlockTemplates: {
|
|
1426
|
+
Title: string;
|
|
1427
|
+
Create: string;
|
|
1428
|
+
Fields: {
|
|
1429
|
+
Definition: string;
|
|
1430
|
+
};
|
|
1431
|
+
InvalidJsonField: string;
|
|
1432
|
+
ErrorMsg: string;
|
|
1433
|
+
ListEmptyMsg: string;
|
|
1434
|
+
DeleteConfirmationTitle: string;
|
|
1435
|
+
DeleteConfirmationMsg: string;
|
|
1436
|
+
};
|
|
1437
|
+
BlockDialog: {
|
|
1438
|
+
Title: string;
|
|
1439
|
+
AddBlocks: string;
|
|
1440
|
+
EmptyMessage: string;
|
|
1441
|
+
NoBlocksFoundMsg: string;
|
|
1442
|
+
AddHeader: string;
|
|
1443
|
+
EditHeader: string;
|
|
1444
|
+
ManageList: string;
|
|
1445
|
+
Confirm: string;
|
|
1446
|
+
DeletedItemWarning: string;
|
|
1447
|
+
DeleteItemTitle: string;
|
|
1448
|
+
Header: string;
|
|
1449
|
+
};
|
|
1450
|
+
BlockDialogLayout: {
|
|
1451
|
+
Title: string;
|
|
1452
|
+
Authentication: string;
|
|
1453
|
+
Default: string;
|
|
1454
|
+
SPFx: string;
|
|
1455
|
+
};
|
|
1456
|
+
Tooltips: {
|
|
1457
|
+
Management: string;
|
|
1458
|
+
};
|
|
1459
|
+
};
|
|
1408
1460
|
}
|
|
1409
1461
|
export declare const OmniaUxLocalizationNamespace = "Omnia.Ux";
|
|
1410
1462
|
export declare const BuiltInLocalizationKeys: {
|
|
@@ -6,6 +6,8 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
6
6
|
icon: IIcon;
|
|
7
7
|
iconColor: string;
|
|
8
8
|
onClickCallBack: () => void;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
textColor: string;
|
|
9
11
|
}, never>, any, any, any>> & {
|
|
10
12
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
11
13
|
title: string;
|
|
@@ -14,6 +16,8 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
14
16
|
icon: IIcon;
|
|
15
17
|
iconColor: string;
|
|
16
18
|
onClickCallBack: () => void;
|
|
19
|
+
backgroundColor: string;
|
|
20
|
+
textColor: string;
|
|
17
21
|
}, never>;
|
|
18
22
|
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
19
23
|
title: string;
|
|
@@ -22,6 +26,8 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
22
26
|
icon: IIcon;
|
|
23
27
|
iconColor: string;
|
|
24
28
|
onClickCallBack: () => void;
|
|
29
|
+
backgroundColor: string;
|
|
30
|
+
textColor: string;
|
|
25
31
|
}, never>, any, any, any>> & {
|
|
26
32
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
27
33
|
title: string;
|
|
@@ -30,6 +36,8 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
30
36
|
icon: IIcon;
|
|
31
37
|
iconColor: string;
|
|
32
38
|
onClickCallBack: () => void;
|
|
39
|
+
backgroundColor: string;
|
|
40
|
+
textColor: string;
|
|
33
41
|
}, never>;
|
|
34
42
|
});
|
|
35
43
|
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { JourneyInstance } from "@omnia/fx-models";
|
|
2
|
+
interface IAdminBlade {
|
|
3
|
+
journey: JourneyInstance;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default, {}, import("vue-tsx-support").PropsForOutside<IAdminBlade, never>, any, any, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { JourneyInstance } from "@omnia/fx-models";
|
|
2
|
+
interface IAdminBlade {
|
|
3
|
+
journey: JourneyInstance;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default, {}, import("vue-tsx-support").PropsForOutside<IAdminBlade, never>, any, any, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { JourneyInstance } from "@omnia/fx-models";
|
|
2
|
+
export interface IBlockTemplatesAdmin {
|
|
3
|
+
journey: JourneyInstance;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default, {}, import("vue-tsx-support").PropsForOutside<IBlockTemplatesAdmin, never>, any, any, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IButton } from "@omnia/fx/ux";
|
|
2
|
+
interface IAdminBlade {
|
|
3
|
+
closeEvent: () => void;
|
|
4
|
+
bladeTitle: string;
|
|
5
|
+
saveEvent?: () => void;
|
|
6
|
+
cancelEvent?: () => void;
|
|
7
|
+
hasChanges?: boolean;
|
|
8
|
+
disableActionToolbarBtns?: boolean;
|
|
9
|
+
saveBtnPreset?: IButton;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default, {}, import("vue-tsx-support").PropsForOutside<IAdminBlade, never>, any, any, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { JourneyInstance } from "@omnia/fx-models";
|
|
2
|
+
export interface IBlockTemplatesAdmin {
|
|
3
|
+
journey: JourneyInstance;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default, {}, import("vue-tsx-support").PropsForOutside<IBlockTemplatesAdmin, never>, any, any, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { JourneyInstance } from "@omnia/fx-models";
|
|
2
|
+
declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default, {}, import("vue-tsx-support").PropsForOutside<{
|
|
3
|
+
journey: JourneyInstance;
|
|
4
|
+
}, "journey">, any, any, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { JourneyInstance } from "@omnia/fx-models";
|
|
2
|
+
export interface IBlockTemplatesAdmin {
|
|
3
|
+
journey: JourneyInstance;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default, {}, import("vue-tsx-support").PropsForOutside<IBlockTemplatesAdmin, never>, any, any, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { JourneyInstance } from "@omnia/fx-models";
|
|
2
|
+
interface IAdminBlade {
|
|
3
|
+
journey: JourneyInstance;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default, {}, import("vue-tsx-support").PropsForOutside<IAdminBlade, never>, any, any, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const BladeIds: {
|
|
2
|
+
blockDialog: string;
|
|
3
|
+
blockDialogLayouts: string;
|
|
4
|
+
blockTemplates: string;
|
|
5
|
+
settings: string;
|
|
6
|
+
addblock: string;
|
|
7
|
+
addEditHeader: string;
|
|
8
|
+
addEditTemplate: string;
|
|
9
|
+
blockGallery: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const BlockDialogRoute: {
|
|
12
|
+
blockGallery: string[];
|
|
13
|
+
blockDialogLayout: {
|
|
14
|
+
home: string[];
|
|
15
|
+
blockDialog: string[];
|
|
16
|
+
addBlock: string[];
|
|
17
|
+
addEditHeader: string[];
|
|
18
|
+
};
|
|
19
|
+
settings: {
|
|
20
|
+
home: string[];
|
|
21
|
+
};
|
|
22
|
+
blockTemplates: {
|
|
23
|
+
home: string[];
|
|
24
|
+
addEditTemplate: string[];
|
|
25
|
+
};
|
|
26
|
+
};
|
package/internal-do-not-import-from-here/ux/blockgallery/admin/TenantBlockTemplateJourney.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>> & {
|
|
2
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<unknown, never>;
|
|
3
|
+
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>> & {
|
|
4
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<unknown, never>;
|
|
5
|
+
});
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BlockGalleryDialogLayoutSetting, BlockGalleryGeneralSetting, BlockTemplate } from "@omnia/fx-models";
|
|
2
|
+
export declare const useBlockGalleryFactory: () => {
|
|
3
|
+
defaultBlockTemplate: () => BlockTemplate;
|
|
4
|
+
defaultBlockGalleryDialogLayoutSetting: () => BlockGalleryDialogLayoutSetting;
|
|
5
|
+
defaultBlockGalleryGeneralSetting: () => BlockGalleryGeneralSetting;
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Factory";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BlockTemplate, BlockTemplateView } from "@omnia/fx-models";
|
|
2
|
+
export declare const useBlockTemplateService: () => {
|
|
3
|
+
add: (blockTemplate: BlockTemplate) => import("@omnia/fx-models").Future<BlockTemplate>;
|
|
4
|
+
update: (blockTemplate: BlockTemplate) => import("@omnia/fx-models").Future<unknown>;
|
|
5
|
+
remove: (id: number) => import("@omnia/fx-models").Future<number>;
|
|
6
|
+
loadAll: () => import("@omnia/fx-models").Future<BlockTemplateView[]>;
|
|
7
|
+
getById: (id: number) => import("@omnia/fx-models").Future<BlockTemplate>;
|
|
8
|
+
getByIds: (blockTemplateIds: number[]) => import("@omnia/fx-models").Future<BlockTemplate[]>;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./BlockTemplateService";
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { BlockDialogLayoutInfo, BlockGalleryDialogLayoutSetting, BlockGalleryGeneralSetting, BlockGalleryHeader, BlockGalleryItem, BlockGalleryItemView, BlockTemplate, MultilingualString } from "@omnia/fx-models";
|
|
2
|
+
import { LocalizationService, SettingsService } from "@omnia/fx/services";
|
|
3
|
+
import { MultilingualStore, Store } from "@omnia/fx/stores";
|
|
4
|
+
import { OmniaUxLocalization } from "../../UxModels";
|
|
5
|
+
import { BlockCatalogStore } from "../../layoutcanvas";
|
|
6
|
+
import * as _ from "lodash";
|
|
7
|
+
export { _ };
|
|
8
|
+
export declare class BlockGalleryStore extends Store {
|
|
9
|
+
blockCatalogStore: BlockCatalogStore;
|
|
10
|
+
multilingualStore: MultilingualStore;
|
|
11
|
+
settingsService: SettingsService<any>;
|
|
12
|
+
localizationService: LocalizationService;
|
|
13
|
+
uxLoc: OmniaUxLocalization;
|
|
14
|
+
private blockTemplateService;
|
|
15
|
+
private omniaBlocks;
|
|
16
|
+
private ensureInitAdminView;
|
|
17
|
+
private ensureInitRenderView;
|
|
18
|
+
private blockGalleryDialogLayoutSetting;
|
|
19
|
+
private blockTemplateViews;
|
|
20
|
+
private blockTemplateIdPrefix;
|
|
21
|
+
private allBlocks;
|
|
22
|
+
private blockGalleryFactory;
|
|
23
|
+
private hasPendingChanges;
|
|
24
|
+
private editingHeaderId;
|
|
25
|
+
private selectingTemplateId;
|
|
26
|
+
private isBlockDialogInAlterMode;
|
|
27
|
+
private editingDialogLayoutType;
|
|
28
|
+
private generalSetting;
|
|
29
|
+
private spfxBlocks;
|
|
30
|
+
private initSpfxDictionary;
|
|
31
|
+
private layoutBlockSettingForRender;
|
|
32
|
+
private dialogLayouts;
|
|
33
|
+
private registeredDialogLayoutProviders;
|
|
34
|
+
protected onActivated(): Promise<void>;
|
|
35
|
+
getters: {
|
|
36
|
+
blocks: () => {
|
|
37
|
+
[id: string]: BlockGalleryItemView;
|
|
38
|
+
};
|
|
39
|
+
availableBlocksToAdd: () => {
|
|
40
|
+
[id: string]: BlockGalleryItemView;
|
|
41
|
+
};
|
|
42
|
+
header: (headerId: string) => BlockGalleryHeader;
|
|
43
|
+
blockGalleryLayoutSetting: (layoutType: string) => BlockGalleryDialogLayoutSetting;
|
|
44
|
+
orderedItems: () => BlockGalleryItem[];
|
|
45
|
+
orderedItemTitle: (blockId: string) => string;
|
|
46
|
+
editingHeaderId: () => string;
|
|
47
|
+
editingTemplateId: () => number;
|
|
48
|
+
isBlockDialogInAlterMode: () => boolean;
|
|
49
|
+
editingDialogLayoutType: () => string;
|
|
50
|
+
dialogLayouts: () => BlockDialogLayoutInfo[];
|
|
51
|
+
getDialogLayoutType: (layoutProvider: string) => string;
|
|
52
|
+
};
|
|
53
|
+
private isCompatibleWithAuthenticationLayoutOnly;
|
|
54
|
+
private isBlockValidForLayout;
|
|
55
|
+
mutations: {
|
|
56
|
+
addSelectedBlocks: import("@omnia/fx/stores").StoreMutation<(selectedBlockIds: Array<string>) => void, (selectedBlockIds: string[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
57
|
+
removeSelectedBlock: import("@omnia/fx/stores").StoreMutation<(blockId: string) => void, (blockId: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
58
|
+
removeHeader: import("@omnia/fx/stores").StoreMutation<(id: string) => void, (id: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
59
|
+
addNewHeader: import("@omnia/fx/stores").StoreMutation<(headerTitle: MultilingualString) => void, (headerTitle: MultilingualString) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
60
|
+
editHeader: import("@omnia/fx/stores").StoreMutation<(header: BlockGalleryHeader) => void, (header: BlockGalleryHeader) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
61
|
+
signalChanges: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
62
|
+
resetChanges: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
63
|
+
updateOrganizedBlocks: import("@omnia/fx/stores").StoreMutation<(organizedBlocks: BlockGalleryItem[]) => void, (organizedBlocks: BlockGalleryItem[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
64
|
+
switchToAddHeaderMode: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
65
|
+
switchToEditHeaderMode: import("@omnia/fx/stores").StoreMutation<(headerId: string) => void, (headerId: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
66
|
+
switchToTemplateEditMode: import("@omnia/fx/stores").StoreMutation<(templateId: number) => void, (templateId: number) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
67
|
+
switchToTemplateAddMode: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
68
|
+
switchBlockDialogToAlterMode: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
69
|
+
switchOffBlockDialogAlterMode: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
70
|
+
setEditingDialogLayout: import("@omnia/fx/stores").StoreMutation<(dialogLayoutType: string) => void, (dialogLayoutType: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
71
|
+
};
|
|
72
|
+
actions: {
|
|
73
|
+
ensureLoadAllBlocksForAdminView: import("@omnia/fx/stores").StoreAction<unknown, (forceReload?: boolean) => void, (result: void, forceReload?: boolean) => void, (failureReason: any, forceReload?: boolean) => void, (forceReload?: boolean) => Promise<void>>;
|
|
74
|
+
ensureLoadAllBlocksForRender: import("@omnia/fx/stores").StoreAction<unknown, (layoutType: string) => void, (result: void, layoutType: string) => void, (failureReason: any, layoutType: string) => void, (layoutType: string) => Promise<void>>;
|
|
75
|
+
updateBlockDialogSettings: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
76
|
+
addOrUpdateBlockTemplate: import("@omnia/fx/stores").StoreAction<unknown, (blockTemplate: BlockTemplate, isEdit: boolean) => void, (result: void, blockTemplate: BlockTemplate, isEdit: boolean) => void, (failureReason: any, blockTemplate: BlockTemplate, isEdit: boolean) => void, (blockTemplate: BlockTemplate, isEdit: boolean) => Promise<void>>;
|
|
77
|
+
removeBlockTemplate: import("@omnia/fx/stores").StoreAction<unknown, (blockTemplateId: number) => void, (result: boolean, blockTemplateId: number) => void, (failureReason: any, blockTemplateId: number) => void, (blockTemplateId: number) => Promise<boolean>>;
|
|
78
|
+
ensureGeneralSetting: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: BlockGalleryGeneralSetting) => void, (failureReason: any) => void, () => Promise<BlockGalleryGeneralSetting>>;
|
|
79
|
+
};
|
|
80
|
+
private ensureOmniaBlocks;
|
|
81
|
+
private loadBlockDialogSettings;
|
|
82
|
+
private ensureDefaultBlocksIfDialogLayoutIsEmpty;
|
|
83
|
+
private getIdOfLayoutItemRegistrationBlock;
|
|
84
|
+
private insertDefaultHeader;
|
|
85
|
+
private insertDefaultBlocks;
|
|
86
|
+
private ensureSpfxBlockDictionary;
|
|
87
|
+
private loadBlockTemplateViews;
|
|
88
|
+
private getLayoutBlockSettingKey;
|
|
89
|
+
private loadConfiguredBlockTemplates;
|
|
90
|
+
private getBlockTemplateIdFromGalleryItem;
|
|
91
|
+
private updateBlockDictionary;
|
|
92
|
+
private updateBlockDictionaryItem;
|
|
93
|
+
private getDialogLayoutProviders;
|
|
94
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./BlockGalleryStore";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./General";
|
|
@@ -5,11 +5,17 @@ export interface IActionToolbar {
|
|
|
5
5
|
styles?: Partial<typeof ActionToolbarStyles>;
|
|
6
6
|
changeMode: (editorDisplayMode: EditorDisplayModes) => void;
|
|
7
7
|
roles?: string[];
|
|
8
|
+
contextParams?: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
8
11
|
}
|
|
9
12
|
export declare class ActionToolbar extends VueComponentBase<IActionToolbar> {
|
|
10
13
|
styles?: Partial<typeof ActionToolbarStyles>;
|
|
11
14
|
changeMode: (editorDisplayMode: EditorDisplayModes) => void;
|
|
12
15
|
roles?: string[];
|
|
16
|
+
contextParams?: {
|
|
17
|
+
[key: string]: string;
|
|
18
|
+
};
|
|
13
19
|
editorStore: EditorChromeStore;
|
|
14
20
|
private actionToolbarClasses;
|
|
15
21
|
created(): void;
|
|
@@ -8,6 +8,9 @@ export declare class EditorChromeComponent extends VueComponentBase implements I
|
|
|
8
8
|
renderNavigationDrawer?: () => JSX.Element;
|
|
9
9
|
navigationDrawerTitle: string;
|
|
10
10
|
actionToolbarRoles?: string[];
|
|
11
|
+
contextParams?: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
11
14
|
closeEditor: () => void;
|
|
12
15
|
renderNavigationDrawerBottom?: () => JSX.Element;
|
|
13
16
|
hideCloseButton?: boolean;
|
|
@@ -5,6 +5,9 @@ export interface IEditorChrome extends IEditorChromeProperties {
|
|
|
5
5
|
[name: string]: any;
|
|
6
6
|
renderNavigationDrawer?: (h: any) => JSX.Element;
|
|
7
7
|
actionToolbarRoles?: string[];
|
|
8
|
+
contextParams?: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
8
11
|
closeEditor: () => void;
|
|
9
12
|
navigationDrawerTitle?: string;
|
|
10
13
|
renderNavigationDrawerBottom?: (h: any) => JSX.Element;
|
|
@@ -5,6 +5,7 @@ export interface EnterprisePropertyComponentProps {
|
|
|
5
5
|
}
|
|
6
6
|
export interface EnterprisePropertyEditProps<TSettings extends EnterprisePropertyItemSettings = EnterprisePropertyItemSettings> extends EnterprisePropertyComponentProps {
|
|
7
7
|
disabled: boolean;
|
|
8
|
+
disableAutofocus?: boolean;
|
|
8
9
|
hideDetails?: boolean;
|
|
9
10
|
dark?: boolean;
|
|
10
11
|
required?: boolean;
|
|
@@ -15,6 +15,7 @@ export declare class RichTextFieldEdit extends VueComponentBase implements IWebC
|
|
|
15
15
|
box?: boolean;
|
|
16
16
|
settings: EnterprisePropertyRichTextItemSettings;
|
|
17
17
|
queryable?: boolean;
|
|
18
|
+
disableAutofocus?: boolean;
|
|
18
19
|
private loc;
|
|
19
20
|
private mediaPickerService;
|
|
20
21
|
multilingualStore: MultilingualStore;
|
package/internal-do-not-import-from-here/ux/headingconfigurations/HeadingConfigurationFactory.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { HeadingConfiguration, HeadingStyleConfiguration } from "@omnia/fx-models";
|
|
1
|
+
import { HeadingConfiguration, HeadingStyleConfiguration, HeaderLevel } from "@omnia/fx-models";
|
|
2
2
|
export declare const HeadingConfigurationFactory: {
|
|
3
3
|
create(): Array<HeadingConfiguration>;
|
|
4
4
|
createInitial(): HeadingConfiguration;
|
|
5
5
|
createDefaultHeadingStyle(): HeadingStyleConfiguration;
|
|
6
6
|
getHeadingStyle(heading: HeadingConfiguration, useImportant?: boolean): any;
|
|
7
|
+
getHeaderLevels(): Array<HeaderLevel>;
|
|
7
8
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IResolvedIdentity, Identity } from "@omnia/fx-models";
|
|
2
|
+
import { IIdentityPickerStore } from "@omnia/fx/stores";
|
|
2
3
|
export type RenderSlotsType = {
|
|
3
4
|
left?: () => JSX.Element;
|
|
4
5
|
right?: () => JSX.Element;
|
|
@@ -69,6 +70,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
69
70
|
};
|
|
70
71
|
class?: string;
|
|
71
72
|
};
|
|
73
|
+
identityStore: IIdentityPickerStore;
|
|
72
74
|
}, "valueBind">, any, any, any>> & {
|
|
73
75
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
74
76
|
valueBind: Identity[];
|
|
@@ -112,6 +114,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
112
114
|
};
|
|
113
115
|
class?: string;
|
|
114
116
|
};
|
|
117
|
+
identityStore: IIdentityPickerStore;
|
|
115
118
|
}, "valueBind">;
|
|
116
119
|
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
117
120
|
valueBind: Identity[];
|
|
@@ -155,6 +158,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
155
158
|
};
|
|
156
159
|
class?: string;
|
|
157
160
|
};
|
|
161
|
+
identityStore: IIdentityPickerStore;
|
|
158
162
|
}, "valueBind">, any, any, any>> & {
|
|
159
163
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
160
164
|
valueBind: Identity[];
|
|
@@ -198,6 +202,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
198
202
|
};
|
|
199
203
|
class?: string;
|
|
200
204
|
};
|
|
205
|
+
identityStore: IIdentityPickerStore;
|
|
201
206
|
}, "valueBind">;
|
|
202
207
|
});
|
|
203
208
|
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LayoutItem, LayoutItemRegistration } from "@omnia/fx-models";
|
|
2
|
+
declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default, {}, import("vue-tsx-support").PropsForOutside<{
|
|
3
|
+
visible: boolean;
|
|
4
|
+
closeEvent: () => void;
|
|
5
|
+
selectBlockEvent: (item: LayoutItemRegistration) => void;
|
|
6
|
+
container: LayoutItem;
|
|
7
|
+
filterValidBlock: (item: LayoutItemRegistration) => boolean;
|
|
8
|
+
siblingId: string;
|
|
9
|
+
postInsert: boolean;
|
|
10
|
+
blockDialogLayoutType: string;
|
|
11
|
+
}, "visible" | "closeEvent" | "selectBlockEvent">, any, any, any>;
|
|
12
|
+
export default _default;
|
|
@@ -3,6 +3,8 @@ import { VueComponentBaseProps } from "../../..";
|
|
|
3
3
|
import { LayoutItem, LayoutItemRegistration } from "../../../../models";
|
|
4
4
|
import { VueComponentBase } from "../../..";
|
|
5
5
|
import { FeatureStore } from "../../../../stores";
|
|
6
|
+
import { BlockGalleryStore } from "internal/fx/ux/blockgallery/store";
|
|
7
|
+
import { SettingsService } from "@omnia/fx/services";
|
|
6
8
|
export interface LayoutItemSelectorProps extends VueComponentBaseProps {
|
|
7
9
|
container: LayoutItem;
|
|
8
10
|
color: string;
|
|
@@ -19,9 +21,14 @@ export declare class LayoutItemSelector extends VueComponentBase<LayoutItemSelec
|
|
|
19
21
|
layoutEditorStore: LayoutCanvasStore;
|
|
20
22
|
layoutItemStore: BlockCatalogStore;
|
|
21
23
|
featureStore: FeatureStore;
|
|
24
|
+
blockGalleryStore: BlockGalleryStore;
|
|
25
|
+
settingsService: SettingsService<any>;
|
|
22
26
|
private omniaUxLoc;
|
|
27
|
+
private isModernDialog;
|
|
23
28
|
private model;
|
|
24
29
|
beforeDestroy(): void;
|
|
30
|
+
created(): void;
|
|
31
|
+
private init;
|
|
25
32
|
private filterValidBlockRegistration;
|
|
26
33
|
/**
|
|
27
34
|
* Eventhandler for adding a layout item
|
|
@@ -9,13 +9,16 @@ export default class HeaderItem extends VueComponentBase {
|
|
|
9
9
|
blockInstance: BlockInstance;
|
|
10
10
|
private omniaUxLoc;
|
|
11
11
|
spfxSettingsService: OmniaSpfxSettingsProvider;
|
|
12
|
+
private localizationService;
|
|
12
13
|
private item;
|
|
13
14
|
private settings;
|
|
14
15
|
private model;
|
|
16
|
+
private headerLevels;
|
|
15
17
|
mounted(): void;
|
|
16
18
|
created(): void;
|
|
17
19
|
private headerValueChanged;
|
|
18
20
|
private onIconValueChanged;
|
|
21
|
+
private onHeaderLevelValueChanged;
|
|
19
22
|
private updateSpfxSettings;
|
|
20
23
|
render(): VueTsxSupport.JSX.Element;
|
|
21
24
|
}
|
|
@@ -7,4 +7,5 @@ export declare const BlockTitleStyles: {
|
|
|
7
7
|
iconWrapperButton: (settings: BlockTitleIconSettings) => string;
|
|
8
8
|
iconInButton: (settings: BlockTitleIconSettings, theming: ITheming) => string;
|
|
9
9
|
wrapper: (settings: BlockTitleSettings, textAlignment: TextAlignment, theming: ITheming) => string;
|
|
10
|
+
headingWrapper: (theming: ITheming, settings: BlockTitleSettings) => string;
|
|
10
11
|
};
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueComponentBase } from "../../../..";
|
|
2
2
|
import { IWebComponentInstance } from "../../../../..";
|
|
3
|
-
import { MultilingualString, TextAlignment } from "../../../../../models";
|
|
3
|
+
import { HeaderLevel, MultilingualString, TextAlignment } from "../../../../../models";
|
|
4
4
|
import { BlockTitleSettingsStore, DirectionRuleStore, MultilingualStore } from "../../../../../stores";
|
|
5
5
|
import { IBlockTitleComponent } from "./IBlockTitle";
|
|
6
6
|
import { BlockInstance } from "../../../../BlockInstance";
|
|
@@ -9,16 +9,20 @@ export declare class BlockTitleComponent extends VueComponentBase implements IWe
|
|
|
9
9
|
multilingualtitle: string | MultilingualString;
|
|
10
10
|
settingsKey: any;
|
|
11
11
|
alternativeContent?: JSX.Element;
|
|
12
|
+
wrapWithHeaderLevel?: (headerElement: JSX.Element) => JSX.Element;
|
|
12
13
|
multilingualStore: MultilingualStore;
|
|
13
14
|
blockTitleSettingsStore: BlockTitleSettingsStore;
|
|
14
15
|
blockInstance: BlockInstance;
|
|
15
16
|
directionStore: DirectionRuleStore;
|
|
16
17
|
private model;
|
|
18
|
+
private headerLevels;
|
|
17
19
|
mounted(): void;
|
|
18
20
|
onSectionUpdated(): void;
|
|
19
21
|
getFormatedTitleStringValue(title: string): string;
|
|
20
22
|
getFormattedTitleString(): string;
|
|
21
23
|
getTextAlignment(): TextAlignment;
|
|
22
24
|
renderBlockIcon(title: string): VueTsxSupport.JSX.Element;
|
|
25
|
+
renderTitle(title: string): VueTsxSupport.JSX.Element;
|
|
26
|
+
renderTitleWithHeaderLevel(heading: HeaderLevel, title: string): import("vue").VNode;
|
|
23
27
|
render(): VueTsxSupport.JSX.Element;
|
|
24
28
|
}
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/IBlockTitle.d.ts
CHANGED
|
@@ -4,7 +4,11 @@ export interface IBlockTitleComponent {
|
|
|
4
4
|
title?: string;
|
|
5
5
|
multilingualtitle?: MultilingualString | string;
|
|
6
6
|
settingsKey: any;
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Use wrapWithHeaderLevel instead.
|
|
9
|
+
*/
|
|
7
10
|
alternativeContent?: JSX.Element;
|
|
11
|
+
wrapWithHeaderLevel?: (headerElement: JSX.Element) => JSX.Element;
|
|
8
12
|
}
|
|
9
13
|
declare global {
|
|
10
14
|
namespace VueTsxSupport.JSX {
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Header.d.ts
CHANGED
|
@@ -4,11 +4,13 @@ import { VueComponentBase } from "@omnia/fx/ux";
|
|
|
4
4
|
export default class HeaderSectionItem extends VueComponentBase {
|
|
5
5
|
editorStore: LayoutCanvasStore;
|
|
6
6
|
private subscriptionHandler;
|
|
7
|
-
|
|
7
|
+
multilingualStore: MultilingualStore;
|
|
8
8
|
blockTitleSettingsStore: BlockTitleSettingsStore;
|
|
9
|
+
private localizationService;
|
|
9
10
|
private omniaUxLoc;
|
|
10
11
|
private section;
|
|
11
12
|
private model;
|
|
13
|
+
private headerLevels;
|
|
12
14
|
mounted(): void;
|
|
13
15
|
created(): void;
|
|
14
16
|
/**
|
|
@@ -16,6 +18,7 @@ export default class HeaderSectionItem extends VueComponentBase {
|
|
|
16
18
|
* */
|
|
17
19
|
private onSectionChange;
|
|
18
20
|
private onIconValueChanged;
|
|
21
|
+
private onHeaderLevelValueChanged;
|
|
19
22
|
private onHeaderValueChanged;
|
|
20
23
|
render(): VueTsxSupport.JSX.Element;
|
|
21
24
|
}
|
|
@@ -14,6 +14,7 @@ export declare class BlockCatalogStore extends Store {
|
|
|
14
14
|
onActivated(): void;
|
|
15
15
|
onDisposing(): void;
|
|
16
16
|
areItemsLoaded(): boolean;
|
|
17
|
+
getItems(): LayoutItemRegistration[];
|
|
17
18
|
getCategoriesForContainer(container: LayoutItem): Array<string>;
|
|
18
19
|
getItemsForContainer(container: LayoutItem): Array<LayoutItemRegistration>;
|
|
19
20
|
searchItemsForContainer(container: LayoutItem, searchText: string): Array<LayoutItemRegistration>;
|
|
@@ -21,7 +22,19 @@ export declare class BlockCatalogStore extends Store {
|
|
|
21
22
|
filterBlockRegistrationOnFeatureDependency(blockRegistration: BlockRegistration): boolean;
|
|
22
23
|
filterBlockRegistrationByBackendRuntimes(blockRegistration: BlockRegistration): boolean;
|
|
23
24
|
filterBlockRegistrationByClientRuntimes(blockRegistration: BlockRegistration): boolean;
|
|
24
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Validate if block is valid for layout provider.
|
|
27
|
+
* @param blockRegistration
|
|
28
|
+
* @param layoutProvider
|
|
29
|
+
* @returns
|
|
30
|
+
*/
|
|
31
|
+
filterBlockRegistrationOnLayoutDependency(blockRegistration: BlockRegistration, layoutProvider: string): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Validate if block is valid for current environment (backend/client runtime) and feature dependencies.
|
|
34
|
+
* @param block
|
|
35
|
+
* @returns
|
|
36
|
+
*/
|
|
37
|
+
isBlockValidForEnvironment(block: BlockRegistration): boolean;
|
|
25
38
|
filterBlockRegistrationByDisableAuth(blockRegistration: BlockRegistration): boolean;
|
|
26
39
|
/**
|
|
27
40
|
* Implementation of mutations
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Layout, LayoutEditorModes, LayoutItem, DisplayBreakPoint, LayoutItemActionState, SettingsPanelState, DisplayBreakPointSetting, DeleteItemFromLayoutPayLoad, AddItemToLayoutPayLoad, LayoutItemRegistration, LoadedLayout, ILayoutCanvasStore, LayoutCanvasModes, BlockRenderingModes, IBlockInstance, ILayoutSectionRenderer, GuidValue, Block, LayoutDrawerState, LayoutDrawerTabs, SectionSettings, SectionTypes, Section, LayoutInheritanceBehaviors, ThemeDefinition, ClipboardLayoutItem } from "../../../models";
|
|
1
|
+
import { Layout, LayoutEditorModes, LayoutItem, DisplayBreakPoint, LayoutItemActionState, SettingsPanelState, DisplayBreakPointSetting, DeleteItemFromLayoutPayLoad, AddItemToLayoutPayLoad, LayoutItemRegistration, LoadedLayout, ILayoutCanvasStore, LayoutCanvasModes, BlockRenderingModes, IBlockInstance, ILayoutSectionRenderer, GuidValue, Block, LayoutDrawerState, LayoutDrawerTabs, SectionSettings, SectionTypes, Section, LayoutInheritanceBehaviors, ThemeDefinition, ClipboardLayoutItem, BlockTemplate } from "../../../models";
|
|
2
2
|
import { EditorLayoutItemFactory } from "../factories";
|
|
3
3
|
import { LayoutEditorThemingManager } from "../shared";
|
|
4
4
|
import { BlockSettingsProvider, LayoutDefinitionBuilder } from "../shared";
|
|
@@ -105,6 +105,7 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
|
105
105
|
changeSectionType: import("../../../stores").StoreMutation<(section: Section, type: SectionTypes) => void, (section: Section<SectionSettings>, type: SectionTypes) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
106
106
|
copyItemInLayout: import("../../../stores").StoreMutation<(item2Copy: LayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => void, (item2Copy: LayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
107
107
|
insertClipboardItemIntoLayout: import("../../../stores").StoreMutation<(clipboard: ClipboardLayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => void, (clipboard: ClipboardLayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
108
|
+
insertBlockTemplateToLayout: import("../../../stores").StoreMutation<(blockTemplate: BlockTemplate, container: LayoutItem, siblingId?: string, postInsert?: boolean) => void, (blockTemplate: BlockTemplate, container: LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
108
109
|
addItem2Layout: import("../../../stores").StoreMutation<(itemreference: AddItemToLayoutPayLoad) => void, (itemreference: AddItemToLayoutPayLoad) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
109
110
|
deleteItemFromLayout: import("../../../stores").StoreMutation<(itemreference: DeleteItemFromLayoutPayLoad) => void, (itemreference: DeleteItemFromLayoutPayLoad) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
110
111
|
};
|
package/internal-do-not-import-from-here/ux/mediapickerproviders/apis/FileHandlerRegistration.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,15 +3,32 @@ import { IMyComputerProviderComponent } from "./IMyComputerProvider";
|
|
|
3
3
|
import { MyComputerProviderLocalization } from "./loc/localize";
|
|
4
4
|
import { OmniaTheming } from "../../OmniaTheming";
|
|
5
5
|
import { MultiSelectMediaProviderComponentBase } from "../mediaproviderbase/MultiSelectMediaProviderComponentBase";
|
|
6
|
+
import { OmniaUxLocalization } from "../..";
|
|
6
7
|
export declare class MyComputerProviderComponent extends MultiSelectMediaProviderComponentBase implements IWebComponentInstance, IMyComputerProviderComponent {
|
|
7
8
|
omniaTheming: OmniaTheming;
|
|
8
9
|
private subscriptionHandler;
|
|
9
10
|
locMyComputerProvider: MyComputerProviderLocalization.locInterface;
|
|
11
|
+
uxLoc: OmniaUxLocalization;
|
|
10
12
|
private PastingImageHandler;
|
|
13
|
+
private isLoading;
|
|
14
|
+
private fileHandlers;
|
|
15
|
+
private currentProvider;
|
|
16
|
+
private isUploading;
|
|
17
|
+
private progressPercentage;
|
|
18
|
+
private fileToUpload;
|
|
19
|
+
private extraFileToUpload;
|
|
20
|
+
private currentSettings;
|
|
21
|
+
private previewMedia;
|
|
22
|
+
private allowedFiles;
|
|
11
23
|
constructor();
|
|
12
24
|
created(): void;
|
|
13
25
|
mounted(): void;
|
|
26
|
+
private renderProviderButtons;
|
|
14
27
|
private onAddedFile;
|
|
28
|
+
private renderSettings;
|
|
29
|
+
private onUploadMedia;
|
|
30
|
+
private handleProviderHandledFile;
|
|
15
31
|
handleFile(media: File, pastingFile?: boolean): void;
|
|
32
|
+
private renderUploadProgress;
|
|
16
33
|
render(): VueTsxSupport.JSX.Element;
|
|
17
34
|
}
|
|
@@ -3,6 +3,7 @@ export declare const PersonFieldDisplayStyles: {
|
|
|
3
3
|
wrapper?: types.NestedCSSProperties;
|
|
4
4
|
userList?: types.NestedCSSProperties;
|
|
5
5
|
user?: types.NestedCSSProperties;
|
|
6
|
+
userItem?: types.NestedCSSProperties;
|
|
6
7
|
linkItem?: (textColor: string, fontSize?: string, disableHoverStyle?: boolean) => types.NestedCSSProperties;
|
|
7
8
|
smallBadge?: types.NestedCSSProperties;
|
|
8
9
|
};
|
|
@@ -23,7 +23,7 @@ export declare class OrganizationTreeComponent extends VueComponentBase<IOrganiz
|
|
|
23
23
|
beforeDestroy(): void;
|
|
24
24
|
mounted(): void;
|
|
25
25
|
needToBeRemoved(user: OrgTreeUser): boolean;
|
|
26
|
-
|
|
26
|
+
filterAccordingToSettings(tree: OrgTree): OrgTree;
|
|
27
27
|
reInitComponent(user: OrgTreeUser): void;
|
|
28
28
|
initComponent(): void;
|
|
29
29
|
camelize(str: any): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OmniaContext, IWebComponentInstance } from "@omnia/fx";
|
|
2
|
-
import { VueComponentBase, ScopedSlots } from "@omnia/fx/ux";
|
|
2
|
+
import { VueComponentBase, ScopedSlots, IdentitiesLocalization } from "@omnia/fx/ux";
|
|
3
3
|
import { IProfileCardScopedSlots, UserIdentity } from "../../models";
|
|
4
4
|
import { FeatureStore, ProfileCardStore } from "../../stores";
|
|
5
5
|
import { IProfileCard } from ".";
|
|
@@ -26,6 +26,7 @@ export declare class ProfileCardComponent extends VueComponentBase<IProfileCard>
|
|
|
26
26
|
featureStore: FeatureStore;
|
|
27
27
|
private userIdentityStore;
|
|
28
28
|
private focusStore;
|
|
29
|
+
identityLoc: IdentitiesLocalization.locInterface;
|
|
29
30
|
private profileClasses;
|
|
30
31
|
private tenantPeopleInfo;
|
|
31
32
|
private showLinkToDelve;
|
package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { IPropertyDisplayRenderer, IdentityPropertyDefinition } from "@omnia/fx-models";
|
|
1
2
|
import { IdentityDisplayStyles } from "./IdentityDisplay.css";
|
|
2
|
-
import { IdentityPropertyDefinition, IPropertyDisplayRenderer } from "@omnia/fx-models";
|
|
3
3
|
export type IdentityDisplayProps = IPropertyDisplayRenderer<IdentityPropertyDefinition> & {
|
|
4
4
|
styles: typeof IdentityDisplayStyles;
|
|
5
5
|
};
|
|
@@ -28,6 +28,7 @@ import wc20bd8ac81b314379a3676ca3b31c720e from './ux/app/management/components/T
|
|
|
28
28
|
import wc1476702e8f24468d9185322be5931c54 from './ux/app/management/tabs/shared/addbutton/AddButton';
|
|
29
29
|
import wc8e21d658d6f84d70870d29805b27df86 from './ux/appprovisioning/appshowinpubliclistingsinput/AppShowInPublicListingsInput';
|
|
30
30
|
import wce4889269c6ad440da65f3acdf5bb6152 from './ux/authsetup/AuthSetup';
|
|
31
|
+
import wcb5eb74ede439404b859e485f5f8e68e0 from './ux/blockgallery/admin/TenantBlockTemplateJourney';
|
|
31
32
|
import wc5dfa7b609aed43ffab03dad33c65b2da from './ux/commandpalette/CommandPalette';
|
|
32
33
|
import wc0fb46d84e95e4e04801878bec4b370cb from './ux/datetimefilterquery/DateTimeFilterQuery';
|
|
33
34
|
import wc90e26d3a6e3e4bf9bd1ce81c6735eda2 from './ux/datetimezonepicker/DateTimeZonePicker';
|
|
@@ -207,6 +208,7 @@ declare global {
|
|
|
207
208
|
"omfx-add-button": base.CombinedTsxComponentAttrs<typeof wc1476702e8f24468d9185322be5931c54.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
|
|
208
209
|
"omfx-app-show-in-public-listings-input": base.CombinedTsxComponentAttrs<typeof wc8e21d658d6f84d70870d29805b27df86.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
|
|
209
210
|
"omfx-authsetup": base.CombinedTsxComponentAttrs<typeof wce4889269c6ad440da65f3acdf5bb6152.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
|
|
211
|
+
"omfx-admin-blocktemplates": base.CombinedTsxComponentAttrs<typeof wcb5eb74ede439404b859e485f5f8e68e0.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
|
|
210
212
|
"omfx-command-palette": base.CombinedTsxComponentAttrs<typeof wc5dfa7b609aed43ffab03dad33c65b2da.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
|
|
211
213
|
"omfx-date-time-filter-query": base.CombinedTsxComponentAttrs<typeof wc0fb46d84e95e4e04801878bec4b370cb.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
|
|
212
214
|
"omfx-date-time-zone-picker": base.CombinedTsxComponentAttrs<typeof wc90e26d3a6e3e4bf9bd1ce81c6735eda2.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.9.0",
|
|
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": "Omnia Digital Workplace AB",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@omnia/fx-models": "7.
|
|
23
|
+
"@omnia/fx-models": "7.9.0",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"prosemirror-schema-list": "1.0.4",
|
|
49
49
|
"vue-property-decorator": "8.3.0",
|
|
50
50
|
"vue-class-component": "7.1.0",
|
|
51
|
-
"axios": "0.
|
|
51
|
+
"axios": "0.30.0",
|
|
52
52
|
"mousetrap": "1.6.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {},
|