@omnia/workplace 8.0.8-dev → 8.0.10-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 (99) 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/Enums.tooling.d.ts +14 -0
  7. package/internal-do-not-import-from-here/models/Enums.tooling.js +571 -0
  8. package/internal-do-not-import-from-here/models/GovernanceDashboards.d.ts +10 -10
  9. package/internal-do-not-import-from-here/models/GovernanceDashboards.js +1 -1
  10. package/internal-do-not-import-from-here/models/ISearchTemplate.d.ts +3 -3
  11. package/internal-do-not-import-from-here/models/ManifestIds.d.ts +575 -553
  12. package/internal-do-not-import-from-here/models/ManifestIds.js +575 -553
  13. package/internal-do-not-import-from-here/models/NotificationPanel.d.ts +7 -7
  14. package/internal-do-not-import-from-here/models/NotificationPanelMsg.d.ts +3 -3
  15. package/internal-do-not-import-from-here/models/RegisterActionMenuItemMsg.d.ts +2 -2
  16. package/internal-do-not-import-from-here/models/Search.d.ts +6 -6
  17. package/internal-do-not-import-from-here/models/SearchCategory.d.ts +5 -5
  18. package/internal-do-not-import-from-here/models/SearchProvider.d.ts +4 -4
  19. package/internal-do-not-import-from-here/models/Secrets.d.ts +3 -3
  20. package/internal-do-not-import-from-here/models/SharedLink.d.ts +2 -2
  21. package/internal-do-not-import-from-here/models/TaxonomyNavigation.d.ts +2 -2
  22. package/internal-do-not-import-from-here/models/Workspace.d.ts +4 -4
  23. package/internal-do-not-import-from-here/models/Workspace.js +4 -4
  24. package/internal-do-not-import-from-here/models/analytics/matomosite.d.ts +2 -2
  25. package/internal-do-not-import-from-here/models/apps/MSTeamsInfo.d.ts +2 -2
  26. package/internal-do-not-import-from-here/models/apps/MSTeamsProperties.d.ts +3 -3
  27. package/internal-do-not-import-from-here/models/apps/TeamCollaborationAppTemplateProperties.d.ts +4 -4
  28. package/internal-do-not-import-from-here/models/apps/TeamworkAppLayoutDefinition.js +1 -1
  29. package/internal-do-not-import-from-here/models/components/PostsFeedBlock.d.ts +4 -4
  30. package/internal-do-not-import-from-here/models/forms/Form.d.ts +18 -14
  31. package/internal-do-not-import-from-here/models/forms/Form.js +8 -2
  32. package/internal-do-not-import-from-here/models/forms/FormLayout.d.ts +3 -3
  33. package/internal-do-not-import-from-here/models/forms/FormQuery.d.ts +3 -3
  34. package/internal-do-not-import-from-here/models/forms/FormTemplate.d.ts +2 -2
  35. package/internal-do-not-import-from-here/models/forms/FormType.d.ts +3 -3
  36. package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockSettings.d.ts +18 -9
  37. package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockViewSettings.d.ts +4 -4
  38. package/internal-do-not-import-from-here/models/forms/components/FormRollupConstant.d.ts +3 -2
  39. package/internal-do-not-import-from-here/models/forms/components/FormRollupConstant.js +3 -2
  40. package/internal-do-not-import-from-here/models/forms/components/FormRollupStyle.d.ts +2 -21
  41. package/internal-do-not-import-from-here/models/governancedashboard/TeamworkGovernanceDashboard.d.ts +2 -2
  42. package/internal-do-not-import-from-here/models/myteamcollaboration/TeamCollabrationApp.d.ts +2 -2
  43. package/internal-do-not-import-from-here/models/promotedsearchresults/PromotedSearchResult.d.ts +2 -2
  44. package/internal-do-not-import-from-here/models/searchfeedbacks/SearchFeedback.d.ts +5 -5
  45. package/internal-do-not-import-from-here/models/searchfeedbacks/SearchFeedbackQuery.d.ts +2 -2
  46. package/internal-do-not-import-from-here/models/searchstatistics/SearchStatistics.d.ts +14 -14
  47. package/internal-do-not-import-from-here/models/searchstatistics/SearchStatistics.js +5 -5
  48. package/internal-do-not-import-from-here/models/searchstatistics/SearchStatisticsMetricFilter.d.ts +2 -2
  49. package/internal-do-not-import-from-here/models/searchtoken/SearchTokenProvider.d.ts +2 -2
  50. package/internal-do-not-import-from-here/models/setupwizard/SetupWizardProviderApi.d.ts +2 -2
  51. package/internal-do-not-import-from-here/models/setupwizard/SetupWizardSettings.d.ts +6 -6
  52. package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.d.ts +3 -3
  53. package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.js +2 -2
  54. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequest.d.ts +3 -3
  55. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestApi.d.ts +4 -4
  56. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestDetail.d.ts +2 -2
  57. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRecurrence.d.ts +4 -4
  58. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.d.ts +7 -7
  59. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResourceProvider.d.ts +2 -2
  60. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResponse.d.ts +3 -3
  61. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupBlockSettings.d.ts +5 -5
  62. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupViewSettings.d.ts +4 -4
  63. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestSettings.d.ts +3 -3
  64. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestTemplate.d.ts +2 -2
  65. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestType.d.ts +5 -5
  66. package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffEmailRequest.d.ts +2 -2
  67. package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffRequestCreateModel.d.ts +2 -2
  68. package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffRequestTypeCreateModel.d.ts +3 -3
  69. package/internal-do-not-import-from-here/models/teamcollaborationnavigation/TeamCollaborationNavigationSettings.d.ts +2 -2
  70. package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlock.d.ts +7 -7
  71. package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupView.d.ts +2 -2
  72. package/internal-do-not-import-from-here/models/teamnewsrollup/TeamNewsRollupSettings.d.ts +3 -3
  73. package/internal-do-not-import-from-here/models/teamnewsrollup/TeamNewsRollupViewRegistration.d.ts +4 -4
  74. package/internal-do-not-import-from-here/services/AnalyticsStoreService.d.ts +7 -7
  75. package/internal-do-not-import-from-here/services/AppAuthenticationOptionsService.d.ts +3 -3
  76. package/internal-do-not-import-from-here/services/PromotedSearchResultService.d.ts +3 -3
  77. package/internal-do-not-import-from-here/services/SearchFeedbackService.d.ts +2 -2
  78. package/internal-do-not-import-from-here/services/SignOffRequestService.d.ts +7 -7
  79. package/internal-do-not-import-from-here/services/form/FormService.d.ts +4 -4
  80. package/internal-do-not-import-from-here/services/form/FormTemplateService.d.ts +3 -3
  81. package/internal-do-not-import-from-here/services/form/FormTypeService.d.ts +3 -3
  82. package/internal-do-not-import-from-here/stores/AnalyticsFilterStore.d.ts +40 -0
  83. package/internal-do-not-import-from-here/stores/AnalyticsStore.d.ts +168 -6
  84. package/internal-do-not-import-from-here/stores/CurrentFormStore.d.ts +3 -3
  85. package/internal-do-not-import-from-here/stores/GovernanceDashboardStore.d.ts +3 -3
  86. package/internal-do-not-import-from-here/stores/NotificationPanelStore.d.ts +2 -2
  87. package/internal-do-not-import-from-here/stores/PromotedSearchResultStore.d.ts +5 -6
  88. package/internal-do-not-import-from-here/stores/SignOffRequestStore.d.ts +5 -5
  89. package/internal-do-not-import-from-here/stores/form/FormStore.d.ts +3 -3
  90. package/internal-do-not-import-from-here/stores/form/FormTemplateStore.d.ts +6 -6
  91. package/internal-do-not-import-from-here/stores/form/FormTypeStore.d.ts +6 -6
  92. package/internal-do-not-import-from-here/tooling.output.json +1 -1
  93. package/internal-do-not-import-from-here/ux/AppRendererBootstrapper.d.ts +2 -2
  94. package/internal-do-not-import-from-here/ux/MediaPickerProviderStorageWorkplaceContext.d.ts +30 -30
  95. package/internal-do-not-import-from-here/wctypings.d.ts +92 -7
  96. package/internal-do-not-import-from-here/webcomponents/IAppAuthenticationOptionsComponent.d.ts +2 -2
  97. package/package.json +1 -1
  98. package/task.js +3 -2
  99. package/task.ts +3 -2
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FormRollupConstants = void 0;
4
+ const fx_models_1 = require("@omnia/fx-models");
4
5
  class FormRollupConstants {
5
6
  static { this.CustomProperties = {
6
7
  TitleAndLink: "titleandlink_c180e07a-0362-4de4-a418-128c3b2b75f5",
@@ -10,8 +11,8 @@ class FormRollupConstants {
10
11
  Type: "type_63b3e788-f544-4563-bc7a-0793ae5b9d21",
11
12
  }; }
12
13
  static { this.ViewRegistration = {
13
- listView: "d91762c6-f646-408a-b628-7ef4f2bb2e17",
14
- formView: "81c3f3f3-f8a9-4c91-8af4-465b9a733d51"
14
+ listView: (0, fx_models_1.guid)("d91762c6-f646-408a-b628-7ef4f2bb2e17"),
15
+ formView: (0, fx_models_1.guid)("81c3f3f3-f8a9-4c91-8af4-465b9a733d51")
15
16
  }; }
16
17
  }
17
18
  exports.FormRollupConstants = FormRollupConstants;
@@ -1,24 +1,10 @@
1
- import { ITheming } from "@omnia/fx/ux";
1
+ import { Spacing } from "@omnia/fx-models";
2
2
  import { types } from "typestyle";
3
3
  export declare const FormRollupBlockGeneralTabStyles: {
4
- filterItemWrapper: types.NestedCSSProperties;
5
- alignSelfCenter: types.NestedCSSProperties;
6
- limitWidthInputWrapper: types.NestedCSSProperties;
7
- resourceHeaderWrapper: types.NestedCSSProperties;
8
- resourceRemoveAction: types.NestedCSSProperties;
9
4
  wordBreak: types.NestedCSSProperties;
10
- expansionPanel: types.NestedCSSProperties;
11
- expansionHeader: types.NestedCSSProperties;
12
- checkboxFilter: types.NestedCSSProperties;
13
- filterSettings: types.NestedCSSProperties;
14
5
  };
15
6
  export declare const FormRollupMainRendererStyles: {
16
- iconStyle?: types.NestedCSSProperties;
17
- footerWrapper?: (numberOfActionButton: number) => types.NestedCSSProperties;
18
- label?: types.NestedCSSProperties;
19
- cardFabIcon?: (theming: ITheming) => types.NestedCSSProperties;
20
- detail?: types.NestedCSSProperties;
21
- getPaddingStyle?: (skip?: {
7
+ getPaddingStyle?: (spacing: Spacing, skip?: {
22
8
  top?: boolean;
23
9
  right?: boolean;
24
10
  left?: boolean;
@@ -26,14 +12,9 @@ export declare const FormRollupMainRendererStyles: {
26
12
  }) => types.NestedCSSProperties;
27
13
  queryFailMsgWrapper?: types.NestedCSSProperties;
28
14
  transparent?: types.NestedCSSProperties;
29
- paging?: types.NestedCSSProperties;
30
- tableWrapper?: types.NestedCSSProperties;
31
- hideHeaders?: types.NestedCSSProperties;
32
- fullHeight?: types.NestedCSSProperties;
33
15
  };
34
16
  export declare const FormDialogStyles: {
35
17
  overlayImageEditButton?: types.NestedCSSProperties;
36
- flexCenterAligned?: types.NestedCSSProperties;
37
18
  };
38
19
  export declare const formDialogHeaderHeight = 80;
39
20
  export declare const formDialogFooterHeight = 46;
@@ -1,4 +1,4 @@
1
- import { Guid } from "@omnia/fx-models";
1
+ import { guid } from "@omnia/fx-models";
2
2
  import { FilterValue, DashboardMetricSettings } from "../GovernanceDashboards";
3
3
  export declare enum NewTeamworksTimeType {
4
4
  OneWeek = 0,
@@ -44,6 +44,6 @@ export interface TeamworkDetail {
44
44
  };
45
45
  }
46
46
  export declare class TeamworkTemplateFilterValue extends FilterValue {
47
- filterId: Guid;
47
+ filterId: guid;
48
48
  value: string;
49
49
  }
@@ -1,4 +1,4 @@
1
- import { Guid } from "@omnia/fx-models";
1
+ import { guid } from "@omnia/fx-models";
2
2
  export declare class TeamCollabrationTypes {
3
3
  static Undefined: number;
4
4
  static Sharepoint: number;
@@ -21,7 +21,7 @@ export declare class TeamCollabrationAppResource {
21
21
  resourceUrl: string;
22
22
  }
23
23
  export declare class TeamCollabrationApp {
24
- id: Guid;
24
+ id: guid;
25
25
  title: string;
26
26
  url: string;
27
27
  type: number;
@@ -1,11 +1,11 @@
1
- import { GuidValue, MediaPickerImage, MultilingualString, TargetingFilterData } from "@omnia/fx-models";
1
+ import { guid, MediaPickerImage, MultilingualString, TargetingFilterData } from "@omnia/fx-models";
2
2
  export declare enum PromotedSearchResultStatus {
3
3
  OnHold = 0,
4
4
  Active = 1
5
5
  }
6
6
  export interface PromotedSearchResult {
7
7
  id: number;
8
- businessProfileId: GuidValue;
8
+ businessProfileId: guid;
9
9
  data: PromotedSearchResultData;
10
10
  }
11
11
  export interface PromotedSearchResultData {
@@ -1,9 +1,9 @@
1
- import { GuidValue, Identity } from "@omnia/fx/models";
1
+ import { guid, Identity } from "@omnia/fx/models";
2
2
  import { CategorySearchResult, SearchCategoryOption, SearchResultItem } from "../Search";
3
3
  export interface SearchFeedback {
4
4
  id: number;
5
5
  data: SearchFeedbackData;
6
- businessProfileId: GuidValue;
6
+ businessProfileId: guid;
7
7
  createdBy: Identity;
8
8
  createdAt: string;
9
9
  }
@@ -15,7 +15,7 @@ export interface SearchFeedbackData {
15
15
  /**
16
16
  * search category id
17
17
  * */
18
- searchCategoryId: GuidValue;
18
+ searchCategoryId: guid;
19
19
  /**
20
20
  * the search text
21
21
  * */
@@ -34,6 +34,6 @@ export interface SearchFeedbackData {
34
34
  renderingResultItems: RenderingSearchFeedbackResultItem[];
35
35
  }
36
36
  export interface RenderingSearchFeedbackResultItem extends SearchResultItem {
37
- webElementManifestId: GuidValue;
38
- imageRatio: GuidValue;
37
+ webElementManifestId: guid;
38
+ imageRatio: guid;
39
39
  }
@@ -1,9 +1,9 @@
1
- import { GuidValue } from "@omnia/fx/models";
1
+ import { guid } from "@omnia/fx/models";
2
2
  import { SearchFeedback } from "./SearchFeedback";
3
3
  export interface SearchFeedbackQueryRequest {
4
4
  skip: number;
5
5
  take: number;
6
- businessProfileId: GuidValue;
6
+ businessProfileId: guid;
7
7
  }
8
8
  export interface SearchFeedbackQueryResult {
9
9
  total: number;
@@ -1,4 +1,4 @@
1
- import { Guid, GuidValue } from "@omnia/fx/models";
1
+ import { guid } from "@omnia/fx/models";
2
2
  export declare namespace SearchStatistics {
3
3
  namespace Constants {
4
4
  const SearchLocations: {
@@ -26,20 +26,20 @@ export declare namespace SearchStatistics {
26
26
  }
27
27
  interface SearchSessionData {
28
28
  location: string;
29
- businessProfileId: GuidValue;
29
+ businessProfileId: guid;
30
30
  searchText: string;
31
31
  timestamp: Date;
32
32
  }
33
33
  interface SearchSession extends SearchSessionData {
34
- id: GuidValue;
34
+ id: guid;
35
35
  }
36
36
  interface SearchResultData {
37
- searchSessionId: GuidValue;
38
- searchCategoryId: GuidValue;
37
+ searchSessionId: guid;
38
+ searchCategoryId: guid;
39
39
  resultCount: number;
40
40
  }
41
41
  interface SearchResult extends SearchResultData {
42
- id: GuidValue;
42
+ id: guid;
43
43
  }
44
44
  interface SearchInteractionDataInfo {
45
45
  interactionType: Enums.InteractionType;
@@ -48,20 +48,20 @@ export declare namespace SearchStatistics {
48
48
  resultItemUrl?: string;
49
49
  }
50
50
  interface SearchInteractionData extends SearchInteractionDataInfo {
51
- searchResultId: GuidValue;
51
+ searchResultId: guid;
52
52
  }
53
53
  interface SearchInteraction extends SearchInteractionData {
54
- id: GuidValue;
54
+ id: guid;
55
55
  }
56
56
  const GovernanceDashboard: {
57
- scopeId: Guid;
57
+ scopeId: guid;
58
58
  metrics: {
59
- noOfQuery: Guid;
60
- abandonedQuery: Guid;
61
- noResultQuery: Guid;
59
+ noOfQuery: guid;
60
+ abandonedQuery: guid;
61
+ noResultQuery: guid;
62
62
  };
63
63
  filters: {
64
- scope: Guid;
64
+ scope: guid;
65
65
  };
66
66
  };
67
67
  interface SearchSessionCountByMonth {
@@ -86,7 +86,7 @@ export declare namespace SearchStatistics {
86
86
  noResultCount: number;
87
87
  }
88
88
  interface SearchSessionDetail {
89
- id: GuidValue;
89
+ id: guid;
90
90
  searchText: string;
91
91
  location: string;
92
92
  timestamp: Date;
@@ -34,14 +34,14 @@ var SearchStatistics;
34
34
  })(MetricScope = Enums.MetricScope || (Enums.MetricScope = {}));
35
35
  })(Enums = SearchStatistics.Enums || (SearchStatistics.Enums = {}));
36
36
  SearchStatistics.GovernanceDashboard = {
37
- scopeId: new models_1.Guid("1f764b5a-ec2c-4781-87fa-4a8cb2ddb09c"),
37
+ scopeId: (0, models_1.guid)("1f764b5a-ec2c-4781-87fa-4a8cb2ddb09c"),
38
38
  metrics: {
39
- noOfQuery: new models_1.Guid("c0b18c12-d3b5-4b29-8105-222d20d5522f"),
40
- abandonedQuery: new models_1.Guid("aa3d3355-e2a9-4c4c-a44a-5fb01493e7ae"),
41
- noResultQuery: new models_1.Guid("13786d92-6d16-402f-a961-d99ea4341601")
39
+ noOfQuery: (0, models_1.guid)("c0b18c12-d3b5-4b29-8105-222d20d5522f"),
40
+ abandonedQuery: (0, models_1.guid)("aa3d3355-e2a9-4c4c-a44a-5fb01493e7ae"),
41
+ noResultQuery: (0, models_1.guid)("13786d92-6d16-402f-a961-d99ea4341601")
42
42
  },
43
43
  filters: {
44
- scope: new models_1.Guid("b27d3933-9eab-4561-b3a6-e2ac24a12767")
44
+ scope: (0, models_1.guid)("b27d3933-9eab-4561-b3a6-e2ac24a12767")
45
45
  }
46
46
  };
47
47
  })(SearchStatistics || (exports.SearchStatistics = SearchStatistics = {}));
@@ -1,7 +1,7 @@
1
- import { Guid } from "@omnia/fx/models";
1
+ import { guid } from "@omnia/fx/models";
2
2
  import { FilterValue } from "../GovernanceDashboards";
3
3
  import { SearchStatistics } from "./SearchStatistics";
4
4
  export declare class SearchStatisticsMetricScopeFilterValue extends FilterValue {
5
- filterId: Guid;
5
+ filterId: guid;
6
6
  value: SearchStatistics.Enums.MetricScope;
7
7
  }
@@ -1,10 +1,10 @@
1
- import { GuidValue } from "@omnia/fx/models";
1
+ import { guid } from "@omnia/fx/models";
2
2
  export interface SearchTokensReplacement {
3
3
  [tokenKey: string]: string;
4
4
  }
5
5
  export declare abstract class SearchTokenProvider {
6
6
  abstract readonly title: string;
7
- abstract readonly providerId: GuidValue;
7
+ abstract readonly providerId: guid;
8
8
  abstract readonly tokens: string[];
9
9
  abstract readonly tokenRegex?: RegExp;
10
10
  resolveSearchTokens: (tokensToResolve: Array<string>) => Promise<SearchTokensReplacement>;
@@ -1,4 +1,4 @@
1
- import { ApiPath, GuidValue } from "@omnia/fx-models";
1
+ import { ApiPath, guid } from "@omnia/fx-models";
2
2
  import { SetupWizardTemplateExtendData } from ".";
3
3
  import { SetupWizardView } from "../../../models/setupwizard/setupwizard/SetupWizardView";
4
4
  import { SetupWizardTemplateProvider } from "./SetupWizardTemplateProvider";
@@ -8,7 +8,7 @@ export interface ISetupWizardRegistrationApi {
8
8
  }
9
9
  export interface ISetupWizardTemplateProviderRegistrationApi {
10
10
  registerSetupWizardTemplateProvider: (providers: SetupWizardTemplateProvider | SetupWizardTemplateProvider[]) => void;
11
- extendSetupWizardTemplate: (templateId: GuidValue, templateExtendData: SetupWizardTemplateExtendData, omniaServiceId: GuidValue) => void;
11
+ extendSetupWizardTemplate: (templateId: guid, templateExtendData: SetupWizardTemplateExtendData, omniaServiceId: guid) => void;
12
12
  getAllSetupWizardTemplateProviders: () => SetupWizardTemplateProvider[];
13
13
  }
14
14
  declare module "../WorkplaceApi" {
@@ -1,23 +1,23 @@
1
- import { GuidValue, TargetResolverTypes } from "@omnia/fx-models";
1
+ import { guid, TargetResolverTypes } from "@omnia/fx-models";
2
2
  import { SetupWizardTemplateFeatureHandler } from "..";
3
3
  export declare enum SetupWizardScope {
4
4
  Tenant = 1,
5
5
  BusinessProfile = 2
6
6
  }
7
7
  export interface SetupWizardContent {
8
- id: GuidValue;
8
+ id: guid;
9
9
  title: string;
10
10
  description: string;
11
11
  order?: number;
12
12
  scopes: SetupWizardScope[];
13
13
  uncheckedByDefault?: boolean;
14
- omniaServiceId: GuidValue;
14
+ omniaServiceId: guid;
15
15
  onCheckedChange?: (isChecked: boolean, featureHandler: SetupWizardTemplateFeatureHandler) => void;
16
16
  }
17
17
  export interface SetupWizardFeature {
18
18
  title: string;
19
19
  feature: {
20
- id: GuidValue;
20
+ id: guid;
21
21
  scope: TargetResolverTypes;
22
22
  settings?: Record<string, string>;
23
23
  requireConsentPermission?: boolean;
@@ -25,7 +25,7 @@ export interface SetupWizardFeature {
25
25
  order?: number;
26
26
  scopes: SetupWizardRender[];
27
27
  stopOnFailed?: boolean;
28
- omniaServiceId: GuidValue;
28
+ omniaServiceId: guid;
29
29
  }
30
30
  export interface SetupWizardRender {
31
31
  scope: SetupWizardScope;
@@ -38,5 +38,5 @@ export interface SetupWizardTemplateExtendData {
38
38
  export interface SetupWizardStep {
39
39
  order: number;
40
40
  title: string;
41
- componentManifestId?: GuidValue;
41
+ componentManifestId?: guid;
42
42
  }
@@ -1,8 +1,8 @@
1
- import { GuidValue, IIcon } from "@omnia/fx/models";
1
+ import { guid, IIcon } from "@omnia/fx/models";
2
2
  import { SetupWizardContent, SetupWizardFeature, SetupWizardScope, SetupWizardStep } from "./SetupWizardSettings";
3
3
  export declare abstract class SetupWizardTemplateProvider {
4
- abstract readonly omniaServiceId: GuidValue;
5
- abstract readonly id: GuidValue;
4
+ abstract readonly omniaServiceId: guid;
5
+ abstract readonly id: guid;
6
6
  abstract title: string;
7
7
  abstract icon: IIcon;
8
8
  abstract description: string;
@@ -9,13 +9,13 @@ class SetupWizardTemplateFeatureHandler {
9
9
  this.template = template;
10
10
  }
11
11
  addFeature(feature) {
12
- const index = this.template.features.findIndex(s => s.feature.id.toString() == feature.feature.id);
12
+ const index = this.template.features.findIndex(s => s.feature.id == feature.feature.id);
13
13
  if (index < 0) {
14
14
  this.template.features.push(feature);
15
15
  }
16
16
  }
17
17
  removeFeature(feature) {
18
- const index = this.template.features.findIndex(s => s.feature.id.toString() == feature.feature.id);
18
+ const index = this.template.features.findIndex(s => s.feature.id == feature.feature.id);
19
19
  if (index > -1) {
20
20
  this.template.features.splice(index, 1);
21
21
  }
@@ -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 { SignOffRequestEnums } from "./SignOffRequestEnum";
3
3
  import { ISignOffRequestResourceDataSettings } from "./SignOffRequestResource";
4
4
  export interface ISignOffRequestUpdatableProperties {
@@ -16,9 +16,9 @@ export interface ISignOffRequestUpdatableProperties {
16
16
  scheduledTimeZone?: string;
17
17
  }
18
18
  export interface SignOffRequest extends ISignOffRequestUpdatableProperties {
19
- id: GuidValue;
19
+ id: guid;
20
20
  status: SignOffRequestEnums.SignOffRequestStatus;
21
- typeId: GuidValue;
21
+ typeId: guid;
22
22
  requestToUsers: Array<Identity>;
23
23
  expectedResponsesCount?: number;
24
24
  responsesCount: number;
@@ -1,10 +1,10 @@
1
- import { ApiPath, GuidValue, Identity, IExtendApiManifestWithConfiguration } from "@omnia/fx/models";
1
+ import { ApiPath, guid, Identity, IExtendApiManifestWithConfiguration } from "@omnia/fx/models";
2
2
  import { SidePanelContext } from "@omnia/fx/ux";
3
3
  import { SignOffRequest } from "./SignOffRequest";
4
4
  import { SignOffRequestProvider } from "./SignOffRequestProvider";
5
5
  import { ISignOffRequestResource, SignOffRequestResource } from "./SignOffRequestResource";
6
6
  import { SignOffRequestRollupViewRegistration } from "./SignOffRequestRollupViewSettings";
7
- export type SignOffRequestInformationProviderId = GuidValue;
7
+ export type SignOffRequestInformationProviderId = guid;
8
8
  export interface ISignOffRequestApi {
9
9
  registerSignOffRequestProvider: (...providers: SignOffRequestProvider[]) => void;
10
10
  getSignOffRequestProviders(): SignOffRequestProvider[];
@@ -18,12 +18,12 @@ export interface ISignOffRequestRollupViewRegistrationApi {
18
18
  export interface ISignOffRequestRegistrationApi extends ISignOffRequestApi {
19
19
  }
20
20
  export interface ISignOffRequestInformationApi extends ISignOffRequestApi {
21
- loadDisplayProvider: (providerId: GuidValue, manifestId: GuidValue) => Promise<SignOffRequestProvider>;
21
+ loadDisplayProvider: (providerId: guid, manifestId: guid) => Promise<SignOffRequestProvider>;
22
22
  }
23
23
  export interface ISignOffRequestBannerApi {
24
24
  getSignOffRequestByResource: (resource: ISignOffRequestResource) => Promise<SignOffRequest[]>;
25
25
  confirmResource: (resource: SignOffRequestResource) => Promise<void>;
26
- onOpenPersistentSignOffRequestDetailDialog: (sidePanelContext: SidePanelContext, signOffRequestId: GuidValue, recipientId: Identity) => Promise<void>;
26
+ onOpenPersistentSignOffRequestDetailDialog: (sidePanelContext: SidePanelContext, signOffRequestId: guid, recipientId: Identity) => Promise<void>;
27
27
  onClosePersistentSignOffRequestDetailDialog: (sidePanelContext: SidePanelContext) => Promise<void>;
28
28
  }
29
29
  declare module "../WorkplaceApi" {
@@ -1,4 +1,4 @@
1
- import { GuidValue } from "@omnia/fx/models";
1
+ import { guid } from "@omnia/fx/models";
2
2
  import { SignOffRequest } from "./SignOffRequest";
3
3
  import { SignOffRequestResponse } from "./SignOffRequestResponse";
4
4
  export interface SignOffRequestDetails {
@@ -7,6 +7,6 @@ export interface SignOffRequestDetails {
7
7
  }
8
8
  export interface SignOffRequestResourceResult {
9
9
  resourceId: string;
10
- resourceProviderId: GuidValue;
10
+ resourceProviderId: guid;
11
11
  responses: Array<SignOffRequestResponse>;
12
12
  }
@@ -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 { RecurrenceSettings } from "../../../models/shared";
3
3
  import { SignOffRequestEnums } from "./SignOffRequestEnum";
4
4
  import { ISignOffRequestResourceDataSettings } from "./SignOffRequestResource";
5
5
  export interface SignOffRequestRecurrence extends SignOffRequestRecurrenceCreation {
6
- id: GuidValue;
6
+ id: guid;
7
7
  nextRequestDate?: Date;
8
8
  createdAt?: Date;
9
9
  modifiedAt?: Date;
@@ -23,8 +23,8 @@ export interface SignOffRequestRecurrenceUpdatableProperties {
23
23
  }
24
24
  export interface SignOffRequestRecurrenceCreation extends SignOffRequestRecurrenceUpdatableProperties {
25
25
  name: MultilingualString;
26
- templateId: GuidValue;
27
- typeId: GuidValue;
26
+ templateId: guid;
27
+ typeId: guid;
28
28
  recurrenceSetting: RecurrenceTimeZoneSetting;
29
29
  }
30
30
  export interface RecurrenceTimeZoneSetting extends RecurrenceSettings {
@@ -1,25 +1,25 @@
1
- import { GuidValue, Identity, MultilingualString } from "@omnia/fx/models";
1
+ import { guid, Identity, MultilingualString } from "@omnia/fx/models";
2
2
  import { SignOffRequest } from "./SignOffRequest";
3
3
  export interface ISignOffRequestResource {
4
4
  /** Whatever resource id that can be served as unique id of your provider resource */
5
5
  resourceId: string;
6
- providerId: GuidValue;
6
+ providerId: guid;
7
7
  /** Manifest for your registration of your provider used for performance reason (we don't need to load all providers) */
8
- providerManifestId: GuidValue;
8
+ providerManifestId: guid;
9
9
  providerInfo?: ProviderInfo;
10
10
  }
11
11
  export declare abstract class SignOffResource implements ISignOffRequestResource {
12
12
  abstract providerInfo?: ProviderInfo;
13
13
  abstract resourceId: string;
14
- abstract providerId: GuidValue;
15
- abstract providerManifestId: GuidValue;
14
+ abstract providerId: guid;
15
+ abstract providerManifestId: guid;
16
16
  }
17
17
  export interface ISignOffRequestResourceDataSettings extends ISignOffRequestResource {
18
18
  message?: MultilingualString;
19
19
  openInNewTab?: boolean;
20
20
  }
21
21
  export interface SignOffRequestResource {
22
- signOffRequestId: GuidValue;
22
+ signOffRequestId: guid;
23
23
  resource: SignOffResource;
24
24
  }
25
25
  export interface ConfirmSignOffRequestResource extends SignOffRequestResource {
@@ -41,6 +41,6 @@ export interface SignOffReminderSetting {
41
41
  newUsersInGroup: Array<Identity>;
42
42
  }
43
43
  export interface ProviderInfo {
44
- serviceId: GuidValue;
44
+ serviceId: guid;
45
45
  resolveUrl: string;
46
46
  }
@@ -1,4 +1,4 @@
1
- import { GuidValue } from "@omnia/fx/models";
1
+ import { guid } from "@omnia/fx/models";
2
2
  import { SignOffResource } from "./SignOffRequestResource";
3
3
  export declare abstract class SignOffRequestResourceProvider<T extends SignOffResource = SignOffResource> {
4
4
  abstract readonly title: string;
@@ -8,5 +8,5 @@ export declare abstract class SignOffRequestResourceProvider<T extends SignOffRe
8
8
  }
9
9
  export interface SignOffRequestProviderOption {
10
10
  title: string;
11
- providerId: GuidValue;
11
+ providerId: guid;
12
12
  }
@@ -1,7 +1,7 @@
1
- import { GuidValue, Identity } from "@omnia/fx/models";
1
+ import { guid, Identity } from "@omnia/fx/models";
2
2
  export interface SignOffRequestResponse {
3
- signOffRequestId: GuidValue;
4
- resourceProviderId: GuidValue;
3
+ signOffRequestId: guid;
4
+ resourceProviderId: guid;
5
5
  resourceId: string;
6
6
  respondedBy: Identity;
7
7
  recipientId: Identity;
@@ -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 { SignOffRequestRollupViewComponentSettings } from "./SignOffRequestRollupViewSettings";
3
3
  export interface SignOffRequestRollupBlockSettings {
4
4
  title: MultilingualString;
@@ -24,8 +24,8 @@ export interface SignOffRequestRollupBlockFilterSettings {
24
24
  saveFilterState: boolean;
25
25
  }
26
26
  export interface SignOffRequestRollupViewRegistrationSettings {
27
- viewRegistrationId: GuidValue;
28
- resultRendererComponentId: GuidValue;
27
+ viewRegistrationId: guid;
28
+ resultRendererComponentId: guid;
29
29
  viewSettings: SignOffRequestRollupViewComponentSettings;
30
30
  }
31
31
  export interface SignOffRequestRollupSearchboxSettings {
@@ -78,11 +78,11 @@ export interface StatusEnginePropertyOutput extends TypedFilterEnginePropertyOut
78
78
  sub: StatusEnginePropertyOutput[];
79
79
  }
80
80
  export interface TypeFilterEngineProperty extends BaseFilterEngineProperty {
81
- value: Array<GuidValue>;
81
+ value: Array<guid>;
82
82
  type: PropertyIndexedType.Text;
83
83
  }
84
84
  export interface TypePropFilterValue extends RollupFilterValue {
85
- value: Array<GuidValue>;
85
+ value: Array<guid>;
86
86
  }
87
87
  export interface ExtendedPropFilterValue extends RollupFilterValue {
88
88
  value: Array<any>;
@@ -1,9 +1,9 @@
1
- import { EnterprisePropertyDefinition, GuidValue, PropertyIndexedType, RollupEnums, MultilingualString } from "@omnia/fx/models";
1
+ import { EnterprisePropertyDefinition, guid, PropertyIndexedType, RollupEnums, MultilingualString } from "@omnia/fx/models";
2
2
  export interface SignOffRequestRollupViewRegistration {
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 ISignOffRequestRollupViewSettingsComponent<T extends SignOffRequestRollupViewComponentSettings> {
@@ -1,15 +1,15 @@
1
- import { GuidValue, IActionHandlerSettings } from "@omnia/fx/models";
1
+ import { guid, IActionHandlerSettings } from "@omnia/fx/models";
2
2
  export interface SignOffRequestSettings {
3
3
  showUserNameInReport: boolean;
4
4
  emailMaxNoOfUsers: number;
5
5
  }
6
6
  export interface ActionButtonSignOffRequestSettings extends IActionHandlerSettings {
7
- signOffRequestTypeId?: GuidValue;
7
+ signOffRequestTypeId?: guid;
8
8
  actionType: ActionType;
9
9
  isInWCM: boolean;
10
10
  }
11
11
  export interface ActionType {
12
- id: GuidValue;
12
+ id: guid;
13
13
  title: string;
14
14
  clickHandler?: (settings: ActionButtonSignOffRequestSettings) => Promise<void>;
15
15
  }
@@ -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 { SignOffRequestEnums } from ".";
3
3
  import { ISignOffRequestResourceDataSettings } from "./SignOffRequestResource";
4
4
  export interface ISignOffRequestTemplateUpdatableProperties {
@@ -11,7 +11,7 @@ export interface ISignOffRequestTemplateUpdatableProperties {
11
11
  signOffType?: SignOffRequestTemplateSignOffTypeDataSettings;
12
12
  }
13
13
  export interface SignOffRequestTemplate extends ISignOffRequestTemplateUpdatableProperties {
14
- id: GuidValue;
14
+ id: guid;
15
15
  createdBy?: Identity;
16
16
  createdAt?: Date;
17
17
  modifiedBy?: Identity;
@@ -1,15 +1,15 @@
1
- import { GuidValue, Identity, MultilingualString } from "@omnia/fx/models";
1
+ import { guid, Identity, MultilingualString } from "@omnia/fx/models";
2
2
  import { SignOffRequestTemplate } from "./SignOffRequestTemplate";
3
3
  export interface ISignOffRequestTypeUpdatableProperties {
4
4
  title?: MultilingualString;
5
- enterprisePropertySetId: GuidValue;
6
- signOffRequestTemplates: Array<GuidValue>;
5
+ enterprisePropertySetId: guid;
6
+ signOffRequestTemplates: Array<guid>;
7
7
  sendEmailInWorkflows: boolean;
8
8
  }
9
9
  export interface SignOffRequestType {
10
- id: GuidValue;
10
+ id: guid;
11
11
  title?: MultilingualString;
12
- enterprisePropertySetId: GuidValue;
12
+ enterprisePropertySetId: guid;
13
13
  signOffRequestTemplates: Array<SignOffRequestTemplate>;
14
14
  sendEmailInWorkflows: boolean;
15
15
  createdBy?: Identity;
@@ -1,6 +1,6 @@
1
- import { GuidValue } from "@omnia/fx/models";
1
+ import { guid } from "@omnia/fx/models";
2
2
  import { SignOffRequestResourceDetail } from "..";
3
3
  export interface SignOffEmailRequest {
4
- requestId: GuidValue;
4
+ requestId: guid;
5
5
  resourceDetails: Array<SignOffRequestResourceDetail>;
6
6
  }
@@ -1,5 +1,5 @@
1
- import { GuidValue } from "@omnia/fx/models";
1
+ import { guid } from "@omnia/fx/models";
2
2
  import { ISignOffRequestUpdatableProperties } from "..";
3
3
  export interface SignOffRequestCreateModel extends ISignOffRequestUpdatableProperties {
4
- typeId: GuidValue;
4
+ typeId: guid;
5
5
  }
@@ -1,7 +1,7 @@
1
- import { GuidValue, MultilingualString } from "@omnia/fx/models";
1
+ import { guid, MultilingualString } from "@omnia/fx/models";
2
2
  export interface SignOffRequestTypeCreateModel {
3
3
  title: MultilingualString;
4
- enterprisePropertySetId: GuidValue;
5
- signOffRequestTemplates: Array<GuidValue>;
4
+ enterprisePropertySetId: guid;
5
+ signOffRequestTemplates: Array<guid>;
6
6
  sendEmailInWorkflows: boolean;
7
7
  }