@omnia/workplace 7.0.13-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.
@@ -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, RegisterNotificationProvider, NewDataNotificationMsg, ControlInNotificationMsg, HeaderSettingsSection, ControlStatusInNotificationMsg, NotificationPanelContainerVisible, MyTaskItemProcessor, TutorialProvider } from "../../models";
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, IMessageBusTopicSubscription, SecretRegistrationMsg, RichTextEditorExtensionMessage } from "@omnia/fx/models";
2
- import { MessageBusExposeOnlyPublication } from "@omnia/fx";
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;
@@ -99,9 +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
102
  static get TeamworkAppTemplateWizardStore(): Guid;
106
103
  static get SearchConfigStore(): Guid;
107
104
  static get OmniaLanguagesComponentStore(): Guid;
@@ -106,9 +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
109
  static get TeamworkAppTemplateWizardStore() { return new fx_models_1.Guid("1f1b347e-2057-4435-97c6-e802f9680221"); }
113
110
  static get SearchConfigStore() { return new fx_models_1.Guid("161b21f8-f942-41e1-b05e-09f1dcde4047"); }
114
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 INotificationPanelBlockInstance {
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: INotificationPanelBlockInstance;
110
+ notificationPanel: IBlockInstanceInNotificationPanel;
111
111
  }
112
112
  }
@@ -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,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
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/workplace",
3
3
  "license": "MIT",
4
- "version": "7.0.13-dev",
4
+ "version": "7.0.14-dev",
5
5
  "description": "Omnia Workplace.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });