@omnia/workplace 7.8.1-preview → 7.8.1

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 (68) hide show
  1. package/internal-do-not-import-from-here/apis/SearchResultSourceApi.d.ts +20 -0
  2. package/internal-do-not-import-from-here/apis/index.d.ts +1 -0
  3. package/internal-do-not-import-from-here/core/loc/formLocalize.d.ts +6 -0
  4. package/internal-do-not-import-from-here/core/utils/Utils.d.ts +2 -0
  5. package/internal-do-not-import-from-here/manifests/omnia.workplace.fx.manifest.json +1 -1
  6. package/internal-do-not-import-from-here/models/Constants.d.ts +12 -0
  7. package/internal-do-not-import-from-here/models/Constants.js +13 -1
  8. package/internal-do-not-import-from-here/models/Enums.d.ts +14 -1
  9. package/internal-do-not-import-from-here/models/Enums.js +15 -0
  10. package/internal-do-not-import-from-here/models/ManifestIds.d.ts +11 -1
  11. package/internal-do-not-import-from-here/models/ManifestIds.js +11 -1
  12. package/internal-do-not-import-from-here/models/Search.d.ts +7 -1
  13. package/internal-do-not-import-from-here/models/SearchCategory.d.ts +15 -1
  14. package/internal-do-not-import-from-here/models/SearchProvider.d.ts +1 -0
  15. package/internal-do-not-import-from-here/models/SearchResultSource.d.ts +20 -0
  16. package/internal-do-not-import-from-here/models/SearchResultSource.js +6 -0
  17. package/internal-do-not-import-from-here/models/TaxonomyNavigation.d.ts +9 -2
  18. package/internal-do-not-import-from-here/models/analytics/analyticsSettingsRequest.d.ts +4 -0
  19. package/internal-do-not-import-from-here/models/analytics/analyticsSettingsRequest.js +2 -0
  20. package/internal-do-not-import-from-here/models/analytics/analyticsdimensionmappings.d.ts +2 -0
  21. package/internal-do-not-import-from-here/models/analytics/analyticsdimensionmappings.js +1 -0
  22. package/internal-do-not-import-from-here/models/analytics/analyticssettings.d.ts +3 -1
  23. package/internal-do-not-import-from-here/models/analytics/businessProfileAnalyticsSettings.d.ts +1 -0
  24. package/internal-do-not-import-from-here/models/analytics/businessProfileAnalyticsSettings.js +1 -0
  25. package/internal-do-not-import-from-here/models/analytics/index.d.ts +4 -1
  26. package/internal-do-not-import-from-here/models/analytics/index.js +4 -1
  27. package/internal-do-not-import-from-here/models/analytics/matomositeinfo.d.ts +7 -0
  28. package/internal-do-not-import-from-here/models/analytics/matomositeinfo.js +2 -0
  29. package/internal-do-not-import-from-here/models/analytics/segmentinfo.d.ts +7 -0
  30. package/internal-do-not-import-from-here/models/analytics/segmentinfo.js +2 -0
  31. package/internal-do-not-import-from-here/models/apps/Enums.d.ts +2 -1
  32. package/internal-do-not-import-from-here/models/apps/Enums.js +1 -0
  33. package/internal-do-not-import-from-here/models/components/TeamNewsBlockStyles.d.ts +2 -0
  34. package/internal-do-not-import-from-here/models/forms/FormLayout.d.ts +1 -0
  35. package/internal-do-not-import-from-here/models/forms/FormType.d.ts +2 -1
  36. package/internal-do-not-import-from-here/models/index.d.ts +4 -0
  37. package/internal-do-not-import-from-here/models/index.js +4 -0
  38. package/internal-do-not-import-from-here/models/omniasearch/OmniaSearch.d.ts +53 -0
  39. package/internal-do-not-import-from-here/models/omniasearch/OmniaSearch.js +2 -0
  40. package/internal-do-not-import-from-here/models/omniasearch/SearchPropertyFilter.d.ts +8 -0
  41. package/internal-do-not-import-from-here/models/omniasearch/SearchPropertyFilter.js +2 -0
  42. package/internal-do-not-import-from-here/models/omniasearch/index.d.ts +2 -0
  43. package/internal-do-not-import-from-here/models/omniasearch/index.js +5 -0
  44. package/internal-do-not-import-from-here/models/semanticsearch/SemanticSearchApi.d.ts +18 -0
  45. package/internal-do-not-import-from-here/models/semanticsearch/SemanticSearchApi.js +2 -0
  46. package/internal-do-not-import-from-here/models/semanticsearch/SemanticSearchFilterValue.d.ts +4 -0
  47. package/internal-do-not-import-from-here/models/semanticsearch/SemanticSearchFilterValue.js +2 -0
  48. package/internal-do-not-import-from-here/models/semanticsearch/SemanticSearchProvider.d.ts +14 -0
  49. package/internal-do-not-import-from-here/models/semanticsearch/SemanticSearchProvider.js +6 -0
  50. package/internal-do-not-import-from-here/models/semanticsearch/index.d.ts +3 -0
  51. package/internal-do-not-import-from-here/models/semanticsearch/index.js +6 -0
  52. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestProvider.d.ts +1 -0
  53. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupBlockSettings.d.ts +5 -1
  54. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestTemplate.d.ts +1 -0
  55. package/internal-do-not-import-from-here/models/styles/MyLinkStyles.d.ts +1 -0
  56. package/internal-do-not-import-from-here/models/styles/NotificationPanelHeaderStyles.d.ts +3 -0
  57. package/internal-do-not-import-from-here/models/styles/SearchStyles.d.ts +2 -0
  58. package/internal-do-not-import-from-here/models/usermanagement/UserManagementConstants.d.ts +12 -0
  59. package/internal-do-not-import-from-here/models/usermanagement/UserManagementConstants.js +15 -0
  60. package/internal-do-not-import-from-here/models/usermanagement/index.d.ts +1 -0
  61. package/internal-do-not-import-from-here/models/usermanagement/index.js +4 -0
  62. package/internal-do-not-import-from-here/services/AnalyticsService.d.ts +13 -5
  63. package/internal-do-not-import-from-here/services/AnalyticsStoreService.d.ts +7 -3
  64. package/internal-do-not-import-from-here/stores/AnalyticsStore.d.ts +8 -2
  65. package/internal-do-not-import-from-here/stores/CurrentFormStore.d.ts +2 -0
  66. package/internal-do-not-import-from-here/stores/LinkStore.d.ts +1 -1
  67. package/internal-do-not-import-from-here/stores/SearchCategoryStore.d.ts +7 -0
  68. package/package.json +1 -1
