@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
@@ -0,0 +1,36 @@
|
|
1
|
+
import { guid, Identity, MultilingualString } from "@omnia/fx-models";
|
2
|
+
import { FormTypes } from "./Form";
|
3
|
+
export interface FormTemplateSettings {
|
4
|
+
oneResponsePerPerson: boolean;
|
5
|
+
makeResponseAnonymous: boolean;
|
6
|
+
usePoint: boolean;
|
7
|
+
useCorrectAnswer: boolean;
|
8
|
+
enableCheckAnswer: boolean;
|
9
|
+
enableSubmission: boolean;
|
10
|
+
enableSaveForLater: boolean;
|
11
|
+
showMessage: boolean;
|
12
|
+
showUserResponse: boolean;
|
13
|
+
showAllResponses: boolean;
|
14
|
+
customSubmitLabel: MultilingualString;
|
15
|
+
submittedMessage: MultilingualString;
|
16
|
+
closedSettings: FormClosedSettings;
|
17
|
+
}
|
18
|
+
export interface FormClosedSettings {
|
19
|
+
showMessage: boolean;
|
20
|
+
showUserResponse: boolean;
|
21
|
+
showAllResponses: boolean;
|
22
|
+
message: MultilingualString;
|
23
|
+
}
|
24
|
+
export interface FormTemplateRequest {
|
25
|
+
baseType: FormTypes;
|
26
|
+
title: MultilingualString;
|
27
|
+
settings: FormTemplateSettings;
|
28
|
+
}
|
29
|
+
export interface FormTemplate extends FormTemplateRequest {
|
30
|
+
id: number;
|
31
|
+
businessProfileId: guid;
|
32
|
+
createdAt: Date;
|
33
|
+
createdBy: Identity;
|
34
|
+
modifiedAt: Date;
|
35
|
+
modifiedBy: Identity;
|
36
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { guid, Identity, MultilingualString } from "@omnia/fx-models";
|
2
|
+
import { FormTypes } from "./Form";
|
3
|
+
export interface FormTypeRequest {
|
4
|
+
baseType: FormTypes;
|
5
|
+
title: MultilingualString;
|
6
|
+
enterprisePropertySetId?: guid;
|
7
|
+
formTemplateIds: number[];
|
8
|
+
settings: FormTypeSettings;
|
9
|
+
}
|
10
|
+
export interface FormTypeSettings {
|
11
|
+
showFormTemplateSettings: boolean;
|
12
|
+
allowMultipleQuestions: boolean;
|
13
|
+
}
|
14
|
+
export interface FormType extends FormTypeRequest {
|
15
|
+
id: number;
|
16
|
+
businessProfileId: guid;
|
17
|
+
createdAt: Date;
|
18
|
+
createdBy: Identity;
|
19
|
+
modifiedAt: Date;
|
20
|
+
modifiedBy: Identity;
|
21
|
+
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
import { BaseFilterEngineProperty, FilterEngineSettings, guid, MultilingualString, OrderBy, PropertyIndexedType, RollupEnums, RollupFilter, RollupFilterValue, RollupOtherTypes, Spacing, TypedFilterEnginePropertyOutput } from "@omnia/fx-models";
|
2
|
+
import { FormScopeTypes, FormStatus } from "../Form";
|
3
|
+
import { FormRollupViewComponentSettings } from "./FormRollupBlockViewSettings";
|
4
|
+
export declare enum FormQueryScopes {
|
5
|
+
Tenant = 1,
|
6
|
+
BusinessProfile = 2,
|
7
|
+
AppInstance = 3
|
8
|
+
}
|
9
|
+
export interface FormRollupBlockSettings {
|
10
|
+
blockTitle: MultilingualString;
|
11
|
+
querySettings: FormRollupBlockQuerySettings;
|
12
|
+
displaySettings: FormRollupBlockDisplaySettings;
|
13
|
+
pagingSettings: FormRollupPagingSettings;
|
14
|
+
filterEngine: FilterEngineSettings;
|
15
|
+
}
|
16
|
+
export interface FormRollupBlockQuerySettings {
|
17
|
+
queryScope: FormQueryScopes;
|
18
|
+
sources: Array<FormRollupQuerySource>;
|
19
|
+
}
|
20
|
+
export type FormRollupFilter = Omit<RollupFilter, "type"> & {
|
21
|
+
type: PropertyIndexedType | RollupOtherTypes.TextSearches;
|
22
|
+
};
|
23
|
+
export interface FormRollupQuerySource {
|
24
|
+
filters: Array<FormRollupFilter>;
|
25
|
+
}
|
26
|
+
export interface TenantScopedQuery extends FormRollupQuerySource {
|
27
|
+
}
|
28
|
+
export interface BusinessProfileQuery extends FormRollupQuerySource {
|
29
|
+
businessProfileId: guid;
|
30
|
+
}
|
31
|
+
export interface AppInstanceQuery extends FormRollupQuerySource {
|
32
|
+
appInstanceId: guid;
|
33
|
+
}
|
34
|
+
export interface FormRollupBlockDisplaySettings {
|
35
|
+
selectedDisplayView: FormRollupViewRegistrationSettings;
|
36
|
+
orderBy: OrderBy;
|
37
|
+
noResultText?: MultilingualString;
|
38
|
+
spacing?: Spacing;
|
39
|
+
}
|
40
|
+
export interface FormRollupBlockFilterSettings {
|
41
|
+
filters: Array<FormRollupFilter>;
|
42
|
+
enableWildcardSearch: boolean;
|
43
|
+
hideFilterByDefault: boolean;
|
44
|
+
}
|
45
|
+
export interface FormRollupPagingSettings {
|
46
|
+
pagingType: RollupEnums.PagingType;
|
47
|
+
itemLimit: number;
|
48
|
+
}
|
49
|
+
export interface FormRollupViewRegistrationSettings {
|
50
|
+
viewRegistrationId: guid;
|
51
|
+
resultRendererComponentId: guid;
|
52
|
+
viewSettings: FormRollupViewComponentSettings;
|
53
|
+
}
|
54
|
+
export interface FormStatusExtendedPropFilterValue extends RollupFilterValue {
|
55
|
+
value: Array<FormStatus>;
|
56
|
+
}
|
57
|
+
export interface FormScopeFilterEngineProperty extends BaseFilterEngineProperty {
|
58
|
+
value: Array<guid>;
|
59
|
+
type: PropertyIndexedType.Text;
|
60
|
+
showSearchValueBox: boolean;
|
61
|
+
scopeType?: FormScopeTypes;
|
62
|
+
}
|
63
|
+
export interface FormScopeFilterEnginePropertyOutput extends TypedFilterEnginePropertyOutput {
|
64
|
+
value: Array<guid>;
|
65
|
+
scopeType?: FormScopeTypes;
|
66
|
+
type: PropertyIndexedType.Text;
|
67
|
+
}
|
68
|
+
export interface FormScopePropFilterValue extends RollupFilterValue {
|
69
|
+
value: Array<guid>;
|
70
|
+
scopeType: FormScopeTypes;
|
71
|
+
}
|
72
|
+
export interface FormTypePropFilterValue extends RollupFilterValue {
|
73
|
+
value: Array<number>;
|
74
|
+
}
|
75
|
+
export interface FormStatusFilterEngineProperty extends BaseFilterEngineProperty {
|
76
|
+
value: Array<FormStatus>;
|
77
|
+
type: PropertyIndexedType.Number;
|
78
|
+
}
|
79
|
+
export interface FormStatusEnginePropertyOutput extends TypedFilterEnginePropertyOutput {
|
80
|
+
type: PropertyIndexedType.Number;
|
81
|
+
value: Array<FormStatus>;
|
82
|
+
sub: FormStatusEnginePropertyOutput[];
|
83
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.FormQueryScopes = void 0;
|
4
|
+
var FormQueryScopes;
|
5
|
+
(function (FormQueryScopes) {
|
6
|
+
FormQueryScopes[FormQueryScopes["Tenant"] = 1] = "Tenant";
|
7
|
+
FormQueryScopes[FormQueryScopes["BusinessProfile"] = 2] = "BusinessProfile";
|
8
|
+
FormQueryScopes[FormQueryScopes["AppInstance"] = 3] = "AppInstance";
|
9
|
+
})(FormQueryScopes || (exports.FormQueryScopes = FormQueryScopes = {}));
|
package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockViewSettings.d.ts
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
import { EnterprisePropertyDefinition, guid, MultilingualString, PropertyIndexedType, RollupEnums } from "@omnia/fx-models";
|
2
|
+
export interface FormRollupViewRegistration {
|
3
|
+
id: guid;
|
4
|
+
title: string;
|
5
|
+
resultRendererComponentId: guid;
|
6
|
+
viewSettingsComponentId: guid;
|
7
|
+
pagingTypes: Array<RollupEnums.PagingType>;
|
8
|
+
}
|
9
|
+
export interface IFormRollupViewSettingsComponent<T extends FormRollupViewComponentSettings> {
|
10
|
+
viewSettings: T;
|
11
|
+
selectableProperties: EnterprisePropertyDefinition[];
|
12
|
+
onUpdatedViewSettings?: (viewSettings: T) => void;
|
13
|
+
}
|
14
|
+
export interface FormRollupViewComponentSettings {
|
15
|
+
selectEnterpriseProperties: Array<string>;
|
16
|
+
}
|
17
|
+
export interface FormRollupViewPropertySettings {
|
18
|
+
propertyInternalName: string;
|
19
|
+
propertyType?: PropertyIndexedType;
|
20
|
+
width?: string;
|
21
|
+
isShowHeading?: boolean;
|
22
|
+
showCustomLabel?: boolean;
|
23
|
+
customLabel?: MultilingualString;
|
24
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
|
+
export declare class FormRollupConstants {
|
3
|
+
static CustomProperties: {
|
4
|
+
TitleAndLink: string;
|
5
|
+
Status: string;
|
6
|
+
StartDate: string;
|
7
|
+
EndDate: string;
|
8
|
+
Type: string;
|
9
|
+
};
|
10
|
+
static ViewRegistration: {
|
11
|
+
listView: guid;
|
12
|
+
formView: guid;
|
13
|
+
};
|
14
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.FormRollupConstants = void 0;
|
4
|
+
const fx_models_1 = require("@omnia/fx-models");
|
5
|
+
class FormRollupConstants {
|
6
|
+
static { this.CustomProperties = {
|
7
|
+
TitleAndLink: "titleandlink_c180e07a-0362-4de4-a418-128c3b2b75f5",
|
8
|
+
Status: "status_6fcde526-501b-4a6e-aea1-b08022dba59b",
|
9
|
+
StartDate: "startdate_469895bb-54b4-434e-b96a-90a0dd7eaa10",
|
10
|
+
EndDate: "enddate_44a47f32-6248-4025-9b8c-0df518ec8550",
|
11
|
+
Type: "type_63b3e788-f544-4563-bc7a-0793ae5b9d21",
|
12
|
+
}; }
|
13
|
+
static { this.ViewRegistration = {
|
14
|
+
listView: (0, fx_models_1.guid)("d91762c6-f646-408a-b628-7ef4f2bb2e17"),
|
15
|
+
formView: (0, fx_models_1.guid)("81c3f3f3-f8a9-4c91-8af4-465b9a733d51")
|
16
|
+
}; }
|
17
|
+
}
|
18
|
+
exports.FormRollupConstants = FormRollupConstants;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { Spacing } from "@omnia/fx-models";
|
2
|
+
import { types } from "typestyle";
|
3
|
+
export declare const FormRollupBlockGeneralTabStyles: {
|
4
|
+
wordBreak: types.NestedCSSProperties;
|
5
|
+
};
|
6
|
+
export declare const FormRollupMainRendererStyles: {
|
7
|
+
getPaddingStyle?: (spacing: Spacing, skip?: {
|
8
|
+
top?: boolean;
|
9
|
+
right?: boolean;
|
10
|
+
left?: boolean;
|
11
|
+
bottom?: boolean;
|
12
|
+
}) => types.NestedCSSProperties;
|
13
|
+
queryFailMsgWrapper?: types.NestedCSSProperties;
|
14
|
+
transparent?: types.NestedCSSProperties;
|
15
|
+
};
|
16
|
+
export declare const FormDialogStyles: {
|
17
|
+
overlayImageEditButton?: types.NestedCSSProperties;
|
18
|
+
};
|
19
|
+
export declare const formDialogHeaderHeight = 80;
|
20
|
+
export declare const formDialogFooterHeight = 46;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.formDialogFooterHeight = exports.formDialogHeaderHeight = exports.FormDialogStyles = exports.FormRollupMainRendererStyles = exports.FormRollupBlockGeneralTabStyles = void 0;
|
4
|
+
exports.FormRollupBlockGeneralTabStyles = {};
|
5
|
+
exports.FormRollupMainRendererStyles = {};
|
6
|
+
exports.FormDialogStyles = {};
|
7
|
+
exports.formDialogHeaderHeight = 80;
|
8
|
+
exports.formDialogFooterHeight = 46;
|
package/internal-do-not-import-from-here/models/forms/components/FormViewComponentSettings.d.ts
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
import { MultilingualString, Spacing } from "@omnia/fx-models";
|
2
|
+
import { LegendAlignment, LegendPosition } from "../Form";
|
3
|
+
import { FormRollupViewComponentSettings } from "./FormRollupBlockViewSettings";
|
4
|
+
export interface FormViewComponentSettings extends FormRollupViewComponentSettings {
|
5
|
+
useDialog: boolean;
|
6
|
+
showFormTitle: boolean;
|
7
|
+
legendAlignment: LegendAlignment;
|
8
|
+
legendPosition: LegendPosition;
|
9
|
+
customShowFormButton: MultilingualString;
|
10
|
+
spacing?: Spacing;
|
11
|
+
}
|
package/internal-do-not-import-from-here/models/forms/components/ListViewComponentSettings.d.ts
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
import { MultilingualString, PropertyIndexedType, RollupEnums } from "@omnia/fx-models";
|
2
|
+
import { FormRollupViewComponentSettings } from "./FormRollupBlockViewSettings";
|
3
|
+
export interface ListViewPropertySettings {
|
4
|
+
propertyInternalName: string;
|
5
|
+
propertyType?: PropertyIndexedType;
|
6
|
+
width?: string;
|
7
|
+
isShowHeading?: boolean;
|
8
|
+
showCustomLabel?: boolean;
|
9
|
+
customLabel?: MultilingualString;
|
10
|
+
}
|
11
|
+
export interface ListViewDateTimePropertySettings extends ListViewPropertySettings {
|
12
|
+
dateTimeMode: RollupEnums.DateTimeMode;
|
13
|
+
format: string;
|
14
|
+
}
|
15
|
+
export interface ListViewComponentSettings extends FormRollupViewComponentSettings {
|
16
|
+
columns: Array<ListViewPropertySettings>;
|
17
|
+
fixedHeader: boolean;
|
18
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export * from "./FormRollupBlockSettings";
|
2
|
+
export * from "./FormRollupStyle";
|
3
|
+
export * from "./FormRollupBlockViewSettings";
|
4
|
+
export * from "./FormRollupViewRendererComponent";
|
5
|
+
export * from "./FormRollupConstant";
|
6
|
+
export * from "./FormViewComponentSettings";
|
7
|
+
export * from "./ListViewComponentSettings";
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const tslib_1 = require("tslib");
|
4
|
+
tslib_1.__exportStar(require("./FormRollupBlockSettings"), exports);
|
5
|
+
tslib_1.__exportStar(require("./FormRollupStyle"), exports);
|
6
|
+
tslib_1.__exportStar(require("./FormRollupBlockViewSettings"), exports);
|
7
|
+
tslib_1.__exportStar(require("./FormRollupViewRendererComponent"), exports);
|
8
|
+
tslib_1.__exportStar(require("./FormRollupConstant"), exports);
|
9
|
+
tslib_1.__exportStar(require("./FormViewComponentSettings"), exports);
|
10
|
+
tslib_1.__exportStar(require("./ListViewComponentSettings"), exports);
|
@@ -1,3 +1,9 @@
|
|
1
1
|
export * from "./Form";
|
2
2
|
export * from "./FormLayout";
|
3
3
|
export * from "./Statistic";
|
4
|
+
export * from "./FormTemplate";
|
5
|
+
export * from "./FormType";
|
6
|
+
export * from "./components";
|
7
|
+
export * from "./FormQuery";
|
8
|
+
export * from "./FormApi";
|
9
|
+
export * from "./FormDialogModel";
|
@@ -4,3 +4,9 @@ const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./Form"), exports);
|
5
5
|
tslib_1.__exportStar(require("./FormLayout"), exports);
|
6
6
|
tslib_1.__exportStar(require("./Statistic"), exports);
|
7
|
+
tslib_1.__exportStar(require("./FormTemplate"), exports);
|
8
|
+
tslib_1.__exportStar(require("./FormType"), exports);
|
9
|
+
tslib_1.__exportStar(require("./components"), exports);
|
10
|
+
tslib_1.__exportStar(require("./FormQuery"), exports);
|
11
|
+
tslib_1.__exportStar(require("./FormApi"), exports);
|
12
|
+
tslib_1.__exportStar(require("./FormDialogModel"), exports);
|
package/internal-do-not-import-from-here/models/governancedashboard/TeamworkGovernanceDashboard.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
import { FilterValue, DashboardMetricSettings } from "../GovernanceDashboards";
|
3
3
|
export declare enum NewTeamworksTimeType {
|
4
4
|
OneWeek = 0,
|
@@ -44,6 +44,6 @@ export interface TeamworkDetail {
|
|
44
44
|
};
|
45
45
|
}
|
46
46
|
export declare class TeamworkTemplateFilterValue extends FilterValue {
|
47
|
-
filterId:
|
47
|
+
filterId: guid;
|
48
48
|
value: string;
|
49
49
|
}
|
package/internal-do-not-import-from-here/models/myteamcollaboration/TeamCollabrationApp.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
export declare class TeamCollabrationTypes {
|
3
3
|
static Undefined: number;
|
4
4
|
static Sharepoint: number;
|
@@ -21,7 +21,7 @@ export declare class TeamCollabrationAppResource {
|
|
21
21
|
resourceUrl: string;
|
22
22
|
}
|
23
23
|
export declare class TeamCollabrationApp {
|
24
|
-
id:
|
24
|
+
id: guid;
|
25
25
|
title: string;
|
26
26
|
url: string;
|
27
27
|
type: number;
|
package/internal-do-not-import-from-here/models/promotedsearchresults/PromotedSearchResult.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { guid, MediaPickerImage, MultilingualString, TargetingFilterData } from "@omnia/fx-models";
|
2
2
|
export declare enum PromotedSearchResultStatus {
|
3
3
|
OnHold = 0,
|
4
4
|
Active = 1
|
5
5
|
}
|
6
6
|
export interface PromotedSearchResult {
|
7
7
|
id: number;
|
8
|
-
businessProfileId:
|
8
|
+
businessProfileId: guid;
|
9
9
|
data: PromotedSearchResultData;
|
10
10
|
}
|
11
11
|
export interface PromotedSearchResultData {
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { guid, Identity } from "@omnia/fx/models";
|
2
2
|
import { CategorySearchResult, SearchCategoryOption, SearchResultItem } from "../Search";
|
3
3
|
export interface SearchFeedback {
|
4
4
|
id: number;
|
5
5
|
data: SearchFeedbackData;
|
6
|
-
businessProfileId:
|
6
|
+
businessProfileId: guid;
|
7
7
|
createdBy: Identity;
|
8
8
|
createdAt: string;
|
9
9
|
}
|
@@ -15,7 +15,7 @@ export interface SearchFeedbackData {
|
|
15
15
|
/**
|
16
16
|
* search category id
|
17
17
|
* */
|
18
|
-
searchCategoryId:
|
18
|
+
searchCategoryId: guid;
|
19
19
|
/**
|
20
20
|
* the search text
|
21
21
|
* */
|
@@ -34,6 +34,6 @@ export interface SearchFeedbackData {
|
|
34
34
|
renderingResultItems: RenderingSearchFeedbackResultItem[];
|
35
35
|
}
|
36
36
|
export interface RenderingSearchFeedbackResultItem extends SearchResultItem {
|
37
|
-
webElementManifestId:
|
38
|
-
imageRatio:
|
37
|
+
webElementManifestId: guid;
|
38
|
+
imageRatio: guid;
|
39
39
|
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx/models";
|
2
2
|
import { SearchFeedback } from "./SearchFeedback";
|
3
3
|
export interface SearchFeedbackQueryRequest {
|
4
4
|
skip: number;
|
5
5
|
take: number;
|
6
|
-
businessProfileId:
|
6
|
+
businessProfileId: guid;
|
7
7
|
}
|
8
8
|
export interface SearchFeedbackQueryResult {
|
9
9
|
total: number;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx/models";
|
2
2
|
export declare namespace SearchStatistics {
|
3
3
|
namespace Constants {
|
4
4
|
const SearchLocations: {
|
@@ -26,20 +26,20 @@ export declare namespace SearchStatistics {
|
|
26
26
|
}
|
27
27
|
interface SearchSessionData {
|
28
28
|
location: string;
|
29
|
-
businessProfileId:
|
29
|
+
businessProfileId: guid;
|
30
30
|
searchText: string;
|
31
31
|
timestamp: Date;
|
32
32
|
}
|
33
33
|
interface SearchSession extends SearchSessionData {
|
34
|
-
id:
|
34
|
+
id: guid;
|
35
35
|
}
|
36
36
|
interface SearchResultData {
|
37
|
-
searchSessionId:
|
38
|
-
searchCategoryId:
|
37
|
+
searchSessionId: guid;
|
38
|
+
searchCategoryId: guid;
|
39
39
|
resultCount: number;
|
40
40
|
}
|
41
41
|
interface SearchResult extends SearchResultData {
|
42
|
-
id:
|
42
|
+
id: guid;
|
43
43
|
}
|
44
44
|
interface SearchInteractionDataInfo {
|
45
45
|
interactionType: Enums.InteractionType;
|
@@ -48,20 +48,20 @@ export declare namespace SearchStatistics {
|
|
48
48
|
resultItemUrl?: string;
|
49
49
|
}
|
50
50
|
interface SearchInteractionData extends SearchInteractionDataInfo {
|
51
|
-
searchResultId:
|
51
|
+
searchResultId: guid;
|
52
52
|
}
|
53
53
|
interface SearchInteraction extends SearchInteractionData {
|
54
|
-
id:
|
54
|
+
id: guid;
|
55
55
|
}
|
56
56
|
const GovernanceDashboard: {
|
57
|
-
scopeId:
|
57
|
+
scopeId: guid;
|
58
58
|
metrics: {
|
59
|
-
noOfQuery:
|
60
|
-
abandonedQuery:
|
61
|
-
noResultQuery:
|
59
|
+
noOfQuery: guid;
|
60
|
+
abandonedQuery: guid;
|
61
|
+
noResultQuery: guid;
|
62
62
|
};
|
63
63
|
filters: {
|
64
|
-
scope:
|
64
|
+
scope: guid;
|
65
65
|
};
|
66
66
|
};
|
67
67
|
interface SearchSessionCountByMonth {
|
@@ -86,7 +86,7 @@ export declare namespace SearchStatistics {
|
|
86
86
|
noResultCount: number;
|
87
87
|
}
|
88
88
|
interface SearchSessionDetail {
|
89
|
-
id:
|
89
|
+
id: guid;
|
90
90
|
searchText: string;
|
91
91
|
location: string;
|
92
92
|
timestamp: Date;
|
@@ -34,14 +34,14 @@ var SearchStatistics;
|
|
34
34
|
})(MetricScope = Enums.MetricScope || (Enums.MetricScope = {}));
|
35
35
|
})(Enums = SearchStatistics.Enums || (SearchStatistics.Enums = {}));
|
36
36
|
SearchStatistics.GovernanceDashboard = {
|
37
|
-
scopeId:
|
37
|
+
scopeId: (0, models_1.guid)("1f764b5a-ec2c-4781-87fa-4a8cb2ddb09c"),
|
38
38
|
metrics: {
|
39
|
-
noOfQuery:
|
40
|
-
abandonedQuery:
|
41
|
-
noResultQuery:
|
39
|
+
noOfQuery: (0, models_1.guid)("c0b18c12-d3b5-4b29-8105-222d20d5522f"),
|
40
|
+
abandonedQuery: (0, models_1.guid)("aa3d3355-e2a9-4c4c-a44a-5fb01493e7ae"),
|
41
|
+
noResultQuery: (0, models_1.guid)("13786d92-6d16-402f-a961-d99ea4341601")
|
42
42
|
},
|
43
43
|
filters: {
|
44
|
-
scope:
|
44
|
+
scope: (0, models_1.guid)("b27d3933-9eab-4561-b3a6-e2ac24a12767")
|
45
45
|
}
|
46
46
|
};
|
47
47
|
})(SearchStatistics || (exports.SearchStatistics = SearchStatistics = {}));
|
package/internal-do-not-import-from-here/models/searchstatistics/SearchStatisticsMetricFilter.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx/models";
|
2
2
|
import { FilterValue } from "../GovernanceDashboards";
|
3
3
|
import { SearchStatistics } from "./SearchStatistics";
|
4
4
|
export declare class SearchStatisticsMetricScopeFilterValue extends FilterValue {
|
5
|
-
filterId:
|
5
|
+
filterId: guid;
|
6
6
|
value: SearchStatistics.Enums.MetricScope;
|
7
7
|
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx/models";
|
2
2
|
export interface SearchTokensReplacement {
|
3
3
|
[tokenKey: string]: string;
|
4
4
|
}
|
5
5
|
export declare abstract class SearchTokenProvider {
|
6
6
|
abstract readonly title: string;
|
7
|
-
abstract readonly providerId:
|
7
|
+
abstract readonly providerId: guid;
|
8
8
|
abstract readonly tokens: string[];
|
9
9
|
abstract readonly tokenRegex?: RegExp;
|
10
10
|
resolveSearchTokens: (tokensToResolve: Array<string>) => Promise<SearchTokensReplacement>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ApiPath,
|
1
|
+
import { ApiPath, guid } from "@omnia/fx-models";
|
2
2
|
import { SetupWizardTemplateExtendData } from ".";
|
3
3
|
import { SetupWizardView } from "../../../models/setupwizard/setupwizard/SetupWizardView";
|
4
4
|
import { SetupWizardTemplateProvider } from "./SetupWizardTemplateProvider";
|
@@ -8,7 +8,7 @@ export interface ISetupWizardRegistrationApi {
|
|
8
8
|
}
|
9
9
|
export interface ISetupWizardTemplateProviderRegistrationApi {
|
10
10
|
registerSetupWizardTemplateProvider: (providers: SetupWizardTemplateProvider | SetupWizardTemplateProvider[]) => void;
|
11
|
-
extendSetupWizardTemplate: (templateId:
|
11
|
+
extendSetupWizardTemplate: (templateId: guid, templateExtendData: SetupWizardTemplateExtendData, omniaServiceId: guid) => void;
|
12
12
|
getAllSetupWizardTemplateProviders: () => SetupWizardTemplateProvider[];
|
13
13
|
}
|
14
14
|
declare module "../WorkplaceApi" {
|
@@ -1,23 +1,23 @@
|
|
1
|
-
import {
|
1
|
+
import { guid, TargetResolverTypes } from "@omnia/fx-models";
|
2
2
|
import { SetupWizardTemplateFeatureHandler } from "..";
|
3
3
|
export declare enum SetupWizardScope {
|
4
4
|
Tenant = 1,
|
5
5
|
BusinessProfile = 2
|
6
6
|
}
|
7
7
|
export interface SetupWizardContent {
|
8
|
-
id:
|
8
|
+
id: guid;
|
9
9
|
title: string;
|
10
10
|
description: string;
|
11
11
|
order?: number;
|
12
12
|
scopes: SetupWizardScope[];
|
13
13
|
uncheckedByDefault?: boolean;
|
14
|
-
omniaServiceId:
|
14
|
+
omniaServiceId: guid;
|
15
15
|
onCheckedChange?: (isChecked: boolean, featureHandler: SetupWizardTemplateFeatureHandler) => void;
|
16
16
|
}
|
17
17
|
export interface SetupWizardFeature {
|
18
18
|
title: string;
|
19
19
|
feature: {
|
20
|
-
id:
|
20
|
+
id: guid;
|
21
21
|
scope: TargetResolverTypes;
|
22
22
|
settings?: Record<string, string>;
|
23
23
|
requireConsentPermission?: boolean;
|
@@ -25,7 +25,7 @@ export interface SetupWizardFeature {
|
|
25
25
|
order?: number;
|
26
26
|
scopes: SetupWizardRender[];
|
27
27
|
stopOnFailed?: boolean;
|
28
|
-
omniaServiceId:
|
28
|
+
omniaServiceId: guid;
|
29
29
|
}
|
30
30
|
export interface SetupWizardRender {
|
31
31
|
scope: SetupWizardScope;
|
@@ -38,5 +38,5 @@ export interface SetupWizardTemplateExtendData {
|
|
38
38
|
export interface SetupWizardStep {
|
39
39
|
order: number;
|
40
40
|
title: string;
|
41
|
-
componentManifestId?:
|
41
|
+
componentManifestId?: guid;
|
42
42
|
}
|
package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { guid, IIcon } from "@omnia/fx/models";
|
2
2
|
import { SetupWizardContent, SetupWizardFeature, SetupWizardScope, SetupWizardStep } from "./SetupWizardSettings";
|
3
3
|
export declare abstract class SetupWizardTemplateProvider {
|
4
|
-
abstract readonly omniaServiceId:
|
5
|
-
abstract readonly id:
|
4
|
+
abstract readonly omniaServiceId: guid;
|
5
|
+
abstract readonly id: guid;
|
6
6
|
abstract title: string;
|
7
7
|
abstract icon: IIcon;
|
8
8
|
abstract description: string;
|
@@ -9,13 +9,13 @@ class SetupWizardTemplateFeatureHandler {
|
|
9
9
|
this.template = template;
|
10
10
|
}
|
11
11
|
addFeature(feature) {
|
12
|
-
const index = this.template.features.findIndex(s => s.feature.id
|
12
|
+
const index = this.template.features.findIndex(s => s.feature.id == feature.feature.id);
|
13
13
|
if (index < 0) {
|
14
14
|
this.template.features.push(feature);
|
15
15
|
}
|
16
16
|
}
|
17
17
|
removeFeature(feature) {
|
18
|
-
const index = this.template.features.findIndex(s => s.feature.id
|
18
|
+
const index = this.template.features.findIndex(s => s.feature.id == feature.feature.id);
|
19
19
|
if (index > -1) {
|
20
20
|
this.template.features.splice(index, 1);
|
21
21
|
}
|