@omnia/workplace 8.0.11-dev → 8.0.12-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/apis/index.d.ts +0 -1
- package/internal-do-not-import-from-here/core/loc/formLocalize.d.ts +5 -1
- package/internal-do-not-import-from-here/core/messaging/TeamworkTopics.d.ts +0 -2
- package/internal-do-not-import-from-here/core/messaging/WorkplaceTopics.d.ts +2 -3
- 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 +7 -6
- package/internal-do-not-import-from-here/models/Constants.js +10 -9
- package/internal-do-not-import-from-here/models/EnterprisePropertyViewModel.js +1 -0
- package/internal-do-not-import-from-here/models/Enums.d.ts +2 -1
- package/internal-do-not-import-from-here/models/Enums.js +1 -0
- package/internal-do-not-import-from-here/models/Enums.tooling.d.ts +2 -2
- package/internal-do-not-import-from-here/models/Enums.tooling.js +34 -61
- package/internal-do-not-import-from-here/models/ManifestIds.d.ts +1 -1
- package/internal-do-not-import-from-here/models/ManifestIds.js +3 -1
- package/internal-do-not-import-from-here/models/SearchCategory.d.ts +1 -0
- package/internal-do-not-import-from-here/models/Secrets.d.ts +1 -5
- package/internal-do-not-import-from-here/models/forms/Form.d.ts +9 -5
- package/internal-do-not-import-from-here/models/forms/FormQuery.d.ts +1 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockSettings.d.ts +1 -4
- package/internal-do-not-import-from-here/models/forms/components/FormRollupConstant.d.ts +2 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupConstant.js +2 -0
- package/internal-do-not-import-from-here/models/forms/components/index.d.ts +0 -1
- package/internal-do-not-import-from-here/models/forms/components/index.js +0 -1
- package/internal-do-not-import-from-here/models/index.d.ts +0 -1
- package/internal-do-not-import-from-here/models/index.js +0 -1
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupViewRendererComponent.d.ts +5 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestTemplate.d.ts +5 -0
- package/internal-do-not-import-from-here/models/styles/index.d.ts +0 -2
- package/internal-do-not-import-from-here/models/styles/index.js +0 -2
- package/internal-do-not-import-from-here/services/form/FormService.d.ts +2 -1
- package/internal-do-not-import-from-here/stores/AnalyticsFilterStore.d.ts +2 -0
- package/internal-do-not-import-from-here/stores/AnalyticsStore.d.ts +2 -0
- package/internal-do-not-import-from-here/stores/CurrentFormStore.d.ts +1 -0
- package/internal-do-not-import-from-here/stores/form/FormStore.d.ts +2 -1
- package/internal-do-not-import-from-here/tooling.output.json +1 -1
- package/internal-do-not-import-from-here/ux/index.d.ts +0 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +191 -612
- package/package.json +1 -1
- package/task.js +1 -2
- package/internal-do-not-import-from-here/apis/ScopedPermissionApi.d.ts +0 -20
- package/internal-do-not-import-from-here/models/ScopedPermissionRegistraion.d.ts +0 -5
- package/internal-do-not-import-from-here/models/ScopedPermissionRegistraion.js +0 -2
- 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 +0 -2
- package/internal-do-not-import-from-here/models/styles/LocalizationAdminStyles.d.ts +0 -15
- package/internal-do-not-import-from-here/models/styles/LocalizationAdminStyles.js +0 -4
- package/internal-do-not-import-from-here/models/styles/LocalizationInputStyles.d.ts +0 -14
- package/internal-do-not-import-from-here/models/styles/LocalizationInputStyles.js +0 -4
- package/internal-do-not-import-from-here/ux/AppRendererBootstrapper.d.ts +0 -22
@@ -1,6 +1,6 @@
|
|
1
1
|
import { BusinessProfileProperty, guid, Identity, Layout, MediaPickerImage, MultilingualString, Spacing } from "@omnia/fx/models";
|
2
2
|
import { FormTemplateSettings } from "./FormTemplate";
|
3
|
-
import { FormQueryScopes } from "./components";
|
3
|
+
import { FormQueryScopes, FormRollupViewComponentSettings } from "./components";
|
4
4
|
export interface FormActionHandlerSettings extends FormBuilderSettings {
|
5
5
|
selectedTypeId: number;
|
6
6
|
scopeType: FormScopeTypes;
|
@@ -30,7 +30,7 @@ export interface CreateFormRequest extends Form {
|
|
30
30
|
}
|
31
31
|
export interface Form extends FormBase {
|
32
32
|
id?: number;
|
33
|
-
profileId
|
33
|
+
profileId?: guid;
|
34
34
|
appInstanceId?: guid;
|
35
35
|
createdAt: string;
|
36
36
|
createdBy: Identity;
|
@@ -160,18 +160,22 @@ export interface QuestionBlockSettings {
|
|
160
160
|
spacing?: Spacing;
|
161
161
|
};
|
162
162
|
}
|
163
|
-
export interface
|
164
|
-
formId: number;
|
165
|
-
blockTitle: MultilingualString;
|
163
|
+
export interface FormViewSettings {
|
166
164
|
useDialog: boolean;
|
167
165
|
showFormTitle: boolean;
|
166
|
+
showFormImage: boolean;
|
168
167
|
legendAlignment: LegendAlignment;
|
169
168
|
legendPosition: LegendPosition;
|
170
169
|
customShowFormButton: MultilingualString;
|
171
170
|
spacing?: Spacing;
|
171
|
+
}
|
172
|
+
export interface FormRendererBlockSettings extends FormViewSettings {
|
173
|
+
formId: number;
|
174
|
+
blockTitle: MultilingualString;
|
172
175
|
scopeType?: FormQueryScopes;
|
173
176
|
scopeId?: guid;
|
174
177
|
}
|
178
|
+
export type FormViewComponentSettings = FormViewSettings & FormRollupViewComponentSettings;
|
175
179
|
export declare class FormGenericSetting extends BusinessProfileProperty {
|
176
180
|
chartColor: ChartColor[];
|
177
181
|
constructor();
|
@@ -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;
|
package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockSettings.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { BaseFilterEngineProperty, FilterEngineSettings, guid, MultilingualString, OrderBy, PropertyIndexedType, RollupEnums, RollupFilter, RollupFilterValue, RollupOtherTypes, Spacing, TypedFilterEnginePropertyOutput } from "@omnia/fx-models";
|
2
|
-
import {
|
2
|
+
import { FormStatus } from "../Form";
|
3
3
|
import { FormRollupViewComponentSettings } from "./FormRollupBlockViewSettings";
|
4
4
|
export declare enum FormQueryScopes {
|
5
5
|
Tenant = 1,
|
@@ -58,16 +58,13 @@ export interface FormScopeFilterEngineProperty extends BaseFilterEngineProperty
|
|
58
58
|
value: Array<guid>;
|
59
59
|
type: PropertyIndexedType.Text;
|
60
60
|
showSearchValueBox: boolean;
|
61
|
-
scopeType?: FormScopeTypes;
|
62
61
|
}
|
63
62
|
export interface FormScopeFilterEnginePropertyOutput extends TypedFilterEnginePropertyOutput {
|
64
63
|
value: Array<guid>;
|
65
|
-
scopeType?: FormScopeTypes;
|
66
64
|
type: PropertyIndexedType.Text;
|
67
65
|
}
|
68
66
|
export interface FormScopePropFilterValue extends RollupFilterValue {
|
69
67
|
value: Array<guid>;
|
70
|
-
scopeType: FormScopeTypes;
|
71
68
|
}
|
72
69
|
export interface FormTypePropFilterValue extends RollupFilterValue {
|
73
70
|
value: Array<number>;
|
@@ -9,6 +9,8 @@ class FormRollupConstants {
|
|
9
9
|
StartDate: "startdate_469895bb-54b4-434e-b96a-90a0dd7eaa10",
|
10
10
|
EndDate: "enddate_44a47f32-6248-4025-9b8c-0df518ec8550",
|
11
11
|
Type: "type_63b3e788-f544-4563-bc7a-0793ae5b9d21",
|
12
|
+
BusinessProfileScope: "scope_a44b6b5a-534b-4b84-9998-28b227e57ea5",
|
13
|
+
AppInstanceScope: "scope_64ef1fa5-c495-44e2-b608-677c5f1a99b1",
|
12
14
|
}; }
|
13
15
|
static { this.ViewRegistration = {
|
14
16
|
listView: (0, fx_models_1.guid)("d91762c6-f646-408a-b628-7ef4f2bb2e17"),
|
@@ -6,5 +6,4 @@ tslib_1.__exportStar(require("./FormRollupStyle"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./FormRollupBlockViewSettings"), exports);
|
7
7
|
tslib_1.__exportStar(require("./FormRollupViewRendererComponent"), exports);
|
8
8
|
tslib_1.__exportStar(require("./FormRollupConstant"), exports);
|
9
|
-
tslib_1.__exportStar(require("./FormViewComponentSettings"), exports);
|
10
9
|
tslib_1.__exportStar(require("./ListViewComponentSettings"), exports);
|
@@ -61,7 +61,6 @@ export * from "./powerapp";
|
|
61
61
|
export * from "./IAdminComponent";
|
62
62
|
export * from "./promotedsearchresults";
|
63
63
|
export * from "./searchfeedbacks";
|
64
|
-
export * from "./ScopedPermissionRegistraion";
|
65
64
|
export * from "./setupwizard";
|
66
65
|
export * from "./searchstatistics";
|
67
66
|
export * from "./searchtoken";
|
@@ -65,7 +65,6 @@ tslib_1.__exportStar(require("./powerapp"), exports);
|
|
65
65
|
tslib_1.__exportStar(require("./IAdminComponent"), exports);
|
66
66
|
tslib_1.__exportStar(require("./promotedsearchresults"), exports);
|
67
67
|
tslib_1.__exportStar(require("./searchfeedbacks"), exports);
|
68
|
-
tslib_1.__exportStar(require("./ScopedPermissionRegistraion"), exports);
|
69
68
|
tslib_1.__exportStar(require("./setupwizard"), exports);
|
70
69
|
tslib_1.__exportStar(require("./searchstatistics"), exports);
|
71
70
|
tslib_1.__exportStar(require("./searchtoken"), exports);
|
@@ -8,6 +8,11 @@ export interface ISignOffRequestRollupViewRendererComponent {
|
|
8
8
|
total: number;
|
9
9
|
itemOpening?: (item: SignOffRequest) => void;
|
10
10
|
scopedQueryType: SignOffRequestScopedQueryTypes;
|
11
|
+
isAdminMode?: boolean;
|
12
|
+
isLoading?: boolean;
|
13
|
+
totalPageRender?: number;
|
14
|
+
currentPage?: number;
|
15
|
+
onLoadData?: (page: number) => void;
|
11
16
|
}
|
12
17
|
export interface ISignOffRequestListItem extends SignOffRequest {
|
13
18
|
isNew?: boolean;
|
@@ -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<guid>;
|
22
|
+
typeId: guid;
|
23
|
+
includeInTypes?: boolean;
|
24
|
+
}
|
20
25
|
export interface ISignOffRequestTemplateDataSettings {
|
21
26
|
allowEdit: boolean;
|
22
27
|
}
|
@@ -14,8 +14,6 @@ export * from "./UserAccessibilitySettingsStyles";
|
|
14
14
|
export * from "./FooterStyle";
|
15
15
|
export * from "./JumpToContentStyles";
|
16
16
|
export * from "./TargetingPropertyStyles";
|
17
|
-
export * from "./LocalizationInputStyles";
|
18
|
-
export * from "./LocalizationAdminStyles";
|
19
17
|
export * from "./GovernanceDashboardStyles";
|
20
18
|
export * from "./EnterprisePropertyCategoryStyles";
|
21
19
|
export * from "./OmniaSystemLanguageSettingsStyles";
|
@@ -17,8 +17,6 @@ tslib_1.__exportStar(require("./UserAccessibilitySettingsStyles"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./FooterStyle"), exports);
|
18
18
|
tslib_1.__exportStar(require("./JumpToContentStyles"), exports);
|
19
19
|
tslib_1.__exportStar(require("./TargetingPropertyStyles"), exports);
|
20
|
-
tslib_1.__exportStar(require("./LocalizationInputStyles"), exports);
|
21
|
-
tslib_1.__exportStar(require("./LocalizationAdminStyles"), exports);
|
22
20
|
tslib_1.__exportStar(require("./GovernanceDashboardStyles"), exports);
|
23
21
|
tslib_1.__exportStar(require("./EnterprisePropertyCategoryStyles"), exports);
|
24
22
|
tslib_1.__exportStar(require("./OmniaSystemLanguageSettingsStyles"), exports);
|
@@ -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?: guid) => Promise<FormListing[]>;
|
7
8
|
queryFormRollup: (query: FormQuery) => Promise<FormQueryResult>;
|
8
9
|
deleteForm: (id: number) => Promise<any>;
|
@@ -14,7 +15,7 @@ export declare class FormService {
|
|
14
15
|
createAppInstanceForm: (appInstanceId: guid, 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>;
|
19
20
|
private migrateFormDefinitionSettings;
|
20
21
|
}
|
@@ -27,4 +27,5 @@ export declare class CurrentFormStore implements ICurrentFormStore {
|
|
27
27
|
getFormSettings(): FormRendererBlockSettings;
|
28
28
|
cloneQuestion(sourceBlock: IBlockInstance | Block, targetBlock: IBlockInstance | Block): Question;
|
29
29
|
ensureQuestion(block: IBlockInstance | Block): Question;
|
30
|
+
private formDefinedOption;
|
30
31
|
}
|
@@ -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
|
}
|