@omnia/fx 7.9.23-preview → 7.9.23
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 +2 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
- package/internal-do-not-import-from-here/services/BusinessProfileService.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 +2 -1
- package/internal-do-not-import-from-here/spfx/components/SpfxCustomizeStyle.d.ts +5 -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/AnchorLink.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/TokenBasedRouter.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +23 -4
- package/internal-do-not-import-from-here/ux/VueTags.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/actionhandler/ActionHandler.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/admin/chrome/AdminChrome.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/analytics/metric/Metric.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/authenticationchecker/AuthenticationChecker.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/authsetup/AuthSetupConfirm.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/authsetup/loc/localize.d.ts +2 -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/store/BlockGalleryStore.d.ts +25 -10
- package/internal-do-not-import-from-here/ux/blockgallery/style/General.d.ts +1 -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/languagepicker/ILanguagePicker.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/languagepicker/LanguagePicker.d.ts +6 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutItemselector/AddContentDialog.d.ts +2 -2
- 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 +6 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/IBlockTitle.d.ts +5 -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/shared/layoutitemsdesigner/StepperSectionDesigner.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/styles/SharedRendererStyles.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/BlockCatalogStore.d.ts +13 -1
- package/internal-do-not-import-from-here/ux/mediapickerproviders/Youtube/YouTubeProvider.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/mediaflow/models/MediaflowMedia.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/mediaproviderbase/GridViewMediaProviderComponent.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/mediapickervideo/MediaPickerVideo.css.d.ts +2 -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 -1
- package/internal-do-not-import-from-here/ux/profilecard/ProfileCard.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/settings/ISettingsPane.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/settings/SettingsPane.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/settings/SettingsPane.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/social/templates/CommentLikeTemplate.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/vuetify/index.d.ts +0 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +2 -0
- package/package.json +4 -4
|
@@ -3,7 +3,6 @@ export declare const VCardActionsTag = "v-card-actions";
|
|
|
3
3
|
export declare const VCardMediaTag = "v-card-media";
|
|
4
4
|
export declare const VCardTextTag = "v-card-text";
|
|
5
5
|
export declare const VCardTitleTag = "v-card-title";
|
|
6
|
-
export declare const VCardSubtitleTag = "v-card-subtitle";
|
|
7
6
|
export declare const VAlertTag = "v-alert";
|
|
8
7
|
export declare const VAppTag = "v-app";
|
|
9
8
|
export declare const VAvatarTag = "v-avatar";
|
|
@@ -34,7 +34,7 @@ export interface IActionRegistrationApi {
|
|
|
34
34
|
}
|
|
35
35
|
export declare abstract class ActionHandlerBase<TSettings extends IActionHandlerSettings = IActionHandlerSettings> implements IActionHandlerInstanceProperties<TSettings> {
|
|
36
36
|
abstract onActivated(): void | Promise<void>;
|
|
37
|
-
abstract onTriggered(renderingCallback: (elementName: string, themeTargetId?: string, domProps?: Object) => void): any;
|
|
37
|
+
abstract onTriggered(renderingCallback: (elementName: string, themeTargetId?: string, domProps?: Object) => void, setFocusedElementCallback?: () => Promise<HTMLElement>): any;
|
|
38
38
|
abstract onDisposing(): any;
|
|
39
39
|
customTextColor?(settings: IActionHandlerSettings): string;
|
|
40
40
|
customBackgroundColor?(settings: IActionHandlerSettings): string;
|
|
@@ -88,7 +88,7 @@ export declare class ActionHandlerInstance implements IActionHandlerInstance {
|
|
|
88
88
|
private _disposedMessage;
|
|
89
89
|
private _initialized;
|
|
90
90
|
initialized(): void | Promise<void>;
|
|
91
|
-
triggered(renderingCallback: (elementName: string, themeTargetId?: string, domProps?: Object) => void): void;
|
|
91
|
+
triggered(renderingCallback: (elementName: string, themeTargetId?: string, domProps?: Object) => void, setFocusedElementCallback?: () => Promise<HTMLElement>): void;
|
|
92
92
|
customTextColor(): string;
|
|
93
93
|
customBackgroundColor(): string;
|
|
94
94
|
dispose(): void;
|
|
@@ -32,6 +32,10 @@ export default class AdminChromeComponent extends VueComponentBase implements IW
|
|
|
32
32
|
private checkGlobalPermissionResolvablePromise;
|
|
33
33
|
private checkedNodePermissionState;
|
|
34
34
|
private nodeReactiveStates;
|
|
35
|
+
private userAccessibilitySettings;
|
|
36
|
+
private hiddenFocusableElementStyle;
|
|
37
|
+
private appBarNavIconRef;
|
|
38
|
+
private hiddenFocusableEndRef;
|
|
35
39
|
beforeCreate(): void;
|
|
36
40
|
created(): void;
|
|
37
41
|
mounted(): void;
|
|
@@ -53,6 +57,7 @@ export default class AdminChromeComponent extends VueComponentBase implements IW
|
|
|
53
57
|
private handleScroll;
|
|
54
58
|
private renderAppBar;
|
|
55
59
|
private getValidNodes;
|
|
60
|
+
private onFocusTrap;
|
|
56
61
|
render(): VueTsxSupport.JSX.Element;
|
|
57
62
|
renderListItem(selectedNode: NavigationNode, node: NavigationNode): VueTsxSupport.JSX.Element;
|
|
58
63
|
renderCategory(validNodes: NavigationNode[], category: AdminNavCategory, selectedNode: NavigationNode): VueTsxSupport.JSX.Element;
|
|
@@ -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;
|
package/internal-do-not-import-from-here/ux/authenticationchecker/AuthenticationChecker.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
|
-
import { IWebComponentInstance } from "../..";
|
|
2
|
+
import { IWebComponentInstance, OmniaContext } from "../..";
|
|
3
3
|
import { SubscriptionHandler } from "../../core";
|
|
4
4
|
import { AuthenticationCheckerLocalization } from "./loc/localize";
|
|
5
5
|
import { SharePointContext } from "../../sp";
|
|
@@ -7,6 +7,7 @@ export declare class AuthenticationChecker extends Vue implements IWebComponentI
|
|
|
7
7
|
static alreadyRenderedOneInstance: boolean;
|
|
8
8
|
subscriptionHandler: SubscriptionHandler;
|
|
9
9
|
sharePointContext: SharePointContext;
|
|
10
|
+
omniaContext: OmniaContext;
|
|
10
11
|
private httpClient;
|
|
11
12
|
loc: AuthenticationCheckerLocalization.locInterface;
|
|
12
13
|
authValidationApi: string;
|
|
@@ -17,6 +18,7 @@ export declare class AuthenticationChecker extends Vue implements IWebComponentI
|
|
|
17
18
|
show: boolean;
|
|
18
19
|
mounted(): void;
|
|
19
20
|
init(): void;
|
|
21
|
+
preventScrollingOnce(): void;
|
|
20
22
|
validateAuthStatus(enableCircuitBreaker?: () => void): void;
|
|
21
23
|
render(): VueTsxSupport.JSX.Element;
|
|
22
24
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./AuthSetup.css";
|
|
2
|
+
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>> & {
|
|
3
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<unknown, never>;
|
|
4
|
+
}) | (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>> & {
|
|
5
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<unknown, never>;
|
|
6
|
+
});
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BlockDialogLayoutInfo, BlockGalleryDialogLayoutSetting, BlockGalleryGeneralSetting, BlockGalleryHeader, BlockGalleryItem, BlockGalleryItemView, BlockTemplate, MultilingualString } from "@omnia/fx-models";
|
|
2
|
+
import { LocalizationService, SettingsService } from "@omnia/fx/services";
|
|
2
3
|
import { MultilingualStore, Store } from "@omnia/fx/stores";
|
|
4
|
+
import { OmniaUxLocalization } from "../../UxModels";
|
|
3
5
|
import { BlockCatalogStore } from "../../layoutcanvas";
|
|
4
|
-
import
|
|
6
|
+
import * as _ from "lodash";
|
|
7
|
+
export { _ };
|
|
5
8
|
export declare class BlockGalleryStore extends Store {
|
|
6
9
|
blockCatalogStore: BlockCatalogStore;
|
|
7
10
|
multilingualStore: MultilingualStore;
|
|
8
11
|
settingsService: SettingsService<any>;
|
|
9
12
|
localizationService: LocalizationService;
|
|
13
|
+
uxLoc: OmniaUxLocalization;
|
|
10
14
|
private blockTemplateService;
|
|
11
15
|
private omniaBlocks;
|
|
12
16
|
private ensureInitAdminView;
|
|
@@ -25,7 +29,9 @@ export declare class BlockGalleryStore extends Store {
|
|
|
25
29
|
private spfxBlocks;
|
|
26
30
|
private initSpfxDictionary;
|
|
27
31
|
private layoutBlockSettingForRender;
|
|
28
|
-
|
|
32
|
+
private dialogLayouts;
|
|
33
|
+
private registeredDialogLayoutProviders;
|
|
34
|
+
protected onActivated(): Promise<void>;
|
|
29
35
|
getters: {
|
|
30
36
|
blocks: () => {
|
|
31
37
|
[id: string]: BlockGalleryItemView;
|
|
@@ -34,14 +40,17 @@ export declare class BlockGalleryStore extends Store {
|
|
|
34
40
|
[id: string]: BlockGalleryItemView;
|
|
35
41
|
};
|
|
36
42
|
header: (headerId: string) => BlockGalleryHeader;
|
|
37
|
-
blockGalleryLayoutSetting: (layoutType:
|
|
43
|
+
blockGalleryLayoutSetting: (layoutType: string) => BlockGalleryDialogLayoutSetting;
|
|
38
44
|
orderedItems: () => BlockGalleryItem[];
|
|
39
45
|
orderedItemTitle: (blockId: string) => string;
|
|
40
46
|
editingHeaderId: () => string;
|
|
41
47
|
editingTemplateId: () => number;
|
|
42
48
|
isBlockDialogInAlterMode: () => boolean;
|
|
43
|
-
editingDialogLayoutType: () =>
|
|
49
|
+
editingDialogLayoutType: () => string;
|
|
50
|
+
dialogLayouts: () => BlockDialogLayoutInfo[];
|
|
51
|
+
getDialogLayoutType: (layoutProvider: string) => string;
|
|
44
52
|
};
|
|
53
|
+
private isCompatibleWithAuthenticationLayoutOnly;
|
|
45
54
|
private isBlockValidForLayout;
|
|
46
55
|
mutations: {
|
|
47
56
|
addSelectedBlocks: import("@omnia/fx/stores").StoreMutation<(selectedBlockIds: Array<string>) => void, (selectedBlockIds: string[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
@@ -58,22 +67,28 @@ export declare class BlockGalleryStore extends Store {
|
|
|
58
67
|
switchToTemplateAddMode: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
59
68
|
switchBlockDialogToAlterMode: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
60
69
|
switchOffBlockDialogAlterMode: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
61
|
-
setEditingDialogLayout: import("@omnia/fx/stores").StoreMutation<(dialogLayoutType:
|
|
70
|
+
setEditingDialogLayout: import("@omnia/fx/stores").StoreMutation<(dialogLayoutType: string) => void, (dialogLayoutType: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
62
71
|
};
|
|
63
72
|
actions: {
|
|
64
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>>;
|
|
65
|
-
ensureLoadAllBlocksForRender: import("@omnia/fx/stores").StoreAction<unknown, (layoutType:
|
|
66
|
-
getOmniaBlocks: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
67
|
-
getBlockDialogSettings: import("@omnia/fx/stores").StoreAction<unknown, (layoutType: BlockDialogLayoutType) => void, (result: void, layoutType: BlockDialogLayoutType) => void, (failureReason: any, layoutType: BlockDialogLayoutType) => void, (layoutType: BlockDialogLayoutType) => 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>>;
|
|
68
75
|
updateBlockDialogSettings: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
69
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>>;
|
|
70
78
|
ensureGeneralSetting: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: BlockGalleryGeneralSetting) => void, (failureReason: any) => void, () => Promise<BlockGalleryGeneralSetting>>;
|
|
71
79
|
};
|
|
80
|
+
private ensureOmniaBlocks;
|
|
81
|
+
private loadBlockDialogSettings;
|
|
82
|
+
private ensureDefaultBlocksIfDialogLayoutIsEmpty;
|
|
83
|
+
private getIdOfLayoutItemRegistrationBlock;
|
|
84
|
+
private insertDefaultHeader;
|
|
85
|
+
private insertDefaultBlocks;
|
|
72
86
|
private ensureSpfxBlockDictionary;
|
|
73
|
-
private
|
|
87
|
+
private loadBlockTemplateViews;
|
|
74
88
|
private getLayoutBlockSettingKey;
|
|
75
89
|
private loadConfiguredBlockTemplates;
|
|
76
90
|
private getBlockTemplateIdFromGalleryItem;
|
|
77
91
|
private updateBlockDictionary;
|
|
78
92
|
private updateBlockDictionaryItem;
|
|
93
|
+
private getDialogLayoutProviders;
|
|
79
94
|
}
|
|
@@ -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;
|
|
@@ -20,15 +20,16 @@ export interface ILanguagePicker {
|
|
|
20
20
|
/**Make it clearable*/
|
|
21
21
|
clearable?: boolean;
|
|
22
22
|
/**Language model */
|
|
23
|
-
valueBind: Language;
|
|
23
|
+
valueBind: Language | Language[];
|
|
24
24
|
/**On model change */
|
|
25
|
-
onValueChanged?: (language: Language) => void;
|
|
25
|
+
onValueChanged?: (language: Language | Language[]) => void;
|
|
26
26
|
/**Scoped slots */
|
|
27
27
|
scopedSlots?: ScopedSlots<IVSelectScopedSlots>;
|
|
28
28
|
/**Custom styles by StyleFlow */
|
|
29
29
|
styles?: typeof LanguagePickerStyles;
|
|
30
30
|
/**On load language */
|
|
31
31
|
loadLanguage?: () => Promise<Array<Language>>;
|
|
32
|
+
multiple?: boolean;
|
|
32
33
|
}
|
|
33
34
|
declare global {
|
|
34
35
|
namespace VueTsxSupport.JSX {
|
|
@@ -5,10 +5,10 @@ import { Language } from "../../models";
|
|
|
5
5
|
import { ScopedSlots, LanguagePickerStyles } from "..";
|
|
6
6
|
import { IVSelectScopedSlots } from "../vuetify";
|
|
7
7
|
export declare class LanguagePicker extends Vue implements IWebComponentInstance, ILanguagePicker {
|
|
8
|
-
valueBind: Language;
|
|
8
|
+
valueBind: Language | Language[];
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
label?: string;
|
|
11
|
-
onValueChanged?: (language: Language) => void;
|
|
11
|
+
onValueChanged?: (language: Language | Language[]) => void;
|
|
12
12
|
filled?: boolean;
|
|
13
13
|
hideDetails?: boolean;
|
|
14
14
|
dark?: boolean;
|
|
@@ -18,6 +18,7 @@ export declare class LanguagePicker extends Vue implements IWebComponentInstance
|
|
|
18
18
|
enableContextSettings?: boolean;
|
|
19
19
|
loadLanguage?: () => Promise<Array<Language>>;
|
|
20
20
|
clearable?: boolean;
|
|
21
|
+
multiple?: boolean;
|
|
21
22
|
scopedSlots?: ScopedSlots<IVSelectScopedSlots>;
|
|
22
23
|
styles?: typeof LanguagePickerStyles;
|
|
23
24
|
private localizationService;
|
|
@@ -34,10 +35,13 @@ export declare class LanguagePicker extends Vue implements IWebComponentInstance
|
|
|
34
35
|
created(): void;
|
|
35
36
|
mounted(): void;
|
|
36
37
|
beforeDestroy(): void;
|
|
38
|
+
get getValues(): Language[];
|
|
37
39
|
private setLanguages;
|
|
38
40
|
private loadLanguageFromCustomHandler;
|
|
39
41
|
private loadAllLanguages;
|
|
42
|
+
private normalizeLanguageValue;
|
|
40
43
|
private populateModel;
|
|
44
|
+
private findLanguages;
|
|
41
45
|
private updateSelectedLanguage;
|
|
42
46
|
render(): VueTsxSupport.JSX.Element;
|
|
43
47
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LayoutItem, LayoutItemRegistration
|
|
1
|
+
import { LayoutItem, LayoutItemRegistration } from "@omnia/fx-models";
|
|
2
2
|
declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default, {}, import("vue-tsx-support").PropsForOutside<{
|
|
3
3
|
visible: boolean;
|
|
4
4
|
closeEvent: () => void;
|
|
@@ -7,6 +7,6 @@ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").
|
|
|
7
7
|
filterValidBlock: (item: LayoutItemRegistration) => boolean;
|
|
8
8
|
siblingId: string;
|
|
9
9
|
postInsert: boolean;
|
|
10
|
-
blockDialogLayoutType:
|
|
10
|
+
blockDialogLayoutType: string;
|
|
11
11
|
}, "visible" | "closeEvent" | "selectBlockEvent">, any, any, any>;
|
|
12
12
|
export default _default;
|
|
@@ -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,21 @@ 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;
|
|
13
|
+
contentClass?: string;
|
|
12
14
|
multilingualStore: MultilingualStore;
|
|
13
15
|
blockTitleSettingsStore: BlockTitleSettingsStore;
|
|
14
16
|
blockInstance: BlockInstance;
|
|
15
17
|
directionStore: DirectionRuleStore;
|
|
16
18
|
private model;
|
|
19
|
+
private headerLevels;
|
|
17
20
|
mounted(): void;
|
|
18
21
|
onSectionUpdated(): void;
|
|
19
22
|
getFormatedTitleStringValue(title: string): string;
|
|
20
23
|
getFormattedTitleString(): string;
|
|
21
24
|
getTextAlignment(): TextAlignment;
|
|
22
25
|
renderBlockIcon(title: string): VueTsxSupport.JSX.Element;
|
|
26
|
+
renderTitle(title: string): VueTsxSupport.JSX.Element;
|
|
27
|
+
renderTitleWithHeaderLevel(heading: HeaderLevel, title: string): import("vue").VNode;
|
|
23
28
|
render(): VueTsxSupport.JSX.Element;
|
|
24
29
|
}
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/IBlockTitle.d.ts
CHANGED
|
@@ -4,7 +4,12 @@ export interface IBlockTitleComponent {
|
|
|
4
4
|
title?: string;
|
|
5
5
|
multilingualtitle?: MultilingualString | string;
|
|
6
6
|
settingsKey: any;
|
|
7
|
+
contentClass?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use wrapWithHeaderLevel instead.
|
|
10
|
+
*/
|
|
7
11
|
alternativeContent?: JSX.Element;
|
|
12
|
+
wrapWithHeaderLevel?: (headerElement: JSX.Element) => JSX.Element;
|
|
8
13
|
}
|
|
9
14
|
declare global {
|
|
10
15
|
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
|
}
|
|
@@ -28,6 +28,8 @@ export declare class StepperSectionDesigner extends VueComponentBase<StepperSect
|
|
|
28
28
|
created(): void;
|
|
29
29
|
beforeDestroy(): void;
|
|
30
30
|
private hasValidAnchorLinkSettings;
|
|
31
|
+
private handleTokenExistsOnSpfx;
|
|
32
|
+
private getIndexByAnchorName;
|
|
31
33
|
private handleAnchorLink;
|
|
32
34
|
private getDefaultLabel;
|
|
33
35
|
private getPreferredLabel;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/shared/styles/SharedRendererStyles.css.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export declare const SharedRendererStyles: {
|
|
|
32
32
|
columnWrapper: string;
|
|
33
33
|
backgroundWrapperImage: string;
|
|
34
34
|
getStyleStringForTitle: (settings: SectionSettings) => string;
|
|
35
|
+
getTitleContentClass: (settings: SectionSettings) => string;
|
|
35
36
|
adjustScrollCompensation: (extra: number) => void;
|
|
36
37
|
getStylesFromSettings: (settings: SectionSettings, useScrollMargingFix: boolean) => string;
|
|
37
38
|
getStylesForSpacingInContainer(sectionSettings: SectionSettings, fullHeight: boolean): string;
|
|
@@ -22,7 +22,19 @@ export declare class BlockCatalogStore extends Store {
|
|
|
22
22
|
filterBlockRegistrationOnFeatureDependency(blockRegistration: BlockRegistration): boolean;
|
|
23
23
|
filterBlockRegistrationByBackendRuntimes(blockRegistration: BlockRegistration): boolean;
|
|
24
24
|
filterBlockRegistrationByClientRuntimes(blockRegistration: BlockRegistration): boolean;
|
|
25
|
-
|
|
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;
|
|
26
38
|
filterBlockRegistrationByDisableAuth(blockRegistration: BlockRegistration): boolean;
|
|
27
39
|
/**
|
|
28
40
|
* Implementation of mutations
|
package/internal-do-not-import-from-here/ux/mediapickerproviders/Youtube/YouTubeProvider.d.ts
CHANGED
|
@@ -46,6 +46,7 @@ export declare class YouTubeProviderComponent extends MultiSelectMediaProviderCo
|
|
|
46
46
|
private getStartTimeAsSeconds;
|
|
47
47
|
private processResponsiveIframe;
|
|
48
48
|
private updateVideoState;
|
|
49
|
+
private waitForIframeLoad;
|
|
49
50
|
private saveYoutubeResult;
|
|
50
51
|
private renderVideoIframe;
|
|
51
52
|
private renderResponsiveVideoIframe;
|
|
@@ -47,6 +47,7 @@ export declare abstract class GridViewMediaProviderComponent extends MultiSelect
|
|
|
47
47
|
private noMoreResult;
|
|
48
48
|
private gridViewStyles;
|
|
49
49
|
private isLoadingMore;
|
|
50
|
+
private isAppendingMoreItems;
|
|
50
51
|
constructor();
|
|
51
52
|
protected selectGridItem(mediaItem: ImageItem | VideoItem): void;
|
|
52
53
|
protected setAllItems(mediaItems: Array<ImageItem | VideoItem>): void;
|
|
@@ -59,6 +60,7 @@ export declare abstract class GridViewMediaProviderComponent extends MultiSelect
|
|
|
59
60
|
private onGridViewSearch;
|
|
60
61
|
private appendGridItems;
|
|
61
62
|
private onGridViewScroll;
|
|
63
|
+
private hasUnrenderedItems;
|
|
62
64
|
private renderRetryGetImageInfoDialog;
|
|
63
65
|
private renderGridViewItemSelection;
|
|
64
66
|
private closeRetryGetImageInfoDialog;
|
|
@@ -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;
|
|
@@ -4,7 +4,7 @@ export declare module PermissionInputLocalization {
|
|
|
4
4
|
PermissionMsg: string;
|
|
5
5
|
TenantAdmin: string;
|
|
6
6
|
DirectoryReader: string;
|
|
7
|
-
|
|
7
|
+
BlockGalleryEditor: string;
|
|
8
8
|
SemanticSearchReader: string;
|
|
9
9
|
AddTenantAdminByFreeText: {
|
|
10
10
|
InputLabel: 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;
|
|
@@ -35,6 +36,7 @@ export declare class ProfileCardComponent extends VueComponentBase<IProfileCard>
|
|
|
35
36
|
created(): void;
|
|
36
37
|
beforeDestroy(): void;
|
|
37
38
|
hasSlot(): boolean;
|
|
39
|
+
ensureUserObject(): void;
|
|
38
40
|
mounted(): void;
|
|
39
41
|
private isUseTheExistingProfileCard;
|
|
40
42
|
onOpenDialog(): void;
|
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
|
};
|