@omnia/workplace 7.6.32-preview → 7.6.32
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/analyticsFilterLocalize.d.ts +32 -0
- package/internal-do-not-import-from-here/core/loc/analyticsFilterLocalize.manifest.d.ts +1 -0
- package/internal-do-not-import-from-here/core/loc/formLocalize.d.ts +29 -6
- package/internal-do-not-import-from-here/core/utils/Utils.d.ts +4 -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 +8 -0
- package/internal-do-not-import-from-here/models/Constants.js +9 -1
- package/internal-do-not-import-from-here/models/ManifestIds.d.ts +24 -1
- package/internal-do-not-import-from-here/models/ManifestIds.js +24 -1
- package/internal-do-not-import-from-here/models/Secrets.d.ts +2 -0
- package/internal-do-not-import-from-here/models/SharedLink.d.ts +55 -1
- package/internal-do-not-import-from-here/models/SharedLink.js +19 -0
- package/internal-do-not-import-from-here/models/analytics/analyticsdimensionmappings.d.ts +5 -0
- package/internal-do-not-import-from-here/models/analytics/analyticsfiltersettings.d.ts +13 -0
- package/internal-do-not-import-from-here/models/apps/Enums.d.ts +2 -1
- package/internal-do-not-import-from-here/models/apps/Enums.js +1 -0
- package/internal-do-not-import-from-here/models/forms/Form.d.ts +20 -9
- package/internal-do-not-import-from-here/models/forms/Form.js +12 -2
- package/internal-do-not-import-from-here/models/forms/FormLayout.d.ts +1 -0
- package/internal-do-not-import-from-here/models/forms/FormQuery.d.ts +1 -0
- package/internal-do-not-import-from-here/models/forms/FormTemplate.d.ts +7 -0
- package/internal-do-not-import-from-here/models/forms/FormType.d.ts +5 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockSettings.d.ts +26 -2
- package/internal-do-not-import-from-here/models/forms/components/FormRollupConstant.d.ts +3 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupConstant.js +4 -1
- package/internal-do-not-import-from-here/models/forms/components/FormRollupStyle.d.ts +0 -2
- package/internal-do-not-import-from-here/models/forms/components/index.d.ts +2 -3
- package/internal-do-not-import-from-here/models/forms/components/index.js +2 -3
- package/internal-do-not-import-from-here/models/mediapicker/MediaPickerProviderContext.d.ts +3 -3
- package/internal-do-not-import-from-here/models/mediapicker/MediaPickerProviderContext.js +4 -2
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRecurrence.d.ts +20 -5
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRecurrence.js +5 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRecurrenceQuery.d.ts +10 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestTemplate.d.ts +10 -1
- package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffRequestTemplateCreateModel.d.ts +2 -1
- package/internal-do-not-import-from-here/services/AnalyticsFilterService.d.ts +13 -0
- package/internal-do-not-import-from-here/services/AnalyticsStoreService.d.ts +3 -1
- package/internal-do-not-import-from-here/services/forms/FormService.d.ts +3 -1
- package/internal-do-not-import-from-here/services/forms/FormTemplateService.d.ts +2 -0
- package/internal-do-not-import-from-here/services/forms/FormTypeService.d.ts +1 -0
- package/internal-do-not-import-from-here/services/index.d.ts +2 -0
- package/internal-do-not-import-from-here/services/mylinks/MyLinkService.d.ts +10 -0
- package/internal-do-not-import-from-here/services/mylinks/RecentLinksService.d.ts +7 -0
- package/internal-do-not-import-from-here/services/mylinks/SharedLinksService.d.ts +12 -0
- package/internal-do-not-import-from-here/services/mylinks/index.d.ts +3 -0
- package/internal-do-not-import-from-here/stores/AnalyticsFilterStore.d.ts +2 -2
- package/internal-do-not-import-from-here/stores/AnalyticsStore.d.ts +7 -1
- package/internal-do-not-import-from-here/stores/CurrentFormStore.d.ts +3 -0
- package/internal-do-not-import-from-here/stores/LinkStore.d.ts +74 -0
- package/internal-do-not-import-from-here/stores/SignOffRequestStore.d.ts +1 -0
- package/internal-do-not-import-from-here/stores/forms/FormStore.d.ts +2 -1
- package/internal-do-not-import-from-here/stores/index.d.ts +1 -0
- package/package.json +1 -1
- package/internal-do-not-import-from-here/models/forms/components/FormViewComponentSettings.d.ts +0 -11
- /package/internal-do-not-import-from-here/models/{forms/components/FormViewComponentSettings.js → signoffrequest/SignOffRequestRecurrenceQuery.js} +0 -0
|
@@ -3,6 +3,7 @@ import { FormQueryScopes, FormRollupFilter } from "./components";
|
|
|
3
3
|
import { Form } from "./Form";
|
|
4
4
|
export interface FormQuery extends IPagingable {
|
|
5
5
|
scope: FormQueryScopes;
|
|
6
|
+
applySecurityTrimmer?: boolean;
|
|
6
7
|
keyWord?: string;
|
|
7
8
|
orderBy?: OrderBy;
|
|
8
9
|
formFilter?: FormFilter;
|
|
@@ -13,6 +13,13 @@ export interface FormTemplateSettings {
|
|
|
13
13
|
showAllResponses: boolean;
|
|
14
14
|
customSubmitLabel: MultilingualString;
|
|
15
15
|
submittedMessage: MultilingualString;
|
|
16
|
+
closedSettings: FormClosedSettings;
|
|
17
|
+
}
|
|
18
|
+
export interface FormClosedSettings {
|
|
19
|
+
showMessage: boolean;
|
|
20
|
+
showUserResponse: boolean;
|
|
21
|
+
showAllResponses: boolean;
|
|
22
|
+
message: MultilingualString;
|
|
16
23
|
}
|
|
17
24
|
export interface FormTemplateRequest {
|
|
18
25
|
baseType: FormTypes;
|
|
@@ -5,6 +5,11 @@ export interface FormTypeRequest {
|
|
|
5
5
|
title: MultilingualString;
|
|
6
6
|
enterprisePropertySetId?: GuidValue;
|
|
7
7
|
formTemplateIds: number[];
|
|
8
|
+
settings: FormTypeSettings;
|
|
9
|
+
}
|
|
10
|
+
export interface FormTypeSettings {
|
|
11
|
+
showFormTemplateSettings: boolean;
|
|
12
|
+
allowMultipleQuestions: boolean;
|
|
8
13
|
}
|
|
9
14
|
export interface FormType extends FormTypeRequest {
|
|
10
15
|
id: number;
|
package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockSettings.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FilterEngineSettings, GuidValue, MultilingualString, OrderBy, PropertyIndexedType, RollupEnums, RollupFilter, RollupFilterValue, RollupOtherTypes, SpacingSettings } from "@omnia/fx-models";
|
|
1
|
+
import { BaseFilterEngineProperty, FilterEngineSettings, GuidValue, MultilingualString, OrderBy, PropertyIndexedType, RollupEnums, RollupFilter, RollupFilterValue, RollupOtherTypes, SpacingSettings, TypedFilterEnginePropertyOutput } from "@omnia/fx-models";
|
|
2
2
|
import { FormStatus } from "../Form";
|
|
3
3
|
import { FormRollupViewComponentSettings } from "./FormRollupBlockViewSettings";
|
|
4
4
|
export declare enum FormQueryScopes {
|
|
@@ -52,5 +52,29 @@ export interface FormRollupViewRegistrationSettings {
|
|
|
52
52
|
viewSettings: FormRollupViewComponentSettings;
|
|
53
53
|
}
|
|
54
54
|
export interface FormStatusExtendedPropFilterValue extends RollupFilterValue {
|
|
55
|
-
value: FormStatus
|
|
55
|
+
value: Array<FormStatus>;
|
|
56
|
+
}
|
|
57
|
+
export interface FormScopeFilterEngineProperty extends BaseFilterEngineProperty {
|
|
58
|
+
value: Array<GuidValue>;
|
|
59
|
+
type: PropertyIndexedType.Text;
|
|
60
|
+
showSearchValueBox: boolean;
|
|
61
|
+
}
|
|
62
|
+
export interface FormScopeFilterEnginePropertyOutput extends TypedFilterEnginePropertyOutput {
|
|
63
|
+
value: Array<GuidValue>;
|
|
64
|
+
type: PropertyIndexedType.Text;
|
|
65
|
+
}
|
|
66
|
+
export interface FormScopePropFilterValue extends RollupFilterValue {
|
|
67
|
+
value: Array<GuidValue>;
|
|
68
|
+
}
|
|
69
|
+
export interface FormTypePropFilterValue extends RollupFilterValue {
|
|
70
|
+
value: Array<number>;
|
|
71
|
+
}
|
|
72
|
+
export interface FormStatusFilterEngineProperty extends BaseFilterEngineProperty {
|
|
73
|
+
value: Array<FormStatus>;
|
|
74
|
+
type: PropertyIndexedType.Number;
|
|
75
|
+
}
|
|
76
|
+
export interface FormStatusEnginePropertyOutput extends TypedFilterEnginePropertyOutput {
|
|
77
|
+
type: PropertyIndexedType.Number;
|
|
78
|
+
value: Array<FormStatus>;
|
|
79
|
+
sub: FormStatusEnginePropertyOutput[];
|
|
56
80
|
}
|
|
@@ -8,7 +8,10 @@ FormRollupConstants.CustomProperties = {
|
|
|
8
8
|
TitleAndLink: "titleandlink_c180e07a-0362-4de4-a418-128c3b2b75f5",
|
|
9
9
|
Status: "status_6fcde526-501b-4a6e-aea1-b08022dba59b",
|
|
10
10
|
StartDate: "startdate_469895bb-54b4-434e-b96a-90a0dd7eaa10",
|
|
11
|
-
EndDate: "enddate_44a47f32-6248-4025-9b8c-0df518ec8550"
|
|
11
|
+
EndDate: "enddate_44a47f32-6248-4025-9b8c-0df518ec8550",
|
|
12
|
+
Type: "type_63b3e788-f544-4563-bc7a-0793ae5b9d21",
|
|
13
|
+
BusinessProfileScope: "scope_a44b6b5a-534b-4b84-9998-28b227e57ea5",
|
|
14
|
+
AppInstanceScope: "scope_64ef1fa5-c495-44e2-b608-677c5f1a99b1",
|
|
12
15
|
};
|
|
13
16
|
FormRollupConstants.ViewRegistration = {
|
|
14
17
|
listView: "d91762c6-f646-408a-b628-7ef4f2bb2e17",
|
|
@@ -36,8 +36,6 @@ export declare const FormDialogStyles: {
|
|
|
36
36
|
footerWrapper?: types.NestedCSSProperties;
|
|
37
37
|
dialogWrapper?: types.NestedCSSProperties;
|
|
38
38
|
dialogContentWrapper?: types.NestedCSSProperties;
|
|
39
|
-
overlayImageEditButton?: types.NestedCSSProperties;
|
|
40
|
-
flexCenterAligned?: types.NestedCSSProperties;
|
|
41
39
|
};
|
|
42
40
|
export declare const formDialogHeaderHeight = 80;
|
|
43
41
|
export declare const formDialogFooterHeight = 46;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from "./FormRollupBlockSettings";
|
|
2
|
-
export * from "./FormRollupStyle";
|
|
3
2
|
export * from "./FormRollupBlockViewSettings";
|
|
4
|
-
export * from "./FormRollupViewRendererComponent";
|
|
5
3
|
export * from "./FormRollupConstant";
|
|
6
|
-
export * from "./
|
|
4
|
+
export * from "./FormRollupStyle";
|
|
5
|
+
export * from "./FormRollupViewRendererComponent";
|
|
7
6
|
export * from "./ListViewComponentSettings";
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./FormRollupBlockSettings"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./FormRollupStyle"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./FormRollupBlockViewSettings"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./FormRollupViewRendererComponent"), exports);
|
|
8
6
|
tslib_1.__exportStar(require("./FormRollupConstant"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./
|
|
7
|
+
tslib_1.__exportStar(require("./FormRollupStyle"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./FormRollupViewRendererComponent"), exports);
|
|
10
9
|
tslib_1.__exportStar(require("./ListViewComponentSettings"), exports);
|
|
@@ -36,10 +36,10 @@ export declare class MediaPickerStorageProviderWorkplaceTutorialContext extends
|
|
|
36
36
|
}
|
|
37
37
|
export declare class MediaPickerStorageProviderWorkplaceFormContext extends MediaPickerProviderStorageWorkplaceContext {
|
|
38
38
|
readonly storageProviderContextId: GuidValue;
|
|
39
|
-
readonly profileId
|
|
40
|
-
readonly appInstanceId
|
|
39
|
+
readonly profileId?: GuidValue;
|
|
40
|
+
readonly appInstanceId?: GuidValue;
|
|
41
41
|
readonly formId?: number;
|
|
42
|
-
constructor(profileId
|
|
42
|
+
constructor(profileId?: GuidValue, appInstanceId?: GuidValue, formId?: number);
|
|
43
43
|
}
|
|
44
44
|
export declare class MediaPickerStorageProviderWorkplacePromotedSearchResultContext extends MediaPickerProviderStorageWorkplaceContext {
|
|
45
45
|
readonly storageProviderContextId: GuidValue;
|
|
@@ -57,8 +57,10 @@ class MediaPickerStorageProviderWorkplaceFormContext extends MediaPickerProvider
|
|
|
57
57
|
constructor(profileId, appInstanceId, formId) {
|
|
58
58
|
super();
|
|
59
59
|
this.storageProviderContextId = new fx_models_1.Guid("9e075b81-cb49-4d9a-ad9b-85edb83f4d4d");
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
if (profileId)
|
|
61
|
+
this.profileId = profileId;
|
|
62
|
+
if (appInstanceId)
|
|
63
|
+
this.appInstanceId = appInstanceId;
|
|
62
64
|
if (formId)
|
|
63
65
|
this.formId = formId;
|
|
64
66
|
}
|
package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRecurrence.d.ts
CHANGED
|
@@ -1,23 +1,38 @@
|
|
|
1
1
|
import { GuidValue, Identity, MultilingualString } from "@omnia/fx/models";
|
|
2
2
|
import { RecurrenceSettings } from "../../../models/shared";
|
|
3
|
+
import { SignOffRequestEnums } from "./SignOffRequestEnum";
|
|
4
|
+
import { ISignOffRequestResourceDataSettings } from "./SignOffRequestResource";
|
|
3
5
|
export interface SignOffRequestRecurrence extends SignOffRequestRecurrenceCreation {
|
|
4
6
|
id: GuidValue;
|
|
5
|
-
nextRequestDate
|
|
7
|
+
nextRequestDate?: Date;
|
|
6
8
|
createdAt?: Date;
|
|
7
9
|
modifiedAt?: Date;
|
|
8
10
|
modifiedBy?: Identity;
|
|
9
11
|
}
|
|
10
|
-
export interface
|
|
12
|
+
export interface SignOffRequestRecurrenceUpdatableProperties {
|
|
13
|
+
requestTitle?: MultilingualString;
|
|
14
|
+
requestDescription?: MultilingualString;
|
|
15
|
+
signOffType?: SignOffRequestEnums.SignOffType;
|
|
16
|
+
requestedBy?: Array<Identity>;
|
|
17
|
+
requestTo?: Array<Identity>;
|
|
18
|
+
requestToEmails?: Array<string>;
|
|
19
|
+
resources?: Array<ISignOffRequestResourceDataSettings>;
|
|
20
|
+
enterpriseProperties?: {
|
|
21
|
+
[internalName: string]: any;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export interface SignOffRequestRecurrenceCreation extends SignOffRequestRecurrenceUpdatableProperties {
|
|
11
25
|
name: MultilingualString;
|
|
12
26
|
templateId: GuidValue;
|
|
13
27
|
typeId: GuidValue;
|
|
14
28
|
recurrenceSetting: RecurrenceTimeZoneSetting;
|
|
15
|
-
enterpriseProperties: {
|
|
16
|
-
[internalName: string]: any;
|
|
17
|
-
};
|
|
18
29
|
}
|
|
19
30
|
export interface RecurrenceTimeZoneSetting extends RecurrenceSettings {
|
|
20
31
|
hour: number;
|
|
21
32
|
minute: number;
|
|
22
33
|
timeZoneId: string;
|
|
23
34
|
}
|
|
35
|
+
export declare const RecurringRequestProgressStatus: {
|
|
36
|
+
Success: number;
|
|
37
|
+
Failed: number;
|
|
38
|
+
};
|
|
@@ -7,7 +7,7 @@ export interface ISignOffRequestTemplateUpdatableProperties {
|
|
|
7
7
|
description?: SignOffRequestTemplateMultilingualStringDataSettings;
|
|
8
8
|
resources?: SignOffRequestTemplateSignOffResourceListDataSettings;
|
|
9
9
|
requestedBy?: SignOffRequestTemplateIdentityListDataSettings;
|
|
10
|
-
requestTo?:
|
|
10
|
+
requestTo?: SignOffRequestTemplateRequestToDataSettings;
|
|
11
11
|
signOffType?: SignOffRequestTemplateSignOffTypeDataSettings;
|
|
12
12
|
}
|
|
13
13
|
export interface SignOffRequestTemplate extends ISignOffRequestTemplateUpdatableProperties {
|
|
@@ -17,6 +17,11 @@ export interface SignOffRequestTemplate extends ISignOffRequestTemplateUpdatable
|
|
|
17
17
|
modifiedBy?: Identity;
|
|
18
18
|
modifiedAt?: Date;
|
|
19
19
|
}
|
|
20
|
+
export interface SignOffRequestTemplatesInUseQueryOptions {
|
|
21
|
+
templateIds: Array<GuidValue>;
|
|
22
|
+
typeId: GuidValue;
|
|
23
|
+
includeInTypes?: boolean;
|
|
24
|
+
}
|
|
20
25
|
export interface ISignOffRequestTemplateDataSettings {
|
|
21
26
|
allowEdit: boolean;
|
|
22
27
|
}
|
|
@@ -32,3 +37,7 @@ export interface SignOffRequestTemplateSignOffResourceListDataSettings extends I
|
|
|
32
37
|
export interface SignOffRequestTemplateSignOffTypeDataSettings extends ISignOffRequestTemplateDataSettings {
|
|
33
38
|
value: SignOffRequestEnums.SignOffType;
|
|
34
39
|
}
|
|
40
|
+
export interface SignOffRequestTemplateRequestToDataSettings extends ISignOffRequestTemplateDataSettings {
|
|
41
|
+
value: Array<Identity>;
|
|
42
|
+
requestToEmails?: Array<string>;
|
|
43
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MultilingualString } from "@omnia/fx/models";
|
|
2
|
-
import { SignOffRequestTemplateMultilingualStringDataSettings, SignOffRequestTemplateSignOffTypeDataSettings, SignOffRequestTemplateIdentityListDataSettings, SignOffRequestTemplateSignOffResourceListDataSettings } from "..";
|
|
2
|
+
import { SignOffRequestTemplateMultilingualStringDataSettings, SignOffRequestTemplateSignOffTypeDataSettings, SignOffRequestTemplateIdentityListDataSettings, SignOffRequestTemplateSignOffResourceListDataSettings, SignOffRequestTemplateRequestToDataSettings } from "..";
|
|
3
3
|
export interface SignOffRequestTemplateCreateModel {
|
|
4
4
|
name?: MultilingualString;
|
|
5
5
|
title?: SignOffRequestTemplateMultilingualStringDataSettings;
|
|
@@ -8,4 +8,5 @@ export interface SignOffRequestTemplateCreateModel {
|
|
|
8
8
|
requestedBy?: SignOffRequestTemplateIdentityListDataSettings;
|
|
9
9
|
requestTo?: SignOffRequestTemplateIdentityListDataSettings;
|
|
10
10
|
signOffType?: SignOffRequestTemplateSignOffTypeDataSettings;
|
|
11
|
+
requestToEmails?: SignOffRequestTemplateRequestToDataSettings;
|
|
11
12
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AnalyticsPeriod } from "../models";
|
|
2
|
+
import { AnalyticsFilterLocalization } from "../core/loc/analyticsFilterLocalize";
|
|
3
|
+
export declare class AnalyticsFilterService {
|
|
4
|
+
constructor();
|
|
5
|
+
loc: AnalyticsFilterLocalization.locInterface;
|
|
6
|
+
private _periods;
|
|
7
|
+
private _dayEndPosition;
|
|
8
|
+
private _weekEndPosition;
|
|
9
|
+
private _monthEndPosition;
|
|
10
|
+
private _yearEndPosition;
|
|
11
|
+
periods(): AnalyticsPeriod[];
|
|
12
|
+
endPosition(selectedPeriod?: string): AnalyticsPeriod[];
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GuidValue, Identity } from "@omnia/fx/models";
|
|
2
|
-
import { AnalyticsDimensionMapping, AnalyticsDimensionScopes, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, AnalyticsToken, WidgetCategoryInfo, MatomoSite } from "../models/analytics";
|
|
2
|
+
import { AnalyticsDimensionMapping, AnalyticsDimensionScopes, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, AnalyticsToken, WidgetCategoryInfo, MatomoSite, AnalyticsColumn } from "../models/analytics";
|
|
3
3
|
export declare class AnalyticsStoreService {
|
|
4
4
|
private httpClient;
|
|
5
5
|
constructor();
|
|
@@ -8,6 +8,8 @@ export declare class AnalyticsStoreService {
|
|
|
8
8
|
getDimensions: (businessProfileId?: GuidValue) => Promise<AnalyticsDimensions>;
|
|
9
9
|
getScopesInfo: (businessProfileId?: GuidValue) => Promise<AnalyticsScopeInfo[]>;
|
|
10
10
|
getWidgetInformation: () => Promise<WidgetCategoryInfo[]>;
|
|
11
|
+
getAnalyticColumns: (idSite: number) => Promise<AnalyticsColumn[]>;
|
|
12
|
+
getReportStructure: () => Promise<Record<string, string[]>>;
|
|
11
13
|
addDimension: (name: string, scope: AnalyticsDimensionScopes) => Promise<number>;
|
|
12
14
|
enableAnalytics: () => Promise<boolean>;
|
|
13
15
|
disableAnalytics: () => Promise<boolean>;
|
|
@@ -3,6 +3,7 @@ import { ChoiceQuestion, ChoiceQuestionStatistic, CreateFormRequest, Form, FormL
|
|
|
3
3
|
export declare class FormService {
|
|
4
4
|
private httpClient;
|
|
5
5
|
private readonly baseUrl;
|
|
6
|
+
getFormListing: (id: number) => Promise<FormListing>;
|
|
6
7
|
queryForms: (query: QueryFormRequest, profileId?: GuidValue) => Promise<FormListing[]>;
|
|
7
8
|
queryFormRollup: (query: FormQuery) => Promise<FormQueryResult>;
|
|
8
9
|
deleteForm: (id: number) => Promise<any>;
|
|
@@ -14,6 +15,7 @@ export declare class FormService {
|
|
|
14
15
|
createAppInstanceForm: (appInstanceId: GuidValue, request: CreateFormRequest) => Promise<Form>;
|
|
15
16
|
updateForm: (form: Form) => Promise<Form>;
|
|
16
17
|
getChoiceQuestionStatistic: (form: Form, question: ChoiceQuestion | MultipleChoiceQuestion) => Promise<ChoiceQuestionStatistic>;
|
|
17
|
-
clearResponse: (formId: number
|
|
18
|
+
clearResponse: (formId: number) => Promise<Form>;
|
|
18
19
|
exportToExcel: (formId: number) => Promise<void>;
|
|
20
|
+
private migrateFormDefinitionSettings;
|
|
19
21
|
}
|
|
@@ -7,4 +7,6 @@ export declare class FormTemplateService {
|
|
|
7
7
|
createFormTemplate: (profileId: GuidValue, createRequest: FormTemplateRequest) => Promise<FormTemplate>;
|
|
8
8
|
updateFormTemplate: (formTemplate: FormTemplate) => Promise<FormTemplate>;
|
|
9
9
|
removeFormTemplate: (id: number) => Promise<FormTemplate>;
|
|
10
|
+
isFormTemplateInUse: (formTemplateId: number) => Promise<boolean>;
|
|
11
|
+
private migrateFormTemplateSettings;
|
|
10
12
|
}
|
|
@@ -7,4 +7,5 @@ export declare class FormTypeService {
|
|
|
7
7
|
createFormType: (profileId: GuidValue, formType: FormTypeRequest) => Promise<FormType>;
|
|
8
8
|
updateFormType: (formType: FormType) => Promise<FormType>;
|
|
9
9
|
removeFormType: (id: number) => Promise<FormType>;
|
|
10
|
+
isFormTypeInUse: (formTypeId: number) => Promise<boolean>;
|
|
10
11
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { QuickLink } from "../../models";
|
|
2
|
+
import { GuidValue } from "@omnia/fx-models";
|
|
3
|
+
export declare class MyLinksService {
|
|
4
|
+
private httpClient;
|
|
5
|
+
getOwnerLinks: (bussinessProfileId: GuidValue) => Promise<QuickLink[]>;
|
|
6
|
+
addOrUpdateOwnerLink: (link: QuickLink) => Promise<QuickLink>;
|
|
7
|
+
deleteMyLink: (linkId: string) => Promise<void>;
|
|
8
|
+
getAllLinks: (bussinessProfileId: GuidValue) => Promise<QuickLink[]>;
|
|
9
|
+
addMyLink: (linkId: string) => Promise<QuickLink[]>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { QuickLink } from "../../models";
|
|
2
|
+
import { GuidValue } from "@omnia/fx-models";
|
|
3
|
+
export declare class RecentLinksService {
|
|
4
|
+
private httpClient;
|
|
5
|
+
addRecentLink: (linkId: string) => Promise<void>;
|
|
6
|
+
getRecentLinks: (bussinessProfileId: GuidValue, take?: number) => Promise<QuickLink[]>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { QuickLink } from "../../models";
|
|
2
|
+
import { GuidValue } from "@omnia/fx-models";
|
|
3
|
+
export declare class SharedLinksService {
|
|
4
|
+
private httpClient;
|
|
5
|
+
getSharedLinks: (profileId?: GuidValue) => Promise<Array<QuickLink>>;
|
|
6
|
+
getAllSharedLinks: (profileId?: GuidValue) => Promise<Array<QuickLink>>;
|
|
7
|
+
getSharedLinkById: (id: string) => Promise<QuickLink>;
|
|
8
|
+
addOrUpdateSharedLink: (link: QuickLink) => Promise<QuickLink>;
|
|
9
|
+
deleteSharedLink: (link: QuickLink) => Promise<void>;
|
|
10
|
+
getCategories: (profileId?: GuidValue) => Promise<string[]>;
|
|
11
|
+
private getSharedLinksInternal;
|
|
12
|
+
}
|
|
@@ -2,8 +2,8 @@ import { Store } from "@omnia/fx/stores";
|
|
|
2
2
|
import { AnalyticsFilterSettings } from "../models";
|
|
3
3
|
export declare class AnalyticsFilterStore extends Store {
|
|
4
4
|
private _filters;
|
|
5
|
-
onActivated(): void;
|
|
6
|
-
onDisposing(): void;
|
|
5
|
+
protected onActivated(): void;
|
|
6
|
+
protected onDisposing(): void;
|
|
7
7
|
getters: {
|
|
8
8
|
pageFilters: (name: string) => AnalyticsFilterSettings;
|
|
9
9
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Store } from "@omnia/fx/stores";
|
|
2
2
|
import { OmniaContext } from "@omnia/fx";
|
|
3
3
|
import { GuidValue } from "@omnia/fx-models";
|
|
4
|
-
import { AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, MatomoSite } from "../models/analytics";
|
|
4
|
+
import { AnalyticsColumn, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, MatomoSite } from "../models/analytics";
|
|
5
5
|
import { AnalyticsStoreService } from "../services/AnalyticsStoreService";
|
|
6
6
|
import { WidgetCategoryInfo } from "../models";
|
|
7
7
|
export declare class AnalyticsStore extends Store {
|
|
@@ -23,6 +23,10 @@ export declare class AnalyticsStore extends Store {
|
|
|
23
23
|
private analyticsUrl;
|
|
24
24
|
private ensuredLoadSitesWithAtLeastViewAccessPromise;
|
|
25
25
|
private sitesWithAtLeastViewAccess;
|
|
26
|
+
private analyticsColumns;
|
|
27
|
+
private ensuredLoadAnalyticColumns;
|
|
28
|
+
private reportStructure;
|
|
29
|
+
private ensuredLoadReportStructure;
|
|
26
30
|
private isInstalled;
|
|
27
31
|
onActivated(): void;
|
|
28
32
|
onDisposing(): void;
|
|
@@ -38,6 +42,8 @@ export declare class AnalyticsStore extends Store {
|
|
|
38
42
|
analyticsUrl: () => string;
|
|
39
43
|
sitesWithAtLeastViewAccess: () => MatomoSite[];
|
|
40
44
|
isInstalled: () => boolean;
|
|
45
|
+
analyticsColumns: () => AnalyticsColumn[];
|
|
46
|
+
reportStructure: () => Record<string, string[]>;
|
|
41
47
|
};
|
|
42
48
|
actions: any;
|
|
43
49
|
}
|
|
@@ -15,6 +15,8 @@ export declare class CurrentFormStore implements ICurrentFormStore {
|
|
|
15
15
|
removeCheckAnswerFlag(questionId: GuidValue): void;
|
|
16
16
|
initCheckAnswerFlag(): void;
|
|
17
17
|
isLockSubmission(): boolean;
|
|
18
|
+
canSubmitForm(questions: Question[]): boolean;
|
|
19
|
+
private noEmptyAnswer;
|
|
18
20
|
isAnswerChanged(): boolean;
|
|
19
21
|
setAnswerChanged(value: boolean): void;
|
|
20
22
|
setFormSettings(settings: FormRendererBlockSettings): void;
|
|
@@ -27,4 +29,5 @@ export declare class CurrentFormStore implements ICurrentFormStore {
|
|
|
27
29
|
getFormSettings(): FormRendererBlockSettings;
|
|
28
30
|
cloneQuestion(sourceBlock: IBlockInstance | Block, targetBlock: IBlockInstance | Block): Question;
|
|
29
31
|
ensureQuestion(block: IBlockInstance | Block): Question;
|
|
32
|
+
private formDefinedOption;
|
|
30
33
|
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { OmniaContext } from "@omnia/fx";
|
|
2
|
+
import { Store, MultilingualStore } from "@omnia/fx/stores";
|
|
3
|
+
import { IMessageBusSubscriptionHandler } from "@omnia/fx-models";
|
|
4
|
+
import { QuickLink, LinkChanges } from "../models";
|
|
5
|
+
import { LocalizationService } from "@omnia/fx/services";
|
|
6
|
+
import { RecentLinksService, SharedLinksService, MyLinksService } from "../services";
|
|
7
|
+
export declare class LinkStore extends Store {
|
|
8
|
+
recentLinksService: RecentLinksService;
|
|
9
|
+
localizationService: LocalizationService;
|
|
10
|
+
myLinksService: MyLinksService;
|
|
11
|
+
sharedLinksService: SharedLinksService;
|
|
12
|
+
omniaCtx: OmniaContext;
|
|
13
|
+
MultilingualStore: MultilingualStore;
|
|
14
|
+
/**
|
|
15
|
+
* State
|
|
16
|
+
*/
|
|
17
|
+
private readonly tenantScope;
|
|
18
|
+
private profileId;
|
|
19
|
+
private subscriptionHandler;
|
|
20
|
+
private loadSharedCategoriesPromise;
|
|
21
|
+
private loadAllLinksPromise;
|
|
22
|
+
private loadMyLinksPromise;
|
|
23
|
+
private loadRecentLinksPromise;
|
|
24
|
+
private loadSharedLinksPromises;
|
|
25
|
+
private changes;
|
|
26
|
+
private links;
|
|
27
|
+
private allLinks;
|
|
28
|
+
private myLinks;
|
|
29
|
+
private recentLinks;
|
|
30
|
+
private sharedLinks;
|
|
31
|
+
private myLinksIdsMap;
|
|
32
|
+
onActivated(): void;
|
|
33
|
+
onDisposing(): void;
|
|
34
|
+
/** Implementation of Getters */
|
|
35
|
+
getters: {
|
|
36
|
+
onStoreUpdated: () => (fn: (obj: import("@omnia/fx-models").StateMutation<LinkChanges>) => void) => IMessageBusSubscriptionHandler;
|
|
37
|
+
getAllLinks: (useTargeting?: boolean) => Array<QuickLink>;
|
|
38
|
+
searchAllLinks: (searchText: string, useTargeting?: boolean) => Array<QuickLink>;
|
|
39
|
+
getQuickLinks: (includePersonalLink?: boolean, useTargeting?: boolean, includeNonMandatory?: boolean, includeMandatory?: boolean, includeFollowingLinks?: boolean) => Array<QuickLink>;
|
|
40
|
+
getMyLinks: (includePersonalLink?: boolean, useTargeting?: boolean) => Array<QuickLink>;
|
|
41
|
+
getRecentLinks: (includePersonalLink?: boolean, useTargeting?: boolean, includeNonMandatory?: boolean, includeMandatory?: boolean, includeFollowingLinks?: boolean) => Array<QuickLink>;
|
|
42
|
+
getSharedLinks: (tenantScope: boolean) => QuickLink[];
|
|
43
|
+
isMyLink: (link: QuickLink) => boolean;
|
|
44
|
+
};
|
|
45
|
+
private filterQuickLinks;
|
|
46
|
+
private addOrUpdateLinks;
|
|
47
|
+
private addOrUpdateAllLinks;
|
|
48
|
+
private addOrUpdateMyLinks;
|
|
49
|
+
private addOrUpdateRecentLinks;
|
|
50
|
+
private addOrUpdateSharedLinks;
|
|
51
|
+
mutations: {
|
|
52
|
+
clickLink: import("@omnia/fx/stores").StoreMutation<(link: QuickLink, e: Event, enabledExecuteDeepLink?: boolean) => void, (link: QuickLink, e: Event, enabledExecuteDeepLink?: boolean) => IMessageBusSubscriptionHandler>;
|
|
53
|
+
ensureLink: import("@omnia/fx/stores").StoreMutation<(link: QuickLink) => void, (link: QuickLink) => IMessageBusSubscriptionHandler>;
|
|
54
|
+
};
|
|
55
|
+
private internalMutations;
|
|
56
|
+
actions: {
|
|
57
|
+
ensureLoadSharedCategories: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: string[]) => void, (failureReason: any) => void, () => Promise<string[]>>;
|
|
58
|
+
ensureLoadAllLinks: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: null) => void, (failureReason: any) => void, () => Promise<null>>;
|
|
59
|
+
ensureLoadMyLink: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: null) => void, (failureReason: any) => void, () => Promise<null>>;
|
|
60
|
+
ensureLoadRecentLink: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: null) => void, (failureReason: any) => void, () => Promise<null>>;
|
|
61
|
+
addRecentLink: import("@omnia/fx/stores").StoreAction<unknown, (link: QuickLink) => void, (result: null, link: QuickLink) => void, (failureReason: any, link: QuickLink) => void, (link: QuickLink) => Promise<null>>;
|
|
62
|
+
addOrUpdateOwnerLink: import("@omnia/fx/stores").StoreAction<unknown, (link: QuickLink) => void, (result: any, link: QuickLink) => void, (failureReason: any, link: QuickLink) => void, (link: QuickLink) => Promise<any>>;
|
|
63
|
+
deleteMyLink: import("@omnia/fx/stores").StoreAction<unknown, (link: QuickLink) => void, (result: any, link: QuickLink) => void, (failureReason: any, link: QuickLink) => void, (link: QuickLink) => Promise<any>>;
|
|
64
|
+
addSharedLinkToMyLink: import("@omnia/fx/stores").StoreAction<unknown, (link: QuickLink) => void, (result: any, link: QuickLink) => void, (failureReason: any, link: QuickLink) => void, (link: QuickLink) => Promise<any>>;
|
|
65
|
+
ensureLoadSharedLink: import("@omnia/fx/stores").StoreAction<unknown, (tenantScope: boolean) => void, (result: null, tenantScope: boolean) => void, (failureReason: any, tenantScope: boolean) => void, (tenantScope: boolean) => Promise<null>>;
|
|
66
|
+
addOrUpdateSharedLink: import("@omnia/fx/stores").StoreAction<unknown, (link: QuickLink) => void, (result: any, link: QuickLink) => void, (failureReason: any, link: QuickLink) => void, (link: QuickLink) => Promise<any>>;
|
|
67
|
+
deleteSharedLink: import("@omnia/fx/stores").StoreAction<unknown, (link: QuickLink, tenantScope: boolean) => void, (result: any, link: QuickLink, tenantScope: boolean) => void, (failureReason: any, link: QuickLink, tenantScope: boolean) => void, (link: QuickLink, tenantScope: boolean) => Promise<any>>;
|
|
68
|
+
};
|
|
69
|
+
private fixIcon;
|
|
70
|
+
private fixUrl;
|
|
71
|
+
private ensureMultilingual;
|
|
72
|
+
private ensureData;
|
|
73
|
+
private getSharedLinksPromiseKey;
|
|
74
|
+
}
|
|
@@ -27,6 +27,7 @@ export declare class FormStore extends Store {
|
|
|
27
27
|
updateForm: import("@omnia/fx/stores").StoreAction<unknown, (form: Form) => void, (result: Form, form: Form) => void, (failureReason: any, form: Form) => void, (form: Form) => Promise<Form>>;
|
|
28
28
|
deleteForm: import("@omnia/fx/stores").StoreAction<unknown, (formId: number) => void, (result: void, formId: number) => void, (failureReason: any, formId: number) => void, (formId: number) => Promise<void>>;
|
|
29
29
|
copyForm: import("@omnia/fx/stores").StoreAction<unknown, (formId: number) => void, (result: Form, formId: number) => void, (failureReason: any, formId: number) => void, (formId: number) => Promise<Form>>;
|
|
30
|
-
clearResponses: import("@omnia/fx/stores").StoreAction<unknown, (formId: number
|
|
30
|
+
clearResponses: import("@omnia/fx/stores").StoreAction<unknown, (formId: number) => void, (result: void, formId: number) => void, (failureReason: any, formId: number) => void, (formId: number) => Promise<void>>;
|
|
31
|
+
exportToExcel: import("@omnia/fx/stores").StoreAction<unknown, (formId: number) => void, (result: void, formId: number) => void, (failureReason: any, formId: number) => void, (formId: number) => Promise<void>>;
|
|
31
32
|
};
|
|
32
33
|
}
|
package/package.json
CHANGED
package/internal-do-not-import-from-here/models/forms/components/FormViewComponentSettings.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MultilingualString, SpacingSettings } 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?: SpacingSettings;
|
|
11
|
-
}
|