@@ -4,7 +4,8 @@ export declare module AppEnums {
4
4
  M365Group = "071484a2-6727-454a-9e7c-e103f5da0c84",
5
5
  YammerGroup = "298429f6-8e39-4bb6-9e25-129896709d1f",
6
6
  FacebookWorkplaceGroup = "76b4cae2-a213-4f9d-a7e0-e20b05eb2de8",
7
- MicrosoftTeam = "026f8912-2c6f-4f19-81b8-fcbaca4864a2"
7
+ MicrosoftTeam = "026f8912-2c6f-4f19-81b8-fcbaca4864a2",
8
+ SPCommunicationSite = "7d5fc541-c02e-41f9-a7f7-86d91bc41df8"
8
9
  }
9
10
  enum TeamPrivacyOptions {
10
11
  Public = "Public",
@@ -18,6 +18,7 @@ var AppEnums;
18
18
  TeamworkResourceTypeIds["YammerGroup"] = "298429f6-8e39-4bb6-9e25-129896709d1f";
19
19
  TeamworkResourceTypeIds["FacebookWorkplaceGroup"] = "76b4cae2-a213-4f9d-a7e0-e20b05eb2de8";
20
20
  TeamworkResourceTypeIds["MicrosoftTeam"] = "026f8912-2c6f-4f19-81b8-fcbaca4864a2";
21
+ TeamworkResourceTypeIds["SPCommunicationSite"] = "7d5fc541-c02e-41f9-a7f7-86d91bc41df8";
21
22
  })(TeamworkResourceTypeIds = AppEnums.TeamworkResourceTypeIds || (AppEnums.TeamworkResourceTypeIds = {}));
22
23
  let TeamPrivacyOptions;
