@omnia/workplace 7.6.3-preview → 7.6.5-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/core/loc/formLocalize.d.ts +65 -0
- 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 +5 -0
- package/internal-do-not-import-from-here/models/Constants.js +7 -2
- package/internal-do-not-import-from-here/models/ManifestIds.d.ts +14 -0
- package/internal-do-not-import-from-here/models/ManifestIds.js +14 -0
- package/internal-do-not-import-from-here/models/forms/Form.d.ts +34 -21
- package/internal-do-not-import-from-here/models/forms/Form.js +8 -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/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 +29 -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 +16 -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 +56 -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 +11 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupConstant.js +15 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupStyle.d.ts +34 -0
- package/internal-do-not-import-from-here/models/forms/components/FormRollupStyle.js +5 -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 +5 -0
- package/internal-do-not-import-from-here/models/forms/index.js +5 -0
- package/internal-do-not-import-from-here/services/{FormService.d.ts → forms/FormService.d.ts} +5 -3
- package/internal-do-not-import-from-here/services/forms/FormTemplateService.d.ts +10 -0
- package/internal-do-not-import-from-here/services/forms/FormTypeService.d.ts +10 -0
- package/internal-do-not-import-from-here/services/forms/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/{FormStore.d.ts → forms/FormStore.d.ts} +5 -4
- package/internal-do-not-import-from-here/stores/forms/FormTemplateStore.d.ts +24 -0
- package/internal-do-not-import-from-here/stores/forms/FormTypeStore.d.ts +24 -0
- package/internal-do-not-import-from-here/stores/forms/index.d.ts +3 -0
- package/internal-do-not-import-from-here/stores/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,9 +5,29 @@ export declare module FormsLocalization {
|
|
|
5
5
|
Polls: string;
|
|
6
6
|
Surveys: string;
|
|
7
7
|
Checkups: string;
|
|
8
|
+
Poll: string;
|
|
9
|
+
Survey: string;
|
|
10
|
+
Checkup: string;
|
|
8
11
|
Type: string;
|
|
12
|
+
Template: string;
|
|
9
13
|
Question: string;
|
|
14
|
+
AddQuestion: string;
|
|
10
15
|
Option: string;
|
|
16
|
+
CreateForm: string;
|
|
17
|
+
Scope: {
|
|
18
|
+
Title: string;
|
|
19
|
+
Current: string;
|
|
20
|
+
};
|
|
21
|
+
ScopeType: {
|
|
22
|
+
Title: string;
|
|
23
|
+
App: string;
|
|
24
|
+
BusinessProfile: string;
|
|
25
|
+
};
|
|
26
|
+
ActionButton: {
|
|
27
|
+
AllowMultiQuestions: string;
|
|
28
|
+
ShowFormSettings: string;
|
|
29
|
+
AddQuestion: string;
|
|
30
|
+
};
|
|
11
31
|
Admin: {
|
|
12
32
|
CopyOf: string;
|
|
13
33
|
Title: string;
|
|
@@ -71,6 +91,28 @@ export declare module FormsLocalization {
|
|
|
71
91
|
Validation: {
|
|
72
92
|
EndDateMustBeSmallerThanStartDate: string;
|
|
73
93
|
};
|
|
94
|
+
CustomChartColors: string;
|
|
95
|
+
Templates: string;
|
|
96
|
+
Types: string;
|
|
97
|
+
RemoveFormTemplateConfirmation: {
|
|
98
|
+
Title: string;
|
|
99
|
+
Message: string;
|
|
100
|
+
};
|
|
101
|
+
PropertySet: string;
|
|
102
|
+
RemoveFormTypeConfirmation: {
|
|
103
|
+
Title: string;
|
|
104
|
+
Message: string;
|
|
105
|
+
};
|
|
106
|
+
Scope: string;
|
|
107
|
+
QueryScope: {
|
|
108
|
+
Tenant: string;
|
|
109
|
+
BusinessProfiles: string;
|
|
110
|
+
Apps: string;
|
|
111
|
+
};
|
|
112
|
+
AddFilter: string;
|
|
113
|
+
Query: string;
|
|
114
|
+
Filter: string;
|
|
115
|
+
Display: string;
|
|
74
116
|
};
|
|
75
117
|
Renderer: {
|
|
76
118
|
FormNotAvailable: string;
|
|
@@ -111,5 +153,28 @@ export declare module FormsLocalization {
|
|
|
111
153
|
Padding: string;
|
|
112
154
|
Inherit: string;
|
|
113
155
|
};
|
|
156
|
+
FormRollup: {
|
|
157
|
+
Settings: {
|
|
158
|
+
View: string;
|
|
159
|
+
ListView: string;
|
|
160
|
+
FormView: string;
|
|
161
|
+
Paging: string;
|
|
162
|
+
NoResultText: string;
|
|
163
|
+
SortBy: string;
|
|
164
|
+
PagingType: {
|
|
165
|
+
NoPaging: string;
|
|
166
|
+
Classic: string;
|
|
167
|
+
Scroll: string;
|
|
168
|
+
};
|
|
169
|
+
PageSize: string;
|
|
170
|
+
DateFormat: string;
|
|
171
|
+
Width: string;
|
|
172
|
+
ShowLabel: string;
|
|
173
|
+
CustomLabel: string;
|
|
174
|
+
AddColumn: string;
|
|
175
|
+
DragAndDrop: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
Status: string;
|
|
114
179
|
}
|
|
115
180
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['39df27aa-95f1-4a23-b3f6-8b231afcda82']['491a5b75-e3d6-472a-8958-216be85b092a']","content":{"./client/admin/settings/blades/tenantheader/loc/localize.js":{"id":"./client/admin/settings/blades/tenantheader/loc/localize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["TenantHeaderLocalization"]},"./node_modules/@omnia/workplace/core/loc/formLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/formlocalize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["FormsLocalization"]},"./node_modules/@omnia/workplace/core/loc/localize.js":{"id":"./node_modules/@omnia/workplace/core/loc/localize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["TeamCoreLocalization"]},"./node_modules/@omnia/workplace/core/loc/powerappLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/powerapplocalize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["PowerAppLocalization"]},"./node_modules/@omnia/workplace/core/messaging/InternalWorkplaceTopics.js":{"id":"./node_modules/@omnia/workplace/core/messaging/internalworkplacetopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWorkplaceTopics"]},"./node_modules/@omnia/workplace/services/index.js":{"id":"./node_modules/@omnia/workplace/services/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AnalyticsService","AppAuthenticationOptionsService","FormService","HomeService","NotificationPanelHistoryService","PromotedSearchResultService","SearchCategoryService","SearchFeedbackService","SignOffRequestService","TeamCollaborationService"]},"./node_modules/@omnia/workplace/index.js":{"id":"8bf93338-8e70-4104-a75d-ae11485eec04","buildMeta":{"exportsType":"namespace"},"expo.js":["AdminNamespace","AnalyticsFilterStore","AnalyticsService","AnalyticsStore","AppAuthenticationOptionsService","AppRendererBootstrapper","CurrentFormStore","DialogHelper","EditingThemeStore","FilterValueProvider","FormService","FormStore","GovernanceDashboardStore","HomeService","LinkHandlerDialogStore","NotificationPanelHistoryService","NotificationPanelStore","NotificationPanelStorePluginProvider","PromotedSearchResultService","PromotedSearchResultStore","SearchCategoryService","SearchCategoryStore","SearchFeedbackService","SearchTokenStore","SignOffRequestService","SignOffRequestStore","SignOffRequestUtils","Styles","TeamCollaborationService","TeamCollaborationStore","TeamworkContext","TeamworkTopics","Topics","WorkPlaceUtils","dialogStyle","settingsTabContainer"]},"./node_modules/@omnia/workplace/models/index.js":{"id":"c778308f-5fbb-4a3d-8691-ad7408ffbd56","buildMeta":{"exportsType":"namespace"},"expo.js":["ActionMenuStyles","AdvancedSearchSettingsStyles","AdvancedSearchStyles","AnalyticsDimensionScopes","AnnouncementCommentLikeStyle","AnnouncementJourneyStyle","AnnouncementStyles","AppEnums","AppIconSearchTemplateStyles","AppIconStyles","AppInstanceDescriptionProperties","AppLaunchStyles","AppLaunchViewStyles","AppProvisioningSteps","BuiltInActionButtonHandlers","BusinessProfileAnalyticsSettings","BusinessProfileAppProvisioning","BusinessProfileDallEPromptDefaultSettings","CentralImageLocationsStyles","ChartColor","CompactHeaderStyles","Constants","CreateTeamworkSettingsStyles","DallESettingsPrompts","DefaultSearchTemplateStyles","DocumentDirectionSettingsStyles","EditModes","EnterpriseGlossaryAdminProvider","EnterpriseGlossaryInformationSettingsProvider","EnterpriseGlossaryInformationSourceSettingsProvider","EnterpriseGlossaryTaxonomyNavigationDisplayProvider","EnterpriseGlossaryTaxonomyNavigationSettingsProvider","EnterprisePropertyCategoriesDefaultBladeStyles","Enums","FeedType","FilterValue","FollowedsitesUpdatedAtUserPropertyBag","FooterPositions","FooterSettingStyles","FormGenericSetting","FormLayoutProvider","FormTypes","GovernanceDashboard","GovernanceDashboardSettingsStyles","GovernanceDashboardStyles","GroupManifests","GroupMembershipMappingBladeStyles","HeaderSettingsMode","HeaderStyles","HighPriorityAnnouncementStyle","HomeLayoutDefinition","HorizontalActionMenuStyles","HorizontalMegaMenuStyles","ItemQueryResult","JumpToContentStyles","LegendAlignment","LegendPosition","LinkHandlerSettingsStyles","LinkUrlTypeOption","LocalizationAdminStyles","LocalizationInputStyles","LogoStyles","MSTeamChannelFeedSorting","MSTeamTemplateStep","MediaPickerStorageProviderWorkplaceFaviconContext","MediaPickerStorageProviderWorkplaceFormContext","MediaPickerStorageProviderWorkplaceLogoContext","MediaPickerStorageProviderWorkplacePromotedSearchResultContext","MediaPickerStorageProviderWorkplaceSearchFeedbackContext","MediaPickerStorageProviderWorkplaceTutorialContext","MegaMenuLayoutDefinition","MembersStep","MobileMegaMenuStyles","MyLinksStyles","MySitesEnums","MySitesStyles","MyTeamCollaborationCategoryStyles","MyTeamCollaborationStyles","NewTeamworksTimeType","NotificationConstants","NotificationPanelDisplayModes","NotificationPanelHeaderStyles","NotificationPanelIconPosition","NotificationPanelSettingsStyles","NotificationPanelStyles","NotificationPanelTabAligments","NotificationTypes","OmniaSystemLanguageSettingsStyles","OptionTypes","PeopleRollupFilterEngineContextPropertyTypes","PostsFeedScopeOption","PostsFeedSortMode","PromotedSearchResultStatus","QRCodeStyles","QuestionTypes","QuickSearchStyles","ReCaptChaSecretFormNames","ResourceManifests","SearchAdminStyles","SearchBlockStyles","SearchHeaderStyles","SearchProvider","SearchStatistics","SearchStatisticsMetricScopeFilterValue","SearchTokenProvider","ServiceDefinition","SettingsKeys","SetupWizard","SetupWizardScope","SetupWizardTemplateFeatureHandler","SetupWizardTemplateProvider","SharedLinkSortByTypes","ShowMoreStyles","SignOffRequestEnums","SignOffRequestInfoPersistentDialogId","SignOffRequestProvider","SignOffRequestResourceProvider","SignOffRequestRollupConstants","SignOffRequestScopedQueryTypes","SignOffResource","SimpleListStyles","SimpleListingSearchTemplateStyles","SlideRendererStyles","StatisticViewMode","StatusCodeDisplay","StatusCodeStorageProviderWorkplaceContext","TabCustomUrlType","TableNames","TargetingPropertyStyles","TaxonomyNavigationDisplayProviderBase","TaxonomyNavigationStyles","TeamCollaborationAppDefinitionInfo","TeamCollaborationAppEnterpriseProperties","TeamCollaborationConstants","TeamCollaborationRollupBlockListViewSettingsStyles","TeamCollaborationRollupBlockListViewStyles","TeamCollaborationRollupBlockSettingsStyles","TeamCollaborationRollupBlockStyles","TeamCollaborationRollupEnums","TeamCollaborationRollupLinkBehavior","TeamCollaborationRollupScopeTypes","TeamCollabrationApp","TeamCollabrationAppResource","TeamCollabrationQuery","TeamCollabrationTypes","TeamNewsBlockStyles","TeamNewsRollupSettingElementName","TeamSiteEditPropertiesStyles","TeamWorkInfo","TeamworkAppLayoutDefinition","TeamworkNavigationActionHandlerSettingStyles","TeamworkNavigationSettingStyles","TeamworkNavigationStyles","TeamworkTemplateFilterValue","TenantRegionalStyles","TenantReusableContentManifests","TermNodeStyles","UserAccessibilitySettingsStyles","UserMenuStyles","VerticalActionMenuStyles","VerticalMegaMenuStyles","WPRoleDefinition","WebComponentElements","WebComponentManifests","WizardSetupConstant","WorkplaceAppRoutePrefix","WorkplaceHomeStyles","WorkplaceSharedStyles","WorkspaceActionMenuMapping","WorkspaceActionMenuSettings","WorkspaceApp","WorkspaceFactory","WorkspaceHomeMapping","WorkspaceHomeSettings","WorkspaceInfo","WorkspaceMegaMenuItemTypes","WorkspaceMegaMenuMapping","WorkspaceMegaMenuSettings","WorkspaceVerticalNavWidth","WowrkplaceHeadingStyles","notificationPanelLayoutProvider","reCaptchaSecretKey"]}}}
|
|
1
|
+
{"name":"omniaWebpackJsonp['39df27aa-95f1-4a23-b3f6-8b231afcda82']['491a5b75-e3d6-472a-8958-216be85b092a']","content":{"./client/admin/settings/blades/tenantheader/loc/localize.js":{"id":"./client/admin/settings/blades/tenantheader/loc/localize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["TenantHeaderLocalization"]},"./node_modules/@omnia/workplace/core/loc/formLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/formlocalize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["FormsLocalization"]},"./node_modules/@omnia/workplace/core/loc/localize.js":{"id":"./node_modules/@omnia/workplace/core/loc/localize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["TeamCoreLocalization"]},"./node_modules/@omnia/workplace/core/loc/powerappLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/powerapplocalize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["PowerAppLocalization"]},"./node_modules/@omnia/workplace/core/messaging/InternalWorkplaceTopics.js":{"id":"./node_modules/@omnia/workplace/core/messaging/internalworkplacetopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWorkplaceTopics"]},"./node_modules/@omnia/workplace/services/index.js":{"id":"./node_modules/@omnia/workplace/services/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AnalyticsService","AppAuthenticationOptionsService","FormService","FormTemplateService","FormTypeService","HomeService","NotificationPanelHistoryService","PromotedSearchResultService","SearchCategoryService","SearchFeedbackService","SignOffRequestService","TeamCollaborationService"]},"./node_modules/@omnia/workplace/index.js":{"id":"8bf93338-8e70-4104-a75d-ae11485eec04","buildMeta":{"exportsType":"namespace"},"expo.js":["AdminNamespace","AnalyticsFilterStore","AnalyticsService","AnalyticsStore","AppAuthenticationOptionsService","AppRendererBootstrapper","CurrentFormStore","DialogHelper","EditingThemeStore","FilterValueProvider","FormService","FormStore","FormTemplateService","FormTemplateStore","FormTypeService","FormTypeStore","GovernanceDashboardStore","HomeService","LinkHandlerDialogStore","NotificationPanelHistoryService","NotificationPanelStore","NotificationPanelStorePluginProvider","PromotedSearchResultService","PromotedSearchResultStore","SearchCategoryService","SearchCategoryStore","SearchFeedbackService","SearchTokenStore","SignOffRequestService","SignOffRequestStore","SignOffRequestUtils","Styles","TeamCollaborationService","TeamCollaborationStore","TeamworkContext","TeamworkTopics","Topics","WorkPlaceUtils","dialogStyle","settingsTabContainer"]},"./node_modules/@omnia/workplace/models/index.js":{"id":"c778308f-5fbb-4a3d-8691-ad7408ffbd56","buildMeta":{"exportsType":"namespace"},"expo.js":["ActionMenuStyles","AdvancedSearchSettingsStyles","AdvancedSearchStyles","AnalyticsDimensionScopes","AnnouncementCommentLikeStyle","AnnouncementJourneyStyle","AnnouncementStyles","AppEnums","AppIconSearchTemplateStyles","AppIconStyles","AppInstanceDescriptionProperties","AppLaunchStyles","AppLaunchViewStyles","AppProvisioningSteps","BuiltInActionButtonHandlers","BusinessProfileAnalyticsSettings","BusinessProfileAppProvisioning","BusinessProfileDallEPromptDefaultSettings","CentralImageLocationsStyles","ChartColor","CompactHeaderStyles","Constants","CreateTeamworkSettingsStyles","DallESettingsPrompts","DefaultSearchTemplateStyles","DocumentDirectionSettingsStyles","EditModes","EnterpriseGlossaryAdminProvider","EnterpriseGlossaryInformationSettingsProvider","EnterpriseGlossaryInformationSourceSettingsProvider","EnterpriseGlossaryTaxonomyNavigationDisplayProvider","EnterpriseGlossaryTaxonomyNavigationSettingsProvider","EnterprisePropertyCategoriesDefaultBladeStyles","Enums","FeedType","FilterValue","FollowedsitesUpdatedAtUserPropertyBag","FooterPositions","FooterSettingStyles","FormGenericSetting","FormLayoutProvider","FormQueryScopes","FormRollupBlockGeneralTabStyles","FormRollupConstants","FormRollupMainRendererStyles","FormStatus","FormTypes","GovernanceDashboard","GovernanceDashboardSettingsStyles","GovernanceDashboardStyles","GroupManifests","GroupMembershipMappingBladeStyles","HeaderSettingsMode","HeaderStyles","HighPriorityAnnouncementStyle","HomeLayoutDefinition","HorizontalActionMenuStyles","HorizontalMegaMenuStyles","ItemQueryResult","JumpToContentStyles","LegendAlignment","LegendPosition","LinkHandlerSettingsStyles","LinkUrlTypeOption","LocalizationAdminStyles","LocalizationInputStyles","LogoStyles","MSTeamChannelFeedSorting","MSTeamTemplateStep","MediaPickerStorageProviderWorkplaceFaviconContext","MediaPickerStorageProviderWorkplaceFormContext","MediaPickerStorageProviderWorkplaceLogoContext","MediaPickerStorageProviderWorkplacePromotedSearchResultContext","MediaPickerStorageProviderWorkplaceSearchFeedbackContext","MediaPickerStorageProviderWorkplaceTutorialContext","MegaMenuLayoutDefinition","MembersStep","MobileMegaMenuStyles","MyLinksStyles","MySitesEnums","MySitesStyles","MyTeamCollaborationCategoryStyles","MyTeamCollaborationStyles","NewTeamworksTimeType","NotificationConstants","NotificationPanelDisplayModes","NotificationPanelHeaderStyles","NotificationPanelIconPosition","NotificationPanelSettingsStyles","NotificationPanelStyles","NotificationPanelTabAligments","NotificationTypes","OmniaSystemLanguageSettingsStyles","OptionTypes","PeopleRollupFilterEngineContextPropertyTypes","PostsFeedScopeOption","PostsFeedSortMode","PromotedSearchResultStatus","QRCodeStyles","QuestionTypes","QuickSearchStyles","ReCaptChaSecretFormNames","ResourceManifests","ScopeCurrentId","SearchAdminStyles","SearchBlockStyles","SearchHeaderStyles","SearchProvider","SearchStatistics","SearchStatisticsMetricScopeFilterValue","SearchTokenProvider","ServiceDefinition","SettingsKeys","SetupWizard","SetupWizardScope","SetupWizardTemplateFeatureHandler","SetupWizardTemplateProvider","SharedLinkSortByTypes","ShowMoreStyles","SignOffRequestEnums","SignOffRequestInfoPersistentDialogId","SignOffRequestProvider","SignOffRequestResourceProvider","SignOffRequestRollupConstants","SignOffRequestScopedQueryTypes","SignOffResource","SimpleListStyles","SimpleListingSearchTemplateStyles","SlideRendererStyles","StatisticViewMode","StatusCodeDisplay","StatusCodeStorageProviderWorkplaceContext","TabCustomUrlType","TableNames","TargetingPropertyStyles","TaxonomyNavigationDisplayProviderBase","TaxonomyNavigationStyles","TeamCollaborationAppDefinitionInfo","TeamCollaborationAppEnterpriseProperties","TeamCollaborationConstants","TeamCollaborationRollupBlockListViewSettingsStyles","TeamCollaborationRollupBlockListViewStyles","TeamCollaborationRollupBlockSettingsStyles","TeamCollaborationRollupBlockStyles","TeamCollaborationRollupEnums","TeamCollaborationRollupLinkBehavior","TeamCollaborationRollupScopeTypes","TeamCollabrationApp","TeamCollabrationAppResource","TeamCollabrationQuery","TeamCollabrationTypes","TeamNewsBlockStyles","TeamNewsRollupSettingElementName","TeamSiteEditPropertiesStyles","TeamWorkInfo","TeamworkAppLayoutDefinition","TeamworkNavigationActionHandlerSettingStyles","TeamworkNavigationSettingStyles","TeamworkNavigationStyles","TeamworkTemplateFilterValue","TenantRegionalStyles","TenantReusableContentManifests","TermNodeStyles","UserAccessibilitySettingsStyles","UserMenuStyles","VerticalActionMenuStyles","VerticalMegaMenuStyles","WPRoleDefinition","WebComponentElements","WebComponentManifests","WizardSetupConstant","WorkplaceAppRoutePrefix","WorkplaceHomeStyles","WorkplaceSharedStyles","WorkspaceActionMenuMapping","WorkspaceActionMenuSettings","WorkspaceApp","WorkspaceFactory","WorkspaceHomeMapping","WorkspaceHomeSettings","WorkspaceInfo","WorkspaceMegaMenuItemTypes","WorkspaceMegaMenuMapping","WorkspaceMegaMenuSettings","WorkspaceVerticalNavWidth","WowrkplaceHeadingStyles","notificationPanelLayoutProvider","reCaptchaSecretKey"]}}}
|
|
@@ -66,6 +66,9 @@ export declare const Constants: {
|
|
|
66
66
|
teamworkRollup: {
|
|
67
67
|
filterEngineContextUniqueId: string;
|
|
68
68
|
};
|
|
69
|
+
formRollup: {
|
|
70
|
+
filterEngineContextUniqueId: string;
|
|
71
|
+
};
|
|
69
72
|
};
|
|
70
73
|
};
|
|
71
74
|
export declare const BuiltInActionButtonHandlers: {
|
|
@@ -80,6 +83,7 @@ export declare const BuiltInActionButtonHandlers: {
|
|
|
80
83
|
NotificationPanel: ActionHandlerRegistrationId;
|
|
81
84
|
SignOffRequest: ActionHandlerRegistrationId;
|
|
82
85
|
CreateApp: ActionHandlerRegistrationId;
|
|
86
|
+
CreateForm: ActionHandlerRegistrationId;
|
|
83
87
|
};
|
|
84
88
|
export declare const AppInstanceDescriptionProperties: {
|
|
85
89
|
InternalName: string;
|
|
@@ -245,6 +249,7 @@ export declare const SetupWizard: {
|
|
|
245
249
|
};
|
|
246
250
|
export declare const TableNames: {
|
|
247
251
|
SignOffRequests: string;
|
|
252
|
+
Forms: string;
|
|
248
253
|
};
|
|
249
254
|
export declare const SignOffRequestInfoPersistentDialogId = "omnia-workplace-signoffrequest-info-persistentdialog";
|
|
250
255
|
export declare const reCaptchaSecretKey = "omnia-recaptcha-secret";
|
|
@@ -79,6 +79,9 @@ exports.Constants = {
|
|
|
79
79
|
teamworkRollup: {
|
|
80
80
|
filterEngineContextUniqueId: "3afa11c3-ed91-4da3-9afa-bf08489b28c0"
|
|
81
81
|
},
|
|
82
|
+
formRollup: {
|
|
83
|
+
filterEngineContextUniqueId: "80a58c81-a014-41ef-b677-23ae77a7988a"
|
|
84
|
+
}
|
|
82
85
|
},
|
|
83
86
|
};
|
|
84
87
|
exports.BuiltInActionButtonHandlers = {
|
|
@@ -92,7 +95,8 @@ exports.BuiltInActionButtonHandlers = {
|
|
|
92
95
|
StrengthenProfile: fx_models_1.ActionHandlerRegistrationId.create(new fx_models_1.Guid("83171eea-c820-4b0b-a7c3-9cac858e7c68")),
|
|
93
96
|
NotificationPanel: fx_models_1.ActionHandlerRegistrationId.create(new fx_models_1.Guid("0ce50725-d05e-45f0-a619-8fc863a45c7b")),
|
|
94
97
|
SignOffRequest: fx_models_1.ActionHandlerRegistrationId.create(new fx_models_1.Guid("c5bc6a5b-9a13-4c89-ab33-d2501a608917")),
|
|
95
|
-
CreateApp: fx_models_1.ActionHandlerRegistrationId.create(new fx_models_1.Guid("d59b856b-7589-49bb-869f-8978f117569f"))
|
|
98
|
+
CreateApp: fx_models_1.ActionHandlerRegistrationId.create(new fx_models_1.Guid("d59b856b-7589-49bb-869f-8978f117569f")),
|
|
99
|
+
CreateForm: fx_models_1.ActionHandlerRegistrationId.create(new fx_models_1.Guid("e7442e51-6048-4f33-963e-4069f00559a2")),
|
|
96
100
|
};
|
|
97
101
|
exports.AppInstanceDescriptionProperties = {
|
|
98
102
|
InternalName: "appinstance_description"
|
|
@@ -267,7 +271,8 @@ exports.SetupWizard = {
|
|
|
267
271
|
LearningCenterPropertiesSettingsKey: "SetupWizardLearningCenterPropertiesSettings"
|
|
268
272
|
};
|
|
269
273
|
exports.TableNames = {
|
|
270
|
-
SignOffRequests: "SignOffRequests"
|
|
274
|
+
SignOffRequests: "SignOffRequests",
|
|
275
|
+
Forms: "Forms"
|
|
271
276
|
};
|
|
272
277
|
exports.SignOffRequestInfoPersistentDialogId = "omnia-workplace-signoffrequest-info-persistentdialog";
|
|
273
278
|
exports.reCaptchaSecretKey = "omnia-recaptcha-secret";
|
|
@@ -140,6 +140,7 @@ export declare class ResourceManifests {
|
|
|
140
140
|
static get PeopleRollupOwnerFilterEngineRegistrationApi(): Guid;
|
|
141
141
|
static get PeopleRollupUserTypeFilterEngineRegistrationApi(): Guid;
|
|
142
142
|
static get PeopleRollupFilterEngineCore(): Guid;
|
|
143
|
+
static get FormRollupCore(): Guid;
|
|
143
144
|
}
|
|
144
145
|
export declare class WebComponentManifests {
|
|
145
146
|
static get FaviconSettings(): Guid;
|
|
@@ -192,6 +193,7 @@ export declare class WebComponentManifests {
|
|
|
192
193
|
static get ShareActionRegistration(): Guid;
|
|
193
194
|
static get ShareActionHandler(): Guid;
|
|
194
195
|
static get CreateAppActionHandler(): Guid;
|
|
196
|
+
static get CreateFormActionHandler(): Guid;
|
|
195
197
|
static get YammerfeedSettings(): Guid;
|
|
196
198
|
static get Yammerfeed(): Guid;
|
|
197
199
|
static get SearchHeader(): Guid;
|
|
@@ -352,7 +354,9 @@ export declare class WebComponentManifests {
|
|
|
352
354
|
static get TeamworkNavigationTabSettings(): Guid;
|
|
353
355
|
static get TeamworkNavigationDialog(): Guid;
|
|
354
356
|
static get AppCreationActionHandlerSettings(): Guid;
|
|
357
|
+
static get FormCreationActionHandlerSettings(): Guid;
|
|
355
358
|
static get CreateAppDialog(): Guid;
|
|
359
|
+
static get CreateFormDialog(): Guid;
|
|
356
360
|
static get TeamNewsListView(): Guid;
|
|
357
361
|
static get TeamNewsListViewSettings(): Guid;
|
|
358
362
|
static get TeamNewsGroupView(): Guid;
|
|
@@ -557,6 +561,16 @@ export declare class WebComponentManifests {
|
|
|
557
561
|
static get PeopleRollupFilterEngineSelectionsAreaUserTypeProperty(): Guid;
|
|
558
562
|
static get PeopleRollupUserTypePropertySettings(): Guid;
|
|
559
563
|
static get PeopleRollupUserTypePropertyDefaultValueInput(): Guid;
|
|
564
|
+
static get FormTemplatesAdminBlade(): Guid;
|
|
565
|
+
static get FormTypesAdminBlade(): Guid;
|
|
566
|
+
static get FormQueryableProperties(): Guid;
|
|
567
|
+
static get FormRollupSettings(): Guid;
|
|
568
|
+
static get FormRollup(): Guid;
|
|
569
|
+
static get FormRollupListView(): Guid;
|
|
570
|
+
static get FormRollupListViewSettings(): Guid;
|
|
571
|
+
static get FormRollupFormView(): Guid;
|
|
572
|
+
static get FormRollupFormViewSettings(): Guid;
|
|
573
|
+
static get FormQuestionRenderer(): Guid;
|
|
560
574
|
}
|
|
561
575
|
export declare class WebComponentElements {
|
|
562
576
|
static get AppProvisioningStepMember(): string;
|
|
@@ -148,6 +148,7 @@ class ResourceManifests {
|
|
|
148
148
|
static get PeopleRollupOwnerFilterEngineRegistrationApi() { return new fx_models_1.Guid("59f67a21-d0e5-4999-8d6e-260029173c7b"); }
|
|
149
149
|
static get PeopleRollupUserTypeFilterEngineRegistrationApi() { return new fx_models_1.Guid("09574fb3-e56d-4dc9-ada3-c2018e42c540"); }
|
|
150
150
|
static get PeopleRollupFilterEngineCore() { return new fx_models_1.Guid("3c70a618-1268-4eb7-aad4-38dff37fd8fe"); }
|
|
151
|
+
static get FormRollupCore() { return new fx_models_1.Guid("ce661fe3-ada7-4db9-ae46-a928035298e9"); }
|
|
151
152
|
}
|
|
152
153
|
exports.ResourceManifests = ResourceManifests;
|
|
153
154
|
class WebComponentManifests {
|
|
@@ -201,6 +202,7 @@ class WebComponentManifests {
|
|
|
201
202
|
static get ShareActionRegistration() { return new fx_models_1.Guid("50c7754d-ddfb-4d49-8143-6f2172653db3"); }
|
|
202
203
|
static get ShareActionHandler() { return new fx_models_1.Guid("8b88cb04-6ac1-4758-97ee-336be7b49993"); }
|
|
203
204
|
static get CreateAppActionHandler() { return new fx_models_1.Guid("8a5e77f6-65b0-46fc-9c78-32e8d0a6f0ae"); }
|
|
205
|
+
static get CreateFormActionHandler() { return new fx_models_1.Guid("377c9e26-e7a9-4b7c-935f-b3f3029f600e"); }
|
|
204
206
|
static get YammerfeedSettings() { return new fx_models_1.Guid("6d64ca21-9b86-4def-9ddb-2f55e92b1a8d"); }
|
|
205
207
|
static get Yammerfeed() { return new fx_models_1.Guid("aa32a6a4-9d12-4fda-a68f-8b8fc836fe91"); }
|
|
206
208
|
static get SearchHeader() { return new fx_models_1.Guid("76323e70-3a54-4294-a74f-fd70f3b6c447"); }
|
|
@@ -361,7 +363,9 @@ class WebComponentManifests {
|
|
|
361
363
|
static get TeamworkNavigationTabSettings() { return new fx_models_1.Guid("5f7b4425-cdd1-46fb-8dc7-698694ab5810"); }
|
|
362
364
|
static get TeamworkNavigationDialog() { return new fx_models_1.Guid("1fd88b37-db0d-4ba2-b63c-b6ac7d004791"); }
|
|
363
365
|
static get AppCreationActionHandlerSettings() { return new fx_models_1.Guid("948562a5-fecb-41dc-8cba-b8ea6e3c8ed5"); }
|
|
366
|
+
static get FormCreationActionHandlerSettings() { return new fx_models_1.Guid("13263c63-b395-4f5e-9e11-a8b250e12e44"); }
|
|
364
367
|
static get CreateAppDialog() { return new fx_models_1.Guid("fc16945f-04e0-4309-9823-17c5d6963af5"); }
|
|
368
|
+
static get CreateFormDialog() { return new fx_models_1.Guid("c6864508-934e-4133-84f9-1bc724aacee6"); }
|
|
365
369
|
static get TeamNewsListView() { return new fx_models_1.Guid("a6d1503c-445e-44b1-9f54-d124c14df29b"); }
|
|
366
370
|
static get TeamNewsListViewSettings() { return new fx_models_1.Guid("d7231aab-9393-4a6d-8aff-4b4d5a5498c4"); }
|
|
367
371
|
static get TeamNewsGroupView() { return new fx_models_1.Guid("7841542b-fb29-4ac2-9676-52a83a6167b9"); }
|
|
@@ -566,6 +570,16 @@ class WebComponentManifests {
|
|
|
566
570
|
static get PeopleRollupFilterEngineSelectionsAreaUserTypeProperty() { return new fx_models_1.Guid("526399b7-c793-4cdf-ab2a-ddf0eaa889f1"); }
|
|
567
571
|
static get PeopleRollupUserTypePropertySettings() { return new fx_models_1.Guid("3e501989-5533-4417-b8c7-73cae126144a"); }
|
|
568
572
|
static get PeopleRollupUserTypePropertyDefaultValueInput() { return new fx_models_1.Guid("b0c2ef27-7a32-4937-9f51-9704b4555e0a"); }
|
|
573
|
+
static get FormTemplatesAdminBlade() { return new fx_models_1.Guid("36b3b1cc-1f61-4389-bf25-73d4e562cd91"); }
|
|
574
|
+
static get FormTypesAdminBlade() { return new fx_models_1.Guid("f2bc245e-9cfa-4296-8a99-e0abc311dab7"); }
|
|
575
|
+
static get FormQueryableProperties() { return new fx_models_1.Guid("5d366ff5-08e2-4d00-9a4c-7281716a7b1e"); }
|
|
576
|
+
static get FormRollupSettings() { return new fx_models_1.Guid("ee87dca1-ce77-47c3-95ae-6e80738734f3"); }
|
|
577
|
+
static get FormRollup() { return new fx_models_1.Guid("bf5d9b81-a725-4b85-b7c1-2542d9574284"); }
|
|
578
|
+
static get FormRollupListView() { return new fx_models_1.Guid("6511f625-9adc-4e3f-bd98-dc9df01f12e9"); }
|
|
579
|
+
static get FormRollupListViewSettings() { return new fx_models_1.Guid("ff6022ed-ee70-43c6-801c-d769066c33f2"); }
|
|
580
|
+
static get FormRollupFormView() { return new fx_models_1.Guid("425bec81-142f-4b87-8cc6-3bab4f97cb34"); }
|
|
581
|
+
static get FormRollupFormViewSettings() { return new fx_models_1.Guid("29a51766-0fac-4235-abf8-7dd21cc8f36c"); }
|
|
582
|
+
static get FormQuestionRenderer() { return new fx_models_1.Guid("11358173-b7ce-479b-8535-50e99df19371"); }
|
|
569
583
|
}
|
|
570
584
|
exports.WebComponentManifests = WebComponentManifests;
|
|
571
585
|
class WebComponentElements {
|
|
@@ -1,9 +1,31 @@
|
|
|
1
|
-
import { BusinessProfileProperty, GuidValue, Identity, Layout, MultilingualString, SpacingSettings } from "@omnia/fx/models";
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { BusinessProfileProperty, Guid, GuidValue, Identity, Layout, MultilingualString, SpacingSettings } from "@omnia/fx/models";
|
|
2
|
+
import { FormTemplateSettings } from "./FormTemplate";
|
|
3
|
+
export interface FormActionHandlerSettings {
|
|
4
|
+
selectedTypeId: number;
|
|
5
|
+
allowMultiQuestions: boolean;
|
|
6
|
+
showFormSettings: boolean;
|
|
7
|
+
scopeType: FormScopeTypes;
|
|
8
|
+
scopeId: GuidValue;
|
|
9
|
+
}
|
|
10
|
+
export declare const ScopeCurrentId: Guid;
|
|
11
|
+
declare const FormScopeTypeDefintions: readonly ["App", "BusinessProfile"];
|
|
12
|
+
export type FormScopeTypes = typeof FormScopeTypeDefintions[number];
|
|
13
|
+
export interface FormBase {
|
|
4
14
|
definition: FormDefinition;
|
|
5
|
-
layout
|
|
15
|
+
layout?: Layout;
|
|
16
|
+
formTypeId?: number;
|
|
17
|
+
formTemplateId?: number;
|
|
18
|
+
enterpriseProperties?: {
|
|
19
|
+
[internalName: string]: any;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export interface CreateFormRequest extends FormBase {
|
|
23
|
+
generateLayoutIfEmpty?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface Form extends FormBase {
|
|
26
|
+
id?: number;
|
|
6
27
|
profileId: GuidValue;
|
|
28
|
+
appInstanceId?: GuidValue;
|
|
7
29
|
createdAt: string;
|
|
8
30
|
createdBy: Identity;
|
|
9
31
|
modifiedAt: string;
|
|
@@ -24,22 +46,14 @@ export declare enum FormTypes {
|
|
|
24
46
|
Survey = 2,
|
|
25
47
|
Checkup = 3
|
|
26
48
|
}
|
|
27
|
-
export
|
|
49
|
+
export declare enum FormStatus {
|
|
50
|
+
Open = 1,
|
|
51
|
+
Closed = 2
|
|
52
|
+
}
|
|
53
|
+
export interface FormDefinition extends FormTemplateSettings {
|
|
28
54
|
type: FormTypes;
|
|
29
55
|
title: MultilingualString;
|
|
30
|
-
oneResponsePerPerson: boolean;
|
|
31
|
-
makeResponseAnonymous: boolean;
|
|
32
|
-
usePoint: boolean;
|
|
33
|
-
useCorrectAnswer: boolean;
|
|
34
|
-
enableCheckAnswer: boolean;
|
|
35
|
-
enableSubmission: boolean;
|
|
36
|
-
enableSaveForLater: boolean;
|
|
37
|
-
showMessage: boolean;
|
|
38
|
-
showUserResponse: boolean;
|
|
39
|
-
showAllResponses: boolean;
|
|
40
56
|
questions: Question[];
|
|
41
|
-
customSubmitLabel: MultilingualString;
|
|
42
|
-
submittedMessage: MultilingualString;
|
|
43
57
|
start?: string;
|
|
44
58
|
end?: string;
|
|
45
59
|
}
|
|
@@ -48,6 +62,8 @@ export interface FormListing {
|
|
|
48
62
|
title: MultilingualString;
|
|
49
63
|
start?: string;
|
|
50
64
|
end?: string;
|
|
65
|
+
profileId: GuidValue;
|
|
66
|
+
appInstanceId?: GuidValue;
|
|
51
67
|
numberOfSubmissions: number;
|
|
52
68
|
numberOfSubmittedUsers: number;
|
|
53
69
|
averagePointsBySubmission: number;
|
|
@@ -116,10 +132,6 @@ export interface UserDefinedOption extends Option {
|
|
|
116
132
|
type: OptionTypes.UserDefined;
|
|
117
133
|
value: string;
|
|
118
134
|
}
|
|
119
|
-
export interface CreateFormRequest {
|
|
120
|
-
layout: Layout;
|
|
121
|
-
definition: FormDefinition;
|
|
122
|
-
}
|
|
123
135
|
export interface QueryFormRequest {
|
|
124
136
|
type?: FormTypes;
|
|
125
137
|
filterOpenForRespondent?: boolean;
|
|
@@ -159,3 +171,4 @@ export declare class ChartColor {
|
|
|
159
171
|
color: string;
|
|
160
172
|
textColor: string;
|
|
161
173
|
}
|
|
174
|
+
export {};
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ChartColor = exports.FormGenericSetting = exports.LegendPosition = exports.LegendAlignment = exports.OptionTypes = exports.QuestionTypes = exports.FormTypes = void 0;
|
|
3
|
+
exports.ChartColor = exports.FormGenericSetting = exports.LegendPosition = exports.LegendAlignment = exports.OptionTypes = exports.QuestionTypes = exports.FormStatus = exports.FormTypes = exports.ScopeCurrentId = void 0;
|
|
4
4
|
const models_1 = require("@omnia/fx/models");
|
|
5
5
|
const ManifestIds_1 = require("../ManifestIds");
|
|
6
|
+
exports.ScopeCurrentId = new models_1.Guid("acb52a9b-b0c7-465a-8acc-98c4a47b464c");
|
|
7
|
+
const FormScopeTypeDefintions = ["App", "BusinessProfile"];
|
|
6
8
|
var FormTypes;
|
|
7
9
|
(function (FormTypes) {
|
|
8
10
|
FormTypes[FormTypes["Poll"] = 1] = "Poll";
|
|
9
11
|
FormTypes[FormTypes["Survey"] = 2] = "Survey";
|
|
10
12
|
FormTypes[FormTypes["Checkup"] = 3] = "Checkup";
|
|
11
13
|
})(FormTypes = exports.FormTypes || (exports.FormTypes = {}));
|
|
14
|
+
var FormStatus;
|
|
15
|
+
(function (FormStatus) {
|
|
16
|
+
FormStatus[FormStatus["Open"] = 1] = "Open";
|
|
17
|
+
FormStatus[FormStatus["Closed"] = 2] = "Closed";
|
|
18
|
+
})(FormStatus = exports.FormStatus || (exports.FormStatus = {}));
|
|
12
19
|
var QuestionTypes;
|
|
13
20
|
(function (QuestionTypes) {
|
|
14
21
|
QuestionTypes[QuestionTypes["Text"] = 1] = "Text";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ApiPath } from "@omnia/fx/models";
|
|
2
|
+
import { FormRollupViewRegistration } from "./components";
|
|
3
|
+
export interface IFormRollupApi {
|
|
4
|
+
viewRegistration: Promise<IFormRollupViewRegistrationApi>;
|
|
5
|
+
}
|
|
6
|
+
export interface IFormRollupViewRegistrationApi {
|
|
7
|
+
registerViews: (providers: FormRollupViewRegistration | FormRollupViewRegistration[]) => void;
|
|
8
|
+
}
|
|
9
|
+
declare module "../WorkplaceApi" {
|
|
10
|
+
interface IWorkplaceApi {
|
|
11
|
+
form: {
|
|
12
|
+
rollup: IFormRollupApi;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
interface IWorkplaceExtendApiManifest {
|
|
16
|
+
form: {
|
|
17
|
+
rollup: ApiPath;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { GuidValue, IPagingable, OrderBy } from "@omnia/fx-models";
|
|
2
|
+
import { FormQueryScopes, FormRollupFilter } from "./components";
|
|
3
|
+
import { Form } from "./Form";
|
|
4
|
+
export interface FormQuery extends IPagingable {
|
|
5
|
+
scope: FormQueryScopes;
|
|
6
|
+
keyWord?: string;
|
|
7
|
+
orderBy?: OrderBy;
|
|
8
|
+
formFilter?: FormFilter;
|
|
9
|
+
scopedFilters: ScopedFormFilter[];
|
|
10
|
+
keywordFilterOnProperties?: string[];
|
|
11
|
+
selectEnterpriseProperties?: string[];
|
|
12
|
+
}
|
|
13
|
+
export interface FormFilter {
|
|
14
|
+
filters: FormRollupFilter[];
|
|
15
|
+
enableWildcardSearch: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface ScopedFormFilter extends FormFilter {
|
|
18
|
+
scope: FormQueryScopes;
|
|
19
|
+
filters: FormRollupFilter[];
|
|
20
|
+
}
|
|
21
|
+
export interface TenantScopedFormFilter extends ScopedFormFilter {
|
|
22
|
+
}
|
|
23
|
+
export interface BusinessProfileScopedFormFilter extends ScopedFormFilter {
|
|
24
|
+
businessProfileId: GuidValue;
|
|
25
|
+
}
|
|
26
|
+
export interface AppInstanceScopedFormFilter extends ScopedFormFilter {
|
|
27
|
+
appInstanceId: GuidValue;
|
|
28
|
+
}
|
|
29
|
+
export interface FormQueryResult {
|
|
30
|
+
total: number;
|
|
31
|
+
items: Form[];
|
|
32
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { GuidValue, 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
|
+
}
|
|
17
|
+
export interface FormTemplateRequest {
|
|
18
|
+
baseType: FormTypes;
|
|
19
|
+
title: MultilingualString;
|
|
20
|
+
settings: FormTemplateSettings;
|
|
21
|
+
}
|
|
22
|
+
export interface FormTemplate extends FormTemplateRequest {
|
|
23
|
+
id: number;
|
|
24
|
+
businessProfileId: GuidValue;
|
|
25
|
+
createdAt: Date;
|
|
26
|
+
createdBy: Identity;
|
|
27
|
+
modifiedAt: Date;
|
|
28
|
+
modifiedBy: Identity;
|
|
29
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GuidValue, Identity, MultilingualString } from "@omnia/fx-models";
|
|
2
|
+
import { FormTypes } from "./Form";
|
|
3
|
+
export interface FormTypeRequest {
|
|
4
|
+
baseType: FormTypes;
|
|
5
|
+
title: MultilingualString;
|
|
6
|
+
enterprisePropertySetId?: GuidValue;
|
|
7
|
+
formTemplateIds: number[];
|
|
8
|
+
}
|
|
9
|
+
export interface FormType extends FormTypeRequest {
|
|
10
|
+
id: number;
|
|
11
|
+
businessProfileId: GuidValue;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
createdBy: Identity;
|
|
14
|
+
modifiedAt: Date;
|
|
15
|
+
modifiedBy: Identity;
|
|
16
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { FilterEngineSettings, GuidValue, MultilingualString, OrderBy, PropertyIndexedType, RollupEnums, RollupFilter, RollupFilterValue, RollupOtherTypes, SpacingSettings } from "@omnia/fx-models";
|
|
2
|
+
import { 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: GuidValue;
|
|
30
|
+
}
|
|
31
|
+
export interface AppInstanceQuery extends FormRollupQuerySource {
|
|
32
|
+
appInstanceId: GuidValue;
|
|
33
|
+
}
|
|
34
|
+
export interface FormRollupBlockDisplaySettings {
|
|
35
|
+
selectedDisplayView: FormRollupViewRegistrationSettings;
|
|
36
|
+
orderBy: OrderBy;
|
|
37
|
+
noResultText?: MultilingualString;
|
|
38
|
+
spacing?: SpacingSettings;
|
|
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: GuidValue;
|
|
51
|
+
resultRendererComponentId: GuidValue;
|
|
52
|
+
viewSettings: FormRollupViewComponentSettings;
|
|
53
|
+
}
|
|
54
|
+
export interface FormStatusExtendedPropFilterValue extends RollupFilterValue {
|
|
55
|
+
value: FormStatus;
|
|
56
|
+
}
|
|
@@ -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 || (exports.FormQueryScopes = {}));
|
package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockViewSettings.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EnterprisePropertyDefinition, GuidValue, MultilingualString, PropertyIndexedType, RollupEnums } from "@omnia/fx-models";
|
|
2
|
+
export interface FormRollupViewRegistration {
|
|
3
|
+
id: GuidValue;
|
|
4
|
+
title: string;
|
|
5
|
+
resultRendererComponentId: GuidValue;
|
|
6
|
+
viewSettingsComponentId: GuidValue;
|
|
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,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FormRollupConstants = void 0;
|
|
4
|
+
class FormRollupConstants {
|
|
5
|
+
}
|
|
6
|
+
exports.FormRollupConstants = FormRollupConstants;
|
|
7
|
+
FormRollupConstants.CustomProperties = {
|
|
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
|
+
};
|
|
12
|
+
FormRollupConstants.ViewRegistration = {
|
|
13
|
+
listView: "d91762c6-f646-408a-b628-7ef4f2bb2e17",
|
|
14
|
+
formView: "81c3f3f3-f8a9-4c91-8af4-465b9a733d51"
|
|
15
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { SpacingSettings } from "@omnia/fx-models";
|
|
2
|
+
import { ITheming } from "@omnia/fx/ux";
|
|
3
|
+
import { types } from "typestyle";
|
|
4
|
+
export declare const FormRollupBlockGeneralTabStyles: {
|
|
5
|
+
filterItemWrapper: types.NestedCSSProperties;
|
|
6
|
+
alignSelfCenter: types.NestedCSSProperties;
|
|
7
|
+
limitWidthInputWrapper: types.NestedCSSProperties;
|
|
8
|
+
resourceHeaderWrapper: types.NestedCSSProperties;
|
|
9
|
+
resourceRemoveAction: types.NestedCSSProperties;
|
|
10
|
+
wordBreak: types.NestedCSSProperties;
|
|
11
|
+
expansionPanel: types.NestedCSSProperties;
|
|
12
|
+
expansionHeader: types.NestedCSSProperties;
|
|
13
|
+
checkboxFilter: types.NestedCSSProperties;
|
|
14
|
+
filterSettings: types.NestedCSSProperties;
|
|
15
|
+
};
|
|
16
|
+
export declare const FormRollupMainRendererStyles: {
|
|
17
|
+
iconStyle?: types.NestedCSSProperties;
|
|
18
|
+
footerWrapper?: (numberOfActionButton: number) => types.NestedCSSProperties;
|
|
19
|
+
label?: types.NestedCSSProperties;
|
|
20
|
+
cardFabIcon?: (theming: ITheming) => types.NestedCSSProperties;
|
|
21
|
+
detail?: types.NestedCSSProperties;
|
|
22
|
+
getPaddingStyle?: (spacing: SpacingSettings, skip?: {
|
|
23
|
+
top?: boolean;
|
|
24
|
+
right?: boolean;
|
|
25
|
+
left?: boolean;
|
|
26
|
+
bottom?: boolean;
|
|
27
|
+
}) => types.NestedCSSProperties;
|
|
28
|
+
queryFailMsgWrapper?: types.NestedCSSProperties;
|
|
29
|
+
transparent?: types.NestedCSSProperties;
|
|
30
|
+
paging?: types.NestedCSSProperties;
|
|
31
|
+
tableWrapper?: types.NestedCSSProperties;
|
|
32
|
+
hideHeaders?: types.NestedCSSProperties;
|
|
33
|
+
fullHeight?: types.NestedCSSProperties;
|
|
34
|
+
};
|
package/internal-do-not-import-from-here/models/forms/components/FormViewComponentSettings.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
}
|
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);
|
|
@@ -4,3 +4,8 @@ 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);
|
package/internal-do-not-import-from-here/services/{FormService.d.ts → forms/FormService.d.ts}
RENAMED
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { GuidValue
|
|
2
|
-
import { ChoiceQuestion, ChoiceQuestionStatistic,
|
|
1
|
+
import { GuidValue } from "@omnia/fx-models";
|
|
2
|
+
import { ChoiceQuestion, ChoiceQuestionStatistic, CreateFormRequest, Form, FormListing, FormQuery, FormQueryResult, MultipleChoiceQuestion, QueryFormRequest, Submission } from "../../models";
|
|
3
3
|
export declare class FormService {
|
|
4
4
|
private httpClient;
|
|
5
5
|
private readonly baseUrl;
|
|
6
6
|
queryForms: (query: QueryFormRequest, profileId?: GuidValue) => Promise<FormListing[]>;
|
|
7
|
+
queryFormRollup: (query: FormQuery) => Promise<FormQueryResult>;
|
|
7
8
|
deleteForm: (id: number) => Promise<any>;
|
|
8
9
|
loadFormById: (id: number) => Promise<Form>;
|
|
9
10
|
loadFormForRespondent: (id: number) => Promise<Form>;
|
|
10
11
|
loadMySubmission: (formId: number) => Promise<Submission[]>;
|
|
11
12
|
submitForm: (form: Form, saveForLater: boolean, submissionId?: number) => Promise<Submission>;
|
|
12
|
-
|
|
13
|
+
createBusinessProfileForm: (profileId: GuidValue, request: CreateFormRequest) => Promise<Form>;
|
|
14
|
+
createAppInstanceForm: (appInstanceId: GuidValue, request: CreateFormRequest) => Promise<Form>;
|
|
13
15
|
updateForm: (form: Form) => Promise<Form>;
|
|
14
16
|
getChoiceQuestionStatistic: (form: Form, question: ChoiceQuestion | MultipleChoiceQuestion) => Promise<ChoiceQuestionStatistic>;
|
|
15
17
|
clearResponse: (formId: number, closeFormAfterward: boolean) => Promise<Form>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GuidValue } from "@omnia/fx-models";
|
|
2
|
+
import { FormTemplate, FormTemplateRequest } from "../../models";
|
|
3
|
+
export declare class FormTemplateService {
|
|
4
|
+
private httpClient;
|
|
5
|
+
private readonly baseUrl;
|
|
6
|
+
getFormTemplates: (businessProfileId: GuidValue) => Promise<Array<FormTemplate>>;
|
|
7
|
+
createFormTemplate: (profileId: GuidValue, createRequest: FormTemplateRequest) => Promise<FormTemplate>;
|
|
8
|
+
updateFormTemplate: (formTemplate: FormTemplate) => Promise<FormTemplate>;
|
|
9
|
+
removeFormTemplate: (id: number) => Promise<FormTemplate>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GuidValue } from "@omnia/fx-models";
|
|
2
|
+
import { FormType, FormTypeRequest } from "../../models";
|
|
3
|
+
export declare class FormTypeService {
|
|
4
|
+
private httpClient;
|
|
5
|
+
private readonly baseUrl;
|
|
6
|
+
getFormTypes: (businessProfileId: GuidValue) => Promise<Array<FormType>>;
|
|
7
|
+
createFormType: (profileId: GuidValue, formType: FormTypeRequest) => Promise<FormType>;
|
|
8
|
+
updateFormType: (formType: FormType) => Promise<FormType>;
|
|
9
|
+
removeFormType: (id: number) => Promise<FormType>;
|
|
10
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from "./NotificationPanelHistoryService";
|
|
2
2
|
export * from "./SearchCategoryService";
|
|
3
3
|
export * from "./TeamCollaborationService";
|
|
4
|
-
export * from "./FormService";
|
|
5
4
|
export * from "./AppAuthenticationOptionsService";
|
|
6
5
|
export * from "./SignOffRequestService";
|
|
7
6
|
export * from "./HomeService";
|
|
8
7
|
export * from "./PromotedSearchResultService";
|
|
9
8
|
export * from "./SearchFeedbackService";
|
|
10
9
|
export * from "./AnalyticsService";
|
|
10
|
+
export * from "./forms";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GuidValue } from "@omnia/fx/models";
|
|
2
2
|
import { Store } from "@omnia/fx/stores";
|
|
3
|
-
import {
|
|
4
|
-
import { FormsLocalization } from "
|
|
3
|
+
import { CreateFormRequest, Form, FormTypes } from "../../../fx/models";
|
|
4
|
+
import { FormsLocalization } from "../../core/loc/formLocalize";
|
|
5
5
|
export declare class FormStore extends Store {
|
|
6
6
|
/**
|
|
7
7
|
* State
|
|
@@ -22,7 +22,8 @@ export declare class FormStore extends Store {
|
|
|
22
22
|
};
|
|
23
23
|
actions: {
|
|
24
24
|
ensureLoadFormById: import("@omnia/fx/stores").StoreAction<unknown, (id: number) => void, (result: void, id: number) => void, (failureReason: any, id: number) => void, (id: number) => Promise<void>>;
|
|
25
|
-
|
|
25
|
+
createBusinessProfileForm: import("@omnia/fx/stores").StoreAction<unknown, (profileId: GuidValue, request: CreateFormRequest) => void, (result: Form, profileId: GuidValue, request: CreateFormRequest) => void, (failureReason: any, profileId: GuidValue, request: CreateFormRequest) => void, (profileId: GuidValue, request: CreateFormRequest) => Promise<Form>>;
|
|
26
|
+
createAppInstanceForm: import("@omnia/fx/stores").StoreAction<unknown, (appInstanceId: GuidValue, request: CreateFormRequest) => void, (result: Form, appInstanceId: GuidValue, request: CreateFormRequest) => void, (failureReason: any, appInstanceId: GuidValue, request: CreateFormRequest) => void, (appInstanceId: GuidValue, request: CreateFormRequest) => Promise<Form>>;
|
|
26
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>>;
|
|
27
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>>;
|
|
28
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>>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { GuidValue } from "@omnia/fx-models";
|
|
2
|
+
import { Store } from "@omnia/fx/stores";
|
|
3
|
+
import { FormTemplate, FormTemplateRequest } from "../../models";
|
|
4
|
+
import { FormTemplateService } from "../../services";
|
|
5
|
+
export declare class FormTemplateStore extends Store {
|
|
6
|
+
formTemplateService: FormTemplateService;
|
|
7
|
+
private ensuredLoadFormTemplatePromise;
|
|
8
|
+
private formTemplates;
|
|
9
|
+
getters: {
|
|
10
|
+
formTemplates: (businessProfileId: GuidValue) => FormTemplate[];
|
|
11
|
+
formTemplate: (businessProfileId: GuidValue, formTemplateId: number) => FormTemplate;
|
|
12
|
+
};
|
|
13
|
+
mutations: {
|
|
14
|
+
formTemplatesChanged: import("@omnia/fx/stores").StoreMutation<(businessProfileId: GuidValue) => void, (businessProfileId: GuidValue) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
15
|
+
};
|
|
16
|
+
actions: {
|
|
17
|
+
ensureLoadFormTemplates: import("@omnia/fx/stores").StoreAction<unknown, (businessProfileId: GuidValue) => void, (result: void, businessProfileId: GuidValue) => void, (failureReason: any, businessProfileId: GuidValue) => void, (businessProfileId: GuidValue) => Promise<void>>;
|
|
18
|
+
createFormTemplate: import("@omnia/fx/stores").StoreAction<unknown, (profileId: GuidValue, createRequest: FormTemplateRequest) => void, (result: FormTemplate, profileId: GuidValue, createRequest: FormTemplateRequest) => void, (failureReason: any, profileId: GuidValue, createRequest: FormTemplateRequest) => void, (profileId: GuidValue, createRequest: FormTemplateRequest) => Promise<FormTemplate>>;
|
|
19
|
+
updateFormTemplate: import("@omnia/fx/stores").StoreAction<unknown, (formTemplate: FormTemplate) => void, (result: FormTemplate, formTemplate: FormTemplate) => void, (failureReason: any, formTemplate: FormTemplate) => void, (formTemplate: FormTemplate) => Promise<FormTemplate>>;
|
|
20
|
+
removeFormTemplate: import("@omnia/fx/stores").StoreAction<unknown, (formTemplateId: number) => void, (result: FormTemplate, formTemplateId: number) => void, (failureReason: any, formTemplateId: number) => void, (formTemplateId: number) => Promise<FormTemplate>>;
|
|
21
|
+
};
|
|
22
|
+
onActivated(): void;
|
|
23
|
+
onDisposing(): void;
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { GuidValue } from "@omnia/fx-models";
|
|
2
|
+
import { Store } from "@omnia/fx/stores";
|
|
3
|
+
import { FormTypeRequest, FormType } from "../../models";
|
|
4
|
+
import { FormTypeService } from "../../services";
|
|
5
|
+
export declare class FormTypeStore extends Store {
|
|
6
|
+
formTypeService: FormTypeService;
|
|
7
|
+
private ensuredLoadFormTypePromise;
|
|
8
|
+
private formTypes;
|
|
9
|
+
getters: {
|
|
10
|
+
formTypes: (businessProfileId: GuidValue) => FormType[];
|
|
11
|
+
formType: (businessProfileId: GuidValue, formTypeId: number) => FormType;
|
|
12
|
+
};
|
|
13
|
+
mutations: {
|
|
14
|
+
formTypesChanged: import("@omnia/fx/stores").StoreMutation<(businessProfileId: GuidValue) => void, (businessProfileId: GuidValue) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
15
|
+
};
|
|
16
|
+
actions: {
|
|
17
|
+
ensureLoadFormTypes: import("@omnia/fx/stores").StoreAction<unknown, (businessProfileId: GuidValue) => void, (result: void, businessProfileId: GuidValue) => void, (failureReason: any, businessProfileId: GuidValue) => void, (businessProfileId: GuidValue) => Promise<void>>;
|
|
18
|
+
createFormType: import("@omnia/fx/stores").StoreAction<unknown, (profileId: GuidValue, createRequest: FormTypeRequest) => void, (result: FormType, profileId: GuidValue, createRequest: FormTypeRequest) => void, (failureReason: any, profileId: GuidValue, createRequest: FormTypeRequest) => void, (profileId: GuidValue, createRequest: FormTypeRequest) => Promise<FormType>>;
|
|
19
|
+
updateFormType: import("@omnia/fx/stores").StoreAction<unknown, (formType: FormType) => void, (result: FormType, formType: FormType) => void, (failureReason: any, formType: FormType) => void, (formType: FormType) => Promise<FormType>>;
|
|
20
|
+
removeFormType: import("@omnia/fx/stores").StoreAction<unknown, (formTypeId: number) => void, (result: FormType, formTypeId: number) => void, (failureReason: any, formTypeId: number) => void, (formTypeId: number) => Promise<FormType>>;
|
|
21
|
+
};
|
|
22
|
+
onActivated(): void;
|
|
23
|
+
onDisposing(): void;
|
|
24
|
+
}
|
|
@@ -5,10 +5,10 @@ export * from "./GovernanceDashboardStore";
|
|
|
5
5
|
export * from "./FilterValueProviderBase";
|
|
6
6
|
export * from "./TeamCollaborationStore";
|
|
7
7
|
export * from "./CurrentFormStore";
|
|
8
|
-
export * from "./FormStore";
|
|
9
8
|
export * from "./SignOffRequestStore";
|
|
10
9
|
export * from "./PromotedSearchResultStore";
|
|
11
10
|
export * from "./LinkHandlerDialogStore";
|
|
12
11
|
export * from "./SearchTokenStore";
|
|
13
12
|
export * from "./AnalyticsStore";
|
|
14
13
|
export * from "./AnalyticsFilterStore";
|
|
14
|
+
export * from "./forms";
|