@omnia/workplace 7.0.11-dev → 7.0.14-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal-do-not-import-from-here/core/messaging/InternalWorkplaceTopics.d.ts +1 -6
- package/internal-do-not-import-from-here/core/messaging/WorkplaceTopics.d.ts +2 -10
- package/internal-do-not-import-from-here/core/utils/Utils.d.ts +0 -1
- package/internal-do-not-import-from-here/models/Constants.d.ts +0 -4
- package/internal-do-not-import-from-here/models/Constants.js +0 -4
- package/internal-do-not-import-from-here/models/ManifestIds.d.ts +0 -7
- package/internal-do-not-import-from-here/models/ManifestIds.js +0 -7
- package/internal-do-not-import-from-here/models/NotificationPanel.d.ts +2 -2
- package/internal-do-not-import-from-here/models/apps/TeamCollaborationAppTemplate.d.ts +0 -9
- package/internal-do-not-import-from-here/models/apps/index.d.ts +0 -1
- package/internal-do-not-import-from-here/models/apps/index.js +0 -1
- package/internal-do-not-import-from-here/models/index.d.ts +0 -1
- package/internal-do-not-import-from-here/models/index.js +0 -1
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestProvider.d.ts +2 -2
- package/internal-do-not-import-from-here/models/styles/WorkplaceSharedStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/TeamworkContext.d.ts +2 -2
- package/package.json +1 -1
- package/internal-do-not-import-from-here/models/SearchAdminSettingsSection.d.ts +0 -28
- package/internal-do-not-import-from-here/models/SearchAdminSettingsSection.js +0 -2
- package/internal-do-not-import-from-here/models/apps/OfficeNamingPolicyValidationResult.d.ts +0 -28
- package/internal-do-not-import-from-here/models/apps/OfficeNamingPolicyValidationResult.js +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MessageBusTopicMediator } from "@omnia/fx";
|
|
2
2
|
import { IMessageBusTopicPublishSubscriber } from "@omnia/fx-models";
|
|
3
|
-
import { ActionMenuExportationMsg, RegisterActionMenuItemMsg, RegisterSearchTemplateRendererMsg, RegisterNotificationPanelComponent,
|
|
3
|
+
import { ActionMenuExportationMsg, RegisterActionMenuItemMsg, RegisterSearchTemplateRendererMsg, RegisterNotificationPanelComponent, HeaderSettingsSection, MyTaskItemProcessor, TutorialProvider } from "../../models";
|
|
4
4
|
import { PeopleRollupViewRegistration } from "../../../models";
|
|
5
5
|
import { SendUserProfilePropertyFeedbackMessage } from "../../../models/userprofilecompletion/Messages";
|
|
6
6
|
export declare class InternalWorkplaceTopics {
|
|
@@ -11,11 +11,6 @@ export declare class InternalWorkplaceTopics {
|
|
|
11
11
|
static get actionMenuExportationTopic(): MessageBusTopicMediator<ActionMenuExportationMsg>;
|
|
12
12
|
static get registerSearchTemplateRenderer(): IMessageBusTopicPublishSubscriber<RegisterSearchTemplateRendererMsg>;
|
|
13
13
|
static get registerNotificationPanelControl(): IMessageBusTopicPublishSubscriber<RegisterNotificationPanelComponent>;
|
|
14
|
-
static get registerNotificationProvider(): IMessageBusTopicPublishSubscriber<RegisterNotificationProvider>;
|
|
15
|
-
static get registerNewDataNotification(): IMessageBusTopicPublishSubscriber<NewDataNotificationMsg>;
|
|
16
|
-
static notificationPanelContainerVisible(settingsKey: string): IMessageBusTopicPublishSubscriber<NotificationPanelContainerVisible>;
|
|
17
|
-
static controlStatusInNotificationPanel(settingsKey: string): IMessageBusTopicPublishSubscriber<ControlStatusInNotificationMsg>;
|
|
18
|
-
static controlInNotification(controlId: string): IMessageBusTopicPublishSubscriber<ControlInNotificationMsg>;
|
|
19
14
|
static get registerTutorialProvider(): MessageBusTopicMediator<TutorialProvider>;
|
|
20
15
|
static get enableMSTeamsDeepLinkExecution(): IMessageBusTopicPublishSubscriber<boolean>;
|
|
21
16
|
static get registerPeopleRollupView(): IMessageBusTopicPublishSubscriber<PeopleRollupViewRegistration>;
|
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
import { IMessageBusTopicPublishSubscriber,
|
|
2
|
-
import {
|
|
3
|
-
import { MyTaskItemProcessor, RegisterActionMenuItemMsg, ActionMenuExportationMsg, RegisterSearchTemplateRendererMsg, ControlInNotificationMsg, HeaderSettingsSection, ControlStatusInNotificationMsg, TutorialProvider, TenantAdminSettingsSection, BusinessProfileSettingsSection, TenantAdminHeaderSettingSection } from "../../models";
|
|
1
|
+
import { IMessageBusTopicPublishSubscriber, SecretRegistrationMsg, RichTextEditorExtensionMessage } from "@omnia/fx/models";
|
|
2
|
+
import { MyTaskItemProcessor, RegisterActionMenuItemMsg, ActionMenuExportationMsg, RegisterSearchTemplateRendererMsg, HeaderSettingsSection, TutorialProvider, TenantAdminSettingsSection, BusinessProfileSettingsSection, TenantAdminHeaderSettingSection } from "../../models";
|
|
4
3
|
export declare const AdminNamespace = "omnia.workplace.admin.core.messaging";
|
|
5
4
|
export declare class Topics {
|
|
6
5
|
static get registerActionMenuTopic(): IMessageBusTopicPublishSubscriber<RegisterActionMenuItemMsg>;
|
|
7
6
|
static get actionMenuExportationTopic(): IMessageBusTopicPublishSubscriber<ActionMenuExportationMsg>;
|
|
8
7
|
static get registerSearchTemplateRenderer(): IMessageBusTopicPublishSubscriber<RegisterSearchTemplateRendererMsg>;
|
|
9
|
-
static get NotificationPanel(): {
|
|
10
|
-
registerNotificationPanelControl: IMessageBusTopicPublishSubscriber<import("../../models").RegisterNotificationPanelComponent>;
|
|
11
|
-
registerNotificationProvider: IMessageBusTopicPublishSubscriber<import("../../models").RegisterNotificationProvider>;
|
|
12
|
-
newDataNotification: MessageBusExposeOnlyPublication<import("../../models").NewDataNotificationMsg>;
|
|
13
|
-
controlStatusInNotificationPanel(settingsKey: string): IMessageBusTopicSubscription<ControlStatusInNotificationMsg>;
|
|
14
|
-
controlInNotification(controlId: string): IMessageBusTopicSubscription<ControlInNotificationMsg>;
|
|
15
|
-
};
|
|
16
8
|
static get registerHeaderSettings(): IMessageBusTopicPublishSubscriber<HeaderSettingsSection>;
|
|
17
9
|
static get registerMyTaskItemProcessor(): IMessageBusTopicPublishSubscriber<MyTaskItemProcessor>;
|
|
18
10
|
static get registerTutorialProvider(): IMessageBusTopicPublishSubscriber<TutorialProvider>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MicrosoftTeams } from "@omnia/fx-msteams";
|
|
2
2
|
import * as tsx from "vue-tsx-support";
|
|
3
3
|
export declare class WorkPlaceUtils {
|
|
4
|
-
static truncate: (str: string, n: number, useWordBoundary: boolean) => string;
|
|
5
4
|
static isSupportedByOfficeWebApp: (documentUrl: string) => boolean;
|
|
6
5
|
static getFileIconNameByExtension: (extension: string) => string;
|
|
7
6
|
static fixUrl: (url: string) => string;
|
|
@@ -102,10 +102,6 @@ var WorkspaceApp;
|
|
|
102
102
|
}
|
|
103
103
|
AppTemplateInfo.id = new fx_models_1.Guid("1ff049ac-bf98-4533-913a-450bcd0d7550");
|
|
104
104
|
WorkspaceApp.AppTemplateInfo = AppTemplateInfo;
|
|
105
|
-
/***
|
|
106
|
-
* @deprecated Removed in 7.0
|
|
107
|
-
* */
|
|
108
|
-
WorkspaceApp.appRoutePrefix = "_wp";
|
|
109
105
|
class ux {
|
|
110
106
|
}
|
|
111
107
|
ux.navBarVListColorClass = "wp-navbar-v-list";
|
|
@@ -99,13 +99,6 @@ export declare class ResourceManifests {
|
|
|
99
99
|
static get UserProfileCardEditingHandlerRegistration(): Guid;
|
|
100
100
|
static get ActionButtonSignOffRequestHandler(): Guid;
|
|
101
101
|
static get ActionButtonSignOffRequestHandlerRegistration(): Guid;
|
|
102
|
-
/**
|
|
103
|
-
* @deprecated this will be removed in 7.0
|
|
104
|
-
*/
|
|
105
|
-
static get AppTemplateWizardStore(): Guid;
|
|
106
|
-
/**
|
|
107
|
-
* @deprecated this will be removed in 7.0
|
|
108
|
-
*/
|
|
109
102
|
static get TeamworkAppTemplateWizardStore(): Guid;
|
|
110
103
|
static get SearchConfigStore(): Guid;
|
|
111
104
|
static get OmniaLanguagesComponentStore(): Guid;
|
|
@@ -106,13 +106,6 @@ class ResourceManifests {
|
|
|
106
106
|
static get UserProfileCardEditingHandlerRegistration() { return new fx_models_1.Guid("2411590a-62da-4203-af50-9f514089c126"); }
|
|
107
107
|
static get ActionButtonSignOffRequestHandler() { return new fx_models_1.Guid("2675e44e-dd92-4784-a5bc-2b4c8d060589"); }
|
|
108
108
|
static get ActionButtonSignOffRequestHandlerRegistration() { return new fx_models_1.Guid("735da897-1665-42e6-9b30-60e978198ef8"); }
|
|
109
|
-
/**
|
|
110
|
-
* @deprecated this will be removed in 7.0
|
|
111
|
-
*/
|
|
112
|
-
static get AppTemplateWizardStore() { return new fx_models_1.Guid("dc78c1f2-3fb6-4cc7-9552-b2f0b6b54dc0"); }
|
|
113
|
-
/**
|
|
114
|
-
* @deprecated this will be removed in 7.0
|
|
115
|
-
*/
|
|
116
109
|
static get TeamworkAppTemplateWizardStore() { return new fx_models_1.Guid("1f1b347e-2057-4435-97c6-e802f9680221"); }
|
|
117
110
|
static get SearchConfigStore() { return new fx_models_1.Guid("161b21f8-f942-41e1-b05e-09f1dcde4047"); }
|
|
118
111
|
static get OmniaLanguagesComponentStore() { return new fx_models_1.Guid("7be65e8d-34b7-4a61-bd8e-ea46577aef72"); }
|
|
@@ -97,7 +97,7 @@ export interface NotificationPanelComponentModel {
|
|
|
97
97
|
settingsValue?: any;
|
|
98
98
|
id: Guid;
|
|
99
99
|
}
|
|
100
|
-
export interface
|
|
100
|
+
export interface IBlockInstanceInNotificationPanel {
|
|
101
101
|
readonly visibled: boolean;
|
|
102
102
|
readonly viewedNewItems: string[];
|
|
103
103
|
registerNewItems(ids: string[]): void;
|
|
@@ -107,6 +107,6 @@ export interface INotificationPanelBlockInstance {
|
|
|
107
107
|
export declare const notificationPanelLayoutProvider = "notificationpanel";
|
|
108
108
|
declare module "@omnia/fx-models/Layout" {
|
|
109
109
|
interface IBlockInstance<TSettings = void> {
|
|
110
|
-
notificationPanel:
|
|
110
|
+
notificationPanel: IBlockInstanceInNotificationPanel;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
@@ -3,12 +3,3 @@ import { TeamCollaborationAppTemplateProperties } from ".";
|
|
|
3
3
|
export interface TeamCollaborationAppTemplate extends AppTemplate {
|
|
4
4
|
properties: TeamCollaborationAppTemplateProperties;
|
|
5
5
|
}
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated this will be removed in 7.0
|
|
8
|
-
*
|
|
9
|
-
* */
|
|
10
|
-
export interface ProvisionEnterpriseProperties {
|
|
11
|
-
team: boolean;
|
|
12
|
-
yammer: boolean;
|
|
13
|
-
facebook: boolean;
|
|
14
|
-
}
|
|
@@ -7,7 +7,6 @@ export * from "./TeamProvisioning";
|
|
|
7
7
|
export * from "./SiteDesign";
|
|
8
8
|
export * from "./MSTeamsInfo";
|
|
9
9
|
export * from "./TeamCollaborationAppInstance";
|
|
10
|
-
export * from "./OfficeNamingPolicyValidationResult";
|
|
11
10
|
export * from "./MSTeamsChannel";
|
|
12
11
|
export * from "./MSTeamsProperties";
|
|
13
12
|
export * from "./MSTeamsApps";
|
|
@@ -10,7 +10,6 @@ tslib_1.__exportStar(require("./TeamProvisioning"), exports);
|
|
|
10
10
|
tslib_1.__exportStar(require("./SiteDesign"), exports);
|
|
11
11
|
tslib_1.__exportStar(require("./MSTeamsInfo"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./TeamCollaborationAppInstance"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./OfficeNamingPolicyValidationResult"), exports);
|
|
14
13
|
tslib_1.__exportStar(require("./MSTeamsChannel"), exports);
|
|
15
14
|
tslib_1.__exportStar(require("./MSTeamsProperties"), exports);
|
|
16
15
|
tslib_1.__exportStar(require("./MSTeamsApps"), exports);
|
|
@@ -17,7 +17,6 @@ export * from "./styles";
|
|
|
17
17
|
export * from "./MyTaskItem";
|
|
18
18
|
export * from "./MyTaskItemProcessor";
|
|
19
19
|
export * from "./TutorialProvider";
|
|
20
|
-
export * from "./SearchAdminSettingsSection";
|
|
21
20
|
export * from "./FooterSettings";
|
|
22
21
|
export * from "./SearchBoxStyling";
|
|
23
22
|
export * from "./Constants";
|
|
@@ -21,7 +21,6 @@ tslib_1.__exportStar(require("./styles"), exports);
|
|
|
21
21
|
tslib_1.__exportStar(require("./MyTaskItem"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("./MyTaskItemProcessor"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./TutorialProvider"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./SearchAdminSettingsSection"), exports);
|
|
25
24
|
tslib_1.__exportStar(require("./FooterSettings"), exports);
|
|
26
25
|
tslib_1.__exportStar(require("./SearchBoxStyling"), exports);
|
|
27
26
|
tslib_1.__exportStar(require("./Constants"), exports);
|
|
@@ -2,8 +2,8 @@ import { ISignOffRequestResource, SignOffResource, SignOffRequestResourceData }
|
|
|
2
2
|
import { SignOffRequestResourceProvider } from "./SignOffRequestResourceProvider";
|
|
3
3
|
import { ActionType } from "./SignOffRequestSettings";
|
|
4
4
|
export declare abstract class SignOffRequestProvider<T extends SignOffResource = SignOffResource> extends SignOffRequestResourceProvider<T> {
|
|
5
|
-
abstract providerRenderer: (
|
|
6
|
-
abstract itemRenderer: (
|
|
5
|
+
abstract providerRenderer: () => JSX.Element;
|
|
6
|
+
abstract itemRenderer: (item: ISignOffRequestResource) => JSX.Element;
|
|
7
7
|
actionButtonHandler: ActionType;
|
|
8
8
|
resolveResourceData: (itemId: string) => SignOffRequestResourceData;
|
|
9
9
|
ensureItemsLoaded: (itemIds: string[]) => Promise<void>;
|
|
@@ -2,4 +2,5 @@ import { types } from "typestyle";
|
|
|
2
2
|
export declare const WorkplaceSharedStyles: {
|
|
3
3
|
staticLink: (bgColor: string, color: string) => types.NestedCSSProperties;
|
|
4
4
|
staticLinkActived: (bgColor: string, color: string) => types.NestedCSSProperties;
|
|
5
|
+
activeOutline?: types.NestedCSSProperties;
|
|
5
6
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OmniaContext } from "@omnia/fx";
|
|
2
|
-
import { IMessageBusTopicSubscription } from "@omnia/fx-models";
|
|
2
|
+
import { Future, IMessageBusTopicSubscription } from "@omnia/fx-models";
|
|
3
3
|
import { microsoftTeams } from "@omnia/fx-msteams/internal-do-not-import-from-here/MicrosoftTeams";
|
|
4
4
|
import { SharePointEnvironmentContext, SharePointPageContext } from "@omnia/fx-sp";
|
|
5
5
|
interface MSTeamsTabContext {
|
|
@@ -21,7 +21,7 @@ export declare class TeamworkContext {
|
|
|
21
21
|
msTeamsTabContext: MSTeamsTabContext;
|
|
22
22
|
omniaContext: OmniaContext;
|
|
23
23
|
};
|
|
24
|
-
get onReady():
|
|
24
|
+
get onReady(): Future<void>;
|
|
25
25
|
get onChanged(): IMessageBusTopicSubscription<TeamworkContext>;
|
|
26
26
|
private _instance;
|
|
27
27
|
private static getMsTeamsTabContextPromise;
|
package/package.json
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { IIcon } from "@omnia/fx-models";
|
|
2
|
-
import { BladeSizes } from "@omnia/fx/models";
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated The model and relevant function should not be used, update to use apiHub to register admin sub-menu node under search node (in Constants.ux.admin.navigationNodes.search)
|
|
5
|
-
*/
|
|
6
|
-
export interface SearchAdminSettingsSection {
|
|
7
|
-
/**
|
|
8
|
-
* The title of the navigation node
|
|
9
|
-
*/
|
|
10
|
-
title: string;
|
|
11
|
-
/**
|
|
12
|
-
* The icon to use
|
|
13
|
-
* */
|
|
14
|
-
icon: IIcon;
|
|
15
|
-
/**
|
|
16
|
-
* The element that will be rendered when selected
|
|
17
|
-
*/
|
|
18
|
-
elementToRender: string;
|
|
19
|
-
/**
|
|
20
|
-
* This influence the order of the navigation nodes, be nice, use ordering with gap -100, 0, 100, 200
|
|
21
|
-
So other extensions etc can inject between
|
|
22
|
-
*/
|
|
23
|
-
weight: number;
|
|
24
|
-
/**
|
|
25
|
-
* The size of blade
|
|
26
|
-
* */
|
|
27
|
-
bladeSize?: BladeSizes;
|
|
28
|
-
}
|
package/internal-do-not-import-from-here/models/apps/OfficeNamingPolicyValidationResult.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated This will be removed in 7.0. This is more likely an internal model and will not be used anywhere outside workplace
|
|
3
|
-
* */
|
|
4
|
-
export interface OfficeNamingPolicyValidationResult {
|
|
5
|
-
alias: AliasValidationResult;
|
|
6
|
-
siteName: SiteNameValidationResult;
|
|
7
|
-
isValid: boolean;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated This will be removed in 7.0. This is more likely an internal model and will not be used anywhere outside workplace
|
|
11
|
-
* */
|
|
12
|
-
export interface AliasValidationResult {
|
|
13
|
-
blockedWord: string;
|
|
14
|
-
isExist: boolean;
|
|
15
|
-
isInvalid: boolean;
|
|
16
|
-
suggestedAlias: string;
|
|
17
|
-
prefix: string;
|
|
18
|
-
suffix: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated This will be removed in 7.0. This is more likely an internal model and will not be used anywhere outside workplace
|
|
22
|
-
* */
|
|
23
|
-
export interface SiteNameValidationResult {
|
|
24
|
-
blockedWord: string;
|
|
25
|
-
isInvalid: boolean;
|
|
26
|
-
prefix: string;
|
|
27
|
-
suffix: string;
|
|
28
|
-
}
|