@omnia/workplace 8.0.7-dev → 8.0.9-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/loc/formLocalize.d.ts +87 -2
- 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 +89 -73
- package/internal-do-not-import-from-here/models/Constants.js +101 -85
- package/internal-do-not-import-from-here/models/EnterpriseGlossary.d.ts +4 -4
- package/internal-do-not-import-from-here/models/GovernanceDashboards.d.ts +10 -10
- package/internal-do-not-import-from-here/models/GovernanceDashboards.js +1 -1
- package/internal-do-not-import-from-here/models/ISearchTemplate.d.ts +3 -3
- package/internal-do-not-import-from-here/models/ManifestIds.d.ts +575 -544
- package/internal-do-not-import-from-here/models/ManifestIds.js +575 -544
- package/internal-do-not-import-from-here/models/NotificationPanel.d.ts +7 -7
- package/internal-do-not-import-from-here/models/NotificationPanelMsg.d.ts +3 -3
- package/internal-do-not-import-from-here/models/RegisterActionMenuItemMsg.d.ts +2 -2
- package/internal-do-not-import-from-here/models/Search.d.ts +6 -6
- package/internal-do-not-import-from-here/models/SearchCategory.d.ts +5 -5
- package/internal-do-not-import-from-here/models/SearchProvider.d.ts +4 -4
- package/internal-do-not-import-from-here/models/Secrets.d.ts +3 -3
- package/internal-do-not-import-from-here/models/SharedLink.d.ts +2 -2
- package/internal-do-not-import-from-here/models/TaxonomyNavigation.d.ts +2 -2
- package/internal-do-not-import-from-here/models/Workspace.d.ts +4 -4
- package/internal-do-not-import-from-here/models/Workspace.js +4 -4
- package/internal-do-not-import-from-here/models/analytics/matomosite.d.ts +2 -2
- package/internal-do-not-import-from-here/models/apps/MSTeamsInfo.d.ts +2 -2
- package/internal-do-not-import-from-here/models/apps/MSTeamsProperties.d.ts +3 -3
- package/internal-do-not-import-from-here/models/apps/TeamCollaborationAppTemplateProperties.d.ts +4 -4
- package/internal-do-not-import-from-here/models/apps/TeamworkAppLayoutDefinition.js +1 -1
- package/internal-do-not-import-from-here/models/components/PostsFeedBlock.d.ts +4 -4
- package/internal-do-not-import-from-here/models/forms/Form.d.ts +56 -29
- package/internal-do-not-import-from-here/models/forms/Form.js +19 -1
- package/internal-do-not-import-from-here/models/forms/FormApi.d.ts +20 -0
- package/internal-do-not-import-from-here/models/forms/FormApi.js +2 -0
- package/internal-do-not-import-from-here/models/forms/FormDialogModel.d.ts +4 -0
- package/internal-do-not-import-from-here/models/forms/FormDialogModel.js +2 -0
- package/internal-do-not-import-from-here/models/forms/FormLayout.d.ts +3 -3
- package/internal-do-not-import-from-here/models/forms/FormQuery.d.ts +32 -0
- package/internal-do-not-import-from-here/models/forms/FormQuery.js +2 -0
- package/internal-do-not-import-from-here/models/forms/FormTemplate.d.ts +36 -0
- package/internal-do-not-import-from-here/models/forms/FormTemplate.js +2 -0
- package/internal-do-not-import-from-here/models/forms/FormType.d.ts +21 -0
- package/internal-do-not-import-from-here/models/forms/FormType.js +2 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockSettings.d.ts +83 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockSettings.js +9 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockViewSettings.d.ts +24 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockViewSettings.js +2 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupConstant.d.ts +14 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupConstant.js +18 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupStyle.d.ts +20 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupStyle.js +8 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupViewRendererComponent.d.ts +7 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupViewRendererComponent.js +2 -0
- package/internal-do-not-import-from-here/models/forms/components/FormViewComponentSettings.d.ts +11 -0
- package/internal-do-not-import-from-here/models/forms/components/FormViewComponentSettings.js +2 -0
- package/internal-do-not-import-from-here/models/forms/components/ListViewComponentSettings.d.ts +18 -0
- package/internal-do-not-import-from-here/models/forms/components/ListViewComponentSettings.js +2 -0
- package/internal-do-not-import-from-here/models/forms/components/index.d.ts +7 -0
- package/internal-do-not-import-from-here/models/forms/components/index.js +10 -0
- package/internal-do-not-import-from-here/models/forms/index.d.ts +6 -0
- package/internal-do-not-import-from-here/models/forms/index.js +6 -0
- package/internal-do-not-import-from-here/models/governancedashboard/TeamworkGovernanceDashboard.d.ts +2 -2
- package/internal-do-not-import-from-here/models/myteamcollaboration/TeamCollabrationApp.d.ts +2 -2
- package/internal-do-not-import-from-here/models/promotedsearchresults/PromotedSearchResult.d.ts +2 -2
- package/internal-do-not-import-from-here/models/searchfeedbacks/SearchFeedback.d.ts +5 -5
- package/internal-do-not-import-from-here/models/searchfeedbacks/SearchFeedbackQuery.d.ts +2 -2
- package/internal-do-not-import-from-here/models/searchstatistics/SearchStatistics.d.ts +14 -14
- package/internal-do-not-import-from-here/models/searchstatistics/SearchStatistics.js +5 -5
- package/internal-do-not-import-from-here/models/searchstatistics/SearchStatisticsMetricFilter.d.ts +2 -2
- package/internal-do-not-import-from-here/models/searchtoken/SearchTokenProvider.d.ts +2 -2
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardProviderApi.d.ts +2 -2
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardSettings.d.ts +6 -6
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.d.ts +3 -3
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.js +2 -2
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequest.d.ts +3 -3
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestApi.d.ts +4 -4
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestDetail.d.ts +2 -2
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRecurrence.d.ts +38 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRecurrence.js +7 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRecurrenceQuery.d.ts +10 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRecurrenceQuery.js +2 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.d.ts +7 -7
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResourceProvider.d.ts +2 -2
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResponse.d.ts +3 -3
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupBlockSettings.d.ts +5 -5
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupViewSettings.d.ts +4 -4
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestSettings.d.ts +3 -3
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestTemplate.d.ts +7 -3
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestType.d.ts +5 -5
- package/internal-do-not-import-from-here/models/signoffrequest/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/signoffrequest/index.js +1 -0
- package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffEmailRequest.d.ts +2 -2
- package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffRequestCreateModel.d.ts +2 -2
- package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffRequestTypeCreateModel.d.ts +3 -3
- package/internal-do-not-import-from-here/models/teamcollaborationnavigation/TeamCollaborationNavigationSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlock.d.ts +7 -7
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupView.d.ts +2 -2
- package/internal-do-not-import-from-here/models/teamnewsrollup/TeamNewsRollupSettings.d.ts +3 -3
- package/internal-do-not-import-from-here/models/teamnewsrollup/TeamNewsRollupViewRegistration.d.ts +4 -4
- package/internal-do-not-import-from-here/services/AnalyticsStoreService.d.ts +7 -7
- package/internal-do-not-import-from-here/services/AppAuthenticationOptionsService.d.ts +3 -3
- package/internal-do-not-import-from-here/services/PromotedSearchResultService.d.ts +3 -3
- package/internal-do-not-import-from-here/services/SearchFeedbackService.d.ts +2 -2
- package/internal-do-not-import-from-here/services/SignOffRequestService.d.ts +7 -7
- package/internal-do-not-import-from-here/services/{FormService.d.ts → form/FormService.d.ts} +7 -4
- package/internal-do-not-import-from-here/services/form/FormTemplateService.d.ts +12 -0
- package/internal-do-not-import-from-here/services/form/FormTypeService.d.ts +11 -0
- package/internal-do-not-import-from-here/services/form/index.d.ts +3 -0
- package/internal-do-not-import-from-here/services/index.d.ts +1 -1
- package/internal-do-not-import-from-here/stores/AnalyticsFilterStore.d.ts +40 -0
- package/internal-do-not-import-from-here/stores/AnalyticsStore.d.ts +168 -6
- package/internal-do-not-import-from-here/stores/CurrentFormStore.d.ts +3 -3
- package/internal-do-not-import-from-here/stores/GovernanceDashboardStore.d.ts +3 -3
- package/internal-do-not-import-from-here/stores/NotificationPanelStore.d.ts +2 -2
- package/internal-do-not-import-from-here/stores/PromotedSearchResultStore.d.ts +5 -6
- package/internal-do-not-import-from-here/stores/SignOffRequestStore.d.ts +6 -5
- package/internal-do-not-import-from-here/stores/{FormStore.d.ts → form/FormStore.d.ts} +6 -4
- package/internal-do-not-import-from-here/stores/form/FormTemplateStore.d.ts +24 -0
- package/internal-do-not-import-from-here/stores/form/FormTypeStore.d.ts +24 -0
- package/internal-do-not-import-from-here/stores/form/index.d.ts +3 -0
- package/internal-do-not-import-from-here/stores/index.d.ts +1 -1
- package/internal-do-not-import-from-here/tooling.output.json +1 -1
- package/internal-do-not-import-from-here/ux/AppRendererBootstrapper.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/MediaPickerProviderStorageWorkplaceContext.d.ts +31 -29
- package/internal-do-not-import-from-here/wctypings.d.ts +190 -55
- package/internal-do-not-import-from-here/webcomponents/IAppAuthenticationOptionsComponent.d.ts +2 -2
- package/package.json +1 -1
- package/task.js +3 -2
- package/task.ts +3 -2
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Spacing,
|
1
|
+
import { Spacing, guid, MultilingualString, IconPickerModel, IMessageBusTopicSubscription } from "@omnia/fx-models";
|
2
2
|
import { NotificationPanelHistoryEntry } from "./NotificationPanelHistoryEntry";
|
3
3
|
export interface CategoryIconDisplaySettings {
|
4
4
|
showIcon: boolean;
|
@@ -33,7 +33,7 @@ export interface NotificationPanelActionHandlerSettings extends NotificationPane
|
|
33
33
|
};
|
34
34
|
}
|
35
35
|
export interface NotificationPanelBlockSettings {
|
36
|
-
blockId:
|
36
|
+
blockId: guid;
|
37
37
|
defaultNotificationPanelId: string;
|
38
38
|
customColors: NotificationPanelCustomColorModel;
|
39
39
|
categoryIconDisplaySettings: CategoryIconDisplaySettings;
|
@@ -47,7 +47,7 @@ export interface BlockHeaderSettings {
|
|
47
47
|
color: string;
|
48
48
|
}
|
49
49
|
export interface NotificationPanelSettingsModel {
|
50
|
-
id?:
|
50
|
+
id?: guid;
|
51
51
|
title?: string;
|
52
52
|
categories: Array<NotificationPanelCategoryModel>;
|
53
53
|
customColors?: NotificationPanelCustomColorModel;
|
@@ -84,18 +84,18 @@ export interface NotificationPanelCustomColorModel {
|
|
84
84
|
export interface NotificationPanelCategoryModel {
|
85
85
|
title: MultilingualString;
|
86
86
|
icon?: IconPickerModel;
|
87
|
-
id:
|
87
|
+
id: guid;
|
88
88
|
components: Array<NotificationPanelComponentModel>;
|
89
89
|
notificationType: NotificationTypes;
|
90
90
|
notificationProviderId?: string;
|
91
91
|
}
|
92
92
|
export interface NotificationPanelComponentModel {
|
93
93
|
elementToRender?: string;
|
94
|
-
componentManifestId:
|
95
|
-
settingsComponentManifestId?:
|
94
|
+
componentManifestId: guid;
|
95
|
+
settingsComponentManifestId?: guid;
|
96
96
|
title: string;
|
97
97
|
settingsValue?: any;
|
98
|
-
id:
|
98
|
+
id: guid;
|
99
99
|
}
|
100
100
|
export interface IBlockInstanceInNotificationPanel {
|
101
101
|
readonly visibled: boolean;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
export interface RegisterNotificationPanelComponent {
|
3
3
|
/**
|
4
4
|
* Registration Title. Support localization : $Localize:A.B.C;
|
@@ -7,11 +7,11 @@ export interface RegisterNotificationPanelComponent {
|
|
7
7
|
/**
|
8
8
|
* The component that will be rendered.
|
9
9
|
*/
|
10
|
-
componentManifestId:
|
10
|
+
componentManifestId: guid;
|
11
11
|
/**
|
12
12
|
* The settings component that will be rendered
|
13
13
|
*/
|
14
|
-
settingsComponentManifestId?:
|
14
|
+
settingsComponentManifestId?: guid;
|
15
15
|
}
|
16
16
|
export interface RegisterNotificationProvider {
|
17
17
|
/**
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { IIcon,
|
1
|
+
import { IIcon, guid } from "@omnia/fx/models";
|
2
2
|
export interface RegisterActionMenuItemMsg {
|
3
3
|
/**
|
4
4
|
* Registration Id
|
5
5
|
*/
|
6
|
-
id:
|
6
|
+
id: guid;
|
7
7
|
/**
|
8
8
|
* Registration Title. Support localization : $Localize:A.B.C;
|
9
9
|
*/
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx/models";
|
2
2
|
import { Enums } from "./Enums";
|
3
3
|
import { SearchCategoryBase } from "./SearchCategory";
|
4
4
|
export interface SearchResultItem {
|
@@ -7,10 +7,10 @@ export interface SearchResultItem {
|
|
7
7
|
*/
|
8
8
|
itemType: Enums.SearchResultItemTypes;
|
9
9
|
imageIconSize?: string;
|
10
|
-
imageRatioUniqueId?:
|
10
|
+
imageRatioUniqueId?: guid;
|
11
11
|
}
|
12
12
|
export interface CategorySearchResult {
|
13
|
-
categoryId:
|
13
|
+
categoryId: guid;
|
14
14
|
totalRows: number;
|
15
15
|
items: Array<SearchResultItem>;
|
16
16
|
}
|
@@ -65,8 +65,8 @@ export interface Refinement {
|
|
65
65
|
}
|
66
66
|
export interface SearchProviderBase {
|
67
67
|
title: string;
|
68
|
-
providerId:
|
69
|
-
providerDisplayRenderManifestId:
|
68
|
+
providerId: guid;
|
69
|
+
providerDisplayRenderManifestId: guid;
|
70
70
|
}
|
71
71
|
export interface SearchProviderSettingProps<T extends SearchCategoryBase> {
|
72
72
|
searchCategory: T;
|
@@ -78,7 +78,7 @@ export interface SearchRequest {
|
|
78
78
|
}
|
79
79
|
export interface SearchCategoryOption {
|
80
80
|
paging: PagingOption;
|
81
|
-
providerId:
|
81
|
+
providerId: guid;
|
82
82
|
searchCategory: SearchCategoryBase;
|
83
83
|
}
|
84
84
|
export interface PagingOption {
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import { PropertyMapping, Enums } from ".";
|
2
2
|
import { TargetingFilterProperty } from "@omnia/fx-sp-models";
|
3
|
-
import { MultilingualString,
|
3
|
+
import { MultilingualString, guid } from "@omnia/fx-models";
|
4
4
|
export interface SearchCategoryBase {
|
5
|
-
id:
|
6
|
-
providerId:
|
5
|
+
id: guid;
|
6
|
+
providerId: guid;
|
7
7
|
title: MultilingualString;
|
8
8
|
enableWildcardSearch: boolean;
|
9
9
|
itemTemplateIds: Array<string>;
|
10
10
|
targetingFilter?: TargetingFilterProperty;
|
11
|
-
businessProfileId:
|
12
|
-
providerComponentId:
|
11
|
+
businessProfileId: guid;
|
12
|
+
providerComponentId: guid;
|
13
13
|
query?: string;
|
14
14
|
}
|
15
15
|
export interface SharePointSearchCategory extends SearchCategoryBase {
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx/models";
|
2
2
|
import { CategorySearchResult, SearchProviderBase, SearchRequest } from ".";
|
3
3
|
export declare abstract class SearchProvider implements SearchProviderBase {
|
4
4
|
abstract readonly title: string;
|
5
|
-
abstract readonly omniaServiceId:
|
6
|
-
abstract readonly providerId:
|
7
|
-
abstract providerDisplayRenderManifestId:
|
5
|
+
abstract readonly omniaServiceId: guid;
|
6
|
+
abstract readonly providerId: guid;
|
7
|
+
abstract providerDisplayRenderManifestId: guid;
|
8
8
|
getSearchCategoryResult: (searchRequest: SearchRequest) => Promise<CategorySearchResult[]>;
|
9
9
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SecretInfo, Secret,
|
1
|
+
import { SecretInfo, Secret, guid } from "@omnia/fx-models";
|
2
2
|
export interface SecretInfoViewModel extends SecretInfo {
|
3
3
|
localizedTitle: string;
|
4
4
|
localizedBladeTitle: string;
|
@@ -11,6 +11,6 @@ export interface ISecretFormComponentProps {
|
|
11
11
|
"v-model"?: Secret;
|
12
12
|
getApi(api: ISecretFormApi): void;
|
13
13
|
"onUpdate:modelValue"?: (secret: Secret) => void;
|
14
|
-
profileId?:
|
15
|
-
bladeId?:
|
14
|
+
profileId?: guid;
|
15
|
+
bladeId?: guid;
|
16
16
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid, IconPickerModel, MultilingualString } from "@omnia/fx-models";
|
2
2
|
import { TargetingFilterProperty } from "@omnia/fx-sp-models";
|
3
3
|
import { SearchResultItem } from "./Search";
|
4
4
|
export interface MyLinkIcon extends IconPickerModel {
|
@@ -20,7 +20,7 @@ export interface QuickLink {
|
|
20
20
|
modifiedAt?: Date;
|
21
21
|
deletedAt?: Date;
|
22
22
|
isOwner?: boolean;
|
23
|
-
businessProfileId?:
|
23
|
+
businessProfileId?: guid;
|
24
24
|
targetingFilter?: TargetingFilterProperty;
|
25
25
|
isTargeted?: boolean;
|
26
26
|
fixedUrl: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ApiPath, BlockSettings, ColorValue, EnterpriseGlossaryInformationProviderId, EnterpriseGlossaryInformationSourceSettings,
|
1
|
+
import { ApiPath, BlockSettings, ColorValue, EnterpriseGlossaryInformationProviderId, EnterpriseGlossaryInformationSourceSettings, guid, IBlockInstance, MultilingualString, Spacing, ThemeDefinition } from "@omnia/fx/models";
|
2
2
|
export interface TaxonomyNavigationQuerySettings {
|
3
3
|
enterpriseGlossaryInstanceId: number;
|
4
4
|
}
|
@@ -19,7 +19,7 @@ export interface TaxonomyNavigationViewSettings {
|
|
19
19
|
currentView: TaxonomyNavigationSelectionViewSettings;
|
20
20
|
}
|
21
21
|
export declare abstract class EnterpriseGlossaryTaxonomyNavigationSettingsProvider extends EnterpriseGlossaryInformationSourceSettings {
|
22
|
-
abstract readonly displayProviderManifestId:
|
22
|
+
abstract readonly displayProviderManifestId: guid;
|
23
23
|
}
|
24
24
|
export declare abstract class EnterpriseGlossaryTaxonomyNavigationDisplayProvider extends EnterpriseGlossaryInformationSourceSettings {
|
25
25
|
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { BusinessProfileProperty, AppRoutePropertyBagModel, VersionedLayoutDefinition, MediaPickerImage, Spacing, MultilingualString, IIcon,
|
1
|
+
import { BusinessProfileProperty, AppRoutePropertyBagModel, VersionedLayoutDefinition, MediaPickerImage, Spacing, MultilingualString, IIcon, ThemeDefinition, ActionHandler, guid } from "@omnia/fx-models";
|
2
2
|
import { Enums } from "./Enums";
|
3
3
|
import { TargetingFilterProperty } from "@omnia/fx-sp";
|
4
4
|
import { ActionHandlerInstance } from "@omnia/fx/ux";
|
5
5
|
export declare const WorkspaceVerticalNavWidth = 256;
|
6
6
|
export declare class WorkspaceInfo extends BusinessProfileProperty {
|
7
|
-
appInstanceId:
|
7
|
+
appInstanceId: guid;
|
8
8
|
classicNavigationBar: boolean;
|
9
9
|
constructor();
|
10
10
|
}
|
@@ -31,7 +31,7 @@ export declare enum WorkspaceMegaMenuItemTypes {
|
|
31
31
|
Layout = 1
|
32
32
|
}
|
33
33
|
export interface WorkspaceMegaMenuItem {
|
34
|
-
id:
|
34
|
+
id: guid;
|
35
35
|
type: WorkspaceMegaMenuItemTypes;
|
36
36
|
}
|
37
37
|
export interface WorkspaceMegaMenuLink extends WorkspaceMegaMenuItem {
|
@@ -75,7 +75,7 @@ export declare class MegaMenuLayoutDefinition extends VersionedLayoutDefinition
|
|
75
75
|
}
|
76
76
|
export declare class WorkspaceActionMenuMapping extends AppRoutePropertyBagModel {
|
77
77
|
constructor();
|
78
|
-
itemIds:
|
78
|
+
itemIds: guid[];
|
79
79
|
}
|
80
80
|
export interface IWorkspaceActionMenuHandlerInstance extends ActionHandlerInstance {
|
81
81
|
icon?: IIcon;
|
@@ -55,8 +55,8 @@ class WorkspaceMegaMenuMapping extends fx_models_1.AppRoutePropertyBagModel {
|
|
55
55
|
exports.WorkspaceMegaMenuMapping = WorkspaceMegaMenuMapping;
|
56
56
|
class HomeLayoutDefinition extends fx_models_1.VersionedLayoutDefinition {
|
57
57
|
constructor() {
|
58
|
-
super("34525ea4-3e95-4714-81d4-bb693c921fd8");
|
59
|
-
const layoutId = fx_models_1.
|
58
|
+
super((0, fx_models_1.guid)("34525ea4-3e95-4714-81d4-bb693c921fd8"));
|
59
|
+
const layoutId = (0, fx_models_1.guid)();
|
60
60
|
this.layout = {
|
61
61
|
blockSettings: {},
|
62
62
|
definition: {
|
@@ -73,8 +73,8 @@ class HomeLayoutDefinition extends fx_models_1.VersionedLayoutDefinition {
|
|
73
73
|
exports.HomeLayoutDefinition = HomeLayoutDefinition;
|
74
74
|
class MegaMenuLayoutDefinition extends fx_models_1.VersionedLayoutDefinition {
|
75
75
|
constructor() {
|
76
|
-
super("95103f18-df83-4436-8bc0-58ccc091af69");
|
77
|
-
const layoutId = fx_models_1.
|
76
|
+
super((0, fx_models_1.guid)("95103f18-df83-4436-8bc0-58ccc091af69"));
|
77
|
+
const layoutId = (0, fx_models_1.guid)();
|
78
78
|
this.layout = {
|
79
79
|
blockSettings: {},
|
80
80
|
definition: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AppEnums } from "./Enums";
|
2
|
-
import { VersionedLayoutId,
|
2
|
+
import { VersionedLayoutId, guid } from "@omnia/fx-models";
|
3
3
|
export interface MicrosoftTeamGeneralProperties {
|
4
4
|
visibility?: AppEnums.TeamPrivacyOptions;
|
5
5
|
displayName?: string;
|
@@ -21,7 +21,7 @@ export interface MicrosoftTeamCloningProperties extends MicrosoftTeamGeneralProp
|
|
21
21
|
mailNickName: string;
|
22
22
|
}
|
23
23
|
export interface MicrosoftTeamCloningInformation extends MicrosoftTeamCloningProperties {
|
24
|
-
msTeamAppId:
|
24
|
+
msTeamAppId: guid;
|
25
25
|
msTeamAppName?: string;
|
26
26
|
}
|
27
27
|
export interface Channel {
|
@@ -47,7 +47,7 @@ export interface Tab {
|
|
47
47
|
teamAppType?: AppEnums.TeamAppsType;
|
48
48
|
"teamsApp@odata.bind"?: string;
|
49
49
|
configuration?: TeamsAppConfig;
|
50
|
-
tabProvisionFeatureId?:
|
50
|
+
tabProvisionFeatureId?: guid;
|
51
51
|
customUrlConfiguration?: TabCustomUrlConfiguration;
|
52
52
|
}
|
53
53
|
export interface TeamsAppConfig {
|
package/internal-do-not-import-from-here/models/apps/TeamCollaborationAppTemplateProperties.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AppEnums } from "./Enums";
|
2
|
-
import { AppTemplateProperties,
|
2
|
+
import { AppTemplateProperties, guid, Identity } from "@omnia/fx-models";
|
3
3
|
import { MicrosoftTeamCreationInformation } from ".";
|
4
4
|
export interface PermissionIdentities {
|
5
5
|
defaultAdministrator?: Identity[];
|
@@ -7,7 +7,7 @@ export interface PermissionIdentities {
|
|
7
7
|
visitors?: Identity[];
|
8
8
|
}
|
9
9
|
export interface InformationProtectionLabel {
|
10
|
-
id:
|
10
|
+
id: guid;
|
11
11
|
name: string;
|
12
12
|
description: string;
|
13
13
|
sensitivity: number;
|
@@ -22,9 +22,9 @@ export interface TeamCollaborationAppTemplateProperties extends AppTemplatePrope
|
|
22
22
|
facebookWorkplaceDomain?: string;
|
23
23
|
lcid: number;
|
24
24
|
timezoneId: string;
|
25
|
-
siteDesignId?:
|
25
|
+
siteDesignId?: guid;
|
26
26
|
defaultResourceUrlType?: AppEnums.ResourceUrlType;
|
27
|
-
sensitivityLabelId?:
|
27
|
+
sensitivityLabelId?: guid;
|
28
28
|
userCanSelectTimeZone?: boolean;
|
29
29
|
msTeam?: MicrosoftTeamCreationInformation;
|
30
30
|
}
|
@@ -4,7 +4,7 @@ exports.TeamworkAppLayoutDefinition = void 0;
|
|
4
4
|
const models_1 = require("@omnia/fx/models");
|
5
5
|
class TeamworkAppLayoutDefinition extends models_1.VersionedLayoutDefinition {
|
6
6
|
constructor() {
|
7
|
-
super("c8d6dfe7-25cb-4b05-8e30-0dca4b1c05fe");
|
7
|
+
super((0, models_1.guid)("c8d6dfe7-25cb-4b05-8e30-0dca4b1c05fe"));
|
8
8
|
}
|
9
9
|
}
|
10
10
|
exports.TeamworkAppLayoutDefinition = TeamworkAppLayoutDefinition;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid, MultilingualString, Spacing, ThemeDefinitionV2 } from "@omnia/fx/models";
|
2
2
|
export declare enum PostsFeedScopeOption {
|
3
3
|
CurrentApp = 1,
|
4
4
|
CustomScope = 2
|
@@ -7,14 +7,14 @@ export declare enum PostsFeedSortMode {
|
|
7
7
|
LastActivity = 1
|
8
8
|
}
|
9
9
|
export interface PostsFeedAppTemplateScope {
|
10
|
-
id:
|
11
|
-
appDefinitionId?:
|
10
|
+
id: guid;
|
11
|
+
appDefinitionId?: guid;
|
12
12
|
}
|
13
13
|
export interface PostsFeedBlockSettings {
|
14
14
|
spacing?: Spacing;
|
15
15
|
scope: {
|
16
16
|
option: PostsFeedScopeOption;
|
17
|
-
selectedAppDefinitionId?:
|
17
|
+
selectedAppDefinitionId?: guid;
|
18
18
|
addedTemplates?: Array<PostsFeedAppTemplateScope>;
|
19
19
|
};
|
20
20
|
blockTitle: MultilingualString;
|
@@ -1,9 +1,37 @@
|
|
1
|
-
import { BusinessProfileProperty,
|
2
|
-
|
3
|
-
|
1
|
+
import { BusinessProfileProperty, guid, Identity, Layout, MediaPickerImage, MultilingualString, Spacing } from "@omnia/fx/models";
|
2
|
+
import { FormTemplateSettings } from "./FormTemplate";
|
3
|
+
import { FormQueryScopes } from "./components";
|
4
|
+
export interface FormActionHandlerSettings extends FormBuilderSettings {
|
5
|
+
selectedTypeId: number;
|
6
|
+
scopeType: FormScopeTypes;
|
7
|
+
scopeId: guid;
|
8
|
+
}
|
9
|
+
export interface FormBuilderSettings {
|
10
|
+
isEditing?: boolean;
|
11
|
+
}
|
12
|
+
export declare const ScopeCurrentId: guid;
|
13
|
+
export declare enum FormScopeTypes {
|
14
|
+
BusinessProfile = 1,
|
15
|
+
AppInstance = 2
|
16
|
+
}
|
17
|
+
declare const FormBuilderSteps: readonly ["templateSettings", "formQuestions", "formSettings"];
|
18
|
+
export type FormSteps = typeof FormBuilderSteps[number];
|
19
|
+
export interface FormBase {
|
4
20
|
definition: FormDefinition;
|
5
|
-
layout
|
6
|
-
|
21
|
+
layout?: Layout;
|
22
|
+
formTypeId?: number;
|
23
|
+
formTemplateId?: number;
|
24
|
+
enterpriseProperties?: {
|
25
|
+
[internalName: string]: any;
|
26
|
+
};
|
27
|
+
}
|
28
|
+
export interface CreateFormRequest extends Form {
|
29
|
+
generateLayoutIfEmpty?: boolean;
|
30
|
+
}
|
31
|
+
export interface Form extends FormBase {
|
32
|
+
id?: number;
|
33
|
+
profileId: guid;
|
34
|
+
appInstanceId?: guid;
|
7
35
|
createdAt: string;
|
8
36
|
createdBy: Identity;
|
9
37
|
modifiedAt: string;
|
@@ -24,30 +52,25 @@ export declare enum FormTypes {
|
|
24
52
|
Survey = 2,
|
25
53
|
Checkup = 3
|
26
54
|
}
|
27
|
-
export
|
55
|
+
export declare enum FormStatus {
|
56
|
+
Open = 1,
|
57
|
+
Closed = 2
|
58
|
+
}
|
59
|
+
export interface FormDefinition extends FormTemplateSettings {
|
28
60
|
type: FormTypes;
|
29
61
|
title: MultilingualString;
|
30
|
-
oneResponsePerPerson: boolean;
|
31
|
-
makeResponseAnonymous: boolean;
|
32
|
-
usePoint: boolean;
|
33
|
-
useCorrectAnswer: boolean;
|
34
|
-
enableCheckAnswer: boolean;
|
35
|
-
enableSubmission: boolean;
|
36
|
-
enableSaveForLater: boolean;
|
37
|
-
showMessage: boolean;
|
38
|
-
showUserResponse: boolean;
|
39
|
-
showAllResponses: boolean;
|
40
62
|
questions: Question[];
|
41
|
-
customSubmitLabel: MultilingualString;
|
42
|
-
submittedMessage: MultilingualString;
|
43
63
|
start?: string;
|
44
64
|
end?: string;
|
65
|
+
image?: MediaPickerImage;
|
45
66
|
}
|
46
67
|
export interface FormListing {
|
47
68
|
id: number;
|
48
69
|
title: MultilingualString;
|
49
70
|
start?: string;
|
50
71
|
end?: string;
|
72
|
+
profileId: guid;
|
73
|
+
appInstanceId?: guid;
|
51
74
|
numberOfSubmissions: number;
|
52
75
|
numberOfSubmittedUsers: number;
|
53
76
|
averagePointsBySubmission: number;
|
@@ -63,8 +86,8 @@ export declare enum QuestionTypes {
|
|
63
86
|
MultipleChoice = 3
|
64
87
|
}
|
65
88
|
export interface Question {
|
66
|
-
readonly id:
|
67
|
-
readonly blockId:
|
89
|
+
readonly id: guid;
|
90
|
+
readonly blockId: guid;
|
68
91
|
title: MultilingualString;
|
69
92
|
type: QuestionTypes;
|
70
93
|
answer?: Answer;
|
@@ -92,18 +115,18 @@ export interface TextAnswer extends Answer {
|
|
92
115
|
}
|
93
116
|
export interface ChoiceAnswer extends Answer {
|
94
117
|
type: QuestionTypes.Choice;
|
95
|
-
optionId:
|
118
|
+
optionId: guid;
|
96
119
|
}
|
97
120
|
export interface MultipleChoiceAnswer extends Answer {
|
98
121
|
type: QuestionTypes.MultipleChoice;
|
99
|
-
optionIds:
|
122
|
+
optionIds: guid[];
|
100
123
|
}
|
101
124
|
export declare enum OptionTypes {
|
102
125
|
FormDefined = 1,
|
103
126
|
UserDefined = 2
|
104
127
|
}
|
105
128
|
export interface Option {
|
106
|
-
id:
|
129
|
+
id: guid;
|
107
130
|
type: OptionTypes;
|
108
131
|
title: MultilingualString;
|
109
132
|
point: number;
|
@@ -116,10 +139,6 @@ export interface UserDefinedOption extends Option {
|
|
116
139
|
type: OptionTypes.UserDefined;
|
117
140
|
value: string;
|
118
141
|
}
|
119
|
-
export interface CreateFormRequest {
|
120
|
-
layout: Layout;
|
121
|
-
definition: FormDefinition;
|
122
|
-
}
|
123
142
|
export interface QueryFormRequest {
|
124
143
|
type?: FormTypes;
|
125
144
|
filterOpenForRespondent?: boolean;
|
@@ -150,12 +169,20 @@ export interface FormRendererBlockSettings {
|
|
150
169
|
legendPosition: LegendPosition;
|
151
170
|
customShowFormButton: MultilingualString;
|
152
171
|
spacing?: Spacing;
|
172
|
+
scopeType?: FormQueryScopes;
|
173
|
+
scopeId?: guid;
|
153
174
|
}
|
154
175
|
export declare class FormGenericSetting extends BusinessProfileProperty {
|
155
176
|
chartColor: ChartColor[];
|
156
177
|
constructor();
|
157
178
|
}
|
158
179
|
export declare class ChartColor {
|
159
|
-
color:
|
160
|
-
textColor:
|
180
|
+
color: string;
|
181
|
+
textColor: string;
|
182
|
+
}
|
183
|
+
export declare enum FormDisplayStatus {
|
184
|
+
NotOpen = 0,
|
185
|
+
Opening = 1,
|
186
|
+
Closed = 2
|
161
187
|
}
|
188
|
+
export {};
|
@@ -1,14 +1,26 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ChartColor = exports.FormGenericSetting = exports.LegendPosition = exports.LegendAlignment = exports.OptionTypes = exports.QuestionTypes = exports.FormTypes = void 0;
|
3
|
+
exports.FormDisplayStatus = exports.ChartColor = exports.FormGenericSetting = exports.LegendPosition = exports.LegendAlignment = exports.OptionTypes = exports.QuestionTypes = exports.FormStatus = exports.FormTypes = exports.FormScopeTypes = exports.ScopeCurrentId = void 0;
|
4
4
|
const models_1 = require("@omnia/fx/models");
|
5
5
|
const ManifestIds_1 = require("../ManifestIds");
|
6
|
+
exports.ScopeCurrentId = (0, models_1.guid)("acb52a9b-b0c7-465a-8acc-98c4a47b464c");
|
7
|
+
var FormScopeTypes;
|
8
|
+
(function (FormScopeTypes) {
|
9
|
+
FormScopeTypes[FormScopeTypes["BusinessProfile"] = 1] = "BusinessProfile";
|
10
|
+
FormScopeTypes[FormScopeTypes["AppInstance"] = 2] = "AppInstance";
|
11
|
+
})(FormScopeTypes || (exports.FormScopeTypes = FormScopeTypes = {}));
|
12
|
+
const FormBuilderSteps = ["templateSettings", "formQuestions", "formSettings"];
|
6
13
|
var FormTypes;
|
7
14
|
(function (FormTypes) {
|
8
15
|
FormTypes[FormTypes["Poll"] = 1] = "Poll";
|
9
16
|
FormTypes[FormTypes["Survey"] = 2] = "Survey";
|
10
17
|
FormTypes[FormTypes["Checkup"] = 3] = "Checkup";
|
11
18
|
})(FormTypes || (exports.FormTypes = FormTypes = {}));
|
19
|
+
var FormStatus;
|
20
|
+
(function (FormStatus) {
|
21
|
+
FormStatus[FormStatus["Open"] = 1] = "Open";
|
22
|
+
FormStatus[FormStatus["Closed"] = 2] = "Closed";
|
23
|
+
})(FormStatus || (exports.FormStatus = FormStatus = {}));
|
12
24
|
var QuestionTypes;
|
13
25
|
(function (QuestionTypes) {
|
14
26
|
QuestionTypes[QuestionTypes["Text"] = 1] = "Text";
|
@@ -42,3 +54,9 @@ exports.FormGenericSetting = FormGenericSetting;
|
|
42
54
|
class ChartColor {
|
43
55
|
}
|
44
56
|
exports.ChartColor = ChartColor;
|
57
|
+
var FormDisplayStatus;
|
58
|
+
(function (FormDisplayStatus) {
|
59
|
+
FormDisplayStatus[FormDisplayStatus["NotOpen"] = 0] = "NotOpen";
|
60
|
+
FormDisplayStatus[FormDisplayStatus["Opening"] = 1] = "Opening";
|
61
|
+
FormDisplayStatus[FormDisplayStatus["Closed"] = 2] = "Closed";
|
62
|
+
})(FormDisplayStatus || (exports.FormDisplayStatus = FormDisplayStatus = {}));
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { ApiPath } from "@omnia/fx/models";
|
2
|
+
import { FormRollupViewRegistration } from "./components";
|
3
|
+
export interface IFormRollupApi {
|
4
|
+
viewRegistration: Promise<IFormRollupViewRegistrationApi>;
|
5
|
+
}
|
6
|
+
export interface IFormRollupViewRegistrationApi {
|
7
|
+
registerViews: (providers: FormRollupViewRegistration | FormRollupViewRegistration[]) => void;
|
8
|
+
}
|
9
|
+
declare module "../WorkplaceApi" {
|
10
|
+
interface IWorkplaceApi {
|
11
|
+
form: {
|
12
|
+
rollup: IFormRollupApi;
|
13
|
+
};
|
14
|
+
}
|
15
|
+
interface IWorkplaceExtendApiManifest {
|
16
|
+
form: {
|
17
|
+
rollup: ApiPath;
|
18
|
+
};
|
19
|
+
}
|
20
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { Block,
|
1
|
+
import { Block, guid, IBlockInstance } from "@omnia/fx/models";
|
2
2
|
import { Form, FormRendererBlockSettings, Question } from "./Form";
|
3
3
|
export interface ICurrentFormStore {
|
4
4
|
getForm(): Form;
|
5
5
|
getShowResponseFlag(): any;
|
6
|
-
getCheckAnswerFlag(questionId:
|
6
|
+
getCheckAnswerFlag(questionId: guid): boolean;
|
7
7
|
getLatestSubmissionAnswers(): Question[];
|
8
8
|
getFormSettings(): FormRendererBlockSettings;
|
9
9
|
setAnswerChanged(value: boolean): any;
|
@@ -12,7 +12,7 @@ export interface ICurrentFormStore {
|
|
12
12
|
setLatestSubmissionAnswers(latestSubmissionsAnswers: Question[]): any;
|
13
13
|
ensureQuestion(block: IBlockInstance | Block): Question;
|
14
14
|
initCheckAnswerFlag(): void;
|
15
|
-
removeCheckAnswerFlag(questionId:
|
15
|
+
removeCheckAnswerFlag(questionId: guid): void;
|
16
16
|
isLockSubmission(): boolean;
|
17
17
|
isAnswerChanged(): boolean;
|
18
18
|
toggleShowReponseFlag(): any;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { guid, IPagingable, OrderBy } from "@omnia/fx-models";
|
2
|
+
import { FormQueryScopes, FormRollupFilter } from "./components";
|
3
|
+
import { Form } from "./Form";
|
4
|
+
export interface FormQuery extends IPagingable {
|
5
|
+
scope: FormQueryScopes;
|
6
|
+
keyWord?: string;
|
7
|
+
orderBy?: OrderBy;
|
8
|
+
formFilter?: FormFilter;
|
9
|
+
scopedFilters: ScopedFormFilter[];
|
10
|
+
keywordFilterOnProperties?: string[];
|
11
|
+
selectEnterpriseProperties?: string[];
|
12
|
+
}
|
13
|
+
export interface FormFilter {
|
14
|
+
filters: FormRollupFilter[];
|
15
|
+
enableWildcardSearch: boolean;
|
16
|
+
}
|
17
|
+
export interface ScopedFormFilter extends FormFilter {
|
18
|
+
scope: FormQueryScopes;
|
19
|
+
filters: FormRollupFilter[];
|
20
|
+
}
|
21
|
+
export interface TenantScopedFormFilter extends ScopedFormFilter {
|
22
|
+
}
|
23
|
+
export interface BusinessProfileScopedFormFilter extends ScopedFormFilter {
|
24
|
+
businessProfileId: guid;
|
25
|
+
}
|
26
|
+
export interface AppInstanceScopedFormFilter extends ScopedFormFilter {
|
27
|
+
appInstanceId: guid;
|
28
|
+
}
|
29
|
+
export interface FormQueryResult {
|
30
|
+
total: number;
|
31
|
+
items: Form[];
|
32
|
+
}
|