@omnia/workplace 8.0.8-dev → 8.0.9-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.
Files changed (97) hide show
  1. package/internal-do-not-import-from-here/core/loc/formLocalize.d.ts +5 -1
  2. package/internal-do-not-import-from-here/manifests/omnia.workplace.fx.manifest.json +1 -1
  3. package/internal-do-not-import-from-here/models/Constants.d.ts +81 -74
  4. package/internal-do-not-import-from-here/models/Constants.js +95 -88
  5. package/internal-do-not-import-from-here/models/EnterpriseGlossary.d.ts +4 -4
  6. package/internal-do-not-import-from-here/models/GovernanceDashboards.d.ts +10 -10
  7. package/internal-do-not-import-from-here/models/GovernanceDashboards.js +1 -1
  8. package/internal-do-not-import-from-here/models/ISearchTemplate.d.ts +3 -3
  9. package/internal-do-not-import-from-here/models/ManifestIds.d.ts +575 -553
  10. package/internal-do-not-import-from-here/models/ManifestIds.js +575 -553
  11. package/internal-do-not-import-from-here/models/NotificationPanel.d.ts +7 -7
  12. package/internal-do-not-import-from-here/models/NotificationPanelMsg.d.ts +3 -3
  13. package/internal-do-not-import-from-here/models/RegisterActionMenuItemMsg.d.ts +2 -2
  14. package/internal-do-not-import-from-here/models/Search.d.ts +6 -6
  15. package/internal-do-not-import-from-here/models/SearchCategory.d.ts +5 -5
  16. package/internal-do-not-import-from-here/models/SearchProvider.d.ts +4 -4
  17. package/internal-do-not-import-from-here/models/Secrets.d.ts +3 -3
  18. package/internal-do-not-import-from-here/models/SharedLink.d.ts +2 -2
  19. package/internal-do-not-import-from-here/models/TaxonomyNavigation.d.ts +2 -2
  20. package/internal-do-not-import-from-here/models/Workspace.d.ts +4 -4
  21. package/internal-do-not-import-from-here/models/Workspace.js +4 -4
  22. package/internal-do-not-import-from-here/models/analytics/matomosite.d.ts +2 -2
  23. package/internal-do-not-import-from-here/models/apps/MSTeamsInfo.d.ts +2 -2
  24. package/internal-do-not-import-from-here/models/apps/MSTeamsProperties.d.ts +3 -3
  25. package/internal-do-not-import-from-here/models/apps/TeamCollaborationAppTemplateProperties.d.ts +4 -4
  26. package/internal-do-not-import-from-here/models/apps/TeamworkAppLayoutDefinition.js +1 -1
  27. package/internal-do-not-import-from-here/models/components/PostsFeedBlock.d.ts +4 -4
  28. package/internal-do-not-import-from-here/models/forms/Form.d.ts +18 -14
  29. package/internal-do-not-import-from-here/models/forms/Form.js +8 -2
  30. package/internal-do-not-import-from-here/models/forms/FormLayout.d.ts +3 -3
  31. package/internal-do-not-import-from-here/models/forms/FormQuery.d.ts +3 -3
  32. package/internal-do-not-import-from-here/models/forms/FormTemplate.d.ts +2 -2
  33. package/internal-do-not-import-from-here/models/forms/FormType.d.ts +3 -3
  34. package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockSettings.d.ts +18 -9
  35. package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockViewSettings.d.ts +4 -4
  36. package/internal-do-not-import-from-here/models/forms/components/FormRollupConstant.d.ts +3 -2
  37. package/internal-do-not-import-from-here/models/forms/components/FormRollupConstant.js +3 -2
  38. package/internal-do-not-import-from-here/models/forms/components/FormRollupStyle.d.ts +2 -21
  39. package/internal-do-not-import-from-here/models/governancedashboard/TeamworkGovernanceDashboard.d.ts +2 -2
  40. package/internal-do-not-import-from-here/models/myteamcollaboration/TeamCollabrationApp.d.ts +2 -2
  41. package/internal-do-not-import-from-here/models/promotedsearchresults/PromotedSearchResult.d.ts +2 -2
  42. package/internal-do-not-import-from-here/models/searchfeedbacks/SearchFeedback.d.ts +5 -5
  43. package/internal-do-not-import-from-here/models/searchfeedbacks/SearchFeedbackQuery.d.ts +2 -2
  44. package/internal-do-not-import-from-here/models/searchstatistics/SearchStatistics.d.ts +14 -14
  45. package/internal-do-not-import-from-here/models/searchstatistics/SearchStatistics.js +5 -5
  46. package/internal-do-not-import-from-here/models/searchstatistics/SearchStatisticsMetricFilter.d.ts +2 -2
  47. package/internal-do-not-import-from-here/models/searchtoken/SearchTokenProvider.d.ts +2 -2
  48. package/internal-do-not-import-from-here/models/setupwizard/SetupWizardProviderApi.d.ts +2 -2
  49. package/internal-do-not-import-from-here/models/setupwizard/SetupWizardSettings.d.ts +6 -6
  50. package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.d.ts +3 -3
  51. package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.js +2 -2
  52. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequest.d.ts +3 -3
  53. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestApi.d.ts +4 -4
  54. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestDetail.d.ts +2 -2
  55. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRecurrence.d.ts +4 -4
  56. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.d.ts +7 -7
  57. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResourceProvider.d.ts +2 -2
  58. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResponse.d.ts +3 -3
  59. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupBlockSettings.d.ts +5 -5
  60. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupViewSettings.d.ts +4 -4
  61. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestSettings.d.ts +3 -3
  62. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestTemplate.d.ts +2 -2
  63. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestType.d.ts +5 -5
  64. package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffEmailRequest.d.ts +2 -2
  65. package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffRequestCreateModel.d.ts +2 -2
  66. package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffRequestTypeCreateModel.d.ts +3 -3
  67. package/internal-do-not-import-from-here/models/teamcollaborationnavigation/TeamCollaborationNavigationSettings.d.ts +2 -2
  68. package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlock.d.ts +7 -7
  69. package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupView.d.ts +2 -2
  70. package/internal-do-not-import-from-here/models/teamnewsrollup/TeamNewsRollupSettings.d.ts +3 -3
  71. package/internal-do-not-import-from-here/models/teamnewsrollup/TeamNewsRollupViewRegistration.d.ts +4 -4
  72. package/internal-do-not-import-from-here/services/AnalyticsStoreService.d.ts +7 -7
  73. package/internal-do-not-import-from-here/services/AppAuthenticationOptionsService.d.ts +3 -3
  74. package/internal-do-not-import-from-here/services/PromotedSearchResultService.d.ts +3 -3
  75. package/internal-do-not-import-from-here/services/SearchFeedbackService.d.ts +2 -2
  76. package/internal-do-not-import-from-here/services/SignOffRequestService.d.ts +7 -7
  77. package/internal-do-not-import-from-here/services/form/FormService.d.ts +4 -4
  78. package/internal-do-not-import-from-here/services/form/FormTemplateService.d.ts +3 -3
  79. package/internal-do-not-import-from-here/services/form/FormTypeService.d.ts +3 -3
  80. package/internal-do-not-import-from-here/stores/AnalyticsFilterStore.d.ts +40 -0
  81. package/internal-do-not-import-from-here/stores/AnalyticsStore.d.ts +168 -6
  82. package/internal-do-not-import-from-here/stores/CurrentFormStore.d.ts +3 -3
  83. package/internal-do-not-import-from-here/stores/GovernanceDashboardStore.d.ts +3 -3
  84. package/internal-do-not-import-from-here/stores/NotificationPanelStore.d.ts +2 -2
  85. package/internal-do-not-import-from-here/stores/PromotedSearchResultStore.d.ts +5 -6
  86. package/internal-do-not-import-from-here/stores/SignOffRequestStore.d.ts +5 -5
  87. package/internal-do-not-import-from-here/stores/form/FormStore.d.ts +3 -3
  88. package/internal-do-not-import-from-here/stores/form/FormTemplateStore.d.ts +6 -6
  89. package/internal-do-not-import-from-here/stores/form/FormTypeStore.d.ts +6 -6
  90. package/internal-do-not-import-from-here/tooling.output.json +1 -1
  91. package/internal-do-not-import-from-here/ux/AppRendererBootstrapper.d.ts +2 -2
  92. package/internal-do-not-import-from-here/ux/MediaPickerProviderStorageWorkplaceContext.d.ts +30 -30
  93. package/internal-do-not-import-from-here/wctypings.d.ts +81 -5
  94. package/internal-do-not-import-from-here/webcomponents/IAppAuthenticationOptionsComponent.d.ts +2 -2
  95. package/package.json +1 -1
  96. package/task.js +3 -2
  97. package/task.ts +3 -2
