@omnia/fx-sp 8.0.191-dev → 8.0.193-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.
- package/internal-do-not-import-from-here/models/Contexts.d.ts +2 -2
- package/internal-do-not-import-from-here/models/Feature.d.ts +2 -2
- package/internal-do-not-import-from-here/models/Feature.js +2 -1
- package/internal-do-not-import-from-here/models/FilterEngine.d.ts +7 -7
- package/internal-do-not-import-from-here/models/Library.d.ts +2 -2
- package/internal-do-not-import-from-here/models/ReservedSiteAliasValidation.d.ts +2 -2
- package/internal-do-not-import-from-here/models/SharePointUserProfilePropertyValue.d.ts +3 -3
- package/internal-do-not-import-from-here/models/TargetingFilterProperty.d.ts +3 -3
- package/internal-do-not-import-from-here/models/TaxonomyGlossary.d.ts +4 -4
- package/internal-do-not-import-from-here/models/Term.d.ts +8 -8
- package/internal-do-not-import-from-here/models/TermGlossaryMappingData.d.ts +2 -2
- package/internal-do-not-import-from-here/services/ListsService.d.ts +3 -3
- package/internal-do-not-import-from-here/services/TermService.d.ts +10 -10
- package/internal-do-not-import-from-here/stores/TermNavigationStore.d.ts +3 -2
- package/internal-do-not-import-from-here/stores/TermStore.d.ts +20 -20
- package/internal-do-not-import-from-here/ux/appwithspaliasinput/AppWithSharePointAliasInput.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/appwithspaliasinput/IAppWithSharePointAliasInput.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/enterpriseproperties/display/enterprisekeywordsfield/EnterpriseKeywordsFieldDisplay.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/enterpriseproperties/display/taxonomyfield/ITaxonomyFieldDisplay.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/enterpriseproperties/display/taxonomyfield/TaxonomyFieldDisplay.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/enterprisekeywordsfield/EnterpriseKeywordsFieldEdit.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/taxonomyfield/TaxonomyFieldEdit.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/enterpriseproperties/settings/taxonomyfield/TaxonomyFieldSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/TermPickerTree.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/flat/FlatTermNode.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/flat/IconButtons.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/flat/TermPickerChips.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/flat/TermPickerFlatTree.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/structured/StructuredTermNode.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/structured/TermPickerStructuredTree.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/filterengine/handler/TaxonomyFilterEngineHandler.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/properties/term-set/TermSetDisplay.d.ts +21 -21
- package/internal-do-not-import-from-here/ux/termitem/ISharePointTermItemComponent.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/termitem/SharePointTermItemComponent.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/termpicker/ITermPicker.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/termpicker/ITermPickerSearch.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/termpicker/TermPicker.d.ts +28 -28
- package/internal-do-not-import-from-here/ux/termpicker/TermPickerSearch.d.ts +41 -41
- package/internal-do-not-import-from-here/ux/termpicker/TermPickerTree.d.ts +26 -26
- package/internal-do-not-import-from-here/ux/termsetpicker/ITermSetPicker.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/termsetpicker/TermSetPicker.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/user/UserPropertiesBySharePointProvider.d.ts +2 -2
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OmniaBootstrapData } from "@omnia/fx-models";
|
|
2
|
-
import {
|
|
2
|
+
import { guid } from "@omnia/fx-models";
|
|
3
3
|
export interface OmniaSharePointBootstrapData extends OmniaBootstrapData {
|
|
4
4
|
sharepoint: {
|
|
5
5
|
adminUrl: string;
|
|
@@ -24,7 +24,7 @@ export interface SharePointWebContext {
|
|
|
24
24
|
serverRelativeUrl: string;
|
|
25
25
|
language: number;
|
|
26
26
|
templateName: string;
|
|
27
|
-
id:
|
|
27
|
+
id: guid;
|
|
28
28
|
}
|
|
29
29
|
export interface SharePointEnvironmentContext {
|
|
30
30
|
authorityUrl?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { guid, IFeatureConfiguration } from "@omnia/fx-models";
|
|
2
2
|
export declare class SharePointFeatureConfiguration implements IFeatureConfiguration {
|
|
3
|
-
readonly typeId:
|
|
3
|
+
readonly typeId: guid;
|
|
4
4
|
constructor();
|
|
5
5
|
activateSiteSelectedPermissions: boolean;
|
|
6
6
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SharePointFeatureConfiguration = void 0;
|
|
4
|
+
const fx_models_1 = require("@omnia/fx-models");
|
|
4
5
|
class SharePointFeatureConfiguration {
|
|
5
6
|
constructor() {
|
|
6
|
-
this.typeId = "f4d7b125-d9db-4ee3-9165-b6e12ec0d0ec";
|
|
7
|
+
this.typeId = (0, fx_models_1.guid)("f4d7b125-d9db-4ee3-9165-b6e12ec0d0ec");
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
10
|
exports.SharePointFeatureConfiguration = SharePointFeatureConfiguration;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { guid, BaseFilterEngineProperty, FilterEngineContext, FilterEngineOperator, PropertyIndexedType, TypedFilterEnginePropertyOutput } from "@omnia/fx-models";
|
|
2
2
|
export interface TaxonomyFilterEngineProperty extends BaseFilterEngineProperty {
|
|
3
|
-
value: Array<
|
|
4
|
-
targetingPropertyIds: Array<
|
|
3
|
+
value: Array<guid>;
|
|
4
|
+
targetingPropertyIds: Array<guid>;
|
|
5
5
|
type: PropertyIndexedType.Taxonomy | PropertyIndexedType.EnterpriseKeywords | PropertyIndexedType.ExtendedProperty;
|
|
6
6
|
operator: FilterEngineOperator;
|
|
7
7
|
showResultCount: boolean;
|
|
@@ -27,13 +27,13 @@ export declare enum DefaultValueType {
|
|
|
27
27
|
}
|
|
28
28
|
export interface TaxonomyFilterEnginePropertyOutput extends TypedFilterEnginePropertyOutput {
|
|
29
29
|
type: PropertyIndexedType.EnterpriseKeywords | PropertyIndexedType.Taxonomy;
|
|
30
|
-
value: Array<
|
|
30
|
+
value: Array<guid>;
|
|
31
31
|
sub: TaxonomyFilterEnginePropertyOutput[];
|
|
32
32
|
}
|
|
33
33
|
export declare abstract class SPSearchFilterEngineContext extends FilterEngineContext {
|
|
34
|
-
componentId:
|
|
35
|
-
readonly abstract uniqueId:
|
|
36
|
-
constructor(componentId:
|
|
34
|
+
componentId: guid;
|
|
35
|
+
readonly abstract uniqueId: guid;
|
|
36
|
+
constructor(componentId: guid);
|
|
37
37
|
isRefinable(prop: BaseFilterEngineProperty): boolean;
|
|
38
38
|
getAvailableProperties(): import("@omnia/fx-models").EnterprisePropertyDefinition[];
|
|
39
39
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { guid } from "@omnia/fx-models";
|
|
2
2
|
export interface LibraryResolveResult {
|
|
3
3
|
resolved: boolean;
|
|
4
4
|
libraryId: string;
|
|
5
5
|
libraryTitle?: string;
|
|
6
6
|
libraryUrl: string;
|
|
7
|
-
childFolderUniqueId?:
|
|
7
|
+
childFolderUniqueId?: guid;
|
|
8
8
|
childFolderTitle?: string;
|
|
9
9
|
childFolderUrl?: string;
|
|
10
10
|
parentWebTitle?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AppInstance,
|
|
1
|
+
import { AppInstance, guid } from "@omnia/fx-models";
|
|
2
2
|
export interface ReservedSiteAliasValidationResult {
|
|
3
3
|
isReserved: boolean;
|
|
4
4
|
appInstance: AppInstance;
|
|
5
5
|
}
|
|
6
6
|
export interface ReservedSiteAliasValidationOption {
|
|
7
7
|
enable: boolean;
|
|
8
|
-
ignoreFromAppId?:
|
|
8
|
+
ignoreFromAppId?: guid;
|
|
9
9
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { guid, UserIdentity } from "@omnia/fx-models";
|
|
2
2
|
export declare enum SharePointUserProfilePropertyValueTypes {
|
|
3
3
|
Text = 0,
|
|
4
4
|
TermSet = 1,
|
|
@@ -13,10 +13,10 @@ export declare class SharePointUserProfileTextPropertyValue extends SharePointUs
|
|
|
13
13
|
constructor(texts: string[]);
|
|
14
14
|
}
|
|
15
15
|
export declare class SharePointUserProfileTermSetPropertyValue extends SharePointUserProfilePropertyValueBase {
|
|
16
|
-
termIds:
|
|
16
|
+
termIds: guid[];
|
|
17
17
|
multiple: boolean;
|
|
18
18
|
type: SharePointUserProfilePropertyValueTypes;
|
|
19
|
-
constructor(termIds:
|
|
19
|
+
constructor(termIds: guid[], multiple?: boolean);
|
|
20
20
|
}
|
|
21
21
|
export declare class SharePointUserProfilePersonPropertyValue extends SharePointUserProfilePropertyValueBase {
|
|
22
22
|
user: UserIdentity;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { guid } from "@omnia/fx-models";
|
|
2
2
|
export interface EnterprisePropertiesSettings {
|
|
3
|
-
termIds: Array<
|
|
3
|
+
termIds: Array<guid>;
|
|
4
4
|
includeChildTerms: boolean;
|
|
5
5
|
languages: string[];
|
|
6
|
-
targetingPropertyIds: Array<
|
|
6
|
+
targetingPropertyIds: Array<guid>;
|
|
7
7
|
}
|
|
8
8
|
export interface TargetingFilterProperty {
|
|
9
9
|
enterprisePropertiesSettings: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EnterpriseGlossaryInformationSourceSettings, EnterpriseGlossary,
|
|
1
|
+
import { EnterpriseGlossaryInformationSourceSettings, EnterpriseGlossary, guid, TermUISettings } from "@omnia/fx-models";
|
|
2
2
|
import { Term } from "./Term";
|
|
3
3
|
export interface ITermGlossaryCustomProperty {
|
|
4
4
|
getPropertyValue: (propertyName: string) => string;
|
|
@@ -13,9 +13,9 @@ export interface EnterpriseGlossaryTermData {
|
|
|
13
13
|
mappingPropertyNames?: Array<string>;
|
|
14
14
|
}
|
|
15
15
|
export declare class SharePointTaxonomyGlossary extends EnterpriseGlossary {
|
|
16
|
-
readonly termSetId:
|
|
17
|
-
readonly type:
|
|
18
|
-
constructor(termSetId:
|
|
16
|
+
readonly termSetId: guid;
|
|
17
|
+
readonly type: guid;
|
|
18
|
+
constructor(termSetId: guid, settings: EnterpriseGlossaryInformationSourceSettings);
|
|
19
19
|
}
|
|
20
20
|
export declare class SharePointTermGlossarySelectedMessage<T extends EnterpriseGlossaryInformationSourceSettings = EnterpriseGlossaryInformationSourceSettings> {
|
|
21
21
|
readonly term: Term;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { guid, PropertyBindingSetting } from "@omnia/fx-models";
|
|
2
2
|
export interface Term extends TermBase {
|
|
3
|
-
parentId:
|
|
4
|
-
termSetId:
|
|
3
|
+
parentId: guid;
|
|
4
|
+
termSetId: guid;
|
|
5
5
|
isAvailableForTagging: boolean;
|
|
6
6
|
termsCount: number;
|
|
7
7
|
pathOfTerm: string;
|
|
@@ -22,7 +22,7 @@ export interface TermSetWithTerms extends TermSet {
|
|
|
22
22
|
}
|
|
23
23
|
export interface TermBase {
|
|
24
24
|
name: string;
|
|
25
|
-
id:
|
|
25
|
+
id: guid;
|
|
26
26
|
labels?: {
|
|
27
27
|
[lcid: string]: TermLabel;
|
|
28
28
|
};
|
|
@@ -52,9 +52,9 @@ export interface TermOrganizationFilterBase {
|
|
|
52
52
|
type: TermOrganizationFilterType;
|
|
53
53
|
}
|
|
54
54
|
export declare class TermOrganizationFilterByTermId implements TermOrganizationFilterBase {
|
|
55
|
-
readonly termId:
|
|
55
|
+
readonly termId: guid;
|
|
56
56
|
type: TermOrganizationFilterType;
|
|
57
|
-
constructor(termId:
|
|
57
|
+
constructor(termId: guid);
|
|
58
58
|
}
|
|
59
59
|
export declare class TermOrganizationFilterByCustomProperty implements TermOrganizationFilterBase {
|
|
60
60
|
readonly name: string;
|
|
@@ -65,7 +65,7 @@ export declare class TermOrganizationFilterByCustomProperty implements TermOrgan
|
|
|
65
65
|
export interface TermQuery {
|
|
66
66
|
numberOfParentLevels: number;
|
|
67
67
|
numberOfChildrensLimit: number;
|
|
68
|
-
termSetId:
|
|
68
|
+
termSetId: guid;
|
|
69
69
|
filter: TermOrganizationFilterBase;
|
|
70
70
|
}
|
|
71
71
|
export interface TermQueryResult {
|
|
@@ -81,6 +81,6 @@ export declare class TermSetPropertyBindingSetting extends PropertyBindingSettin
|
|
|
81
81
|
lookupValues: Array<TermLookupValue>;
|
|
82
82
|
}
|
|
83
83
|
export interface TermLookupValue {
|
|
84
|
-
id:
|
|
84
|
+
id: guid;
|
|
85
85
|
title: string;
|
|
86
86
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EnterpriseGlossaryMappingData,
|
|
1
|
+
import { EnterpriseGlossaryMappingData, guid } from "@omnia/fx-models";
|
|
2
2
|
export interface TermGlossaryMappingData extends EnterpriseGlossaryMappingData {
|
|
3
|
-
termSetId:
|
|
3
|
+
termSetId: guid;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { guid } from "../../models";
|
|
2
2
|
import { LibraryResolveResult, CentralImageLocationResult, OrderByField } from "../models";
|
|
3
3
|
export declare class ListsService {
|
|
4
4
|
private omniaContext;
|
|
@@ -6,6 +6,6 @@ export declare class ListsService {
|
|
|
6
6
|
constructor();
|
|
7
7
|
resolveLibraryUrl: (spSiteUrl: string, libraryUrl: string) => Promise<LibraryResolveResult>;
|
|
8
8
|
resolveLibraryFromAbsoluteUrl: (absoluteUrl: string) => Promise<LibraryResolveResult>;
|
|
9
|
-
downloadImage: (siteUrl: string, listId:
|
|
10
|
-
getCentralImageLocationResult: (siteUrl: string, listId:
|
|
9
|
+
downloadImage: (siteUrl: string, listId: guid, id: number) => Promise<string>;
|
|
10
|
+
getCentralImageLocationResult: (siteUrl: string, listId: guid, textSearch: string, maxThumbnailSize: number, folderServerRelativeUrl?: string, skipId?: number, limit?: number, pagingInfo?: string, orderByFields?: Array<OrderByField>, includeVideos?: boolean) => Promise<CentralImageLocationResult>;
|
|
11
11
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { guid, Language } from "../../models";
|
|
2
2
|
import { Term, TermSet, TermGroupWithTermSets, TermSetWithTerms, TermQuery, TermQueryResult } from "../models";
|
|
3
3
|
export declare enum StringMatchOption {
|
|
4
4
|
StartsWith = 0,
|
|
@@ -11,17 +11,17 @@ export declare class TermService {
|
|
|
11
11
|
getTermByQuery: (query: TermQuery) => Promise<TermQueryResult>;
|
|
12
12
|
getTermStoreWorkingLanguages: () => Promise<Language[]>;
|
|
13
13
|
getTermStoreDefaultLanguage: () => Promise<number>;
|
|
14
|
-
getTermSetWithTermsById: (termSetId:
|
|
15
|
-
getTermSetById: (termSetId:
|
|
14
|
+
getTermSetWithTermsById: (termSetId: guid) => Promise<TermSetWithTerms>;
|
|
15
|
+
getTermSetById: (termSetId: guid) => Promise<TermSet>;
|
|
16
16
|
getKeywordTermSet: () => Promise<TermSet>;
|
|
17
|
-
getByIds: (termIds: Array<
|
|
18
|
-
getByIdsInTermSet: (termSetId:
|
|
19
|
-
getChildTermsInTermSet: (termSetId:
|
|
20
|
-
addTerm: (termSetId:
|
|
21
|
-
searchTerm: (termSetId:
|
|
17
|
+
getByIds: (termIds: Array<guid>) => Promise<Term[]>;
|
|
18
|
+
getByIdsInTermSet: (termSetId: guid, termIds: Array<guid>) => Promise<Term[]>;
|
|
19
|
+
getChildTermsInTermSet: (termSetId: guid, termId?: guid) => Promise<Term[]>;
|
|
20
|
+
addTerm: (termSetId: guid, termName: string, parentTermId: guid) => Promise<Term>;
|
|
21
|
+
searchTerm: (termSetId: guid, searchText: string, lcid: number) => Promise<Term[]>;
|
|
22
22
|
getAllTermGroupsWithTermSets: () => Promise<TermGroupWithTermSets<TermSet>[]>;
|
|
23
|
-
addOrUpdateTermCustomProperties: (termId:
|
|
23
|
+
addOrUpdateTermCustomProperties: (termId: guid, customProperties: {
|
|
24
24
|
[name: string]: string;
|
|
25
25
|
}) => Promise<Term>;
|
|
26
|
-
removeTermCustomProperties: (termId:
|
|
26
|
+
removeTermCustomProperties: (termId: guid, propertyNames: Array<string>) => Promise<Term>;
|
|
27
27
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { guid } from "@omnia/fx-models";
|
|
1
2
|
import { Store } from "@omnia/../../fx/stores";
|
|
2
3
|
import { Term } from "../models";
|
|
3
4
|
export declare const CurrentTermToken: {
|
|
@@ -9,10 +10,10 @@ export declare class TermNavigationStore extends Store {
|
|
|
9
10
|
getters: {
|
|
10
11
|
currentTerms: () => {
|
|
11
12
|
value: {
|
|
12
|
-
[termSetId:
|
|
13
|
+
[termSetId: guid]: Term;
|
|
13
14
|
};
|
|
14
15
|
onMutated: (fn: (obj: import("@omnia/fx-models").StateMutation<{
|
|
15
|
-
[termSetId:
|
|
16
|
+
[termSetId: guid]: Term;
|
|
16
17
|
}>) => void) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
|
17
18
|
};
|
|
18
19
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { guid, Language } from "../../models";
|
|
2
2
|
import { Store, MultilingualStore } from "../../../fx/stores";
|
|
3
3
|
import { TermService } from "../services/TermService";
|
|
4
4
|
import { Term, TermSet, TermGroupWithTermSets, TermQuery, TermQueryResult } from "../models";
|
|
@@ -9,7 +9,7 @@ export interface TermSetDefinition extends TermSet {
|
|
|
9
9
|
}
|
|
10
10
|
export interface TermSetEntity {
|
|
11
11
|
terms?: {
|
|
12
|
-
[termId:
|
|
12
|
+
[termId: guid]: TermData;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
export declare class TermStore extends Store {
|
|
@@ -32,13 +32,13 @@ export declare class TermStore extends Store {
|
|
|
32
32
|
getters: {
|
|
33
33
|
getTermStoreWorkingLanguages: () => Language[];
|
|
34
34
|
getOmniaTenantLanguageNotWorkingInTermStore: () => Language[];
|
|
35
|
-
getTermSetById: (termSetId:
|
|
36
|
-
getAllTerms: (termSetId:
|
|
37
|
-
getTermById: (termSetId:
|
|
38
|
-
getTermByIds: (termSetId:
|
|
39
|
-
getPathOfTerm: (lcid: number, termSetId:
|
|
40
|
-
getChildrenTerms: (termSetId:
|
|
41
|
-
getDisplayTermByLanguage: (lcid: number, termSetId:
|
|
35
|
+
getTermSetById: (termSetId: guid) => TermSetDefinition;
|
|
36
|
+
getAllTerms: (termSetId: guid, lcid?: number) => TermData[];
|
|
37
|
+
getTermById: (termSetId: guid, termId: guid, lcid?: number) => TermData;
|
|
38
|
+
getTermByIds: (termSetId: guid, termIds: Array<guid>, lcid?: number) => Array<TermData>;
|
|
39
|
+
getPathOfTerm: (lcid: number, termSetId: guid, term: Term) => string;
|
|
40
|
+
getChildrenTerms: (termSetId: guid, termId?: guid, lcid?: number) => Term[];
|
|
41
|
+
getDisplayTermByLanguage: (lcid: number, termSetId: guid, termId: guid) => string;
|
|
42
42
|
getTermDisplayTitle: (term: Term, languageName: string, lcid?: number) => string;
|
|
43
43
|
getTermGroupsWithTermSets: (lcid?: number) => TermGroupWithTermSets<TermSetDefinition>[];
|
|
44
44
|
getDisplayLCID: () => number;
|
|
@@ -51,23 +51,23 @@ export declare class TermStore extends Store {
|
|
|
51
51
|
actions: {
|
|
52
52
|
ensureTermStoreWorkingLanguages: import("../../../fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
53
53
|
ensurekeywordTermSet: import("../../../fx/stores").StoreAction<unknown, () => void, (result: TermSet) => void, (failureReason: any) => void, () => Promise<TermSet>>;
|
|
54
|
-
ensureTermSet: import("../../../fx/stores").StoreAction<unknown, (termSetId:
|
|
55
|
-
ensureTermSetWithAllTerms: import("../../../fx/stores").StoreAction<unknown, (termSetId:
|
|
56
|
-
ensureTermByIds: import("../../../fx/stores").StoreAction<unknown, (termSetId:
|
|
57
|
-
addTerm: import("../../../fx/stores").StoreAction<unknown, (termSetId:
|
|
58
|
-
searchTerm: import("../../../fx/stores").StoreAction<unknown, (termSetId:
|
|
59
|
-
ensureChildTerms: import("../../../fx/stores").StoreAction<unknown, (termSetId:
|
|
54
|
+
ensureTermSet: import("../../../fx/stores").StoreAction<unknown, (termSetId: guid) => void, (result: unknown, termSetId: guid) => void, (failureReason: any, termSetId: guid) => void, (termSetId: guid) => Promise<unknown>>;
|
|
55
|
+
ensureTermSetWithAllTerms: import("../../../fx/stores").StoreAction<unknown, (termSetId: guid) => void, (result: void, termSetId: guid) => void, (failureReason: any, termSetId: guid) => void, (termSetId: guid) => Promise<void>>;
|
|
56
|
+
ensureTermByIds: import("../../../fx/stores").StoreAction<unknown, (termSetId: guid, termIds: guid[], lcid?: number) => void, (result: Term[], termSetId: guid, termIds: guid[], lcid?: number) => void, (failureReason: any, termSetId: guid, termIds: guid[], lcid?: number) => void, (termSetId: guid, termIds: Array<guid>, lcid?: number) => Promise<Term[]>>;
|
|
57
|
+
addTerm: import("../../../fx/stores").StoreAction<unknown, (termSetId: guid, termName: string, parentTermId: guid) => void, (result: unknown, termSetId: guid, termName: string, parentTermId: guid) => void, (failureReason: any, termSetId: guid, termName: string, parentTermId: guid) => void, (termSetId: guid, termName: string, parentTermId: guid) => Promise<unknown>>;
|
|
58
|
+
searchTerm: import("../../../fx/stores").StoreAction<unknown, (termSetId: guid, searchText: string, lcid: number) => void, (result: unknown, termSetId: guid, searchText: string, lcid: number) => void, (failureReason: any, termSetId: guid, searchText: string, lcid: number) => void, (termSetId: guid, searchText: string, lcid: number) => Promise<unknown>>;
|
|
59
|
+
ensureChildTerms: import("../../../fx/stores").StoreAction<unknown, (termSetId: guid, id?: guid) => void, (result: Term[], termSetId: guid, id?: guid) => void, (failureReason: any, termSetId: guid, id?: guid) => void, (termSetId: guid, id?: guid) => Promise<Term[]>>;
|
|
60
60
|
ensureAllTermGroups: import("../../../fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
61
|
-
addOrUpdateTermCustomProperties: import("../../../fx/stores").StoreAction<unknown, (termId:
|
|
61
|
+
addOrUpdateTermCustomProperties: import("../../../fx/stores").StoreAction<unknown, (termId: guid, customProperties: {
|
|
62
62
|
[name: string]: string;
|
|
63
|
-
}) => void, (result: void, termId:
|
|
63
|
+
}) => void, (result: void, termId: guid, customProperties: {
|
|
64
64
|
[name: string]: string;
|
|
65
|
-
}) => void, (failureReason: any, termId:
|
|
65
|
+
}) => void, (failureReason: any, termId: guid, customProperties: {
|
|
66
66
|
[name: string]: string;
|
|
67
|
-
}) => void, (termId:
|
|
67
|
+
}) => void, (termId: guid, customProperties: {
|
|
68
68
|
[name: string]: string;
|
|
69
69
|
}) => Promise<void>>;
|
|
70
|
-
removeTermCustomProperties: import("../../../fx/stores").StoreAction<unknown, (termId:
|
|
70
|
+
removeTermCustomProperties: import("../../../fx/stores").StoreAction<unknown, (termId: guid, propertyNames: string[]) => void, (result: void, termId: guid, propertyNames: string[]) => void, (failureReason: any, termId: guid, propertyNames: string[]) => void, (termId: guid, propertyNames: Array<string>) => Promise<void>>;
|
|
71
71
|
getTermByQuery: import("../../../fx/stores").StoreAction<unknown, (query: TermQuery) => void, (result: TermQueryResult, query: TermQuery) => void, (failureReason: any, query: TermQuery) => void, (query: TermQuery) => Promise<TermQueryResult>>;
|
|
72
72
|
};
|
|
73
73
|
onActivated(): void;
|
package/internal-do-not-import-from-here/ux/appwithspaliasinput/AppWithSharePointAliasInput.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { guid } from "@omnia/fx-models";
|
|
2
2
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
3
3
|
alias: string;
|
|
4
4
|
} & {
|
|
@@ -8,7 +8,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
|
8
8
|
} & {
|
|
9
9
|
omniaRoutePrefix?: string;
|
|
10
10
|
} & {
|
|
11
|
-
ignoreFromAppId?:
|
|
11
|
+
ignoreFromAppId?: guid;
|
|
12
12
|
}>) => {
|
|
13
13
|
$: import("vue").ComponentInternalInstance;
|
|
14
14
|
$data: {};
|
|
@@ -56,7 +56,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
|
56
56
|
} & {
|
|
57
57
|
omniaRoutePrefix?: string;
|
|
58
58
|
} & {
|
|
59
|
-
ignoreFromAppId?:
|
|
59
|
+
ignoreFromAppId?: guid;
|
|
60
60
|
}> & {
|
|
61
61
|
"v-slots"?: {
|
|
62
62
|
default?: import("vue").Slot;
|
package/internal-do-not-import-from-here/ux/appwithspaliasinput/IAppWithSharePointAliasInput.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { guid } from "../../../shared/models";
|
|
2
2
|
export interface IAppWithSharePointAliasInput {
|
|
3
3
|
[name: string]: any;
|
|
4
4
|
alias: string;
|
|
5
5
|
useOmniaRootRoute: boolean;
|
|
6
6
|
onChanged: (alias: string, useOmniRootRoute: boolean) => void;
|
|
7
7
|
omniaRoutePrefix: string;
|
|
8
|
-
ignoreFromAppId?:
|
|
8
|
+
ignoreFromAppId?: guid;
|
|
9
9
|
dark?: boolean;
|
|
10
10
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Term, EnterpriseKeywordDisplayStyles, SharePointTaxonomyGlossaryStore } from "../../../../";
|
|
2
2
|
import { IEnterpriseKeywordsFieldDisplay } from "./IEnterpriseKeywordsFieldDisplay";
|
|
3
|
-
import { EnterprisePropertyDefinition, EnterprisePropertiesBlockTaxonoyPropertiesSettings } from "../../../../../models";
|
|
3
|
+
import { EnterprisePropertyDefinition, EnterprisePropertiesBlockTaxonoyPropertiesSettings, guid } from "../../../../../models";
|
|
4
4
|
import { IWebComponentInstance } from "../../../../../runtime/core/InternalWebComponentBootstrapper";
|
|
5
5
|
import "./EnterpriseKeywordsFieldDisplay.css";
|
|
6
6
|
import { VueComponentBase } from "../../../../../ux";
|
|
7
7
|
export declare class EnterpriseKeywordsFieldDisplayComponent extends VueComponentBase implements IWebComponentInstance, IEnterpriseKeywordsFieldDisplay {
|
|
8
|
-
valueBind: Array<
|
|
8
|
+
valueBind: Array<guid>;
|
|
9
9
|
settings: EnterprisePropertiesBlockTaxonoyPropertiesSettings;
|
|
10
10
|
property: EnterprisePropertyDefinition;
|
|
11
11
|
wrapWithParentContent: (internalName: string, propertyContent: JSX.Element) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EnterprisePropertiesBlockTaxonoyPropertiesSettings, EnterprisePropertiesDisplaySettings, EnterprisePropertyDefinition,
|
|
1
|
+
import { EnterprisePropertiesBlockTaxonoyPropertiesSettings, EnterprisePropertiesDisplaySettings, EnterprisePropertyDefinition, guid, IIcon } from "@omnia/fx-models";
|
|
2
2
|
import { TsxAllowUnknowProperties } from "@omnia/fx/ux";
|
|
3
3
|
import { TaxonomyDisplayStyles, Term } from "../../../../models";
|
|
4
4
|
export interface TaxonomyFieldDisplayClickHander {
|
|
@@ -15,12 +15,12 @@ export interface ITaxonomyFieldDisplay extends EnterprisePropertiesDisplaySettin
|
|
|
15
15
|
valueBind: Array<string>;
|
|
16
16
|
property?: EnterprisePropertyDefinition;
|
|
17
17
|
appendMenuItems?: {
|
|
18
|
-
termId:
|
|
18
|
+
termId: guid;
|
|
19
19
|
onClick: (term: Term) => void;
|
|
20
20
|
title: string;
|
|
21
21
|
}[];
|
|
22
22
|
validateRenderTooltip?: (items: Array<{
|
|
23
|
-
termId:
|
|
23
|
+
termId: guid;
|
|
24
24
|
onClick: (term: Term) => any;
|
|
25
25
|
title: string;
|
|
26
26
|
}>) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { IWebComponentInstance } from "../../../../../runtime/core/InternalWebComponentBootstrapper";
|
|
2
2
|
import { ITaxonomyFieldDisplay, TaxonomyFieldDisplayClickHander } from ".";
|
|
3
|
-
import { EnterprisePropertyDefinition, EnterprisePropertiesBlockTaxonoyPropertiesSettings,
|
|
3
|
+
import { EnterprisePropertyDefinition, EnterprisePropertiesBlockTaxonoyPropertiesSettings, guid, IIcon } from "../../../../../models";
|
|
4
4
|
import { OmniaContext } from "../../../../..";
|
|
5
5
|
import { Term, TermStore, TaxonomyDisplayStyles } from "../../../..";
|
|
6
6
|
import "./TaxonomyFieldDisplay.css";
|
|
7
7
|
import { VueComponentBase } from "../../../../../ux";
|
|
8
8
|
export declare class TaxonomyFieldDisplayComponent extends VueComponentBase implements IWebComponentInstance, ITaxonomyFieldDisplay {
|
|
9
|
-
valueBind: Array<
|
|
9
|
+
valueBind: Array<guid>;
|
|
10
10
|
settings: EnterprisePropertiesBlockTaxonoyPropertiesSettings;
|
|
11
11
|
property: EnterprisePropertyDefinition;
|
|
12
12
|
wrapWithParentContent: (internalName: string, propertyContent: JSX.Element) => JSX.Element;
|
|
@@ -16,12 +16,12 @@ export declare class TaxonomyFieldDisplayComponent extends VueComponentBase impl
|
|
|
16
16
|
styles?: typeof TaxonomyDisplayStyles;
|
|
17
17
|
clickHandler?: TaxonomyFieldDisplayClickHander;
|
|
18
18
|
appendMenuItems?: {
|
|
19
|
-
termId:
|
|
19
|
+
termId: guid;
|
|
20
20
|
onClick: (term: Term) => void;
|
|
21
21
|
title: string;
|
|
22
22
|
}[];
|
|
23
23
|
validateRenderTooltip?: (items: Array<{
|
|
24
|
-
termId:
|
|
24
|
+
termId: guid;
|
|
25
25
|
onClick: (term: Term) => any;
|
|
26
26
|
title: string;
|
|
27
27
|
}>) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IWebComponentInstance } from "../../../../..";
|
|
2
2
|
import { VueComponentBase } from "../../../../../ux";
|
|
3
3
|
import { IEnterpriseKeywordsFieldEdit } from "./IEnterpriseKeywordsFieldEdit";
|
|
4
|
-
import { EnterprisePropertyDefinition, EnterprisePropertyEnterpriseKeywordsItemSettings } from "../../../../../models";
|
|
4
|
+
import { EnterprisePropertyDefinition, EnterprisePropertyEnterpriseKeywordsItemSettings, guid } from "../../../../../models";
|
|
5
5
|
export declare class EnterpriseKeywordsFieldEdit extends VueComponentBase implements IWebComponentInstance, IEnterpriseKeywordsFieldEdit {
|
|
6
6
|
valueBind: {
|
|
7
|
-
[propertyInternalName:
|
|
7
|
+
[propertyInternalName: guid]: Array<string>;
|
|
8
8
|
};
|
|
9
9
|
onValueChanged: (value: Array<string>) => void;
|
|
10
10
|
disabled: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ITaxonomyFieldEdit } from "./ITaxonomyFieldEdit";
|
|
2
|
-
import { EnterprisePropertyDefinition, EnterprisePropertyTaxonomyItemSettings, PromotedTagOptions } from "../../../../../models";
|
|
2
|
+
import { EnterprisePropertyDefinition, EnterprisePropertyTaxonomyItemSettings, PromotedTagOptions, guid } from "../../../../../models";
|
|
3
3
|
import { IWebComponentInstance } from "../../../../..";
|
|
4
4
|
import { VueComponentBase } from "../../../../../ux";
|
|
5
5
|
export declare class TaxonomyFieldEdit extends VueComponentBase implements IWebComponentInstance, ITaxonomyFieldEdit {
|
|
6
6
|
valueBind: {
|
|
7
|
-
[propertyInternalName:
|
|
7
|
+
[propertyInternalName: guid]: Array<string>;
|
|
8
8
|
};
|
|
9
9
|
onValueChanged: (value: Array<string>) => void;
|
|
10
10
|
disabled: boolean;
|
|
@@ -2,7 +2,7 @@ import { VueComponentBase } from "@omnia/fx/ux";
|
|
|
2
2
|
import { ITaxonomyFieldSettings } from "./ITaxonomyFieldSettings";
|
|
3
3
|
import "./TaxonomyFieldSettings.css";
|
|
4
4
|
import { IWebComponentInstance } from "../../../../..";
|
|
5
|
-
import { EnterprisePropertyDefinition,
|
|
5
|
+
import { EnterprisePropertyDefinition, guid } from "../../../../../models";
|
|
6
6
|
import { IValidator } from "../../../../../ux";
|
|
7
7
|
import { TaxonomyFieldSettingsStyles } from "../../../../models";
|
|
8
8
|
import { TermStore } from "../../../../../fx/stores";
|
|
@@ -23,7 +23,7 @@ export declare class TaxonomyFieldSettings extends VueComponentBase<ITaxonomyFie
|
|
|
23
23
|
private originalSettings;
|
|
24
24
|
mounted(): void;
|
|
25
25
|
created(): void;
|
|
26
|
-
onTermSetChanged(termSetId:
|
|
26
|
+
onTermSetChanged(termSetId: guid): void;
|
|
27
27
|
renderTermSetTreeview(): JSX.Element;
|
|
28
28
|
render(): JSX.Element;
|
|
29
29
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { guid } from "@omnia/fx-models";
|
|
2
2
|
import TaxonomyFilterEngineHandler from "../../../handler/TaxonomyFilterEngineHandler";
|
|
3
3
|
declare const _default: {
|
|
4
4
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -11,7 +11,7 @@ declare const _default: {
|
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
13
|
termSetId: {
|
|
14
|
-
type: import("vue").PropType<
|
|
14
|
+
type: import("vue").PropType<guid>;
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
typedHandler: {
|
|
@@ -28,7 +28,7 @@ declare const _default: {
|
|
|
28
28
|
required: true;
|
|
29
29
|
};
|
|
30
30
|
termSetId: {
|
|
31
|
-
type: import("vue").PropType<
|
|
31
|
+
type: import("vue").PropType<guid>;
|
|
32
32
|
required: true;
|
|
33
33
|
};
|
|
34
34
|
typedHandler: {
|
|
@@ -52,7 +52,7 @@ declare const _default: {
|
|
|
52
52
|
required: true;
|
|
53
53
|
};
|
|
54
54
|
termSetId: {
|
|
55
|
-
type: import("vue").PropType<
|
|
55
|
+
type: import("vue").PropType<guid>;
|
|
56
56
|
required: true;
|
|
57
57
|
};
|
|
58
58
|
typedHandler: {
|
|
@@ -73,7 +73,7 @@ declare const _default: {
|
|
|
73
73
|
required: true;
|
|
74
74
|
};
|
|
75
75
|
termSetId: {
|
|
76
|
-
type: import("vue").PropType<
|
|
76
|
+
type: import("vue").PropType<guid>;
|
|
77
77
|
required: true;
|
|
78
78
|
};
|
|
79
79
|
typedHandler: {
|
|
@@ -82,7 +82,7 @@ declare const _default: {
|
|
|
82
82
|
};
|
|
83
83
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
84
84
|
propsDefinition: Omit<Readonly<{
|
|
85
|
-
termSetId:
|
|
85
|
+
termSetId: guid;
|
|
86
86
|
typedHandler: TaxonomyFilterEngineHandler;
|
|
87
87
|
handleClearFilterValues: () => void;
|
|
88
88
|
canShowSearchValueBox: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FilterEngineOperator,
|
|
1
|
+
import { FilterEngineOperator, guid } from "@omnia/fx-models";
|
|
2
2
|
import { Term } from "internal/fx/sp";
|
|
3
3
|
export interface FlatTreeViewTerm extends Term {
|
|
4
4
|
selected?: boolean;
|
|
@@ -39,7 +39,7 @@ declare const _default: {
|
|
|
39
39
|
required: true;
|
|
40
40
|
};
|
|
41
41
|
termSetId: {
|
|
42
|
-
type: import("vue").PropType<
|
|
42
|
+
type: import("vue").PropType<guid>;
|
|
43
43
|
required: true;
|
|
44
44
|
};
|
|
45
45
|
"onUpdate:modelValue": {
|
|
@@ -133,7 +133,7 @@ declare const _default: {
|
|
|
133
133
|
required: true;
|
|
134
134
|
};
|
|
135
135
|
termSetId: {
|
|
136
|
-
type: import("vue").PropType<
|
|
136
|
+
type: import("vue").PropType<guid>;
|
|
137
137
|
required: true;
|
|
138
138
|
};
|
|
139
139
|
"onUpdate:modelValue": {
|
|
@@ -234,7 +234,7 @@ declare const _default: {
|
|
|
234
234
|
required: true;
|
|
235
235
|
};
|
|
236
236
|
termSetId: {
|
|
237
|
-
type: import("vue").PropType<
|
|
237
|
+
type: import("vue").PropType<guid>;
|
|
238
238
|
required: true;
|
|
239
239
|
};
|
|
240
240
|
"onUpdate:modelValue": {
|
|
@@ -332,7 +332,7 @@ declare const _default: {
|
|
|
332
332
|
required: true;
|
|
333
333
|
};
|
|
334
334
|
termSetId: {
|
|
335
|
-
type: import("vue").PropType<
|
|
335
|
+
type: import("vue").PropType<guid>;
|
|
336
336
|
required: true;
|
|
337
337
|
};
|
|
338
338
|
"onUpdate:modelValue": {
|
|
@@ -403,7 +403,7 @@ declare const _default: {
|
|
|
403
403
|
};
|
|
404
404
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
405
405
|
propsDefinition: Omit<Readonly<{
|
|
406
|
-
termSetId:
|
|
406
|
+
termSetId: guid;
|
|
407
407
|
toggleTermSelecting: () => void;
|
|
408
408
|
} & {
|
|
409
409
|
name?: {
|