@omnia/workplace 7.8.1-preview → 7.8.2-preview

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -201,5 +201,11 @@ export declare module FormsLocalization {
201
201
  ErrorMessages: {
202
202
  Unauthorized: string;
203
203
  };
204
+ Answer: string;
205
+ UserAnswer: string;
206
+ Point: string;
207
+ UserDisplayName: string;
208
+ CreatedAt: string;
209
+ CreatedBy: string;
204
210
  }
205
211
  }
@@ -49,6 +49,11 @@ export declare module Enums {
49
49
  Medium = 2,
50
50
  Low = 3
51
51
  }
52
+ enum CompletionImpactTypeEnumV2 {
53
+ Low = 1,
54
+ Medium = 2,
55
+ High = 3
56
+ }
52
57
  enum SPUserProfilePropertyDisplayTypeEnum {
53
58
  ProfilePicture = 0,
54
59
  Text = 1,
@@ -63,6 +63,12 @@ var Enums;
63
63
  CompletionImpactTypeEnum[CompletionImpactTypeEnum["Medium"] = 2] = "Medium";
64
64
  CompletionImpactTypeEnum[CompletionImpactTypeEnum["Low"] = 3] = "Low";
65
65
  })(CompletionImpactTypeEnum = UserProfileCompletionEnums.CompletionImpactTypeEnum || (UserProfileCompletionEnums.CompletionImpactTypeEnum = {}));
66
+ let CompletionImpactTypeEnumV2;
67
+ (function (CompletionImpactTypeEnumV2) {
68
+ CompletionImpactTypeEnumV2[CompletionImpactTypeEnumV2["Low"] = 1] = "Low";
69
+ CompletionImpactTypeEnumV2[CompletionImpactTypeEnumV2["Medium"] = 2] = "Medium";
70
+ CompletionImpactTypeEnumV2[CompletionImpactTypeEnumV2["High"] = 3] = "High";
71
+ })(CompletionImpactTypeEnumV2 = UserProfileCompletionEnums.CompletionImpactTypeEnumV2 || (UserProfileCompletionEnums.CompletionImpactTypeEnumV2 = {}));
66
72
  let SPUserProfilePropertyDisplayTypeEnum;
67
73
  (function (SPUserProfilePropertyDisplayTypeEnum) {
68
74
  SPUserProfilePropertyDisplayTypeEnum[SPUserProfilePropertyDisplayTypeEnum["ProfilePicture"] = 0] = "ProfilePicture";
@@ -204,6 +204,7 @@ export declare class WebComponentManifests {
204
204
  static get ProgressionBlock(): Guid;
205
205
  static get ProgressionBlockSettings(): Guid;
206
206
  static get ProfileCompletionTab(): Guid;
207
+ static get ProfileCompletionAddPropertyBlade(): Guid;
207
208
  static get ProfileCompletionPopup(): Guid;
208
209
  static get QuickSearchActionRegistration(): Guid;
209
210
  static get QuickSearchActionHandler(): Guid;
@@ -219,6 +220,8 @@ export declare class WebComponentManifests {
219
220
  static get SearchBlock(): Guid;
220
221
  static get SearchBlockSettings(): Guid;
221
222
  static get QuickSearch(): Guid;
223
+ static get SemanticSearch(): Guid;
224
+ static get QuickSearchRenderer(): Guid;
222
225
  static get AdvancedSearch(): Guid;
223
226
  static get SearchAdmin(): Guid;
224
227
  static get SearchAdminRegistration(): Guid;
@@ -213,6 +213,7 @@ class WebComponentManifests {
213
213
  static get ProgressionBlock() { return new fx_models_1.Guid("c067f86f-a676-4a1c-9a8b-24dcb992c3b0"); }
214
214
  static get ProgressionBlockSettings() { return new fx_models_1.Guid("620aaeee-bf1e-4156-8574-ac953449f733"); }
215
215
  static get ProfileCompletionTab() { return new fx_models_1.Guid("1ab3ed7b-63a3-4512-aa11-20a3f015c08f"); }
216
+ static get ProfileCompletionAddPropertyBlade() { return new fx_models_1.Guid("5c87774c-8c8b-4945-8714-66959f055fff"); }
216
217
  static get ProfileCompletionPopup() { return new fx_models_1.Guid("65c5c888-675a-411a-9f86-636081ddae1b"); }
217
218
  static get QuickSearchActionRegistration() { return new fx_models_1.Guid("c6ac506c-bff2-4552-901d-a5aa2b1052bb"); }
218
219
  static get QuickSearchActionHandler() { return new fx_models_1.Guid("84599507-bd33-4b1b-9aa8-72614aae89b5"); }
@@ -228,6 +229,8 @@ class WebComponentManifests {
228
229
  static get SearchBlock() { return new fx_models_1.Guid("103755a1-c49e-4e34-85b4-c94f541894a7"); }
229
230
  static get SearchBlockSettings() { return new fx_models_1.Guid("1c6045e8-ac28-4005-88eb-5d81857060bb"); }
230
231
  static get QuickSearch() { return new fx_models_1.Guid("24c33a66-12d8-4d62-8142-fd0486dcd9ed"); }
232
+ static get SemanticSearch() { return new fx_models_1.Guid("6ff41c98-63fd-47a7-a391-83015ba2c6cb"); }
233
+ static get QuickSearchRenderer() { return new fx_models_1.Guid("1fcaf18a-b3d7-4ea0-97f0-361fb3b7b9da"); }
231
234
  static get AdvancedSearch() { return new fx_models_1.Guid("6f8e12f7-3379-4722-854d-1f8e83b722b2"); }
232
235
  static get SearchAdmin() { return new fx_models_1.Guid("7843b606-9207-4563-80da-c8fb07e6b927"); }
233
236
  static get SearchAdminRegistration() { return new fx_models_1.Guid("8c97d118-f0d9-44fe-9ef5-ed107e6401d2"); }
@@ -85,3 +85,13 @@ export interface PagingOption {
85
85
  take: number;
86
86
  skip: number;
87
87
  }
88
+ export interface SemanticSearchResult {
89
+ answer: string;
90
+ references: SemanticSearchReference[];
91
+ }
92
+ export interface SemanticSearchReference {
93
+ id: string;
94
+ typeId: GuidValue;
95
+ content: string;
96
+ page: number;
97
+ }
@@ -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 { 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
  }
@@ -11,7 +11,7 @@ export declare class AnalyticsService {
11
11
  tracker: any;
12
12
  settings: BusinessProfileAnalyticsSettings;
13
13
  constructor();
14
- registerPageVisit(pageId?: number, resetDimensions?: boolean): Promise<void>;
14
+ registerPageVisit(resetDimensions?: boolean): Promise<void>;
15
15
  registerAction(category: string, action: string, name: string, value?: number): Promise<void>;
16
16
  private shouldCollect;
17
17
  private getDataSources;
@@ -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;
@@ -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.2-preview",
5
5
  "description": "Omnia Workplace.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"