@omnia/fx-sp 7.5.3-dev → 7.5.4
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/contexts/SharePointContextProvider.d.ts +3 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.sp.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/FilterEngine.d.ts +1 -1
- package/internal-do-not-import-from-here/models/Site.d.ts +12 -0
- package/internal-do-not-import-from-here/models/Term.d.ts +9 -1
- package/internal-do-not-import-from-here/models/Term.js +10 -1
- package/internal-do-not-import-from-here/models/styles/TermSetPropertyStyles.d.ts +2 -1
- package/internal-do-not-import-from-here/services/SiteService.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/features/localize.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/filterengine/api/ExtendedTaxonomyRegistration.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/flat/FlatTermNode.css.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/flat/FlatTermNode.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/flat/TermPickerFlatTree.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/ExtendedTaxonomyPropertyDefaultValueInput.d.ts +32 -0
- package/internal-do-not-import-from-here/ux/filterengine/handler/ExtendedTaxonomyFilterEngineHandler.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/filterengine/handler/TaxonomyFilterEngineHandler.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/filterengine/shared/SPSearchUtils.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/filterengine/shared/TaxonomyFilterEngineHelper.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/filterengine/shared/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/user/UserPropertiesBySharePointProvider.d.ts +0 -1
- package/package.json +3 -3
|
@@ -24,15 +24,17 @@ export declare class SharePointCtxProvider {
|
|
|
24
24
|
private httpContextProviderCollection;
|
|
25
25
|
private omniaContext;
|
|
26
26
|
private httpClient;
|
|
27
|
+
private interalAppContext;
|
|
27
28
|
instance: InternalSharePointCtxProvider;
|
|
28
29
|
constructor();
|
|
29
30
|
private static loadingSPPageContextPromises;
|
|
30
31
|
private _contextChangedPublishSubscriber;
|
|
31
32
|
private _omniaContextChangedSubscriptionHandler;
|
|
33
|
+
private _appContextChangedSubscriptionHandler;
|
|
32
34
|
private _currentAppId;
|
|
33
35
|
private _loadContextPromise;
|
|
34
36
|
onContextLoadedOrChanged(): IMessageBusTopicSubscription<SharePointPageContext>;
|
|
35
|
-
getSharePointPageContext: () => Promise<SharePointPageContext>;
|
|
37
|
+
getSharePointPageContext: (spUrl: string) => Promise<SharePointPageContext>;
|
|
36
38
|
dispose(): void;
|
|
37
39
|
}
|
|
38
40
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['fa502cf2-bcf9-4dc0-b4f9-13dc63c04bfc']","content":{"./node_modules/@omnia/fx-sp/services/index.js":{"id":"./node_modules/@omnia/fx-sp/services/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["LanguageService","ListsService","PrincipalService","SharePointUserService","SharepointMediaService","SiteService","StringMatchOption","TermService"]},"./node_modules/@omnia/fx-sp/services/LanguageService.js":{"id":"./node_modules/@omnia/fx-sp/services/languageservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["LanguageService"]},"./node_modules/@omnia/fx-sp/services/ListsService.js":{"id":"./node_modules/@omnia/fx-sp/services/listsservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ListsService"]},"./node_modules/@omnia/fx-sp/services/PrincipalService.js":{"id":"./node_modules/@omnia/fx-sp/services/principalservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["PrincipalService"]},"./node_modules/@omnia/fx-sp/services/SharepointMediaService.js":{"id":"./node_modules/@omnia/fx-sp/services/sharepointmediaservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["SharepointMediaService"]},"./node_modules/@omnia/fx-sp/services/SiteService.js":{"id":"./node_modules/@omnia/fx-sp/services/siteservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["SiteService"]},"./node_modules/@omnia/fx-sp/services/TermService.js":{"id":"./node_modules/@omnia/fx-sp/services/termservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["StringMatchOption","TermService"]},"./node_modules/@omnia/fx-sp/services/UserService.js":{"id":"./node_modules/@omnia/fx-sp/services/userservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["SharePointUserService"]},"./node_modules/@omnia/fx-sp/stores/index.js":{"id":"./node_modules/@omnia/fx-sp/stores/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyHelperStore","CurrentTermToken","SharePointTaxonomyGlossaryStore","SharePointUserStore","TermNavigationStore","TermStore"]},"./node_modules/@omnia/fx-sp/index.js":{"id":"eff19cad-5557-434b-a477-1e1e2a70a2a0","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyHelperStore","AppNamingPolicyValidationState","AssociatedGroup","CurrentTermToken","DefaultValueType","EnterpriseGlossaryTermInformation","EnterpriseKeywordDisplayStyles","EnterpriseKeywordsPropertySettings","FilterEngineTaxonomyValueSortOrder","LanguageService","ListsService","OmniaSharePointLocalizationNamespace","Parameters","PrincipalService","ResourceEvaluators","SPSearchFilterEngineContext","SPSearchUtils","SecurityRoles","SharePointBusinessProfileRelativePathValue","SharePointContext","SharePointFeatureConfiguration","SharePointPermissionRoles","SharePointTaxonomyGlossary","SharePointTaxonomyGlossaryStore","SharePointTermEnterpriseGlossaryStyles","SharePointTermGlossarySelectedMessage","SharePointUserProfilePersonPropertyValue","SharePointUserProfilePropertyValueBase","SharePointUserProfilePropertyValueTypes","SharePointUserProfileTermSetPropertyValue","SharePointUserProfileTextPropertyValue","SharePointUserService","SharePointUserStore","SharepointDateTimeFormatter","SharepointMediaService","SiteService","StringMatchOption","TargetingFilterStyles","TaxonomyDisplayStyles","TaxonomyFieldSettingsStyles","TermItemRendererMode","TermNavigationStore","TermOrganizationFilterByCustomProperty","TermOrganizationFilterByTermId","TermOrganizationFilterType","TermPickerStyles","TermService","TermSetPickerStyles","TermSetPropertyStyles","TermStore","TermToken","TermTreeComponentBase","TermTreeStyles"]}}}
|
|
1
|
+
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['fa502cf2-bcf9-4dc0-b4f9-13dc63c04bfc']","content":{"./node_modules/@omnia/fx-sp/services/index.js":{"id":"./node_modules/@omnia/fx-sp/services/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["LanguageService","ListsService","PrincipalService","SharePointUserService","SharepointMediaService","SiteService","StringMatchOption","TermService"]},"./node_modules/@omnia/fx-sp/services/LanguageService.js":{"id":"./node_modules/@omnia/fx-sp/services/languageservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["LanguageService"]},"./node_modules/@omnia/fx-sp/services/ListsService.js":{"id":"./node_modules/@omnia/fx-sp/services/listsservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ListsService"]},"./node_modules/@omnia/fx-sp/services/PrincipalService.js":{"id":"./node_modules/@omnia/fx-sp/services/principalservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["PrincipalService"]},"./node_modules/@omnia/fx-sp/services/SharepointMediaService.js":{"id":"./node_modules/@omnia/fx-sp/services/sharepointmediaservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["SharepointMediaService"]},"./node_modules/@omnia/fx-sp/services/SiteService.js":{"id":"./node_modules/@omnia/fx-sp/services/siteservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["SiteService"]},"./node_modules/@omnia/fx-sp/services/TermService.js":{"id":"./node_modules/@omnia/fx-sp/services/termservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["StringMatchOption","TermService"]},"./node_modules/@omnia/fx-sp/services/UserService.js":{"id":"./node_modules/@omnia/fx-sp/services/userservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["SharePointUserService"]},"./node_modules/@omnia/fx-sp/stores/index.js":{"id":"./node_modules/@omnia/fx-sp/stores/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyHelperStore","CurrentTermToken","SharePointTaxonomyGlossaryStore","SharePointUserStore","TermNavigationStore","TermStore"]},"./node_modules/@omnia/fx-sp/index.js":{"id":"eff19cad-5557-434b-a477-1e1e2a70a2a0","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyHelperStore","AppNamingPolicyValidationState","AssociatedGroup","CurrentTermToken","DefaultValueType","EnterpriseGlossaryTermInformation","EnterpriseKeywordDisplayStyles","EnterpriseKeywordsPropertySettings","FilterEngineTaxonomyValueSortOrder","LanguageService","ListsService","OmniaSharePointLocalizationNamespace","Parameters","PrincipalService","ResourceEvaluators","SPSearchFilterEngineContext","SPSearchUtils","SecurityRoles","SharePointBusinessProfileRelativePathValue","SharePointContext","SharePointFeatureConfiguration","SharePointPermissionRoles","SharePointTaxonomyGlossary","SharePointTaxonomyGlossaryStore","SharePointTermEnterpriseGlossaryStyles","SharePointTermGlossarySelectedMessage","SharePointUserProfilePersonPropertyValue","SharePointUserProfilePropertyValueBase","SharePointUserProfilePropertyValueTypes","SharePointUserProfileTermSetPropertyValue","SharePointUserProfileTextPropertyValue","SharePointUserService","SharePointUserStore","SharepointDateTimeFormatter","SharepointMediaService","SiteService","StringMatchOption","TargetingFilterStyles","TaxonomyDisplayStyles","TaxonomyFieldSettingsStyles","TaxonomyFilterEngineHelper","TermItemRendererMode","TermNavigationStore","TermOrganizationFilterByCustomProperty","TermOrganizationFilterByTermId","TermOrganizationFilterType","TermPickerStyles","TermService","TermSetPickerStyles","TermSetPropertyBindingSetting","TermSetPropertyStyles","TermStore","TermToken","TermTreeComponentBase","TermTreeStyles"]}}}
|
|
@@ -2,7 +2,7 @@ import { GuidValue, BaseFilterEngineProperty, FilterEngineContext, FilterEngineO
|
|
|
2
2
|
export interface TaxonomyFilterEngineProperty extends BaseFilterEngineProperty {
|
|
3
3
|
value: Array<GuidValue>;
|
|
4
4
|
targetingPropertyIds: Array<GuidValue>;
|
|
5
|
-
type: PropertyIndexedType.Taxonomy | PropertyIndexedType.EnterpriseKeywords;
|
|
5
|
+
type: PropertyIndexedType.Taxonomy | PropertyIndexedType.EnterpriseKeywords | PropertyIndexedType.ExtendedProperty;
|
|
6
6
|
operator: FilterEngineOperator;
|
|
7
7
|
showResultCount: boolean;
|
|
8
8
|
showZeroResultCountValues: boolean;
|
|
@@ -35,3 +35,15 @@ export interface M365GroupNamingPolicyValidationResult {
|
|
|
35
35
|
reservedAliasValidationResult: ReservedSiteAliasValidationResult;
|
|
36
36
|
isValid: boolean;
|
|
37
37
|
}
|
|
38
|
+
export interface SPSiteCollectionAdminInfo {
|
|
39
|
+
title?: string;
|
|
40
|
+
description?: string;
|
|
41
|
+
url?: string;
|
|
42
|
+
lcid?: number;
|
|
43
|
+
timezoneId?: number;
|
|
44
|
+
siteCollectionAdmins?: string[];
|
|
45
|
+
}
|
|
46
|
+
export interface EnsureSPSiteSelectedPermissionResult {
|
|
47
|
+
success: boolean;
|
|
48
|
+
message?: string;
|
|
49
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GuidValue } from "@omnia/fx-models";
|
|
1
|
+
import { GuidValue, PropertyBindingSetting } from "@omnia/fx-models";
|
|
2
2
|
export interface Term extends TermBase {
|
|
3
3
|
parentId: GuidValue;
|
|
4
4
|
termSetId: GuidValue;
|
|
@@ -76,3 +76,11 @@ export interface TermQueryResult {
|
|
|
76
76
|
export interface EnterpriseGlossaryTermCustomProperties extends TermCustomProperties {
|
|
77
77
|
omniaEnterpriseGlossaryTermData: string;
|
|
78
78
|
}
|
|
79
|
+
export declare class TermSetPropertyBindingSetting extends PropertyBindingSetting {
|
|
80
|
+
allowMultipleValues: boolean;
|
|
81
|
+
lookupValues: Array<TermLookupValue>;
|
|
82
|
+
}
|
|
83
|
+
export interface TermLookupValue {
|
|
84
|
+
id: GuidValue;
|
|
85
|
+
title: string;
|
|
86
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TermOrganizationFilterByCustomProperty = exports.TermOrganizationFilterByTermId = exports.TermOrganizationFilterType = void 0;
|
|
3
|
+
exports.TermSetPropertyBindingSetting = exports.TermOrganizationFilterByCustomProperty = exports.TermOrganizationFilterByTermId = exports.TermOrganizationFilterType = void 0;
|
|
4
|
+
const fx_models_1 = require("@omnia/fx-models");
|
|
4
5
|
var TermOrganizationFilterType;
|
|
5
6
|
(function (TermOrganizationFilterType) {
|
|
6
7
|
TermOrganizationFilterType[TermOrganizationFilterType["FilterByTermId"] = 1] = "FilterByTermId";
|
|
@@ -21,3 +22,11 @@ class TermOrganizationFilterByCustomProperty {
|
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
exports.TermOrganizationFilterByCustomProperty = TermOrganizationFilterByCustomProperty;
|
|
25
|
+
class TermSetPropertyBindingSetting extends fx_models_1.PropertyBindingSetting {
|
|
26
|
+
constructor() {
|
|
27
|
+
super(...arguments);
|
|
28
|
+
this.allowMultipleValues = false;
|
|
29
|
+
this.lookupValues = [];
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.TermSetPropertyBindingSetting = TermSetPropertyBindingSetting;
|
|
@@ -3,6 +3,7 @@ import { types } from "typestyle";
|
|
|
3
3
|
export declare const TermSetPropertyStyles: {
|
|
4
4
|
itemwrapper?: (theming: ITheming) => types.NestedCSSProperties;
|
|
5
5
|
chip?: types.NestedCSSProperties;
|
|
6
|
-
itemHeader: types.NestedCSSProperties;
|
|
6
|
+
itemHeader(inline?: boolean): types.NestedCSSProperties;
|
|
7
7
|
item: types.NestedCSSProperties;
|
|
8
|
+
inline: types.NestedCSSProperties;
|
|
8
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpStatusCode } from "../../models";
|
|
2
|
-
import { M365GroupNamingPolicyValidationRequest, M365GroupNamingPolicyValidationResult, SharePointPageContext, SiteAliasValidationRequest, SiteAliasValidationResult } from "../models";
|
|
2
|
+
import { M365GroupNamingPolicyValidationRequest, M365GroupNamingPolicyValidationResult, EnsureSPSiteSelectedPermissionResult, SharePointPageContext, SiteAliasValidationRequest, SiteAliasValidationResult } from "../models";
|
|
3
3
|
export declare class SiteService {
|
|
4
4
|
private omniaContext;
|
|
5
5
|
private httpClient;
|
|
@@ -8,4 +8,5 @@ export declare class SiteService {
|
|
|
8
8
|
checkSiteCollectionStatus: (siteUrl: string) => Promise<HttpStatusCode>;
|
|
9
9
|
validateSiteAlias: (request: SiteAliasValidationRequest) => Promise<SiteAliasValidationResult>;
|
|
10
10
|
validateM365GroupNamingPolicy: (request: M365GroupNamingPolicyValidationRequest) => Promise<M365GroupNamingPolicyValidationResult>;
|
|
11
|
+
ensureSiteSelectedPermission: (spUrl: string) => Promise<EnsureSPSiteSelectedPermissionResult>;
|
|
11
12
|
}
|
|
@@ -10,6 +10,11 @@ export interface FeatureLocalization {
|
|
|
10
10
|
Description: string;
|
|
11
11
|
Title: string;
|
|
12
12
|
};
|
|
13
|
+
ProvisionOmniaSearchUserData: {
|
|
14
|
+
Title: string;
|
|
15
|
+
Description: string;
|
|
16
|
+
Category: string;
|
|
17
|
+
};
|
|
13
18
|
};
|
|
14
19
|
}
|
|
15
20
|
export declare const OmniaSharePointLocalizationNamespace = "Omnia.SharePoint";
|
package/internal-do-not-import-from-here/ux/filterengine/api/ExtendedTaxonomyRegistration.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -21,5 +21,6 @@ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").
|
|
|
21
21
|
ariaChecked: boolean;
|
|
22
22
|
filterResultCount: number;
|
|
23
23
|
operator: FilterEngineOperator;
|
|
24
|
+
maxWidth: string;
|
|
24
25
|
}, "termSetId" | "term" | "toggleTermSelecting">, any, any, any>;
|
|
25
26
|
export default _default;
|
|
@@ -9,5 +9,6 @@ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").
|
|
|
9
9
|
filterOptions: (term: Term) => FilterOption;
|
|
10
10
|
handleAfterLoading: () => void;
|
|
11
11
|
handleClearFilterValues: () => void;
|
|
12
|
+
isKeywordSearching: boolean;
|
|
12
13
|
}, "termSetId" | "typedHandler" | "handleClearFilterValues">, any, any, any>;
|
|
13
14
|
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EnterprisePropertyDefinition } from "@omnia/fx-models";
|
|
2
|
+
import { TaxonomyFilterEngineProperty } from "../../../..";
|
|
3
|
+
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
|
|
4
|
+
property: TaxonomyFilterEngineProperty;
|
|
5
|
+
updateData: () => void;
|
|
6
|
+
propertyDefinitionAsHash: {
|
|
7
|
+
[internalName: string]: EnterprisePropertyDefinition;
|
|
8
|
+
};
|
|
9
|
+
}, "property" | "updateData" | "propertyDefinitionAsHash">, any, any, any>> & {
|
|
10
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
11
|
+
property: TaxonomyFilterEngineProperty;
|
|
12
|
+
updateData: () => void;
|
|
13
|
+
propertyDefinitionAsHash: {
|
|
14
|
+
[internalName: string]: EnterprisePropertyDefinition;
|
|
15
|
+
};
|
|
16
|
+
}, "property" | "updateData" | "propertyDefinitionAsHash">;
|
|
17
|
+
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
18
|
+
property: TaxonomyFilterEngineProperty;
|
|
19
|
+
updateData: () => void;
|
|
20
|
+
propertyDefinitionAsHash: {
|
|
21
|
+
[internalName: string]: EnterprisePropertyDefinition;
|
|
22
|
+
};
|
|
23
|
+
}, "property" | "updateData" | "propertyDefinitionAsHash">, any, any, any>> & {
|
|
24
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
25
|
+
property: TaxonomyFilterEngineProperty;
|
|
26
|
+
updateData: () => void;
|
|
27
|
+
propertyDefinitionAsHash: {
|
|
28
|
+
[internalName: string]: EnterprisePropertyDefinition;
|
|
29
|
+
};
|
|
30
|
+
}, "property" | "updateData" | "propertyDefinitionAsHash">;
|
|
31
|
+
});
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseFilterEnginePropertyOutput, EnterprisePropertyDefinition } from "@omnia/fx-models";
|
|
2
|
+
import { TaxonomyFilterEngineProperty } from "internal/fx/sp";
|
|
3
|
+
import TaxonomyFilterEngineHandler from "./TaxonomyFilterEngineHandler";
|
|
4
|
+
export default class ExtendedTaxonomyFilterEngineHandler extends TaxonomyFilterEngineHandler {
|
|
5
|
+
readonly termPrefixes: string[];
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
constructor(property: TaxonomyFilterEngineProperty, routerDefaultValue: BaseFilterEnginePropertyOutput, isRefinable: boolean, hasFilterState: boolean, enterpriseProperty: EnterprisePropertyDefinition);
|
|
10
|
+
}
|
package/internal-do-not-import-from-here/ux/filterengine/handler/TaxonomyFilterEngineHandler.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MessageBusTopicMediator } from "@omnia/fx";
|
|
1
2
|
import { BaseFilterEnginePropertyOutput, EnterprisePropertyDefinition, FilterEngineRefinementOutput, GuidValue, ITypedFilterEngineHandler, PropertyIndexedType, Refinement, Refiner } from "@omnia/fx-models";
|
|
2
3
|
import { Store } from "@omnia/../../fx/stores";
|
|
3
4
|
import { TaxonomyFilterEngineProperty } from "internal/fx/sp";
|
|
@@ -14,7 +15,7 @@ export default class TaxonomyFilterEngineHandler extends Store implements ITyped
|
|
|
14
15
|
private customSortOrderHash;
|
|
15
16
|
private latestRefinements;
|
|
16
17
|
private selectedRefinements;
|
|
17
|
-
|
|
18
|
+
protected mediator: MessageBusTopicMediator<void>;
|
|
18
19
|
private refinerName;
|
|
19
20
|
private isRefinable;
|
|
20
21
|
/**
|
|
@@ -4,10 +4,10 @@ export declare class SPSearchUtils {
|
|
|
4
4
|
private enterprisePropertyStore;
|
|
5
5
|
private userIdentityStore;
|
|
6
6
|
private omniaContext;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
private termStore;
|
|
8
|
+
mergeFilter: (query: FilterQuery, filterEngineHandler: FilterEngineHandler, termPrefix?: string, includingTermLabel?: boolean) => FilterEngineSPSearchOutput;
|
|
9
|
+
generateQueryText: (typedOutput: TypedFilterEnginePropertyOutput, level: number, filterEngineHandler: FilterEngineHandler, termPrefix: string, includingTermLabel: boolean) => string;
|
|
9
10
|
generateRefinerFilter: (propertyOutput: RefinerFilterEnginePropertyOutput) => string;
|
|
10
|
-
private buildRefinerFilter;
|
|
11
11
|
getEnterprisePropertyDefinition: (internalName: string) => import("@omnia/fx-models").EnterprisePropertyDefinition;
|
|
12
12
|
getQueryableManagedProperty: (internalName: string) => string;
|
|
13
13
|
getRefinableManagedProperty: (propertyName: string) => string;
|
package/internal-do-not-import-from-here/ux/filterengine/shared/TaxonomyFilterEngineHelper.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FilterEngineDefaultPosition, RollupFilter } from "@omnia/fx/models";
|
|
2
|
+
import { TaxonomyFilterEngineProperty } from "internal/fx/sp/models";
|
|
3
|
+
export declare class TaxonomyFilterEngineHelper {
|
|
4
|
+
static migrateTaxonomyProperty(rollupFilter: RollupFilter, defaultPosition: FilterEngineDefaultPosition): TaxonomyFilterEngineProperty;
|
|
5
|
+
}
|
|
@@ -2,5 +2,4 @@ import { DataSourceProperty, PropertyDataSourceId } from "@omnia/fx-models";
|
|
|
2
2
|
export declare class SharepointProperty extends DataSourceProperty {
|
|
3
3
|
readonly internalName: string;
|
|
4
4
|
constructor(dataSourceId: PropertyDataSourceId, internalName: string);
|
|
5
|
-
isEqual: (property: SharepointProperty) => boolean;
|
|
6
5
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx-sp",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.5.
|
|
4
|
+
"version": "7.5.4",
|
|
5
5
|
"description": "Provide Omnia Fx Sharepoint Stuffs.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
],
|
|
20
20
|
"author": "Precio Fishbone",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@omnia/fx": "7.5.
|
|
23
|
-
"@omnia/fx-sp-models": "7.5.
|
|
22
|
+
"@omnia/fx": "7.5.4",
|
|
23
|
+
"@omnia/fx-sp-models": "7.5.4"
|
|
24
24
|
},
|
|
25
25
|
"typings": "./index.d.ts",
|
|
26
26
|
"bugs": {
|