@omnia/workplace 7.6.5-preview → 7.6.7-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.
- package/internal-do-not-import-from-here/models/ManifestIds.d.ts +1 -0
- package/internal-do-not-import-from-here/models/ManifestIds.js +1 -0
- package/internal-do-not-import-from-here/models/forms/Form.d.ts +8 -3
- package/internal-do-not-import-from-here/models/forms/Form.js +1 -0
- package/internal-do-not-import-from-here/stores/forms/FormStore.d.ts +1 -0
- package/package.json +1 -1
|
@@ -357,6 +357,7 @@ export declare class WebComponentManifests {
|
|
|
357
357
|
static get FormCreationActionHandlerSettings(): Guid;
|
|
358
358
|
static get CreateAppDialog(): Guid;
|
|
359
359
|
static get CreateFormDialog(): Guid;
|
|
360
|
+
static get FormBuilderDialogContent(): Guid;
|
|
360
361
|
static get TeamNewsListView(): Guid;
|
|
361
362
|
static get TeamNewsListViewSettings(): Guid;
|
|
362
363
|
static get TeamNewsGroupView(): Guid;
|
|
@@ -366,6 +366,7 @@ class WebComponentManifests {
|
|
|
366
366
|
static get FormCreationActionHandlerSettings() { return new fx_models_1.Guid("13263c63-b395-4f5e-9e11-a8b250e12e44"); }
|
|
367
367
|
static get CreateAppDialog() { return new fx_models_1.Guid("fc16945f-04e0-4309-9823-17c5d6963af5"); }
|
|
368
368
|
static get CreateFormDialog() { return new fx_models_1.Guid("c6864508-934e-4133-84f9-1bc724aacee6"); }
|
|
369
|
+
static get FormBuilderDialogContent() { return new fx_models_1.Guid("f2b57ef9-83b4-4dd7-9834-c262a86840e1"); }
|
|
369
370
|
static get TeamNewsListView() { return new fx_models_1.Guid("a6d1503c-445e-44b1-9f54-d124c14df29b"); }
|
|
370
371
|
static get TeamNewsListViewSettings() { return new fx_models_1.Guid("d7231aab-9393-4a6d-8aff-4b4d5a5498c4"); }
|
|
371
372
|
static get TeamNewsGroupView() { return new fx_models_1.Guid("7841542b-fb29-4ac2-9676-52a83a6167b9"); }
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { BusinessProfileProperty, Guid, GuidValue, Identity, Layout, MultilingualString, SpacingSettings } from "@omnia/fx/models";
|
|
2
2
|
import { FormTemplateSettings } from "./FormTemplate";
|
|
3
|
-
export interface FormActionHandlerSettings {
|
|
3
|
+
export interface FormActionHandlerSettings extends FormBuilderSettings {
|
|
4
4
|
selectedTypeId: number;
|
|
5
|
-
allowMultiQuestions: boolean;
|
|
6
|
-
showFormSettings: boolean;
|
|
7
5
|
scopeType: FormScopeTypes;
|
|
8
6
|
scopeId: GuidValue;
|
|
9
7
|
}
|
|
8
|
+
export interface FormBuilderSettings {
|
|
9
|
+
allowMultiQuestions: boolean;
|
|
10
|
+
showFormSettings: boolean;
|
|
11
|
+
isEditing?: boolean;
|
|
12
|
+
}
|
|
10
13
|
export declare const ScopeCurrentId: Guid;
|
|
11
14
|
declare const FormScopeTypeDefintions: readonly ["App", "BusinessProfile"];
|
|
12
15
|
export type FormScopeTypes = typeof FormScopeTypeDefintions[number];
|
|
16
|
+
declare const FormBuilderSteps: readonly ["templateSettings", "buildForm", "finalizeForm"];
|
|
17
|
+
export type FormSteps = typeof FormBuilderSteps[number];
|
|
13
18
|
export interface FormBase {
|
|
14
19
|
definition: FormDefinition;
|
|
15
20
|
layout?: Layout;
|
|
@@ -5,6 +5,7 @@ const models_1 = require("@omnia/fx/models");
|
|
|
5
5
|
const ManifestIds_1 = require("../ManifestIds");
|
|
6
6
|
exports.ScopeCurrentId = new models_1.Guid("acb52a9b-b0c7-465a-8acc-98c4a47b464c");
|
|
7
7
|
const FormScopeTypeDefintions = ["App", "BusinessProfile"];
|
|
8
|
+
const FormBuilderSteps = ["templateSettings", "buildForm", "finalizeForm"];
|
|
8
9
|
var FormTypes;
|
|
9
10
|
(function (FormTypes) {
|
|
10
11
|
FormTypes[FormTypes["Poll"] = 1] = "Poll";
|
|
@@ -27,5 +27,6 @@ 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, closeResponseAfterward: boolean) => void, (result: void, formId: number, closeResponseAfterward: boolean) => void, (failureReason: any, formId: number, closeResponseAfterward: boolean) => void, (formId: number, closeResponseAfterward: boolean) => Promise<void>>;
|
|
30
31
|
};
|
|
31
32
|
}
|