@@ -1,4 +1,4 @@
1
- import { Spacing, Guid, MultilingualString, IconPickerModel, GuidValue, IMessageBusTopicSubscription } from "@omnia/fx-models";
1
+ import { Spacing, guid, MultilingualString, IconPickerModel, IMessageBusTopicSubscription } from "@omnia/fx-models";
2
2
  import { NotificationPanelHistoryEntry } from "./NotificationPanelHistoryEntry";
3
3
  export interface CategoryIconDisplaySettings {
4
4
  showIcon: boolean;
@@ -33,7 +33,7 @@ export interface NotificationPanelActionHandlerSettings extends NotificationPane
33
33
  };
34
34
  }
35
35
  export interface NotificationPanelBlockSettings {
36
- blockId: Guid;
36
+ blockId: guid;
37
37
  defaultNotificationPanelId: string;
38
38
  customColors: NotificationPanelCustomColorModel;
39
39
  categoryIconDisplaySettings: CategoryIconDisplaySettings;
@@ -47,7 +47,7 @@ export interface BlockHeaderSettings {
47
47
  color: string;
48
48
  }
49
49
  export interface NotificationPanelSettingsModel {
50
- id?: Guid;
50
+ id?: guid;
51
51
  title?: string;
52
52
  categories: Array<NotificationPanelCategoryModel>;
53
53
  customColors?: NotificationPanelCustomColorModel;
@@ -84,18 +84,18 @@ export interface NotificationPanelCustomColorModel {
84
84
  export interface NotificationPanelCategoryModel {
85
85
  title: MultilingualString;
86
86
  icon?: IconPickerModel;
87
- id: Guid;
87
+ id: guid;
88
88
  components: Array<NotificationPanelComponentModel>;
89
89
  notificationType: NotificationTypes;
90
90
  notificationProviderId?: string;
91
91
  }
92
92
  export interface NotificationPanelComponentModel {
93
93
  elementToRender?: string;
94
- componentManifestId: GuidValue;
95
- settingsComponentManifestId?: GuidValue;
94
+ componentManifestId: guid;
95
+ settingsComponentManifestId?: guid;
96
96
  title: string;
97
97
  settingsValue?: any;
98
- id: Guid;
98
+ id: guid;
99
99
  }
100
100
  export interface IBlockInstanceInNotificationPanel {
101
101
  readonly visibled: boolean;
@@ -1,4 +1,4 @@
1
- import { GuidValue } from "@omnia/fx-models";
1
+ import { guid } from "@omnia/fx-models";
2
2
  export interface RegisterNotificationPanelComponent {
3
3
  /**
4
4
  * Registration Title. Support localization : $Localize:A.B.C;
@@ -7,11 +7,11 @@ export interface RegisterNotificationPanelComponent {
7
7
  /**
8
8
  * The component that will be rendered.
9
9
  */
10
- componentManifestId: GuidValue;
10
+ componentManifestId: guid;
11
11
  /**
12
12
  * The settings component that will be rendered
13
13
  */
14
- settingsComponentManifestId?: GuidValue;
14
+ settingsComponentManifestId?: guid;
15
15
  }
16
16
  export interface RegisterNotificationProvider {
17
17
  /**
@@ -1,9 +1,9 @@
1
- import { IIcon, GuidValue } from "@omnia/fx/models";
1
+ import { IIcon, guid } from "@omnia/fx/models";
2
2
  export interface RegisterActionMenuItemMsg {
3
3
  /**
4
4
  * Registration Id
5
5
  */
6
- id: GuidValue;
6
+ id: guid;
7
7
  /**
8
8
  * Registration Title. Support localization : $Localize:A.B.C;
9
9
  */
@@ -1,4 +1,4 @@
1
- import { GuidValue } from "@omnia/fx/models";
1
+ import { guid } from "@omnia/fx/models";
2
2
  import { Enums } from "./Enums";
3
3
  import { SearchCategoryBase } from "./SearchCategory";
4
4
  export interface SearchResultItem {
@@ -7,10 +7,10 @@ export interface SearchResultItem {
7
7
  */
8
8
  itemType: Enums.SearchResultItemTypes;
9
9
  imageIconSize?: string;
10
- imageRatioUniqueId?: GuidValue;
10
+ imageRatioUniqueId?: guid;
11
11
  }
12
12
  export interface CategorySearchResult {
13
- categoryId: GuidValue;
13
+ categoryId: guid;
14
14
  totalRows: number;
15
15
  items: Array<SearchResultItem>;
16
16
  }
@@ -65,8 +65,8 @@ export interface Refinement {
65
65
  }
66
66
  export interface SearchProviderBase {
67
67
  title: string;
68
- providerId: GuidValue;
69
- providerDisplayRenderManifestId: GuidValue;
68
+ providerId: guid;
69
+ providerDisplayRenderManifestId: guid;
70
70
  }
71
71
  export interface SearchProviderSettingProps<T extends SearchCategoryBase> {
72
72
  searchCategory: T;
@@ -78,7 +78,7 @@ export interface SearchRequest {
78
78
  }
79
79
  export interface SearchCategoryOption {
80
80
  paging: PagingOption;
81
- providerId: GuidValue;
81
+ providerId: guid;
82
82
  searchCategory: SearchCategoryBase;
83
83
  }
84
84
  export interface PagingOption {
@@ -1,15 +1,15 @@
1
1
  import { PropertyMapping, Enums } from ".";
2
2
  import { TargetingFilterProperty } from "@omnia/fx-sp-models";
3
- import { MultilingualString, GuidValue } from "@omnia/fx-models";
3
+ import { MultilingualString, guid } from "@omnia/fx-models";
4
4
  export interface SearchCategoryBase {
5
- id: GuidValue;
6
- providerId: GuidValue;
5
+ id: guid;
6
+ providerId: guid;
7
7
  title: MultilingualString;
8
8
  enableWildcardSearch: boolean;
9
9
  itemTemplateIds: Array<string>;
10
10
  targetingFilter?: TargetingFilterProperty;
11
- businessProfileId: GuidValue;
12
- providerComponentId: GuidValue;
11
+ businessProfileId: guid;
12
+ providerComponentId: guid;
13
13
  query?: string;
14
14
  }
15
15
  export interface SharePointSearchCategory extends SearchCategoryBase {
@@ -1,9 +1,9 @@
1
- import { GuidValue } from "@omnia/fx/models";
1
+ import { guid } from "@omnia/fx/models";
2
2
  import { CategorySearchResult, SearchProviderBase, SearchRequest } from ".";
3
3
  export declare abstract class SearchProvider implements SearchProviderBase {
4
4
  abstract readonly title: string;
5
- abstract readonly omniaServiceId: GuidValue;
6
- abstract readonly providerId: GuidValue;
7
- abstract providerDisplayRenderManifestId: GuidValue;
5
+ abstract readonly omniaServiceId: guid;
6
+ abstract readonly providerId: guid;
7
+ abstract providerDisplayRenderManifestId: guid;
8
8
  getSearchCategoryResult: (searchRequest: SearchRequest) => Promise<CategorySearchResult[]>;
9
9
  }
@@ -1,4 +1,4 @@
1
- import { SecretInfo, Secret, GuidValue } from "@omnia/fx-models";
1
+ import { SecretInfo, Secret, guid } from "@omnia/fx-models";
2
2
  export interface SecretInfoViewModel extends SecretInfo {
3
3
  localizedTitle: string;
4
4
  localizedBladeTitle: string;
@@ -11,6 +11,6 @@ export interface ISecretFormComponentProps {
11
11
  "v-model"?: Secret;
12
12
  getApi(api: ISecretFormApi): void;
13
13
  "onUpdate:modelValue"?: (secret: Secret) => void;
14
- profileId?: GuidValue;
15
- bladeId?: GuidValue;
14
+ profileId?: guid;
15
+ bladeId?: guid;
16
16
  }
@@ -1,4 +1,4 @@
1
- import { GuidValue, IconPickerModel, MultilingualString } from "@omnia/fx-models";
1
+ import { guid, IconPickerModel, MultilingualString } from "@omnia/fx-models";
2
2
  import { TargetingFilterProperty } from "@omnia/fx-sp-models";
3
3
  import { SearchResultItem } from "./Search";
4
4
  export interface MyLinkIcon extends IconPickerModel {
@@ -20,7 +20,7 @@ export interface QuickLink {
20
20
  modifiedAt?: Date;
21
21
  deletedAt?: Date;
22
22
  isOwner?: boolean;
23
- businessProfileId?: GuidValue;
23
+ businessProfileId?: guid;
24
24
  targetingFilter?: TargetingFilterProperty;
25
25
  isTargeted?: boolean;
26
26
  fixedUrl: string;
@@ -1,4 +1,4 @@
1
- import { ApiPath, BlockSettings, ColorValue, EnterpriseGlossaryInformationProviderId, EnterpriseGlossaryInformationSourceSettings, GuidValue, IBlockInstance, MultilingualString, Spacing, ThemeDefinition } from "@omnia/fx/models";
1
+ import { ApiPath, BlockSettings, ColorValue, EnterpriseGlossaryInformationProviderId, EnterpriseGlossaryInformationSourceSettings, guid, IBlockInstance, MultilingualString, Spacing, ThemeDefinition } from "@omnia/fx/models";
2
2
  export interface TaxonomyNavigationQuerySettings {
3
3
  enterpriseGlossaryInstanceId: number;
4
4
  }
@@ -19,7 +19,7 @@ export interface TaxonomyNavigationViewSettings {
19
19
  currentView: TaxonomyNavigationSelectionViewSettings;
20
20
  }
21
21
  export declare abstract class EnterpriseGlossaryTaxonomyNavigationSettingsProvider extends EnterpriseGlossaryInformationSourceSettings {
22
- abstract readonly displayProviderManifestId: GuidValue;
22
+ abstract readonly displayProviderManifestId: guid;
23
23
  }
24
24
  export declare abstract class EnterpriseGlossaryTaxonomyNavigationDisplayProvider extends EnterpriseGlossaryInformationSourceSettings {
25
25
  }
@@ -1,10 +1,10 @@
1
- import { BusinessProfileProperty, AppRoutePropertyBagModel, VersionedLayoutDefinition, MediaPickerImage, Spacing, MultilingualString, IIcon, GuidValue, ThemeDefinition, ActionHandler } from "@omnia/fx-models";
1
+ import { BusinessProfileProperty, AppRoutePropertyBagModel, VersionedLayoutDefinition, MediaPickerImage, Spacing, MultilingualString, IIcon, ThemeDefinition, ActionHandler, guid } from "@omnia/fx-models";
2
2
  import { Enums } from "./Enums";
3
3
  import { TargetingFilterProperty } from "@omnia/fx-sp";
4
4
  import { ActionHandlerInstance } from "@omnia/fx/ux";
5
5
  export declare const WorkspaceVerticalNavWidth = 256;
6
6
  export declare class WorkspaceInfo extends BusinessProfileProperty {
7
- appInstanceId: string;
7
+ appInstanceId: guid;
8
8
  classicNavigationBar: boolean;
9
9
  constructor();
10
10
  }
@@ -31,7 +31,7 @@ export declare enum WorkspaceMegaMenuItemTypes {
31
31
  Layout = 1
32
32
  }
33
33
  export interface WorkspaceMegaMenuItem {
34
- id: GuidValue;
34
+ id: guid;
35
35
  type: WorkspaceMegaMenuItemTypes;
36
36
  }
37
37
  export interface WorkspaceMegaMenuLink extends WorkspaceMegaMenuItem {
@@ -75,7 +75,7 @@ export declare class MegaMenuLayoutDefinition extends VersionedLayoutDefinition
75
75
  }
76
76
  export declare class WorkspaceActionMenuMapping extends AppRoutePropertyBagModel {
77
77
  constructor();
78
- itemIds: GuidValue[];
78
+ itemIds: guid[];
79
79
  }
80
80
  export interface IWorkspaceActionMenuHandlerInstance extends ActionHandlerInstance {
81
81
  icon?: IIcon;
@@ -55,8 +55,8 @@ class WorkspaceMegaMenuMapping extends fx_models_1.AppRoutePropertyBagModel {
55
55
  exports.WorkspaceMegaMenuMapping = WorkspaceMegaMenuMapping;
56
56
  class HomeLayoutDefinition extends fx_models_1.VersionedLayoutDefinition {
57
57
  constructor() {
58
- super("34525ea4-3e95-4714-81d4-bb693c921fd8");
59
- const layoutId = fx_models_1.Guid.newGuid().toString();
58
+ super((0, fx_models_1.guid)("34525ea4-3e95-4714-81d4-bb693c921fd8"));
59
+ const layoutId = (0, fx_models_1.guid)();
60
60
  this.layout = {
61
61
  blockSettings: {},
62
62
  definition: {
@@ -73,8 +73,8 @@ class HomeLayoutDefinition extends fx_models_1.VersionedLayoutDefinition {
73
73
  exports.HomeLayoutDefinition = HomeLayoutDefinition;
74
74
  class MegaMenuLayoutDefinition extends fx_models_1.VersionedLayoutDefinition {
75
75
  constructor() {
76
- super("95103f18-df83-4436-8bc0-58ccc091af69");
77
- const layoutId = fx_models_1.Guid.newGuid().toString();
76
+ super((0, fx_models_1.guid)("95103f18-df83-4436-8bc0-58ccc091af69"));
77
+ const layoutId = (0, fx_models_1.guid)();
78
78
  this.layout = {
79
79
  blockSettings: {},
80
80
  definition: {
@@ -1,6 +1,6 @@
1
- import { GuidValue } from "@omnia/fx-models";
1
+ import { guid } from "@omnia/fx-models";
2
2
  export interface MatomoSite {
3
3
  idSite: number;
4
4
  name: string;
5
- businessProfileId?: GuidValue;
5
+ businessProfileId?: guid;
6
6
  }
@@ -1,6 +1,6 @@
1
- import { Guid } from "@omnia/fx-models";
1
+ import { guid } from "@omnia/fx-models";
2
2
  export interface MSTeamsInfo {
3
- id: Guid;
3
+ id: guid;
4
4
  displayName: string;
5
5
  webUrl: string;
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import { AppEnums } from "./Enums";
2
- import { VersionedLayoutId, GuidValue } from "@omnia/fx-models";
2
+ import { VersionedLayoutId, guid } from "@omnia/fx-models";
3
3
  export interface MicrosoftTeamGeneralProperties {
4
4
  visibility?: AppEnums.TeamPrivacyOptions;
5
5
  displayName?: string;
@@ -21,7 +21,7 @@ export interface MicrosoftTeamCloningProperties extends MicrosoftTeamGeneralProp
21
21
  mailNickName: string;
22
22
  }
23
23
  export interface MicrosoftTeamCloningInformation extends MicrosoftTeamCloningProperties {
24
- msTeamAppId: GuidValue;
24
+ msTeamAppId: guid;
25
25
  msTeamAppName?: string;
26
26
  }
27
27
  export interface Channel {
@@ -47,7 +47,7 @@ export interface Tab {
47
47
  teamAppType?: AppEnums.TeamAppsType;
48
48
  "teamsApp@odata.bind"?: string;
49
49
  configuration?: TeamsAppConfig;
50
- tabProvisionFeatureId?: GuidValue;
50
+ tabProvisionFeatureId?: guid;
51
51
  customUrlConfiguration?: TabCustomUrlConfiguration;
52
52
  }
53
53
  export interface TeamsAppConfig {
@@ -1,5 +1,5 @@
1
1
  import { AppEnums } from "./Enums";
2
- import { AppTemplateProperties, GuidValue, Identity } from "@omnia/fx-models";
2
+ import { AppTemplateProperties, guid, Identity } from "@omnia/fx-models";
3
3
  import { MicrosoftTeamCreationInformation } from ".";
4
4
  export interface PermissionIdentities {
5
5
  defaultAdministrator?: Identity[];
@@ -7,7 +7,7 @@ export interface PermissionIdentities {
7
7
  visitors?: Identity[];
8
8
  }
9
9
  export interface InformationProtectionLabel {
10
- id: GuidValue;
10
+ id: guid;
11
11
  name: string;
12
12
  description: string;
13
13
  sensitivity: number;
@@ -22,9 +22,9 @@ export interface TeamCollaborationAppTemplateProperties extends AppTemplatePrope
22
22
  facebookWorkplaceDomain?: string;
23
23
  lcid: number;
24
24
  timezoneId: string;
25
- siteDesignId?: GuidValue;
25
+ siteDesignId?: guid;
26
26
  defaultResourceUrlType?: AppEnums.ResourceUrlType;
27
- sensitivityLabelId?: GuidValue;
27
+ sensitivityLabelId?: guid;
28
28
  userCanSelectTimeZone?: boolean;
29
29
  msTeam?: MicrosoftTeamCreationInformation;
30
30
  }
@@ -4,7 +4,7 @@ exports.TeamworkAppLayoutDefinition = void 0;
4
4
  const models_1 = require("@omnia/fx/models");
5
5
  class TeamworkAppLayoutDefinition extends models_1.VersionedLayoutDefinition {
6
6
  constructor() {
7
- super("c8d6dfe7-25cb-4b05-8e30-0dca4b1c05fe");
7
+ super((0, models_1.guid)("c8d6dfe7-25cb-4b05-8e30-0dca4b1c05fe"));
8
8
  }
9
9
  }
10
10
  exports.TeamworkAppLayoutDefinition = TeamworkAppLayoutDefinition;
@@ -1,4 +1,4 @@
1
- import { GuidValue, MultilingualString, Spacing, ThemeDefinitionV2 } from "@omnia/fx/models";
1
+ import { guid, MultilingualString, Spacing, ThemeDefinitionV2 } from "@omnia/fx/models";
2
2
  export declare enum PostsFeedScopeOption {
3
3
  CurrentApp = 1,
4
4
  CustomScope = 2
@@ -7,14 +7,14 @@ export declare enum PostsFeedSortMode {
7
7
  LastActivity = 1
8
8
  }
9
9
  export interface PostsFeedAppTemplateScope {
10
- id: GuidValue;
11
- appDefinitionId?: GuidValue;
10
+ id: guid;
11
+ appDefinitionId?: guid;
12
12
  }
13
13
  export interface PostsFeedBlockSettings {
14
14
  spacing?: Spacing;
15
15
  scope: {
16
16
  option: PostsFeedScopeOption;
17
- selectedAppDefinitionId?: GuidValue;
17
+ selectedAppDefinitionId?: guid;
18
18
  addedTemplates?: Array<PostsFeedAppTemplateScope>;
19
19
  };
20
20
  blockTitle: MultilingualString;
@@ -1,16 +1,15 @@
1
- import { BusinessProfileProperty, Guid, GuidValue, Identity, Layout, MediaPickerImage, MultilingualString, Spacing } from "@omnia/fx/models";
1
+ import { BusinessProfileProperty, guid, Identity, Layout, MediaPickerImage, MultilingualString, Spacing } from "@omnia/fx/models";
2
2
  import { FormTemplateSettings } from "./FormTemplate";
3
3
  import { FormQueryScopes } from "./components";
4
4
  export interface FormActionHandlerSettings extends FormBuilderSettings {
5
5
  selectedTypeId: number;
6
6
  scopeType: FormScopeTypes;
7
- scopeId: GuidValue;
8
- businessProfileId: GuidValue;
7
+ scopeId: guid;
9
8
  }
10
9
  export interface FormBuilderSettings {
11
10
  isEditing?: boolean;
12
11
  }
13
- export declare const ScopeCurrentId: Guid;
12
+ export declare const ScopeCurrentId: guid;
14
13
  export declare enum FormScopeTypes {
15
14
  BusinessProfile = 1,
16
15
  AppInstance = 2
@@ -31,8 +30,8 @@ export interface CreateFormRequest extends Form {
31
30
  }
32
31
  export interface Form extends FormBase {
33
32
  id?: number;
34
- profileId: GuidValue;
35
- appInstanceId?: GuidValue;
33
+ profileId: guid;
34
+ appInstanceId?: guid;
36
35
  createdAt: string;
37
36
  createdBy: Identity;
38
37
  modifiedAt: string;
@@ -70,8 +69,8 @@ export interface FormListing {
70
69
  title: MultilingualString;
71
70
  start?: string;
72
71
  end?: string;
73
- profileId: GuidValue;
74
- appInstanceId?: GuidValue;
72
+ profileId: guid;
73
+ appInstanceId?: guid;
75
74
  numberOfSubmissions: number;
76
75
  numberOfSubmittedUsers: number;
77
76
  averagePointsBySubmission: number;
@@ -87,8 +86,8 @@ export declare enum QuestionTypes {
87
86
  MultipleChoice = 3
88
87
  }
89
88
  export interface Question {
90
- readonly id: GuidValue;
91
- readonly blockId: GuidValue;
89
+ readonly id: guid;
90
+ readonly blockId: guid;
92
91
  title: MultilingualString;
93
92
  type: QuestionTypes;
94
93
  answer?: Answer;
@@ -116,18 +115,18 @@ export interface TextAnswer extends Answer {
116
115
  }
117
116
  export interface ChoiceAnswer extends Answer {
118
117
  type: QuestionTypes.Choice;
119
- optionId: GuidValue;
118
+ optionId: guid;
120
119
  }
121
120
  export interface MultipleChoiceAnswer extends Answer {
122
121
  type: QuestionTypes.MultipleChoice;
123
- optionIds: GuidValue[];
122
+ optionIds: guid[];
124
123
  }
125
124
  export declare enum OptionTypes {
126
125
  FormDefined = 1,
127
126
  UserDefined = 2
128
127
  }
129
128
  export interface Option {
130
- id: GuidValue;
129
+ id: guid;
131
130
  type: OptionTypes;
132
131
  title: MultilingualString;
133
132
  point: number;
@@ -171,7 +170,7 @@ export interface FormRendererBlockSettings {
171
170
  customShowFormButton: MultilingualString;
172
171
  spacing?: Spacing;
173
172
  scopeType?: FormQueryScopes;
174
- scopeId?: GuidValue;
173
+ scopeId?: guid;
175
174
  }
176
175
  export declare class FormGenericSetting extends BusinessProfileProperty {
177
176
  chartColor: ChartColor[];
@@ -181,4 +180,9 @@ export declare class ChartColor {
181
180
  color: string;
182
181
  textColor: string;
183
182
  }
183
+ export declare enum FormDisplayStatus {
184
+ NotOpen = 0,
185
+ Opening = 1,
186
+ Closed = 2
187
+ }
184
188
  export {};
@@ -1,9 +1,9 @@
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.FormStatus = exports.FormTypes = exports.FormScopeTypes = exports.ScopeCurrentId = void 0;
3
+ exports.FormDisplayStatus = exports.ChartColor = exports.FormGenericSetting = exports.LegendPosition = exports.LegendAlignment = exports.OptionTypes = exports.QuestionTypes = exports.FormStatus = exports.FormTypes = exports.FormScopeTypes = 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");
6
+ exports.ScopeCurrentId = (0, models_1.guid)("acb52a9b-b0c7-465a-8acc-98c4a47b464c");
7
7
  var FormScopeTypes;
8
8
  (function (FormScopeTypes) {
9
9
  FormScopeTypes[FormScopeTypes["BusinessProfile"] = 1] = "BusinessProfile";
@@ -54,3 +54,9 @@ exports.FormGenericSetting = FormGenericSetting;
54
54
  class ChartColor {
55
55
  }
56
56
  exports.ChartColor = ChartColor;
57
+ var FormDisplayStatus;
58
+ (function (FormDisplayStatus) {
59
+ FormDisplayStatus[FormDisplayStatus["NotOpen"] = 0] = "NotOpen";
60
+ FormDisplayStatus[FormDisplayStatus["Opening"] = 1] = "Opening";
61
+ FormDisplayStatus[FormDisplayStatus["Closed"] = 2] = "Closed";
62
+ })(FormDisplayStatus || (exports.FormDisplayStatus = FormDisplayStatus = {}));
@@ -1,9 +1,9 @@
1
- import { Block, GuidValue, IBlockInstance } from "@omnia/fx/models";
1
+ import { Block, guid, IBlockInstance } from "@omnia/fx/models";
2
2
  import { Form, FormRendererBlockSettings, Question } from "./Form";
3
3
  export interface ICurrentFormStore {
4
4
  getForm(): Form;
5
5
  getShowResponseFlag(): any;
6
- getCheckAnswerFlag(questionId: GuidValue): boolean;
6
+ getCheckAnswerFlag(questionId: guid): boolean;
7
7
  getLatestSubmissionAnswers(): Question[];
8
8
  getFormSettings(): FormRendererBlockSettings;
9
9
  setAnswerChanged(value: boolean): any;
@@ -12,7 +12,7 @@ export interface ICurrentFormStore {
12
12
  setLatestSubmissionAnswers(latestSubmissionsAnswers: Question[]): any;
13
13
  ensureQuestion(block: IBlockInstance | Block): Question;
14
14
  initCheckAnswerFlag(): void;
15
- removeCheckAnswerFlag(questionId: GuidValue): void;
15
+ removeCheckAnswerFlag(questionId: guid): void;
16
16
  isLockSubmission(): boolean;
17
17
  isAnswerChanged(): boolean;
18
18
  toggleShowReponseFlag(): any;
@@ -1,4 +1,4 @@
1
- import { GuidValue, IPagingable, OrderBy } from "@omnia/fx-models";
1
+ import { guid, IPagingable, OrderBy } from "@omnia/fx-models";
2
2
  import { FormQueryScopes, FormRollupFilter } from "./components";
3
3
  import { Form } from "./Form";
4
4
  export interface FormQuery extends IPagingable {
@@ -21,10 +21,10 @@ export interface ScopedFormFilter extends FormFilter {
21
21
  export interface TenantScopedFormFilter extends ScopedFormFilter {
22
22
  }
23
23
  export interface BusinessProfileScopedFormFilter extends ScopedFormFilter {
24
- businessProfileId: GuidValue;
24
+ businessProfileId: guid;
25
25
  }
26
26
  export interface AppInstanceScopedFormFilter extends ScopedFormFilter {
27
- appInstanceId: GuidValue;
27
+ appInstanceId: guid;
28
28
  }
29
29
  export interface FormQueryResult {
30
30
  total: number;
@@ -1,4 +1,4 @@
1
- import { GuidValue, Identity, MultilingualString } from "@omnia/fx-models";
1
+ import { guid, Identity, MultilingualString } from "@omnia/fx-models";
2
2
  import { FormTypes } from "./Form";
3
3
  export interface FormTemplateSettings {
4
4
  oneResponsePerPerson: boolean;
@@ -28,7 +28,7 @@ export interface FormTemplateRequest {
28
28
  }
29
29
  export interface FormTemplate extends FormTemplateRequest {
30
30
  id: number;
31
- businessProfileId: GuidValue;
31
+ businessProfileId: guid;
32
32
  createdAt: Date;
33
33
  createdBy: Identity;
34
34
  modifiedAt: Date;
@@ -1,9 +1,9 @@
1
- import { GuidValue, Identity, MultilingualString } from "@omnia/fx-models";
1
+ import { guid, Identity, MultilingualString } from "@omnia/fx-models";
2
2
  import { FormTypes } from "./Form";
3
3
  export interface FormTypeRequest {
4
4
  baseType: FormTypes;
5
5
  title: MultilingualString;
6
- enterprisePropertySetId?: GuidValue;
6
+ enterprisePropertySetId?: guid;
7
7
  formTemplateIds: number[];
8
8
  settings: FormTypeSettings;
9
9
  }
@@ -13,7 +13,7 @@ export interface FormTypeSettings {
13
13
  }
14
14
  export interface FormType extends FormTypeRequest {
15
15
  id: number;
16
- businessProfileId: GuidValue;
16
+ businessProfileId: guid;
17
17
  createdAt: Date;
18
18
  createdBy: Identity;
19
19
  modifiedAt: Date;
@@ -1,4 +1,4 @@
1
- import { BaseFilterEngineProperty, FilterEngineSettings, GuidValue, MultilingualString, OrderBy, PropertyIndexedType, RollupEnums, RollupFilter, RollupFilterValue, RollupOtherTypes, Spacing, TypedFilterEnginePropertyOutput } from "@omnia/fx-models";
1
+ import { BaseFilterEngineProperty, FilterEngineSettings, guid, MultilingualString, OrderBy, PropertyIndexedType, RollupEnums, RollupFilter, RollupFilterValue, RollupOtherTypes, Spacing, TypedFilterEnginePropertyOutput } from "@omnia/fx-models";
2
2
  import { FormScopeTypes, FormStatus } from "../Form";
3
3
  import { FormRollupViewComponentSettings } from "./FormRollupBlockViewSettings";
4
4
  export declare enum FormQueryScopes {
@@ -26,10 +26,10 @@ export interface FormRollupQuerySource {
26
26
  export interface TenantScopedQuery extends FormRollupQuerySource {
27
27
  }
28
28
  export interface BusinessProfileQuery extends FormRollupQuerySource {
29
- businessProfileId: GuidValue;
29
+ businessProfileId: guid;
30
30
  }
31
31
  export interface AppInstanceQuery extends FormRollupQuerySource {
32
- appInstanceId: GuidValue;
32
+ appInstanceId: guid;
33
33
  }
34
34
  export interface FormRollupBlockDisplaySettings {
35
35
  selectedDisplayView: FormRollupViewRegistrationSettings;
@@ -47,28 +47,37 @@ export interface FormRollupPagingSettings {
47
47
  itemLimit: number;
48
48
  }
49
49
  export interface FormRollupViewRegistrationSettings {
50
- viewRegistrationId: GuidValue;
51
- resultRendererComponentId: GuidValue;
50
+ viewRegistrationId: guid;
51
+ resultRendererComponentId: guid;
52
52
  viewSettings: FormRollupViewComponentSettings;
53
53
  }
54
54
  export interface FormStatusExtendedPropFilterValue extends RollupFilterValue {
55
- value: FormStatus;
55
+ value: Array<FormStatus>;
56
56
  }
57
57
  export interface FormScopeFilterEngineProperty extends BaseFilterEngineProperty {
58
- value: Array<GuidValue>;
58
+ value: Array<guid>;
59
59
  type: PropertyIndexedType.Text;
60
60
  showSearchValueBox: boolean;
61
61
  scopeType?: FormScopeTypes;
62
62
  }
63
63
  export interface FormScopeFilterEnginePropertyOutput extends TypedFilterEnginePropertyOutput {
64
- value: Array<GuidValue>;
64
+ value: Array<guid>;
65
65
  scopeType?: FormScopeTypes;
66
66
  type: PropertyIndexedType.Text;
67
67
  }
68
68
  export interface FormScopePropFilterValue extends RollupFilterValue {
69
- value: Array<GuidValue>;
69
+ value: Array<guid>;
70
70
  scopeType: FormScopeTypes;
71
71
  }
72
72
  export interface FormTypePropFilterValue extends RollupFilterValue {
73
73
  value: Array<number>;
74
74
  }
75
+ export interface FormStatusFilterEngineProperty extends BaseFilterEngineProperty {
76
+ value: Array<FormStatus>;
77
+ type: PropertyIndexedType.Number;
78
+ }
79
+ export interface FormStatusEnginePropertyOutput extends TypedFilterEnginePropertyOutput {
80
+ type: PropertyIndexedType.Number;
81
+ value: Array<FormStatus>;
82
+ sub: FormStatusEnginePropertyOutput[];
83
+ }
@@ -1,9 +1,9 @@
1
- import { EnterprisePropertyDefinition, GuidValue, MultilingualString, PropertyIndexedType, RollupEnums } from "@omnia/fx-models";
1
+ import { EnterprisePropertyDefinition, guid, MultilingualString, PropertyIndexedType, RollupEnums } from "@omnia/fx-models";
2
2
  export interface FormRollupViewRegistration {
3
- id: GuidValue;
3
+ id: guid;
4
4
  title: string;
5
- resultRendererComponentId: GuidValue;
6
- viewSettingsComponentId: GuidValue;
5
+ resultRendererComponentId: guid;
6
+ viewSettingsComponentId: guid;
7
7
  pagingTypes: Array<RollupEnums.PagingType>;
8
8
  }
9
9
  export interface IFormRollupViewSettingsComponent<T extends FormRollupViewComponentSettings> {
@@ -1,3 +1,4 @@
1
+ import { guid } from "@omnia/fx-models";
1
2
  export declare class FormRollupConstants {
2
3
  static CustomProperties: {
3
4
  TitleAndLink: string;
@@ -7,7 +8,7 @@ export declare class FormRollupConstants {
7
8
  Type: string;
8
9
  };
9
10
  static ViewRegistration: {
10
- listView: string;
11
- formView: string;
11
+ listView: guid;
12
+ formView: guid;
12
13
  };
13
14
  }