@omnia/workplace 6.8.29-preview → 6.10.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/utils/Utils.d.ts +10 -4
- package/internal-do-not-import-from-here/manifests/omnia.workplace.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/Constants.d.ts +13 -0
- package/internal-do-not-import-from-here/models/Constants.js +18 -1
- package/internal-do-not-import-from-here/models/ManifestIds.d.ts +15 -0
- package/internal-do-not-import-from-here/models/ManifestIds.js +75 -0
- package/internal-do-not-import-from-here/models/NotificationPanel.d.ts +1 -0
- package/internal-do-not-import-from-here/models/NotificationPanel.js +1 -0
- package/internal-do-not-import-from-here/models/apps/Enums.d.ts +15 -15
- package/internal-do-not-import-from-here/models/apps/Enums.js +16 -14
- package/internal-do-not-import-from-here/models/apps/MSTeamsApps.d.ts +1 -0
- package/internal-do-not-import-from-here/models/apps/MSTeamsProperties.d.ts +29 -2
- package/internal-do-not-import-from-here/models/apps/MSTeamsProperties.js +4 -1
- package/internal-do-not-import-from-here/models/apps/OfficeNamingPolicyValidationResult.d.ts +9 -0
- package/internal-do-not-import-from-here/models/apps/TeamCollaborationAppInstanceProperties.d.ts +8 -0
- package/internal-do-not-import-from-here/models/apps/TeamCollaborationAppTemplateProperties.d.ts +11 -0
- package/internal-do-not-import-from-here/models/apps/TeamworkAppLayoutDefinition.d.ts +4 -0
- package/internal-do-not-import-from-here/models/apps/TeamworkAppLayoutDefinition.js +10 -0
- package/internal-do-not-import-from-here/models/apps/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/apps/index.js +1 -0
- package/internal-do-not-import-from-here/models/components/PostsFeedBlock.d.ts +28 -0
- package/internal-do-not-import-from-here/models/components/PostsFeedBlock.js +9 -0
- package/internal-do-not-import-from-here/models/components/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/components/index.js +1 -0
- package/internal-do-not-import-from-here/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/index.js +1 -0
- package/internal-do-not-import-from-here/models/quicksetup/QuickSetupSettings.d.ts +28 -0
- package/internal-do-not-import-from-here/models/quicksetup/QuickSetupSettings.js +5 -0
- package/internal-do-not-import-from-here/models/quicksetup/QuickSetupStepProviderApi.d.ts +25 -0
- package/internal-do-not-import-from-here/models/quicksetup/QuickSetupStepProviderApi.js +1 -0
- package/internal-do-not-import-from-here/models/quicksetup/StepProvider.d.ts +7 -0
- package/internal-do-not-import-from-here/models/quicksetup/StepProvider.js +6 -0
- package/internal-do-not-import-from-here/models/quicksetup/index.d.ts +3 -0
- package/internal-do-not-import-from-here/models/quicksetup/index.js +3 -0
- package/internal-do-not-import-from-here/models/styles/MyLinkStyles.d.ts +2 -0
- package/internal-do-not-import-from-here/models/styles/SearchStyles.d.ts +6 -1
- package/internal-do-not-import-from-here/models/styles/WorkplaceSharedStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlock.d.ts +10 -0
- package/internal-do-not-import-from-here/services/TeamCollaborationService.d.ts +5 -1
- package/internal-do-not-import-from-here/ux/AppRendererBootstrapper.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/TeamworkContext.d.ts +31 -0
- package/internal-do-not-import-from-here/ux/index.d.ts +2 -0
- package/package.json +1 -1
- package/task.ts +1 -1
- package/internal-do-not-import-from-here/models/search_temp/SearchCategory.d.ts +0 -0
- package/internal-do-not-import-from-here/models/search_temp/SearchCategory.js +0 -30
- package/internal-do-not-import-from-here/models/search_temp/SearchProviderSettingProps.d.ts +0 -0
- package/internal-do-not-import-from-here/models/search_temp/SearchProviderSettingProps.js +0 -4
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MicrosoftTeams } from '@omnia/fx-msteams';
|
|
2
|
+
import { IRouteContext } from '@omnia/fx/models';
|
|
2
3
|
import * as tsx from "vue-tsx-support";
|
|
3
4
|
export declare class WorkPlaceUtils {
|
|
4
5
|
static truncate: (str: string, n: number, useWordBoundary: boolean) => string;
|
|
@@ -10,12 +11,17 @@ export declare class WorkPlaceUtils {
|
|
|
10
11
|
static cloneObj: <T>(obj: T) => T;
|
|
11
12
|
static sortBy: <T>(items: T[], attr: string, isRevert?: boolean, isDeep?: boolean) => T[];
|
|
12
13
|
static deepFind(obj: any, paths: string[]): any;
|
|
13
|
-
static compareDeepFn(attrs: string[]): (a: any, b: any) =>
|
|
14
|
-
static compareDeepRevertFn(attrs: string[]): (a: any, b: any) =>
|
|
15
|
-
static compareFn(attr: string): (a: any, b: any) =>
|
|
16
|
-
static compareRevertFn(attr: string): (a: any, b: any) =>
|
|
14
|
+
static compareDeepFn(attrs: string[]): (a: any, b: any) => 1 | 0 | -1;
|
|
15
|
+
static compareDeepRevertFn(attrs: string[]): (a: any, b: any) => 1 | 0 | -1;
|
|
16
|
+
static compareFn(attr: string): (a: any, b: any) => 1 | 0 | -1;
|
|
17
|
+
static compareRevertFn(attr: string): (a: any, b: any) => 1 | 0 | -1;
|
|
17
18
|
static isValidGuid(id: string): boolean;
|
|
18
19
|
static executeMSTeamsDeepLinkIfPossible(microsoftTeams: MicrosoftTeams, url: string, e?: Event): boolean;
|
|
19
20
|
static formatKQLDateTimeString(input: Date | string): string;
|
|
20
21
|
static isInLeftPositionedActionMenu(component: tsx.Component<any>): boolean;
|
|
22
|
+
static convertLanguageDisplayToExcludeCounty(displayName: string): string;
|
|
23
|
+
static getAppLayoutUrlInfo(routeContext: IRouteContext): {
|
|
24
|
+
isLayoutUrl: boolean;
|
|
25
|
+
layoutUrlSegment: string;
|
|
26
|
+
};
|
|
21
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['39df27aa-95f1-4a23-b3f6-8b231afcda82']['491a5b75-e3d6-472a-8958-216be85b092a']","content":{"./client/admin/permissions/loc/localize.js":{"id":"./client/admin/permissions/loc/localize.js","buildMeta":{"exportsType":"namespace"},"exports":["PermissionLocalization"]},"./client/admin/settings/blades/tenantheader/loc/localize.js":{"id":"./client/admin/settings/blades/tenantheader/loc/localize.js","buildMeta":{"exportsType":"namespace"},"exports":["TenantHeaderLocalization"]},"./node_modules/@omnia/workplace/core/loc/formLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/formlocalize.js","buildMeta":{"exportsType":"namespace"},"exports":["FormsLocalization"]},"./node_modules/@omnia/workplace/core/loc/localize.js":{"id":"./node_modules/@omnia/workplace/core/loc/localize.js","buildMeta":{"exportsType":"namespace"},"exports":["TeamCoreLocalization"]},"./node_modules/@omnia/workplace/core/loc/powerappLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/powerapplocalize.js","buildMeta":{"exportsType":"namespace"},"exports":["PowerAppLocalization"]},"./node_modules/@omnia/workplace/core/messaging/InternalWorkplaceTopics.js":{"id":"./node_modules/@omnia/workplace/core/messaging/internalworkplacetopics.js","buildMeta":{"exportsType":"namespace"},"exports":["InternalWorkplaceTopics"]},"./node_modules/@omnia/workplace/services/index.js":{"id":"./node_modules/@omnia/workplace/services/index.js","buildMeta":{"exportsType":"namespace"},"exports":["AppAuthenticationOptionsService","FormService","HomeService","NotificationPanelHistoryService","PromotedSearchResultService","SearchCategoryService","SearchFeedbackService","SignOffRequestService","TeamCollaborationService"]},"./node_modules/@omnia/workplace/index.js":{"id":"8bf93338-8e70-4104-a75d-ae11485eec04","buildMeta":{"exportsType":"namespace"},"exports":["AdminNamespace","AppAuthenticationOptionsService","CurrentFormStore","DialogHelper","EditingThemeStore","FilterValueProvider","FormService","FormStore","GovernanceDashboardStore","HomeService","NotificationPanelHistoryService","NotificationPanelStore","NotificationPanelStorePluginProvider","PromotedSearchResultService","PromotedSearchResultStore","SearchCategoryService","SearchCategoryStore","SearchFeedbackService","SignOffRequestService","SignOffRequestStore","SignOffRequestUtils","Styles","TeamCollaborationService","TeamCollaborationStore","TeamworkTopics","Topics","WorkPlaceUtils","dialogStyle","settingsTabContainer"]},"./node_modules/@omnia/workplace/models/index.js":{"id":"c778308f-5fbb-4a3d-8691-ad7408ffbd56","buildMeta":{"exportsType":"namespace"},"exports":["ActionMenuStyles","AdvancedSearchStyles","AnnouncementCommentLikeStyle","AnnouncementJourneyStyle","AnnouncementStyles","AppEnums","AppIconSearchTemplateStyles","AppIconStyles","AppInstanceDescriptionProperties","AppLaunchStyles","AppLaunchViewStyles","AppProvisioningSteps","BuiltInActionButtonHandlers","BusinessProfileAppProvisioning","CentralImageLocationsStyles","ChartColor","CompactHeaderStyles","Constants","CreateTeamworkSettingsStyles","DefaultSearchTemplateStyles","DocumentDirectionSettingsStyles","EditModes","EnterpriseGlossaryAdminProvider","EnterpriseGlossaryInformationSettingsProvider","EnterpriseGlossaryInformationSourceSettingsProvider","EnterpriseGlossaryTaxonomyNavigationDisplayProvider","EnterpriseGlossaryTaxonomyNavigationSettingsProvider","EnterprisePropertyCategoriesDefaultBladeStyles","Enums","FeedType","FilterValue","FollowedsitesUpdatedAtUserPropertyBag","FooterPositions","FooterSettingStyles","FormGenericSetting","FormLayoutProvider","FormTypes","GovernanceDashboard","GovernanceDashboardSettingsStyles","GovernanceDashboardStyles","GroupManifests","GroupMembershipMappingBladeStyles","HeaderSettingsMode","HeaderStyles","HighPriorityAnnouncementStyle","HomeLayoutDefinition","HorizontalActionMenuStyles","HorizontalMegaMenuStyles","ItemQueryResult","JumpToContentStyles","LegendAlignment","LegendPosition","LocalizationAdminStyles","LocalizationInputStyles","LogoStyles","MSTeamChannelFeedSorting","MediaPickerStorageProviderWorkplaceFaviconContext","MediaPickerStorageProviderWorkplaceFormContext","MediaPickerStorageProviderWorkplaceLogoContext","MediaPickerStorageProviderWorkplacePromotedSearchResultContext","MediaPickerStorageProviderWorkplaceSearchFeedbackContext","MediaPickerStorageProviderWorkplaceTutorialContext","MegaMenuLayoutDefinition","MembersStep","MobileMegaMenuStyles","MyLinksStyles","MySitesEnums","MySitesStyles","MyTeamCollaborationCategoryStyles","MyTeamCollaborationStyles","NewTeamworksTimeType","NotificationConstants","NotificationPanelDisplayModes","NotificationPanelHeaderStyles","NotificationPanelIconPosition","NotificationPanelSettingsStyles","NotificationPanelStyles","NotificationPanelTabAligments","NotificationTypes","OmniaSystemLanguageSettingsStyles","OptionTypes","PromotedSearchResultStatus","QuestionTypes","QuickSearchStyles","ResourceManifests","SearchAdminStyles","SearchBlockStyles","SearchHeaderStyles","SearchProvider","ServiceDefinition","SettingsKeys","SharedLinkSortByTypes","ShowMoreStyles","SignOffRequestEnums","SignOffRequestProvider","SignOffRequestResourceProvider","SignOffResource","SimpleListStyles","SimpleListingSearchTemplateStyles","SlideRendererStyles","StatisticViewMode","TargetingPropertyStyles","TaxonomyNavigationDisplayProviderBase","TaxonomyNavigationStyles","TeamCollaborationAppDefinitionInfo","TeamCollaborationAppEnterpriseProperties","TeamCollaborationConstants","TeamCollaborationRollupBlockListViewSettingsStyles","TeamCollaborationRollupBlockListViewStyles","TeamCollaborationRollupBlockSettingsStyles","TeamCollaborationRollupBlockStyles","TeamCollaborationRollupEnums","TeamCollaborationRollupScopeTypes","TeamCollabrationApp","TeamCollabrationAppResource","TeamCollabrationQuery","TeamCollabrationTypes","TeamNewsBlockStyles","TeamNewsRollupSettingElementName","TeamSiteEditPropertiesStyles","TeamWorkInfo","TeamworkNavigationActionHandlerSettingStyles","TeamworkNavigationSettingStyles","TeamworkNavigationStyles","TeamworkTemplateFilterValue","TenantRegionalStyles","TermNodeStyles","UserAccessibilitySettingsStyles","UserMenuStyles","VerticalActionMenuStyles","VerticalMegaMenuStyles","WPRoleDefinition","WebComponentElements","WebComponentManifests","WorkplaceHomeStyles","WorkplaceSharedStyles","WorkspaceActionMenuMapping","WorkspaceActionMenuSettings","WorkspaceApp","WorkspaceFactory","WorkspaceHomeMapping","WorkspaceHomeSettings","WorkspaceInfo","WorkspaceMegaMenuItemTypes","WorkspaceMegaMenuMapping","WorkspaceMegaMenuSettings","WorkspaceVerticalNavWidth","WowrkplaceHeadingStyles"]}}}
|
|
1
|
+
{"name":"omniaWebpackJsonp['39df27aa-95f1-4a23-b3f6-8b231afcda82']['491a5b75-e3d6-472a-8958-216be85b092a']","content":{"./client/admin/permissions/loc/localize.js":{"id":"./client/admin/permissions/loc/localize.js","buildMeta":{"exportsType":"namespace"},"exports":["PermissionLocalization"]},"./client/admin/settings/blades/tenantheader/loc/localize.js":{"id":"./client/admin/settings/blades/tenantheader/loc/localize.js","buildMeta":{"exportsType":"namespace"},"exports":["TenantHeaderLocalization"]},"./node_modules/@omnia/workplace/core/loc/formLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/formlocalize.js","buildMeta":{"exportsType":"namespace"},"exports":["FormsLocalization"]},"./node_modules/@omnia/workplace/core/loc/localize.js":{"id":"./node_modules/@omnia/workplace/core/loc/localize.js","buildMeta":{"exportsType":"namespace"},"exports":["TeamCoreLocalization"]},"./node_modules/@omnia/workplace/core/loc/powerappLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/powerapplocalize.js","buildMeta":{"exportsType":"namespace"},"exports":["PowerAppLocalization"]},"./node_modules/@omnia/workplace/core/messaging/InternalWorkplaceTopics.js":{"id":"./node_modules/@omnia/workplace/core/messaging/internalworkplacetopics.js","buildMeta":{"exportsType":"namespace"},"exports":["InternalWorkplaceTopics"]},"./node_modules/@omnia/workplace/services/index.js":{"id":"./node_modules/@omnia/workplace/services/index.js","buildMeta":{"exportsType":"namespace"},"exports":["AppAuthenticationOptionsService","FormService","HomeService","NotificationPanelHistoryService","PromotedSearchResultService","SearchCategoryService","SearchFeedbackService","SignOffRequestService","TeamCollaborationService"]},"./node_modules/@omnia/workplace/index.js":{"id":"8bf93338-8e70-4104-a75d-ae11485eec04","buildMeta":{"exportsType":"namespace"},"exports":["AdminNamespace","AppAuthenticationOptionsService","AppRendererBootstrapper","CurrentFormStore","DialogHelper","EditingThemeStore","FilterValueProvider","FormService","FormStore","GovernanceDashboardStore","HomeService","NotificationPanelHistoryService","NotificationPanelStore","NotificationPanelStorePluginProvider","PromotedSearchResultService","PromotedSearchResultStore","SearchCategoryService","SearchCategoryStore","SearchFeedbackService","SignOffRequestService","SignOffRequestStore","SignOffRequestUtils","Styles","TeamCollaborationService","TeamCollaborationStore","TeamworkContext","TeamworkTopics","Topics","WorkPlaceUtils","dialogStyle","settingsTabContainer"]},"./node_modules/@omnia/workplace/models/index.js":{"id":"c778308f-5fbb-4a3d-8691-ad7408ffbd56","buildMeta":{"exportsType":"namespace"},"exports":["ActionMenuStyles","AdvancedSearchStyles","AnnouncementCommentLikeStyle","AnnouncementJourneyStyle","AnnouncementStyles","AppEnums","AppIconSearchTemplateStyles","AppIconStyles","AppInstanceDescriptionProperties","AppLaunchStyles","AppLaunchViewStyles","AppProvisioningSteps","BuiltInActionButtonHandlers","BusinessProfileAppProvisioning","CentralImageLocationsStyles","ChartColor","CompactHeaderStyles","Constants","CreateTeamworkSettingsStyles","DefaultSearchTemplateStyles","DocumentDirectionSettingsStyles","EditModes","EnterpriseGlossaryAdminProvider","EnterpriseGlossaryInformationSettingsProvider","EnterpriseGlossaryInformationSourceSettingsProvider","EnterpriseGlossaryTaxonomyNavigationDisplayProvider","EnterpriseGlossaryTaxonomyNavigationSettingsProvider","EnterprisePropertyCategoriesDefaultBladeStyles","Enums","FeedType","FilterValue","FollowedsitesUpdatedAtUserPropertyBag","FooterPositions","FooterSettingStyles","FormGenericSetting","FormLayoutProvider","FormTypes","GovernanceDashboard","GovernanceDashboardSettingsStyles","GovernanceDashboardStyles","GroupManifests","GroupMembershipMappingBladeStyles","HeaderSettingsMode","HeaderStyles","HighPriorityAnnouncementStyle","HomeLayoutDefinition","HorizontalActionMenuStyles","HorizontalMegaMenuStyles","ItemQueryResult","JumpToContentStyles","LegendAlignment","LegendPosition","LocalizationAdminStyles","LocalizationInputStyles","LogoStyles","MSTeamChannelFeedSorting","MSTeamTemplateStep","MediaPickerStorageProviderWorkplaceFaviconContext","MediaPickerStorageProviderWorkplaceFormContext","MediaPickerStorageProviderWorkplaceLogoContext","MediaPickerStorageProviderWorkplacePromotedSearchResultContext","MediaPickerStorageProviderWorkplaceSearchFeedbackContext","MediaPickerStorageProviderWorkplaceTutorialContext","MegaMenuLayoutDefinition","MembersStep","MobileMegaMenuStyles","MyLinksStyles","MySitesEnums","MySitesStyles","MyTeamCollaborationCategoryStyles","MyTeamCollaborationStyles","NewTeamworksTimeType","NotificationConstants","NotificationPanelDisplayModes","NotificationPanelHeaderStyles","NotificationPanelIconPosition","NotificationPanelSettingsStyles","NotificationPanelStyles","NotificationPanelTabAligments","NotificationTypes","OmniaSystemLanguageSettingsStyles","OptionTypes","PostsFeedScopeOption","PostsFeedSortMode","PromotedSearchResultStatus","QuestionTypes","QuickSearchStyles","QuickSetupScope","ResourceManifests","SearchAdminStyles","SearchBlockStyles","SearchHeaderStyles","SearchProvider","ServiceDefinition","SettingsKeys","SharedLinkSortByTypes","ShowMoreStyles","SignOffRequestEnums","SignOffRequestProvider","SignOffRequestResourceProvider","SignOffResource","SimpleListStyles","SimpleListingSearchTemplateStyles","SlideRendererStyles","StatisticViewMode","StepProvider","TabCustomUrlType","TargetingPropertyStyles","TaxonomyNavigationDisplayProviderBase","TaxonomyNavigationStyles","TeamCollaborationAppDefinitionInfo","TeamCollaborationAppEnterpriseProperties","TeamCollaborationConstants","TeamCollaborationRollupBlockListViewSettingsStyles","TeamCollaborationRollupBlockListViewStyles","TeamCollaborationRollupBlockSettingsStyles","TeamCollaborationRollupBlockStyles","TeamCollaborationRollupEnums","TeamCollaborationRollupScopeTypes","TeamCollabrationApp","TeamCollabrationAppResource","TeamCollabrationQuery","TeamCollabrationTypes","TeamNewsBlockStyles","TeamNewsRollupSettingElementName","TeamSiteEditPropertiesStyles","TeamWorkInfo","TeamworkAppLayoutDefinition","TeamworkNavigationActionHandlerSettingStyles","TeamworkNavigationSettingStyles","TeamworkNavigationStyles","TeamworkTemplateFilterValue","TenantRegionalStyles","TermNodeStyles","UserAccessibilitySettingsStyles","UserMenuStyles","VerticalActionMenuStyles","VerticalMegaMenuStyles","WPRoleDefinition","WebComponentElements","WebComponentManifests","WorkplaceAppRoutePrefix","WorkplaceHomeStyles","WorkplaceSharedStyles","WorkspaceActionMenuMapping","WorkspaceActionMenuSettings","WorkspaceApp","WorkspaceFactory","WorkspaceHomeMapping","WorkspaceHomeSettings","WorkspaceInfo","WorkspaceMegaMenuItemTypes","WorkspaceMegaMenuMapping","WorkspaceMegaMenuSettings","WorkspaceVerticalNavWidth","WowrkplaceHeadingStyles","notificationPanelLayoutProvider"]}}}
|
|
@@ -75,6 +75,10 @@ export declare class TeamCollaborationAppEnterpriseProperties {
|
|
|
75
75
|
export declare class TeamCollaborationAppDefinitionInfo {
|
|
76
76
|
static id: Guid;
|
|
77
77
|
}
|
|
78
|
+
export declare const WorkplaceAppRoutePrefix: {
|
|
79
|
+
teamwork: string;
|
|
80
|
+
workspace: string;
|
|
81
|
+
};
|
|
78
82
|
export declare namespace WorkspaceApp {
|
|
79
83
|
class AppDefinitionInfo {
|
|
80
84
|
static id: Guid;
|
|
@@ -82,6 +86,9 @@ export declare namespace WorkspaceApp {
|
|
|
82
86
|
class AppTemplateInfo {
|
|
83
87
|
static id: Guid;
|
|
84
88
|
}
|
|
89
|
+
/***
|
|
90
|
+
* @deprecated Removed in 7.0
|
|
91
|
+
* */
|
|
85
92
|
const appRoutePrefix = "_wp";
|
|
86
93
|
class ux {
|
|
87
94
|
static navBarVListColorClass: string;
|
|
@@ -109,6 +116,9 @@ export declare class TeamWorkInfo {
|
|
|
109
116
|
export declare class MembersStep {
|
|
110
117
|
static id: Guid;
|
|
111
118
|
}
|
|
119
|
+
export declare class MSTeamTemplateStep {
|
|
120
|
+
static id: Guid;
|
|
121
|
+
}
|
|
112
122
|
export declare enum HeaderSettingsMode {
|
|
113
123
|
Tenant = 0,
|
|
114
124
|
ClassicProfileOverride = 1,
|
|
@@ -162,6 +172,9 @@ export declare const AppProvisioningSteps: {
|
|
|
162
172
|
Member: {
|
|
163
173
|
Title: string;
|
|
164
174
|
};
|
|
175
|
+
MSTeamTemplate: {
|
|
176
|
+
Title: string;
|
|
177
|
+
};
|
|
165
178
|
};
|
|
166
179
|
export declare const NotificationConstants: {
|
|
167
180
|
NewItem: string;
|
|
@@ -91,6 +91,10 @@ var TeamCollaborationAppDefinitionInfo = /** @class */ (function () {
|
|
|
91
91
|
return TeamCollaborationAppDefinitionInfo;
|
|
92
92
|
}());
|
|
93
93
|
export { TeamCollaborationAppDefinitionInfo };
|
|
94
|
+
export var WorkplaceAppRoutePrefix = {
|
|
95
|
+
teamwork: '_t',
|
|
96
|
+
workspace: '_wp'
|
|
97
|
+
};
|
|
94
98
|
export var WorkspaceApp;
|
|
95
99
|
(function (WorkspaceApp) {
|
|
96
100
|
var AppDefinitionInfo = /** @class */ (function () {
|
|
@@ -107,6 +111,9 @@ export var WorkspaceApp;
|
|
|
107
111
|
return AppTemplateInfo;
|
|
108
112
|
}());
|
|
109
113
|
WorkspaceApp.AppTemplateInfo = AppTemplateInfo;
|
|
114
|
+
/***
|
|
115
|
+
* @deprecated Removed in 7.0
|
|
116
|
+
* */
|
|
110
117
|
WorkspaceApp.appRoutePrefix = "_wp";
|
|
111
118
|
var ux = /** @class */ (function () {
|
|
112
119
|
function ux() {
|
|
@@ -146,6 +153,13 @@ var MembersStep = /** @class */ (function () {
|
|
|
146
153
|
return MembersStep;
|
|
147
154
|
}());
|
|
148
155
|
export { MembersStep };
|
|
156
|
+
var MSTeamTemplateStep = /** @class */ (function () {
|
|
157
|
+
function MSTeamTemplateStep() {
|
|
158
|
+
}
|
|
159
|
+
MSTeamTemplateStep.id = new Guid("157aded3-dd6f-44c2-8aaf-b7c4b5913782");
|
|
160
|
+
return MSTeamTemplateStep;
|
|
161
|
+
}());
|
|
162
|
+
export { MSTeamTemplateStep };
|
|
149
163
|
export var HeaderSettingsMode;
|
|
150
164
|
(function (HeaderSettingsMode) {
|
|
151
165
|
HeaderSettingsMode[HeaderSettingsMode["Tenant"] = 0] = "Tenant";
|
|
@@ -198,7 +212,10 @@ export var SettingsKeys = {
|
|
|
198
212
|
};
|
|
199
213
|
export var AppProvisioningSteps = {
|
|
200
214
|
Member: {
|
|
201
|
-
Title: "$Localize:OTAD.Apps.Steps.MemberStep.
|
|
215
|
+
Title: "$Localize:OTAD.Apps.Steps.MemberStep.Participants;"
|
|
216
|
+
},
|
|
217
|
+
MSTeamTemplate: {
|
|
218
|
+
Title: "$Localize:OTAD.Apps.Steps.MSTemplateStep.Title;"
|
|
202
219
|
}
|
|
203
220
|
};
|
|
204
221
|
export var NotificationConstants = {
|
|
@@ -7,6 +7,7 @@ export declare class GroupManifests {
|
|
|
7
7
|
static get WorkplaceBusinessProfileHeaderActionMenuRegistrationCommon(): Guid;
|
|
8
8
|
static get WorkplaceHeader(): Guid;
|
|
9
9
|
static get TeamCollabAppInSpfx(): Guid;
|
|
10
|
+
static get PostsFeedBlockGroup(): Guid;
|
|
10
11
|
}
|
|
11
12
|
export declare class WPRoleDefinition {
|
|
12
13
|
static get SharedLinksTenantAdmin(): Guid;
|
|
@@ -38,6 +39,8 @@ export declare class ResourceManifests {
|
|
|
38
39
|
static get AnnoucementNotificationPanelRegistration(): Guid;
|
|
39
40
|
static get NotificationPanelRegistration(): Guid;
|
|
40
41
|
static get NotificationPanelRegistrationApi(): Guid;
|
|
42
|
+
static get QuickSetupRegistrationApi(): Guid;
|
|
43
|
+
static get QuickSetupStepRegistrationApi(): Guid;
|
|
41
44
|
static get NotificationPanelCore(): Guid;
|
|
42
45
|
static get AdminShortcutRegistration(): Guid;
|
|
43
46
|
static get ActionMenuCore(): Guid;
|
|
@@ -98,6 +101,7 @@ export declare class ResourceManifests {
|
|
|
98
101
|
static get UserProfileCardEditingHandlerRegistration(): Guid;
|
|
99
102
|
static get ActionButtonSignOffRequestHandler(): Guid;
|
|
100
103
|
static get ActionButtonSignOffRequestHandlerRegistration(): Guid;
|
|
104
|
+
static get QuickSetupCore(): Guid;
|
|
101
105
|
/**
|
|
102
106
|
* @deprecated this will be removed in 7.0
|
|
103
107
|
*/
|
|
@@ -113,6 +117,7 @@ export declare class ResourceManifests {
|
|
|
113
117
|
static get AdminSystemCore(): Guid;
|
|
114
118
|
static get PowerAppCore(): Guid;
|
|
115
119
|
static get WorkspaceCommon(): Guid;
|
|
120
|
+
static get PostsFeedBlockCore(): Guid;
|
|
116
121
|
}
|
|
117
122
|
export declare class WebComponentManifests {
|
|
118
123
|
static get FaviconSettings(): Guid;
|
|
@@ -401,6 +406,16 @@ export declare class WebComponentManifests {
|
|
|
401
406
|
static get OrganizationTreeBlockCore(): Guid;
|
|
402
407
|
static get OrganizationTreeBlock(): Guid;
|
|
403
408
|
static get OrganizationTreeBlockSettings(): Guid;
|
|
409
|
+
static get AppRenderer(): Guid;
|
|
410
|
+
static get MsTeamTabLayoutConfiguration(): Guid;
|
|
411
|
+
static get PostsFeed(): Guid;
|
|
412
|
+
static get PostsFeedSettings(): Guid;
|
|
413
|
+
static get QuickSetupWizardCore(): Guid;
|
|
414
|
+
static get QuickSetupWizardGeneralView(): Guid;
|
|
415
|
+
static get QuickSetupWizardBrandingView(): Guid;
|
|
416
|
+
static get QuickSetupWizardSharelinksView(): Guid;
|
|
417
|
+
static get QuickSetupWizardContentView(): Guid;
|
|
418
|
+
static get QuickSetupWizardReviewView(): Guid;
|
|
404
419
|
}
|
|
405
420
|
export declare class WebComponentElements {
|
|
406
421
|
static get AppProvisioningStepMember(): string;
|
|
@@ -33,6 +33,11 @@ var GroupManifests = /** @class */ (function () {
|
|
|
33
33
|
enumerable: false,
|
|
34
34
|
configurable: true
|
|
35
35
|
});
|
|
36
|
+
Object.defineProperty(GroupManifests, "PostsFeedBlockGroup", {
|
|
37
|
+
get: function () { return new Guid('102937e8-68d5-4294-8a79-7fddb9e58b8e'); },
|
|
38
|
+
enumerable: false,
|
|
39
|
+
configurable: true
|
|
40
|
+
});
|
|
36
41
|
return GroupManifests;
|
|
37
42
|
}());
|
|
38
43
|
export { GroupManifests };
|
|
@@ -181,6 +186,16 @@ var ResourceManifests = /** @class */ (function () {
|
|
|
181
186
|
enumerable: false,
|
|
182
187
|
configurable: true
|
|
183
188
|
});
|
|
189
|
+
Object.defineProperty(ResourceManifests, "QuickSetupRegistrationApi", {
|
|
190
|
+
get: function () { return new Guid('547bd43c-c628-47b2-b6aa-fddacbb0d25e'); },
|
|
191
|
+
enumerable: false,
|
|
192
|
+
configurable: true
|
|
193
|
+
});
|
|
194
|
+
Object.defineProperty(ResourceManifests, "QuickSetupStepRegistrationApi", {
|
|
195
|
+
get: function () { return new Guid('92ed9817-196c-4b89-9a61-e12e7c14b74f'); },
|
|
196
|
+
enumerable: false,
|
|
197
|
+
configurable: true
|
|
198
|
+
});
|
|
184
199
|
Object.defineProperty(ResourceManifests, "NotificationPanelCore", {
|
|
185
200
|
get: function () { return new Guid("00cc0c0d-8487-4d05-bb4f-6cc5d9b1a8ba"); },
|
|
186
201
|
enumerable: false,
|
|
@@ -482,6 +497,11 @@ var ResourceManifests = /** @class */ (function () {
|
|
|
482
497
|
enumerable: false,
|
|
483
498
|
configurable: true
|
|
484
499
|
});
|
|
500
|
+
Object.defineProperty(ResourceManifests, "QuickSetupCore", {
|
|
501
|
+
get: function () { return new Guid("a491ba6f-29e7-4ef8-9cc7-c8ca5915f3af"); },
|
|
502
|
+
enumerable: false,
|
|
503
|
+
configurable: true
|
|
504
|
+
});
|
|
485
505
|
Object.defineProperty(ResourceManifests, "AppTemplateWizardStore", {
|
|
486
506
|
/**
|
|
487
507
|
* @deprecated this will be removed in 7.0
|
|
@@ -536,6 +556,11 @@ var ResourceManifests = /** @class */ (function () {
|
|
|
536
556
|
enumerable: false,
|
|
537
557
|
configurable: true
|
|
538
558
|
});
|
|
559
|
+
Object.defineProperty(ResourceManifests, "PostsFeedBlockCore", {
|
|
560
|
+
get: function () { return new Guid('9d5d0be1-208d-488f-9005-b181b7d47839'); },
|
|
561
|
+
enumerable: false,
|
|
562
|
+
configurable: true
|
|
563
|
+
});
|
|
539
564
|
return ResourceManifests;
|
|
540
565
|
}());
|
|
541
566
|
export { ResourceManifests };
|
|
@@ -1975,6 +2000,56 @@ var WebComponentManifests = /** @class */ (function () {
|
|
|
1975
2000
|
enumerable: false,
|
|
1976
2001
|
configurable: true
|
|
1977
2002
|
});
|
|
2003
|
+
Object.defineProperty(WebComponentManifests, "AppRenderer", {
|
|
2004
|
+
get: function () { return new Guid("01d197fb-39b8-4921-89e8-c8f865b6fcb0"); },
|
|
2005
|
+
enumerable: false,
|
|
2006
|
+
configurable: true
|
|
2007
|
+
});
|
|
2008
|
+
Object.defineProperty(WebComponentManifests, "MsTeamTabLayoutConfiguration", {
|
|
2009
|
+
get: function () { return new Guid("104760a6-6754-4bbb-8325-4e42bef75b8a"); },
|
|
2010
|
+
enumerable: false,
|
|
2011
|
+
configurable: true
|
|
2012
|
+
});
|
|
2013
|
+
Object.defineProperty(WebComponentManifests, "PostsFeed", {
|
|
2014
|
+
get: function () { return new Guid('74c4e208-e37f-41a5-ba96-c4bf64464523'); },
|
|
2015
|
+
enumerable: false,
|
|
2016
|
+
configurable: true
|
|
2017
|
+
});
|
|
2018
|
+
Object.defineProperty(WebComponentManifests, "PostsFeedSettings", {
|
|
2019
|
+
get: function () { return new Guid('7f049298-9bb4-4f32-a2d4-2e8b8ffa6c1b'); },
|
|
2020
|
+
enumerable: false,
|
|
2021
|
+
configurable: true
|
|
2022
|
+
});
|
|
2023
|
+
Object.defineProperty(WebComponentManifests, "QuickSetupWizardCore", {
|
|
2024
|
+
get: function () { return new Guid("758d200f-91f3-4446-8662-07592f89eeba"); },
|
|
2025
|
+
enumerable: false,
|
|
2026
|
+
configurable: true
|
|
2027
|
+
});
|
|
2028
|
+
Object.defineProperty(WebComponentManifests, "QuickSetupWizardGeneralView", {
|
|
2029
|
+
get: function () { return new Guid("c5f83b2f-a21f-4210-b4f4-13ffda4ac129"); },
|
|
2030
|
+
enumerable: false,
|
|
2031
|
+
configurable: true
|
|
2032
|
+
});
|
|
2033
|
+
Object.defineProperty(WebComponentManifests, "QuickSetupWizardBrandingView", {
|
|
2034
|
+
get: function () { return new Guid("084f1e3e-f0f5-4f2b-a75d-67f629308bf8"); },
|
|
2035
|
+
enumerable: false,
|
|
2036
|
+
configurable: true
|
|
2037
|
+
});
|
|
2038
|
+
Object.defineProperty(WebComponentManifests, "QuickSetupWizardSharelinksView", {
|
|
2039
|
+
get: function () { return new Guid("4e6730e5-25f1-4d99-81d1-7368f7e72f35"); },
|
|
2040
|
+
enumerable: false,
|
|
2041
|
+
configurable: true
|
|
2042
|
+
});
|
|
2043
|
+
Object.defineProperty(WebComponentManifests, "QuickSetupWizardContentView", {
|
|
2044
|
+
get: function () { return new Guid("c6633522-ba83-4077-99b1-a4e9cde070c6"); },
|
|
2045
|
+
enumerable: false,
|
|
2046
|
+
configurable: true
|
|
2047
|
+
});
|
|
2048
|
+
Object.defineProperty(WebComponentManifests, "QuickSetupWizardReviewView", {
|
|
2049
|
+
get: function () { return new Guid("911b4198-52b7-4b80-9ed4-b96269dcf8f1"); },
|
|
2050
|
+
enumerable: false,
|
|
2051
|
+
configurable: true
|
|
2052
|
+
});
|
|
1978
2053
|
return WebComponentManifests;
|
|
1979
2054
|
}());
|
|
1980
2055
|
export { WebComponentManifests };
|
|
@@ -104,6 +104,7 @@ export interface INotificationPanelBlockInstance {
|
|
|
104
104
|
getHistory(ids: string[]): Promise<Array<NotificationPanelHistoryEntry>>;
|
|
105
105
|
onChanged: IMessageBusTopicSubscription<void>;
|
|
106
106
|
}
|
|
107
|
+
export declare const notificationPanelLayoutProvider = "notificationpanel";
|
|
107
108
|
declare module '@omnia/fx-models/Layout' {
|
|
108
109
|
interface IBlockInstance<TSettings = void> {
|
|
109
110
|
notificationPanel: INotificationPanelBlockInstance;
|
|
@@ -21,3 +21,4 @@ export var NotificationTypes;
|
|
|
21
21
|
NotificationTypes[NotificationTypes["Automatic"] = 0] = "Automatic";
|
|
22
22
|
NotificationTypes[NotificationTypes["Custom"] = 1] = "Custom";
|
|
23
23
|
})(NotificationTypes || (NotificationTypes = {}));
|
|
24
|
+
export var notificationPanelLayoutProvider = "notificationpanel";
|
|
@@ -11,28 +11,28 @@ export declare module AppEnums {
|
|
|
11
11
|
Public = "Public",
|
|
12
12
|
Private = "Private"
|
|
13
13
|
}
|
|
14
|
+
enum PartToClone {
|
|
15
|
+
Apps = "Apps",
|
|
16
|
+
Channels = "Channels",
|
|
17
|
+
Members = "Members",
|
|
18
|
+
Settings = "Settings",
|
|
19
|
+
Tabs = "Tabs"
|
|
20
|
+
}
|
|
21
|
+
enum TemplateSetupTypes {
|
|
22
|
+
BaseTeamTemplate = 1,
|
|
23
|
+
BaseTeam = 2,
|
|
24
|
+
Custom = 3
|
|
25
|
+
}
|
|
14
26
|
enum GiphyContentRatingType {
|
|
15
27
|
Moderate = "Moderate",
|
|
16
28
|
Strict = "Strict"
|
|
17
29
|
}
|
|
18
30
|
enum InstalledTeamApps {
|
|
19
|
-
|
|
20
|
-
Planner = "com.microsoft.teamspace.tab.planner",
|
|
21
|
-
MicrosoftStream = "com.microsoftstream.embed.skypeteamstab",
|
|
22
|
-
MicrosoftForms = "81fef3a6-72aa-4648-a763-de824aeafb7d",
|
|
23
|
-
Word = "com.microsoft.teamspace.tab.file.staticviewer.word",
|
|
24
|
-
Excel = "com.microsoft.teamspace.tab.file.staticviewer.excel",
|
|
25
|
-
PowerPoint = "com.microsoft.teamspace.tab.file.staticviewer.powerpoint",
|
|
26
|
-
PDF = "com.microsoft.teamspace.tab.file.staticviewer.pdf",
|
|
27
|
-
Wiki = "com.microsoft.teamspace.tab.wiki",
|
|
28
|
-
DocumentLibrary = "com.microsoft.teamspace.tab.files.sharepoint",
|
|
29
|
-
OneNote = "0d820ecd-def2-4297-adad-78056cde7c78",
|
|
30
|
-
PowerBI = "com.microsoft.teamspace.tab.powerbi",
|
|
31
|
-
SharePoint = "2a527703-1f6f-4559-a332-d8a7d288cd88"
|
|
31
|
+
Planner = "com.microsoft.teamspace.tab.planner"
|
|
32
32
|
}
|
|
33
33
|
enum TeamAppsType {
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
App = 1,
|
|
35
|
+
Layout = 2
|
|
36
36
|
}
|
|
37
37
|
enum ResourceUrlType {
|
|
38
38
|
SharepointSite = 1,
|
|
@@ -14,6 +14,20 @@ export var AppEnums;
|
|
|
14
14
|
TeamPrivacyOptions["Public"] = "Public";
|
|
15
15
|
TeamPrivacyOptions["Private"] = "Private";
|
|
16
16
|
})(TeamPrivacyOptions = AppEnums.TeamPrivacyOptions || (AppEnums.TeamPrivacyOptions = {}));
|
|
17
|
+
var PartToClone;
|
|
18
|
+
(function (PartToClone) {
|
|
19
|
+
PartToClone["Apps"] = "Apps";
|
|
20
|
+
PartToClone["Channels"] = "Channels";
|
|
21
|
+
PartToClone["Members"] = "Members";
|
|
22
|
+
PartToClone["Settings"] = "Settings";
|
|
23
|
+
PartToClone["Tabs"] = "Tabs";
|
|
24
|
+
})(PartToClone = AppEnums.PartToClone || (AppEnums.PartToClone = {}));
|
|
25
|
+
var TemplateSetupTypes;
|
|
26
|
+
(function (TemplateSetupTypes) {
|
|
27
|
+
TemplateSetupTypes[TemplateSetupTypes["BaseTeamTemplate"] = 1] = "BaseTeamTemplate";
|
|
28
|
+
TemplateSetupTypes[TemplateSetupTypes["BaseTeam"] = 2] = "BaseTeam";
|
|
29
|
+
TemplateSetupTypes[TemplateSetupTypes["Custom"] = 3] = "Custom";
|
|
30
|
+
})(TemplateSetupTypes = AppEnums.TemplateSetupTypes || (AppEnums.TemplateSetupTypes = {}));
|
|
17
31
|
var GiphyContentRatingType;
|
|
18
32
|
(function (GiphyContentRatingType) {
|
|
19
33
|
GiphyContentRatingType["Moderate"] = "Moderate";
|
|
@@ -21,24 +35,12 @@ export var AppEnums;
|
|
|
21
35
|
})(GiphyContentRatingType = AppEnums.GiphyContentRatingType || (AppEnums.GiphyContentRatingType = {}));
|
|
22
36
|
var InstalledTeamApps;
|
|
23
37
|
(function (InstalledTeamApps) {
|
|
24
|
-
InstalledTeamApps["Website"] = "com.microsoft.teamspace.tab.web";
|
|
25
38
|
InstalledTeamApps["Planner"] = "com.microsoft.teamspace.tab.planner";
|
|
26
|
-
InstalledTeamApps["MicrosoftStream"] = "com.microsoftstream.embed.skypeteamstab";
|
|
27
|
-
InstalledTeamApps["MicrosoftForms"] = "81fef3a6-72aa-4648-a763-de824aeafb7d";
|
|
28
|
-
InstalledTeamApps["Word"] = "com.microsoft.teamspace.tab.file.staticviewer.word";
|
|
29
|
-
InstalledTeamApps["Excel"] = "com.microsoft.teamspace.tab.file.staticviewer.excel";
|
|
30
|
-
InstalledTeamApps["PowerPoint"] = "com.microsoft.teamspace.tab.file.staticviewer.powerpoint";
|
|
31
|
-
InstalledTeamApps["PDF"] = "com.microsoft.teamspace.tab.file.staticviewer.pdf";
|
|
32
|
-
InstalledTeamApps["Wiki"] = "com.microsoft.teamspace.tab.wiki";
|
|
33
|
-
InstalledTeamApps["DocumentLibrary"] = "com.microsoft.teamspace.tab.files.sharepoint";
|
|
34
|
-
InstalledTeamApps["OneNote"] = "0d820ecd-def2-4297-adad-78056cde7c78";
|
|
35
|
-
InstalledTeamApps["PowerBI"] = "com.microsoft.teamspace.tab.powerbi";
|
|
36
|
-
InstalledTeamApps["SharePoint"] = "2a527703-1f6f-4559-a332-d8a7d288cd88";
|
|
37
39
|
})(InstalledTeamApps = AppEnums.InstalledTeamApps || (AppEnums.InstalledTeamApps = {}));
|
|
38
40
|
var TeamAppsType;
|
|
39
41
|
(function (TeamAppsType) {
|
|
40
|
-
TeamAppsType[TeamAppsType["
|
|
41
|
-
TeamAppsType[TeamAppsType["
|
|
42
|
+
TeamAppsType[TeamAppsType["App"] = 1] = "App";
|
|
43
|
+
TeamAppsType[TeamAppsType["Layout"] = 2] = "Layout";
|
|
42
44
|
})(TeamAppsType = AppEnums.TeamAppsType || (AppEnums.TeamAppsType = {}));
|
|
43
45
|
var ResourceUrlType;
|
|
44
46
|
(function (ResourceUrlType) {
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { AppEnums } from './Enums';
|
|
2
|
-
import { GuidValue } from '@omnia/fx-models';
|
|
3
|
-
export interface
|
|
2
|
+
import { AppInstanceLayoutId, GuidValue } from '@omnia/fx-models';
|
|
3
|
+
export interface MicrosoftTeamGeneralProperties {
|
|
4
4
|
visibility?: AppEnums.TeamPrivacyOptions;
|
|
5
|
+
displayName?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface MicrosoftTeamCreationInformation extends MicrosoftTeamGeneralProperties {
|
|
5
9
|
channels?: Channel[];
|
|
6
10
|
memberSettings?: MemberSettings;
|
|
7
11
|
guestSettings?: GuestSettings;
|
|
@@ -9,6 +13,16 @@ export interface MSTeamsProperties {
|
|
|
9
13
|
messagingSettings?: MessagingSettings;
|
|
10
14
|
discoverySettings?: DiscoverySettings;
|
|
11
15
|
installedApps?: InstalledApp[];
|
|
16
|
+
msTeamTemplateId?: string;
|
|
17
|
+
templateSetupType: AppEnums.TemplateSetupTypes;
|
|
18
|
+
}
|
|
19
|
+
export interface MicrosoftTeamCloningProperties extends MicrosoftTeamGeneralProperties {
|
|
20
|
+
partsToClone: string;
|
|
21
|
+
mailNickName: string;
|
|
22
|
+
}
|
|
23
|
+
export interface MicrosoftTeamCloningInformation extends MicrosoftTeamCloningProperties {
|
|
24
|
+
msTeamAppId: GuidValue;
|
|
25
|
+
msTeamAppName?: string;
|
|
12
26
|
}
|
|
13
27
|
export interface Channel {
|
|
14
28
|
displayName?: string;
|
|
@@ -17,17 +31,29 @@ export interface Channel {
|
|
|
17
31
|
tabs?: Tab[];
|
|
18
32
|
isGeneral?: boolean;
|
|
19
33
|
}
|
|
34
|
+
export declare enum TabCustomUrlType {
|
|
35
|
+
Layout = 1
|
|
36
|
+
}
|
|
37
|
+
export interface TabCustomUrlConfiguration {
|
|
38
|
+
type: TabCustomUrlType;
|
|
39
|
+
}
|
|
40
|
+
export interface LayoutTabUrlConfiguration extends TabCustomUrlConfiguration {
|
|
41
|
+
type: TabCustomUrlType.Layout;
|
|
42
|
+
layoutId: AppInstanceLayoutId;
|
|
43
|
+
}
|
|
20
44
|
export interface Tab {
|
|
21
45
|
name?: string;
|
|
22
46
|
teamAppType?: AppEnums.TeamAppsType;
|
|
23
47
|
'teamsApp@odata.bind'?: string;
|
|
24
48
|
configuration?: TeamsAppConfig;
|
|
25
49
|
tabProvisionFeatureId?: GuidValue;
|
|
50
|
+
customUrlConfiguration?: TabCustomUrlConfiguration;
|
|
26
51
|
}
|
|
27
52
|
export interface TeamsAppConfig {
|
|
28
53
|
entityId?: string;
|
|
29
54
|
contentUrl?: string;
|
|
30
55
|
websiteUrl?: string;
|
|
56
|
+
createPlannerBoard?: boolean;
|
|
31
57
|
}
|
|
32
58
|
export interface MemberSettings {
|
|
33
59
|
allowCreateUpdateChannels?: boolean;
|
|
@@ -58,6 +84,7 @@ export interface DiscoverySettings {
|
|
|
58
84
|
showInTeamsSearchAndSuggestions?: boolean;
|
|
59
85
|
}
|
|
60
86
|
export interface InstalledApp {
|
|
87
|
+
title?: string;
|
|
61
88
|
'teamsApp@odata.bind'?: string;
|
|
62
89
|
teamAppType?: AppEnums.TeamAppsType;
|
|
63
90
|
configuration?: TeamsAppConfig;
|
package/internal-do-not-import-from-here/models/apps/OfficeNamingPolicyValidationResult.d.ts
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
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
|
+
* */
|
|
1
4
|
export interface OfficeNamingPolicyValidationResult {
|
|
2
5
|
alias: AliasValidationResult;
|
|
3
6
|
siteName: SiteNameValidationResult;
|
|
4
7
|
isValid: boolean;
|
|
5
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
|
+
* */
|
|
6
12
|
export interface AliasValidationResult {
|
|
7
13
|
blockedWord: string;
|
|
8
14
|
isExist: boolean;
|
|
@@ -11,6 +17,9 @@ export interface AliasValidationResult {
|
|
|
11
17
|
prefix: string;
|
|
12
18
|
suffix: string;
|
|
13
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
|
+
* */
|
|
14
23
|
export interface SiteNameValidationResult {
|
|
15
24
|
blockedWord: string;
|
|
16
25
|
isInvalid: boolean;
|
package/internal-do-not-import-from-here/models/apps/TeamCollaborationAppInstanceProperties.d.ts
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { Identity } from '@omnia/fx-models';
|
|
2
2
|
import { TeamCollaborationAppTemplateProperties } from './TeamCollaborationAppTemplateProperties';
|
|
3
3
|
import { Membership } from './Membership';
|
|
4
|
+
import { MicrosoftTeamCloningInformation } from '.';
|
|
4
5
|
export interface TeamCollaborationAppInstanceProperties extends TeamCollaborationAppTemplateProperties {
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* In 7.0 we should replace this to extends AppInstanceWithSharepointPropertiesStorage
|
|
9
|
+
* */
|
|
10
|
+
omniaRoutePrefix: string;
|
|
11
|
+
omniaPath: string;
|
|
5
12
|
spPath: string;
|
|
6
13
|
owner?: string;
|
|
7
14
|
spAlias: string;
|
|
@@ -10,4 +17,5 @@ export interface TeamCollaborationAppInstanceProperties extends TeamCollaboratio
|
|
|
10
17
|
readers?: Array<Identity>;
|
|
11
18
|
membership?: Membership;
|
|
12
19
|
appAdministrators: Array<string>;
|
|
20
|
+
msTeamCloningSettings?: MicrosoftTeamCloningInformation;
|
|
13
21
|
}
|
package/internal-do-not-import-from-here/models/apps/TeamCollaborationAppTemplateProperties.d.ts
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
import { AppEnums } from './Enums';
|
|
2
2
|
import { AppTemplateProperties, GuidValue } from '@omnia/fx-models';
|
|
3
|
+
import { MicrosoftTeamCreationInformation } from '.';
|
|
3
4
|
export interface PermissionIdentities {
|
|
4
5
|
defaultAdministrator?: string[];
|
|
5
6
|
secondAdministrator?: string[];
|
|
6
7
|
visitors?: string[];
|
|
7
8
|
}
|
|
9
|
+
export interface InformationProtectionLabel {
|
|
10
|
+
id: GuidValue;
|
|
11
|
+
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
sensitivity: number;
|
|
14
|
+
isActive: boolean;
|
|
15
|
+
}
|
|
8
16
|
export interface TeamCollaborationAppTemplateProperties extends AppTemplateProperties {
|
|
9
17
|
appType?: AppEnums.TeamCollaborationAppType;
|
|
10
18
|
location?: string;
|
|
@@ -17,4 +25,7 @@ export interface TeamCollaborationAppTemplateProperties extends AppTemplatePrope
|
|
|
17
25
|
timezoneId: string;
|
|
18
26
|
siteDesignId?: GuidValue;
|
|
19
27
|
defaultResourceUrlType?: AppEnums.ResourceUrlType;
|
|
28
|
+
sensitivityLabelId?: GuidValue;
|
|
29
|
+
userCanSelectTimeZone?: boolean;
|
|
30
|
+
msTeam?: MicrosoftTeamCreationInformation;
|
|
20
31
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { AppLayoutDefinition } from "@omnia/fx/models";
|
|
3
|
+
var TeamworkAppLayoutDefinition = /** @class */ (function (_super) {
|
|
4
|
+
__extends(TeamworkAppLayoutDefinition, _super);
|
|
5
|
+
function TeamworkAppLayoutDefinition() {
|
|
6
|
+
return _super.call(this, "c8d6dfe7-25cb-4b05-8e30-0dca4b1c05fe") || this;
|
|
7
|
+
}
|
|
8
|
+
return TeamworkAppLayoutDefinition;
|
|
9
|
+
}(AppLayoutDefinition));
|
|
10
|
+
export { TeamworkAppLayoutDefinition };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { GuidValue, MultilingualString, SpacingSettings, ThemeDefinition } from "@omnia/fx/models";
|
|
2
|
+
export declare enum PostsFeedScopeOption {
|
|
3
|
+
CurrentApp = 1,
|
|
4
|
+
CustomScope = 2
|
|
5
|
+
}
|
|
6
|
+
export declare enum PostsFeedSortMode {
|
|
7
|
+
LastActivity = 1
|
|
8
|
+
}
|
|
9
|
+
export interface PostsFeedAppTemplateScope {
|
|
10
|
+
id: GuidValue;
|
|
11
|
+
appDefinitionId?: GuidValue;
|
|
12
|
+
}
|
|
13
|
+
export interface PostsFeedBlockSettings {
|
|
14
|
+
spacing?: SpacingSettings;
|
|
15
|
+
scope: {
|
|
16
|
+
option: PostsFeedScopeOption;
|
|
17
|
+
selectedAppDefinitionId?: GuidValue;
|
|
18
|
+
addedTemplates?: Array<PostsFeedAppTemplateScope>;
|
|
19
|
+
};
|
|
20
|
+
blockTitle: MultilingualString;
|
|
21
|
+
filterByFollowed?: boolean;
|
|
22
|
+
enableOrgWidePosts?: boolean;
|
|
23
|
+
enableMention?: boolean;
|
|
24
|
+
allowLikes?: boolean;
|
|
25
|
+
sortMode?: PostsFeedSortMode;
|
|
26
|
+
defaultRepliesNumber?: number;
|
|
27
|
+
cardStyle?: ThemeDefinition;
|
|
28
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var PostsFeedScopeOption;
|
|
2
|
+
(function (PostsFeedScopeOption) {
|
|
3
|
+
PostsFeedScopeOption[PostsFeedScopeOption["CurrentApp"] = 1] = "CurrentApp";
|
|
4
|
+
PostsFeedScopeOption[PostsFeedScopeOption["CustomScope"] = 2] = "CustomScope";
|
|
5
|
+
})(PostsFeedScopeOption || (PostsFeedScopeOption = {}));
|
|
6
|
+
export var PostsFeedSortMode;
|
|
7
|
+
(function (PostsFeedSortMode) {
|
|
8
|
+
PostsFeedSortMode[PostsFeedSortMode["LastActivity"] = 1] = "LastActivity";
|
|
9
|
+
})(PostsFeedSortMode || (PostsFeedSortMode = {}));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { GuidValue, TargetResolverTypes } from "@omnia/fx-models";
|
|
2
|
+
export declare enum QuickSetupScope {
|
|
3
|
+
Tenant = 1,
|
|
4
|
+
BusinessProfile = 2
|
|
5
|
+
}
|
|
6
|
+
export interface QuickSetupContent {
|
|
7
|
+
id: GuidValue;
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
order?: number;
|
|
11
|
+
scopes: QuickSetupScope[];
|
|
12
|
+
uncheckedByDefault?: boolean;
|
|
13
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
14
|
+
}
|
|
15
|
+
export interface QuickSetupStep {
|
|
16
|
+
title: string;
|
|
17
|
+
feature: {
|
|
18
|
+
id: GuidValue;
|
|
19
|
+
scope: TargetResolverTypes;
|
|
20
|
+
};
|
|
21
|
+
order?: number;
|
|
22
|
+
scopes: QuickSetupRender[];
|
|
23
|
+
stopOnFailed?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface QuickSetupRender {
|
|
26
|
+
scope: QuickSetupScope;
|
|
27
|
+
hidden: boolean;
|
|
28
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ApiPath } from "@omnia/fx-models";
|
|
2
|
+
import { StepProvider } from ".";
|
|
3
|
+
import { QuickSetupWizardView } from "../../../models";
|
|
4
|
+
export interface IQuickSetupWizardRegistrationApi {
|
|
5
|
+
registerViews: (providers: QuickSetupWizardView | QuickSetupWizardView[]) => void;
|
|
6
|
+
getAllViews: () => QuickSetupWizardView[];
|
|
7
|
+
}
|
|
8
|
+
export interface IStepProviderRegistrationApi {
|
|
9
|
+
registerStepProvider: (providers: StepProvider | StepProvider[]) => void;
|
|
10
|
+
getAllStepProviders: () => StepProvider[];
|
|
11
|
+
}
|
|
12
|
+
declare module '../WorkplaceApi' {
|
|
13
|
+
interface IWorkplaceApi {
|
|
14
|
+
wizard: {
|
|
15
|
+
registration: Promise<IQuickSetupWizardRegistrationApi>;
|
|
16
|
+
stepproviders: Promise<IStepProviderRegistrationApi>;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
interface IWorkplaceExtendApiManifest {
|
|
20
|
+
wizard: {
|
|
21
|
+
registration: ApiPath;
|
|
22
|
+
stepproviders: ApiPath;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GuidValue } from "@omnia/fx/models";
|
|
2
|
+
import { QuickSetupContent, QuickSetupStep } from "./QuickSetupSettings";
|
|
3
|
+
export declare abstract class StepProvider {
|
|
4
|
+
abstract readonly omniaServiceId: GuidValue;
|
|
5
|
+
abstract steps: QuickSetupStep[];
|
|
6
|
+
abstract contents: QuickSetupContent[];
|
|
7
|
+
}
|
|
@@ -70,10 +70,12 @@ export declare const AppLaunchStyles: {
|
|
|
70
70
|
export declare const SimpleListingSearchTemplateStyles: {
|
|
71
71
|
itemWrapper?: types.NestedCSSProperties;
|
|
72
72
|
linkAvatar?: types.NestedCSSProperties;
|
|
73
|
+
noneBgIconContainer?: (iconSize: string) => types.NestedCSSProperties;
|
|
73
74
|
};
|
|
74
75
|
export declare const AppIconSearchTemplateStyles: {
|
|
75
76
|
itemWrapper?: types.NestedCSSProperties;
|
|
76
77
|
itemInner?: types.NestedCSSProperties;
|
|
77
78
|
linkAvatar?: types.NestedCSSProperties;
|
|
79
|
+
noneBgIconContainer?: (iconSize: string) => types.NestedCSSProperties;
|
|
78
80
|
link?: types.NestedCSSProperties;
|
|
79
81
|
};
|
|
@@ -19,6 +19,7 @@ declare type SearchRule = {
|
|
|
19
19
|
noResult?: (showOnHeader: boolean, dropdownResultMode: boolean) => types.NestedCSSProperties;
|
|
20
20
|
searchBox?: (styling: SearchBoxStyling, theming: ITheming) => types.NestedCSSProperties;
|
|
21
21
|
dropdownResult?: (height: number, showOnHeader: boolean) => types.NestedCSSProperties;
|
|
22
|
+
dropdownOverride?: types.NestedCSSProperties;
|
|
22
23
|
};
|
|
23
24
|
export declare const SearchAdminStyles: {
|
|
24
25
|
container?: types.NestedCSSProperties;
|
|
@@ -63,10 +64,14 @@ export declare const AdvancedSearchStyles: {
|
|
|
63
64
|
positionSearchBlock?: types.NestedCSSProperties;
|
|
64
65
|
linkSeeLess?: types.NestedCSSProperties;
|
|
65
66
|
dropdownResultTabs?: types.NestedCSSProperties;
|
|
66
|
-
dropdownResult?: (height: number, width: number, showOnHeader: boolean, xsOnly: boolean) => types.NestedCSSProperties;
|
|
67
|
+
dropdownResult?: (height: number, width: number, showOnHeader: boolean, xsOnly: boolean, containerLeftPosition?: number) => types.NestedCSSProperties;
|
|
67
68
|
searchBox?: (styling: SearchBoxStyling, theming: ITheming) => types.NestedCSSProperties;
|
|
68
69
|
footerContainer?: types.NestedCSSProperties;
|
|
69
70
|
textAlignLeft?: types.NestedCSSProperties;
|
|
71
|
+
promotedResultHeader?: types.NestedCSSProperties;
|
|
72
|
+
promotedResultDivider?: types.NestedCSSProperties;
|
|
73
|
+
refinerPanelHeader?: types.NestedCSSProperties;
|
|
74
|
+
refinerPanelContent?: types.NestedCSSProperties;
|
|
70
75
|
};
|
|
71
76
|
export declare const SearchBlockStyles: {
|
|
72
77
|
blockSpacing: (spacing: SpacingSettings) => types.NestedCSSProperties;
|
|
@@ -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
|
};
|
|
@@ -20,6 +20,15 @@ export interface TeamCollaborationRollupResultItem {
|
|
|
20
20
|
templateIcon?: any;
|
|
21
21
|
defaultResourceUrlType?: AppEnums.ResourceUrlType;
|
|
22
22
|
}
|
|
23
|
+
export interface MSTeamResponseResult {
|
|
24
|
+
createdDateTime?: string;
|
|
25
|
+
isArchived?: boolean;
|
|
26
|
+
id: GuidValue;
|
|
27
|
+
webUrl: string;
|
|
28
|
+
displayName: string;
|
|
29
|
+
description?: string;
|
|
30
|
+
visibility?: AppEnums.TeamPrivacyOptions;
|
|
31
|
+
}
|
|
23
32
|
export interface TeamCollaborationResult {
|
|
24
33
|
total: number;
|
|
25
34
|
items: Array<TeamCollaborationRollupResultItem>;
|
|
@@ -62,6 +71,7 @@ export interface UITaxonomyPropFilterValue extends TaxonomyPropFilterValue {
|
|
|
62
71
|
}
|
|
63
72
|
export interface UISearchboxFilterValue extends TexSearchestPropFilterValue {
|
|
64
73
|
properties: Array<string>;
|
|
74
|
+
/** Default search text value from settings */
|
|
65
75
|
searchValue: string;
|
|
66
76
|
}
|
|
67
77
|
export interface TeamCollaborationRollupQuery extends RollupSetting {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MSTeamsInfo, MSTeamsChannel, MSTeamsApps, TeamCollaborationResult } from '../../fx/models';
|
|
1
|
+
import { MSTeamsInfo, MSTeamsChannel, MSTeamsApps, TeamCollaborationResult, MSTeamResponseResult, InformationProtectionLabel } from '../../fx/models';
|
|
2
2
|
import { IHttpApiOperationResult, RollupSetting, AppInstance } from '@omnia/fx-models';
|
|
3
3
|
export declare class TeamCollaborationService {
|
|
4
4
|
private httpClient;
|
|
@@ -14,4 +14,8 @@ export declare class TeamCollaborationService {
|
|
|
14
14
|
getMSTeamsPrimaryChannel: (groupId: string) => Promise<MSTeamsChannel>;
|
|
15
15
|
getMSTeamsApps: (distributionMethod: string) => Promise<MSTeamsApps[]>;
|
|
16
16
|
changeTemplate: (app: AppInstance) => Promise<IHttpApiOperationResult<AppInstance>>;
|
|
17
|
+
getCurrentUserJoinedTeams: () => Promise<MSTeamResponseResult[]>;
|
|
18
|
+
getCurrentUserSensitivityLabels: () => Promise<InformationProtectionLabel[]>;
|
|
19
|
+
triggerSharepointSynchronization: () => Promise<any>;
|
|
20
|
+
ensureCurrentUserPermissionsToSync: () => Promise<boolean>;
|
|
17
21
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GuidValue, IRouteContext } from '@omnia/fx-models';
|
|
2
|
+
interface AvailableBootstrapElementDictionary {
|
|
3
|
+
[elementName: string]: (routeContext: IRouteContext) => boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare class AppRendererBootstrapper {
|
|
6
|
+
private trackingAppId;
|
|
7
|
+
private renderingElementName;
|
|
8
|
+
private appDefinitionIds;
|
|
9
|
+
private availableBootstrapElementDictionary;
|
|
10
|
+
private relevantElementsToCleanup;
|
|
11
|
+
constructor(appDefinitionIds: GuidValue[], availableBootstrapElementDictionary: AvailableBootstrapElementDictionary, relevantElementsToCleanup: string[]);
|
|
12
|
+
private cleanup;
|
|
13
|
+
private handler;
|
|
14
|
+
run(): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OmniaContext } from '@omnia/fx';
|
|
2
|
+
import { IMessageBusTopicSubscription } from "@omnia/fx-models";
|
|
3
|
+
import { microsoftTeams } from '@omnia/fx-msteams/internal-do-not-import-from-here/MicrosoftTeams';
|
|
4
|
+
import { SharePointEnvironmentContext, SharePointPageContext } from '@omnia/fx-sp';
|
|
5
|
+
interface MSTeamsTabContext {
|
|
6
|
+
readonly id: string;
|
|
7
|
+
readonly teamsAppId: string;
|
|
8
|
+
readonly context: microsoftTeams.Context;
|
|
9
|
+
readonly microsoftTeamsApi: typeof microsoftTeams;
|
|
10
|
+
}
|
|
11
|
+
export declare class TeamworkContext {
|
|
12
|
+
private graphClient;
|
|
13
|
+
private spClient;
|
|
14
|
+
private sharePointContext;
|
|
15
|
+
private omniaContext;
|
|
16
|
+
private initPromise;
|
|
17
|
+
private contextChangedPublishSubscriber;
|
|
18
|
+
constructor();
|
|
19
|
+
get instance(): {
|
|
20
|
+
spPageContext: SharePointPageContext;
|
|
21
|
+
spEnvironmentContext: SharePointEnvironmentContext;
|
|
22
|
+
msTeamsTabContext: MSTeamsTabContext;
|
|
23
|
+
omniaContext: OmniaContext;
|
|
24
|
+
};
|
|
25
|
+
get onReady(): Promise<void>;
|
|
26
|
+
get onChanged(): IMessageBusTopicSubscription<TeamworkContext>;
|
|
27
|
+
private _instance;
|
|
28
|
+
private static getMsTeamsTabContextPromise;
|
|
29
|
+
private init;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
package/package.json
CHANGED
package/task.ts
CHANGED
|
File without changes
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
//import { TargetingFilterProperty } from "@omnia/fx-sp/models";
|
|
2
|
-
//import { GuidValue, MultilingualString } from "@omnia/fx/models";
|
|
3
|
-
//import { DictionaryPropertiesMapping, Enums } from "..";
|
|
4
|
-
//export interface SearchCategoryBase {
|
|
5
|
-
// id: GuidValue;
|
|
6
|
-
// providerId: GuidValue;
|
|
7
|
-
// title: MultilingualString;
|
|
8
|
-
// //resultSource?: string;
|
|
9
|
-
// //enableQueryRules?: boolean;
|
|
10
|
-
// enableWildcardSearch: boolean;
|
|
11
|
-
// query: string;
|
|
12
|
-
// sortBy?: string;
|
|
13
|
-
// sortDirection?: Enums.SortDirection;
|
|
14
|
-
// itemTemplateIds: Array<string>;
|
|
15
|
-
// listTemplatePropertiesMapping?: { [templateId: string]: DictionaryPropertiesMapping };
|
|
16
|
-
// targetingFilter?: TargetingFilterProperty;
|
|
17
|
-
// //multilingualTitle: string;
|
|
18
|
-
// //providerId?: GuidValue;
|
|
19
|
-
// //contentSources?: Array<string>;
|
|
20
|
-
//}
|
|
21
|
-
//export interface SharePointSearchCategory extends SearchCategoryBase {
|
|
22
|
-
// resultSource: string;
|
|
23
|
-
// enableQueryRules: boolean;
|
|
24
|
-
//}
|
|
25
|
-
//export interface MicrosoftSearchCategory extends SearchCategoryBase {
|
|
26
|
-
// resultSource: string;
|
|
27
|
-
// contentSources?: Array<string>;//??? not see in DB
|
|
28
|
-
//}
|
|
29
|
-
//export interface SharedLinksSearchCategory extends SearchCategoryBase {
|
|
30
|
-
//}
|
|
File without changes
|