@omnia/workplace 7.6.42-preview → 7.6.44-preview
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.
|
@@ -29,8 +29,6 @@ export declare module FormsLocalization {
|
|
|
29
29
|
BusinessProfile: string;
|
|
30
30
|
};
|
|
31
31
|
ActionButton: {
|
|
32
|
-
AllowMultiQuestions: string;
|
|
33
|
-
ShowFormSettings: string;
|
|
34
32
|
AddQuestion: string;
|
|
35
33
|
};
|
|
36
34
|
Admin: {
|
|
@@ -70,6 +68,8 @@ export declare module FormsLocalization {
|
|
|
70
68
|
ShowAllResponses: string;
|
|
71
69
|
UneditableForm: string;
|
|
72
70
|
WhenClosed: string;
|
|
71
|
+
AllowMultiQuestions: string;
|
|
72
|
+
ShowFormSettings: string;
|
|
73
73
|
};
|
|
74
74
|
Editor: {
|
|
75
75
|
AddOtherOption: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BusinessProfileProperty, Guid, GuidValue, Identity, Layout, MediaPickerImage, MultilingualString, SpacingSettings } from "@omnia/fx/models";
|
|
2
|
-
import { FormQueryScopes } from "./components";
|
|
3
2
|
import { FormTemplateSettings } from "./FormTemplate";
|
|
3
|
+
import { FormQueryScopes } from "./components";
|
|
4
4
|
export interface FormActionHandlerSettings extends FormBuilderSettings {
|
|
5
5
|
selectedTypeId: number;
|
|
6
6
|
scopeType: FormScopeTypes;
|
|
@@ -8,8 +8,6 @@ export interface FormActionHandlerSettings extends FormBuilderSettings {
|
|
|
8
8
|
businessProfileId: GuidValue;
|
|
9
9
|
}
|
|
10
10
|
export interface FormBuilderSettings {
|
|
11
|
-
allowMultiQuestions: boolean;
|
|
12
|
-
showFormSettings: boolean;
|
|
13
11
|
isEditing?: boolean;
|
|
14
12
|
}
|
|
15
13
|
export declare const ScopeCurrentId: Guid;
|
|
@@ -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;
|