23
24
  (function (TeamPrivacyOptions) {
@@ -11,4 +11,6 @@ export declare const TeamNewsBlockStyles: {
11
11
  title?: types.NestedCSSProperties;
12
12
  socialWrapper?: types.NestedCSSProperties;
13
13
  groupViewWrapper?: types.NestedCSSProperties;
14
+ userWrapper: types.NestedCSSProperties;
15
+ imageContainer?: types.NestedCSSProperties;
14
16
  };
@@ -16,6 +16,7 @@ export interface ICurrentFormStore {
16
16
  isLockSubmission(): boolean;
17
17
  isAnswerChanged(): boolean;
18
18
  toggleShowReponseFlag(): any;
19
+ canSubmitForm(questions: Question[]): any;
19
20
  }
20
21
  export interface IFormLayoutProvider {
21
22
  form: string;
@@ -1,4 +1,4 @@
1
- import { GuidValue, Identity, MultilingualString } from "@omnia/fx-models";
1
+ import { AnalyticsSettings, GuidValue, Identity, MultilingualString } from "@omnia/fx-models";
2
2
  import { FormTypes } from "./Form";
3
3
  export interface FormTypeRequest {
4
4
  baseType: FormTypes;
@@ -10,6 +10,7 @@ export interface FormTypeRequest {
10
10
  export interface FormTypeSettings {
11
11
  showFormTemplateSettings: boolean;
12
12
  allowMultipleQuestions: boolean;
13
+ analyticsSettings?: AnalyticsSettings;
13
14
  }
14
15
  export interface FormType extends FormTypeRequest {
15
16
  id: number;
@@ -1,6 +1,7 @@
1
1
  import "./WorkplaceApi";
2
2
  export * from "./BusinessProfileDallEPromptDefault";
3
3
  export * from "./signoffrequest";
4
+ export * from "./semanticsearch";
4
5
  export * from "./forms";
5
6
  export * from "./Workspace";
6
7
  export * from "./RegisterActionMenuItemMsg";
@@ -69,3 +70,6 @@ export * from "./texttranslator";
69
70
  export * from "./qrcode";
70
71
  export * from "./DallESettingsPrompts";
71
72
  export * from "./analytics";
73
+ export * from "./usermanagement";
74
+ export * from "./SearchResultSource";
75
+ export * from "./omniasearch";
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
5
5
  require("./WorkplaceApi");
6
6
  tslib_1.__exportStar(require("./BusinessProfileDallEPromptDefault"), exports);
7
7
  tslib_1.__exportStar(require("./signoffrequest"), exports);
8
+ tslib_1.__exportStar(require("./semanticsearch"), exports);
8
9
  tslib_1.__exportStar(require("./forms"), exports);
9
10
  tslib_1.__exportStar(require("./Workspace"), exports);
10
11
  tslib_1.__exportStar(require("./RegisterActionMenuItemMsg"), exports);
@@ -73,3 +74,6 @@ tslib_1.__exportStar(require("./texttranslator"), exports);
73
74
  tslib_1.__exportStar(require("./qrcode"), exports);
74
75
  tslib_1.__exportStar(require("./DallESettingsPrompts"), exports);
75
76
  tslib_1.__exportStar(require("./analytics"), exports);
77
+ tslib_1.__exportStar(require("./usermanagement"), exports);
78
+ tslib_1.__exportStar(require("./SearchResultSource"), exports);
79
+ tslib_1.__exportStar(require("./omniasearch"), exports);
@@ -0,0 +1,53 @@
1
+ import { GuidValue, OmniaSearchPropertyFilter, ResolvedUserIdentity, ScopeTypes } from "@omnia/fx-models";
2
+ import { SearchCategoryRefiner } from "../../../search/models";
3
+ import { Enums } from "../Enums";
4
+ import { CategorySearchResult, Refiner, SearchCategoryOption, SearchResultItem } from "../Search";
5
+ import { SearchCategoryBase, DictionaryPropertiesMapping, ProviderSettings } from "../SearchCategory";
6
+ import { OmniaUserSearchPropertyFilter } from "./SearchPropertyFilter";
7
+ export interface OmniaCategorySearchResult extends CategorySearchResult {
8
+ refiners: Array<Refiner>;
9
+ }
10
+ export interface OmniaSearchResultItem extends SearchResultItem {
11
+ customPropertiesResult: {
12
+ [key: string]: string;
13
+ };
14
+ }
15
+ export interface OmniaSearchCategoryOption extends SearchCategoryOption {
16
+ searchCategory: OmniaSearchCategory;
17
+ refiners?: Array<SearchCategoryRefiner>;
18
+ refinerFilter?: Array<OmniaSearchPropertyFilter>;
19
+ }
20
+ export interface OmniaSearchCategory extends SearchCategoryBase {
21
+ resultSource: string;
22
+ sortBy?: string;
23
+ sortDirection?: Enums.SortDirection;
24
+ providerSettings: OmniaSearchSettings;
25
+ listTemplatePropertiesMapping?: {
26
+ [templateId: string]: DictionaryPropertiesMapping;
27
+ };
28
+ }
29
+ export interface OmniaSearchSettings extends ProviderSettings {
30
+ }
31
+ export interface SearchResultSourceSettingProps<T extends SearchCategoryBase> {
32
+ searchCategory: T;
33
+ onChanged: (value: T) => void;
34
+ }
35
+ export interface UserOmniaSearchQueryCategory extends OmniaSearchCategory {
36
+ providerSettings: UserOmniaSearchSettings;
37
+ }
38
+ export interface UserOmniaSearchSettings extends ProviderSettings {
39
+ userTypeIds?: Array<GuidValue>;
40
+ scopes?: Array<GuidValue>;
41
+ scopeType?: ScopeTypes;
42
+ filters?: Array<OmniaUserSearchPropertyFilter>;
43
+ }
44
+ export interface OmniaUserQueryFiltersComponentSettingProps {
45
+ userTypeIds?: Array<GuidValue>;
46
+ scopes?: Array<GuidValue>;
47
+ scopeType?: ScopeTypes;
48
+ filters?: Array<OmniaUserSearchPropertyFilter>;
49
+ onChanged: (filters: Array<OmniaUserSearchPropertyFilter>, userTypeIds: Array<GuidValue>, scopes: Array<GuidValue>, scopeType: ScopeTypes) => void;
50
+ }
51
+ export interface OmniaUserSearchResultItem extends OmniaSearchResultItem {
52
+ resolvedUser: ResolvedUserIdentity;
53
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import { OmniaSearchPropertyFilter, OmniaSearchPropertyFilterValue, PropertyValue } from "@omnia/fx-models";
2
+ export interface OmniaUserSearchPropertyFilter extends OmniaSearchPropertyFilter {
3
+ valueObj: OmniaSearchPropertyFilterValue;
4
+ }
5
+ export interface OmniaUserSearchPropertyFilterValue extends OmniaSearchPropertyFilterValue {
6
+ propertyValue: PropertyValue;
7
+ value: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./SearchPropertyFilter";
2
+ export * from "./OmniaSearch";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./SearchPropertyFilter"), exports);
5
+ tslib_1.__exportStar(require("./OmniaSearch"), exports);
@@ -0,0 +1,18 @@
1
+ import { ApiPath } from "@omnia/fx/models";
2
+ import { SemanticSearchReferenceProvider } from "./SemanticSearchProvider";
3
+ export interface ISemanticSearchReferenceProviderRegistrationApi {
4
+ registerSemanticSearchReferenceProvider: (provider: SemanticSearchReferenceProvider) => void;
5
+ getSemanticSearchReferenceProviders: () => SemanticSearchReferenceProvider[];
6
+ }
7
+ declare module "../WorkplaceApi" {
8
+ interface IWorkplaceApi {
9
+ semanticsearch: {
10
+ registration: Promise<ISemanticSearchReferenceProviderRegistrationApi>;
11
+ };
12
+ }
13
+ interface IWorkplaceExtendApiManifest {
14
+ semanticsearch: {
15
+ registration: ApiPath;
16
+ };
17
+ }
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface SemanticSearchFilterValue {
2
+ propertyName: string;
3
+ value: any;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import { GuidValue, SemanticSearchPropertyDefinition, SemanticSearchReference } from "@omnia/fx-models";
2
+ import { SemanticSearchFilterValue } from "./SemanticSearchFilterValue";
3
+ export declare abstract class SemanticSearchReferenceProvider {
4
+ providerId: GuidValue;
5
+ typeId: GuidValue;
6
+ title: string;
7
+ ensureReferencesLoaded: (references: string[]) => Promise<void>;
8
+ renderReference: (item: SemanticSearchReference, openInNewTab?: boolean) => JSX.Element;
9
+ renderReferenceIcon: (item: SemanticSearchReference, openInNewTab?: boolean) => JSX.Element;
10
+ getCustomProperties?: () => SemanticSearchPropertyDefinition[];
11
+ renderPropertyFilterValueSelection?: (filterValue: SemanticSearchFilterValue) => JSX.Element;
12
+ onSelectFilterValue?: (filterValue: SemanticSearchFilterValue) => void;
13
+ renderPropertyValue?: (filterValue: SemanticSearchFilterValue) => JSX.Element;
14
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SemanticSearchReferenceProvider = void 0;
4
+ class SemanticSearchReferenceProvider {
5
+ }
6
+ exports.SemanticSearchReferenceProvider = SemanticSearchReferenceProvider;
@@ -0,0 +1,3 @@
1
+ export * from "./SemanticSearchProvider";
2
+ export * from "./SemanticSearchApi";
3
+ export * from "./SemanticSearchFilterValue";
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./SemanticSearchProvider"), exports);
5
+ tslib_1.__exportStar(require("./SemanticSearchApi"), exports);
6
+ tslib_1.__exportStar(require("./SemanticSearchFilterValue"), exports);
@@ -7,6 +7,7 @@ export declare abstract class SignOffRequestProvider<T extends SignOffResource =
7
7
  abstract settingRenderer?: () => JSX.Element;
8
8
  actionButtonHandler: ActionType;
9
9
  defaultMessage: string;
10
+ providerOrder: number;
10
11
  resolveResourceData: (itemId: string) => Promise<SignOffRequestResourceDetail>;
11
12
  resolveToken: (tokenField: string, itemId: string) => string;
12
13
  ensureItemsLoaded: (itemIds: string[]) => Promise<void>;
@@ -1,4 +1,4 @@
1
- import { BaseFilterEngineProperty, FilterEngineSettings, GuidValue, MultilingualString, OrderBy, PropertyIndexedType, RollupEnums, RollupFilter, RollupFilterValue, RollupOtherTypes, SpacingSettings, TypedFilterEnginePropertyOutput } from "@omnia/fx/models";
1
+ import { BaseFilterEngineProperty, FilterEngineSettings, GuidValue, Identity, MultilingualString, OrderBy, PropertyIndexedType, RollupEnums, RollupFilter, RollupFilterValue, RollupOtherTypes, SpacingSettings, TypedFilterEnginePropertyOutput, UserPickingType } from "@omnia/fx/models";
2
2
  import { SignOffRequestRollupViewComponentSettings } from "./SignOffRequestRollupViewSettings";
3
3
  export interface SignOffRequestRollupBlockSettings {
4
4
  title: MultilingualString;
@@ -84,6 +84,10 @@ export interface TypeFilterEngineProperty extends BaseFilterEngineProperty {
84
84
  export interface TypePropFilterValue extends RollupFilterValue {
85
85
  value: Array<GuidValue>;
86
86
  }
87
+ export interface RequestedByPropFilterValue extends RollupFilterValue {
88
+ value: Array<Identity>;
89
+ filterSelection: UserPickingType;
90
+ }
87
91
  export interface ExtendedPropFilterValue extends RollupFilterValue {
88
92
  value: Array<any>;
89
93
  }
@@ -30,6 +30,7 @@ export interface SignOffRequestTemplateMultilingualStringDataSettings extends IS
30
30
  }
31
31
  export interface SignOffRequestTemplateIdentityListDataSettings extends ISignOffRequestTemplateDataSettings {
32
32
  value: Array<Identity>;
33
+ includeCurrentGroup?: boolean;
33
34
  }
34
35
  export interface SignOffRequestTemplateSignOffResourceListDataSettings extends ISignOffRequestTemplateDataSettings {
35
36
  value: Array<ISignOffRequestResourceDataSettings>;
@@ -15,6 +15,7 @@ export declare const MyLinksStyles: {
15
15
  headerCheckbox?: types.NestedCSSProperties;
16
16
  dialogFooter?: types.NestedCSSProperties;
17
17
  iconPreview?: types.NestedCSSProperties;
18
+ visuallyHidden?: types.NestedCSSProperties;
18
19
  };
19
20
  export declare const SimpleListStyles: {
20
21
  componentWrapper: (spacing: SpacingSettings) => types.NestedCSSProperties;
@@ -1,3 +1,4 @@
1
+ import { HorizontalAlignments } from "@omnia/fx-models";
1
2
  import { types } from "typestyle";
2
3
  export declare const NotificationPanelHeaderStyles: {
3
4
  body?: types.NestedCSSProperties;
@@ -10,4 +11,6 @@ export declare const NotificationPanelHeaderStyles: {
10
11
  invisibleDialog?: types.NestedCSSProperties;
11
12
  centerText?: types.NestedCSSProperties;
12
13
  notificationNumberColor?: (numberColor: string) => types.NestedCSSProperties;
14
+ buttonUppercase?: (isUppercaseEnabled: boolean) => types.NestedCSSProperties;
15
+ buttonAlignment?: (alignment: HorizontalAlignments) => types.NestedCSSProperties;
13
16
  };
@@ -5,6 +5,7 @@ import { SearchBoxStyling } from "../SearchBoxStyling";
5
5
  type SearchRule = {
6
6
  container?: (showInHeader: boolean, compactChrome: boolean) => types.NestedCSSProperties;
7
7
  searchCategory?: types.NestedCSSProperties;
8
+ searchCategoryHeaderText?: (theme: OmniaTheming) => types.NestedCSSProperties;
8
9
  searchCategoryHeader?: (theme: OmniaTheming) => types.NestedCSSProperties;
9
10
  searchCategoryContent?: (paddingBottom: boolean) => types.NestedCSSProperties;
10
11
  resultRow?: (theme: OmniaTheming) => types.NestedCSSProperties;
@@ -19,6 +20,7 @@ type SearchRule = {
19
20
  noResult?: types.NestedCSSProperties;
20
21
  contentTop?: (showOnHeader: boolean, dropdownResultMode: boolean) => types.NestedCSSProperties;
21
22
  searchBox?: (styling: SearchBoxStyling, theming: ITheming) => types.NestedCSSProperties;
23
+ searchBoxDialog?: types.NestedCSSProperties;
22
24
  dropdownResult?: (height: number, showOnHeader: boolean) => types.NestedCSSProperties;
23
25
  dropdownOverride?: types.NestedCSSProperties;
24
26
  spellingSuggestionLink?: types.NestedCSSProperties;
@@ -0,0 +1,12 @@
1
+ export declare const UserManagementConstants: {
2
+ TenantUserManagementNodeKey: string;
3
+ BusinessProfileUserManagementNodeKey: string;
4
+ UserDataSynchronizationProvider: {
5
+ UserAndGroupMembership: string;
6
+ UserDetails: string;
7
+ };
8
+ SynchronizationProvider: {
9
+ MicrosoftGraph: string;
10
+ SharepointUserProfiles: string;
11
+ };
12
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserManagementConstants = void 0;
4
+ exports.UserManagementConstants = {
5
+ TenantUserManagementNodeKey: "86666f48-6846-4a56-be81-80ea748d1e6d",
6
+ BusinessProfileUserManagementNodeKey: "ae0d1675-efc4-4a5a-bfdc-1a05f3fe9c66",
7
+ UserDataSynchronizationProvider: {
8
+ UserAndGroupMembership: "1a786c8f-85a6-49f1-920b-4ea4196eb174",
9
+ UserDetails: "1c0d1214-0991-4a56-81d5-46f54fbdb77b"
10
+ },
11
+ SynchronizationProvider: {
12
+ MicrosoftGraph: "4e6777a2-2acb-4ae2-b0a1-f19a62e8b123",
13
+ SharepointUserProfiles: "62eea4b2-21aa-4fd1-a51c-13435b94770a"
14
+ }
15
+ };
@@ -0,0 +1 @@
1
+ export * from "./UserManagementConstants";
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./UserManagementConstants"), exports);
@@ -1,19 +1,27 @@
1
1
  import { OmniaContext } from "@omnia/fx";
2
- import { MultilingualStore, UserTypeStore } from "@omnia/fx/stores";
2
+ import { BusinessProfileAnalyticsSettings } from "@omnia/fx-models";
3
3
  import { DataSourcePropertiesService } from "@omnia/fx/services";
4
- import { BusinessProfileAnalyticsSettings } from "../models/analytics";
4
+ import { MultilingualStore, UserTypeStore } from "@omnia/fx/stores";
5
+ import { AnalyticsSettings } from "../models/analytics/analyticssettings";
6
+ import { AnalyticsStore } from "../stores/AnalyticsStore";
5
7
  export declare class AnalyticsService {
6
8
  userTypeStore: UserTypeStore;
7
9
  dataSourcePropertiesService: DataSourcePropertiesService;
8
10
  multilingualStore: MultilingualStore;
9
11
  omniaContext: OmniaContext;
12
+ analyticsStore: AnalyticsStore;
10
13
  readonly dsSourcesAllowed: string[];
11
14
  tracker: any;
15
+ private currentIdSite;
16
+ private activatedFeatureIds;
12
17
  settings: BusinessProfileAnalyticsSettings;
18
+ connectedAnalyticsSettings: AnalyticsSettings;
13
19
  constructor();
14
- registerPageVisit(pageId?: number, resetDimensions?: boolean): Promise<void>;
15
- registerAction(category: string, action: string, name: string, value?: number): Promise<void>;
16
- private shouldCollect;
20
+ private ensureIdSite;
21
+ private getMappings;
22
+ private normalizeUrl;
23
+ registerPageVisit(resetDimensions?: boolean, url?: string, title?: string): Promise<void>;
24
+ registerAction(category: string, action: string, name: string, value?: number, url?: string): Promise<void>;
17
25
  private getDataSources;
18
26
  private getActiveProperties;
19
27
  private getPropertyValueAndConverterFromSelection;
@@ -1,5 +1,5 @@
1
- import { GuidValue, Identity } from "@omnia/fx/models";
2
- import { AnalyticsDimensionMapping, AnalyticsDimensionScopes, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, AnalyticsToken, WidgetCategoryInfo, MatomoSite, AnalyticsColumn } from "../models/analytics";
1
+ import { AnalyticsDimensionMapping, AnalyticsDimensionScopes, GuidValue, Identity } from "@omnia/fx/models";
2
+ import { AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, AnalyticsToken, WidgetCategoryInfo, MatomoSite, AnalyticsColumn, SegmentInfo, AnalyticsSettingsRequest, MatomoSiteInfo } from "../models/analytics";
3
3
  export declare class AnalyticsStoreService {
4
4
  private httpClient;
5
5
  constructor();
@@ -7,7 +7,7 @@ export declare class AnalyticsStoreService {
7
7
  getToken: (businessProfileId?: GuidValue) => Promise<AnalyticsToken>;
8
8
  getDimensions: (businessProfileId?: GuidValue) => Promise<AnalyticsDimensions>;
9
9
  getScopesInfo: (businessProfileId?: GuidValue) => Promise<AnalyticsScopeInfo[]>;
10
- getWidgetInformation: () => Promise<WidgetCategoryInfo[]>;
10
+ getWidgetInformation: (businessProfileId?: GuidValue) => Promise<WidgetCategoryInfo[]>;
11
11
  getAnalyticColumns: (idSite: number) => Promise<AnalyticsColumn[]>;
12
12
  getReportStructure: () => Promise<Record<string, string[]>>;
13
13
  addDimension: (name: string, scope: AnalyticsDimensionScopes) => Promise<number>;
@@ -17,4 +17,8 @@ export declare class AnalyticsStoreService {
17
17
  setTenantAdmins: (roleId: GuidValue, identities: Identity[]) => Promise<void>;
18
18
  setMappings: (mappings: AnalyticsDimensionMapping[]) => Promise<void>;
19
19
  ensureSitesWithAtLeastViewAccess: () => Promise<MatomoSite[]>;
20
+ ensureSiteInfosWithAtLeastViewAccess: () => Promise<MatomoSiteInfo[]>;
21
+ getSegments: (businessProfileId?: GuidValue) => Promise<SegmentInfo>;
22
+ setConnectedBusinessProfile: (request: AnalyticsSettingsRequest) => Promise<void>;
23
+ setSharedAnalytics: (isShared: boolean) => Promise<boolean>;
20
24
  }
@@ -1,7 +1,7 @@
1
1
  import { Store } from "@omnia/fx/stores";
2
2
  import { OmniaContext } from "@omnia/fx";
3
3
  import { GuidValue } from "@omnia/fx-models";
4
- import { AnalyticsColumn, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, MatomoSite } from "../models/analytics";
4
+ import { AnalyticsColumn, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, MatomoSite, SegmentInfo, MatomoSiteInfo } from "../models/analytics";
5
5
  import { AnalyticsStoreService } from "../services/AnalyticsStoreService";
6
6
  import { WidgetCategoryInfo } from "../models";
7
7
  export declare class AnalyticsStore extends Store {
@@ -27,7 +27,11 @@ export declare class AnalyticsStore extends Store {
27
27
  private ensuredLoadAnalyticColumns;
28
28
  private reportStructure;
29
29
  private ensuredLoadReportStructure;
30
+ private segmentInfos;
31
+ private ensuredLoadSegmentPromise;
30
32
  private isInstalled;
33
+ private ensuredLoadSiteInfosWithAtLeastViewAccessPromise;
34
+ private siteInfosWithAtLeastViewAccess;
31
35
  onActivated(): void;
32
36
  onDisposing(): void;
33
37
  /**
@@ -37,13 +41,15 @@ export declare class AnalyticsStore extends Store {
37
41
  dimensions: (businessProfileId?: GuidValue) => AnalyticsDimensions;
38
42
  settings: (businessProfileId?: GuidValue) => AnalyticsSettings;
39
43
  scopeInfos: (businessProfileId?: GuidValue) => AnalyticsScopeInfo[];
40
- widgetCategoryInfo: () => WidgetCategoryInfo[];
44
+ widgetCategoryInfo: (businessProfileId?: GuidValue) => WidgetCategoryInfo[];
41
45
  tokens: (businessProfileId?: GuidValue) => string;
42
46
  analyticsUrl: () => string;
43
47
  sitesWithAtLeastViewAccess: () => MatomoSite[];
44
48
  isInstalled: () => boolean;
45
49
  analyticsColumns: () => AnalyticsColumn[];
46
50
  reportStructure: () => Record<string, string[]>;
51
+ segments: (businessProfileId?: GuidValue) => SegmentInfo[];
52
+ siteInfosWithAtLeastViewAccess: () => MatomoSiteInfo[];
47
53
  };
48
54
  actions: any;
49
55
  }
@@ -15,6 +15,8 @@ export declare class CurrentFormStore implements ICurrentFormStore {
15
15
  removeCheckAnswerFlag(questionId: GuidValue): void;
16
16
  initCheckAnswerFlag(): void;
17
17
  isLockSubmission(): boolean;
18
+ canSubmitForm(questions: Question[]): boolean;
19
+ private noEmptyAnswer;
18
20
  isAnswerChanged(): boolean;
19
21
  setAnswerChanged(value: boolean): void;
20
22
  setFormSettings(settings: FormRendererBlockSettings): void;
@@ -38,7 +38,7 @@ export declare class LinkStore extends Store {
38
38
  searchAllLinks: (searchText: string, useTargeting?: boolean) => Array<QuickLink>;
39
39
  getQuickLinks: (includePersonalLink?: boolean, useTargeting?: boolean, includeNonMandatory?: boolean, includeMandatory?: boolean, includeFollowingLinks?: boolean) => Array<QuickLink>;
40
40
  getMyLinks: (includePersonalLink?: boolean, useTargeting?: boolean) => Array<QuickLink>;
41
- getRecentLinks: (includePersonalLink?: boolean, useTargeting?: boolean, includeNonMandatory?: boolean, includeMandatory?: boolean, includeFollowingLinks?: boolean) => Array<QuickLink>;
41
+ getRecentLinks: () => Array<QuickLink>;
42
42
  getSharedLinks: (tenantScope: boolean) => QuickLink[];
43
43
  isMyLink: (link: QuickLink) => boolean;
44
44
  };
@@ -1,9 +1,12 @@
1
1
  import { Store } from "@omnia/fx/stores";
2
2
  import { SearchCategoryService } from "../services";
3
3
  import { SearchCategoryBase } from "../models";
4
+ import { Search } from "../../search/models";
4
5
  import { SearchTokenStore } from "./SearchTokenStore";
6
+ import { SettingsService } from "@omnia/fx/services";
5
7
  export declare class SearchCategoryStore extends Store {
6
8
  searchCategoryService: SearchCategoryService;
9
+ settingsService: SettingsService<Search.SearchSettings>;
7
10
  private omniaContext;
8
11
  searchTokenStore: SearchTokenStore;
9
12
  /**
@@ -11,8 +14,10 @@ export declare class SearchCategoryStore extends Store {
11
14
  */
12
15
  private searchCategories;
13
16
  private targetedSearchCategories;
17
+ private searchSettings;
14
18
  private ensuredLoadSearchCategoriesPromise;
15
19
  private ensuredLoadTargetedSearchCategoriesPromise;
20
+ private ensuredSearchSettingPromise;
16
21
  onActivated(): void;
17
22
  onDisposing(): void;
18
23
  /**
@@ -21,6 +26,7 @@ export declare class SearchCategoryStore extends Store {
21
26
  getters: {
22
27
  searchCategories: () => Array<SearchCategoryBase>;
23
28
  targetedSearchCategories: () => Array<SearchCategoryBase>;
29
+ searchSetting: () => Search.SearchSettings;
24
30
  };
25
31
  /**
26
32
  * Implementation of mutations
@@ -32,5 +38,6 @@ export declare class SearchCategoryStore extends Store {
32
38
  ensureSearchCategories: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
33
39
  ensureTargetedSearchCategories: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
34
40
  ensureTokenReplacement: import("@omnia/fx/stores").StoreAction<unknown, (searchCategories: SearchCategoryBase[]) => void, (result: SearchCategoryBase[], searchCategories: SearchCategoryBase[]) => void, (failureReason: any, searchCategories: SearchCategoryBase[]) => void, (searchCategories: SearchCategoryBase[]) => Promise<SearchCategoryBase[]>>;
41
+ ensureSearchSetting: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
35
42
  };
36
43
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/workplace",
3
3
  "license": "MIT",
4
- "version": "7.8.1-preview",
4
+ "version": "7.8.1",
5
5
  "description": "Omnia Workplace.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"