@omnia/workplace 7.7.42-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.
- package/internal-do-not-import-from-here/models/ManifestIds.d.ts +3 -0
- package/internal-do-not-import-from-here/models/ManifestIds.js +3 -0
- package/internal-do-not-import-from-here/models/Search.d.ts +10 -0
- package/internal-do-not-import-from-here/stores/SearchCategoryStore.d.ts +7 -0
- package/package.json +1 -1
|
@@ -166,6 +166,7 @@ export declare class WebComponentManifests {
|
|
|
166
166
|
static get SearchStatisticsJourney(): Guid;
|
|
167
167
|
static get QuickSearchConfig(): Guid;
|
|
168
168
|
static get QuickSearchCategoriesConfig(): Guid;
|
|
169
|
+
static get SemanticSearchConfig(): Guid;
|
|
169
170
|
static get AdvenceSearchConfig(): Guid;
|
|
170
171
|
static get AdvancedSearchCategoriesConfig(): Guid;
|
|
171
172
|
static get DateTimeRefinerComponent(): 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;
|
|
@@ -175,6 +175,7 @@ class WebComponentManifests {
|
|
|
175
175
|
static get SearchStatisticsJourney() { return new fx_models_1.Guid("6b0a110e-478a-4c3d-875b-d89da7296c43"); }
|
|
176
176
|
static get QuickSearchConfig() { return new fx_models_1.Guid("f537b6a0-79ec-4019-9da6-62a51e3c5ff3"); }
|
|
177
177
|
static get QuickSearchCategoriesConfig() { return new fx_models_1.Guid("4190870d-6df6-4f35-9ea8-7cae2105b7e9"); }
|
|
178
|
+
static get SemanticSearchConfig() { return new fx_models_1.Guid("e93c6ef1-0f70-4c66-9bc1-4fa0b7c46fd8"); }
|
|
178
179
|
static get AdvenceSearchConfig() { return new fx_models_1.Guid("e5da6df9-7c88-4413-9f75-b8635429cc16"); }
|
|
179
180
|
static get AdvancedSearchCategoriesConfig() { return new fx_models_1.Guid("10303262-f456-4f79-be31-71bd32a32dab"); }
|
|
180
181
|
static get DateTimeRefinerComponent() { return new fx_models_1.Guid("0d3db85a-72f7-4f60-a404-8648101ab0b3"); }
|
|
@@ -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
|
+
}
|
|
@@ -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
|
}
|