@omnia/fx-sp 8.0.51-vnext → 8.0.52-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/index.d.ts +1 -0
- 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 +2 -0
- package/internal-do-not-import-from-here/models/Site.d.ts +8 -0
- package/internal-do-not-import-from-here/models/index.d.ts +0 -1
- package/internal-do-not-import-from-here/models/index.js +0 -1
- package/internal-do-not-import-from-here/models/styles/TermSetPropertyStyles.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/appwithspaliasinput/IAppWithSharePointAliasInput.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/features/localize.d.ts +15 -0
- package/internal-do-not-import-from-here/ux/filterengine/SelectionsAreaTaxonomyRenderer.d.ts +7 -46
- package/internal-do-not-import-from-here/ux/filterengine/TaxonomyPropertyRenderer.d.ts +4 -46
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/TermPickerTree.d.ts +7 -46
- 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 +18 -48
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/flat/IconButtons.d.ts +5 -46
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/flat/TermPickerChips.d.ts +5 -51
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/flat/TermPickerFlatTree.d.ts +15 -55
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/structured/StructuredTermNode.d.ts +15 -48
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/structured/TermPickerStructuredTree.d.ts +15 -55
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/TaxonomyPropertyDefaultValueInput.d.ts +101 -76
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/TaxonomyPropertySettings.d.ts +13 -48
- package/internal-do-not-import-from-here/ux/filterengine/handler/TaxonomyFilterEngineHandler.d.ts +7 -6
- 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/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/properties/term-set/EnterpriseKeywordsPropertySettings.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/properties/term-set/TermSetConfiguration.d.ts +30 -53
- package/internal-do-not-import-from-here/ux/properties/term-set/TermSetDisplay.d.ts +257 -64
- package/internal-do-not-import-from-here/ux/properties/term-set/TermSetEditor.d.ts +41 -72
- package/internal-do-not-import-from-here/ux/properties/term-set/TermSetPropertyDefinition.d.ts +1 -6
- package/internal-do-not-import-from-here/ux/targetingfilter/ITargetingFilter.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/targetingfilter/TargetingFilter.d.ts +241 -62
- package/internal-do-not-import-from-here/ux/termpicker/ITermPicker.d.ts +1 -12
- package/internal-do-not-import-from-here/ux/termpicker/ITermPickerSearch.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/termpicker/TermNode.d.ts +413 -60
- package/internal-do-not-import-from-here/ux/termpicker/TermPicker.d.ts +632 -87
- package/internal-do-not-import-from-here/ux/termpicker/TermPickerSearch.d.ts +515 -46
- package/internal-do-not-import-from-here/ux/termpicker/TermPickerTree.d.ts +498 -80
- package/internal-do-not-import-from-here/ux/termsetpicker/TermSetPicker.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/user/UserPropertiesBySharePointProvider.d.ts +1 -0
- package/package.json +3 -3
- package/internal-do-not-import-from-here/models/TermSetPropertyValue.d.ts +0 -18
- package/internal-do-not-import-from-here/models/TermSetPropertyValue.js +0 -12
package/internal-do-not-import-from-here/ux/filterengine/handler/TaxonomyFilterEngineHandler.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export default class TaxonomyFilterEngineHandler extends Store implements ITyped
|
|
|
9
9
|
readonly termPrefixes: string[];
|
|
10
10
|
readonly property: TaxonomyFilterEngineProperty;
|
|
11
11
|
readonly propertyDefinition: EnterprisePropertyDefinition;
|
|
12
|
-
|
|
12
|
+
showContentOnly: boolean;
|
|
13
13
|
private termSetId;
|
|
14
14
|
private customSortOrderHash;
|
|
15
15
|
private latestRefinements;
|
|
@@ -30,9 +30,10 @@ export default class TaxonomyFilterEngineHandler extends Store implements ITyped
|
|
|
30
30
|
resolveData: () => Promise<void>;
|
|
31
31
|
getters: {
|
|
32
32
|
termSetId: () => string;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
getTermIdFromIdRefinement: (refinement: Refinement) => GuidValue;
|
|
34
|
+
getTermsFromIdRefinements: (termSetId: GuidValue, refinements: Array<Refinement>) => Array<Term>;
|
|
35
|
+
buildTermFromLabelRefinements: (termSetId: GuidValue, refinements: Array<Refinement>) => Array<Term>;
|
|
36
|
+
isValidTermIdRefinement: (refinement: Refinement) => boolean;
|
|
36
37
|
latestRefinements: () => Refinement[];
|
|
37
38
|
selectedRefinements: () => Refinement[];
|
|
38
39
|
};
|
|
@@ -56,7 +57,7 @@ export default class TaxonomyFilterEngineHandler extends Store implements ITyped
|
|
|
56
57
|
isolatedRefinementEnabled(): boolean;
|
|
57
58
|
getManagedProperty(): string;
|
|
58
59
|
getSelectionCount(): number;
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
getTermIdFromIdRefinement(refinement: Refinement): GuidValue;
|
|
61
|
+
isValidTermIdRefinement(refinement: Refinement): boolean;
|
|
61
62
|
onActivated: () => void;
|
|
62
63
|
}
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PropertyConfiguration, PropertyDefinition, PropertySetting, TaxonomyPropertySettings } from "@omnia/fx-models";
|
|
2
|
+
import { TermStore } from "../../../../fx/stores";
|
|
3
|
+
export declare class EnterpriseKeywordsPropertySettings extends PropertySetting<TaxonomyPropertySettings> {
|
|
4
|
+
termStore: TermStore;
|
|
5
|
+
constructor();
|
|
6
|
+
getPropertyConfiguration(enterprisePropertySettings: TaxonomyPropertySettings): Promise<PropertyConfiguration<PropertyDefinition<any, any, any, any>>>;
|
|
7
|
+
}
|
|
@@ -1,58 +1,23 @@
|
|
|
1
|
-
import { PropertyConfiguration } from "@omnia/fx-models";
|
|
2
|
-
import { SharePointTermSetPropertyDefinition } from "./TermSetPropertyDefinition";
|
|
1
|
+
import { PropertyConfiguration, SharePointTermSetPropertyDefinition } from "@omnia/fx-models";
|
|
3
2
|
declare const _default: {
|
|
4
3
|
new (...args: any[]): {
|
|
5
4
|
$: import("vue").ComponentInternalInstance;
|
|
6
5
|
$data: {};
|
|
7
|
-
$props: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
key?: string | number | symbol;
|
|
11
|
-
ref?: import("vue").VNodeRef;
|
|
12
|
-
ref_for?: boolean;
|
|
13
|
-
ref_key?: string;
|
|
14
|
-
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
17
|
-
[key: string]: any;
|
|
18
|
-
}>) => void)[];
|
|
19
|
-
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
22
|
-
[key: string]: any;
|
|
23
|
-
}>) => void)[];
|
|
24
|
-
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
27
|
-
[key: string]: any;
|
|
28
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
29
|
-
[key: string]: any;
|
|
30
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
31
|
-
[key: string]: any;
|
|
32
|
-
}>) => void)[];
|
|
33
|
-
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
34
|
-
[key: string]: any;
|
|
35
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
38
|
-
[key: string]: any;
|
|
39
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
40
|
-
[key: string]: any;
|
|
41
|
-
}>) => void)[];
|
|
42
|
-
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
43
|
-
[key: string]: any;
|
|
44
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
45
|
-
[key: string]: any;
|
|
46
|
-
}>) => void)[];
|
|
47
|
-
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
48
|
-
[key: string]: any;
|
|
49
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
50
|
-
[key: string]: any;
|
|
51
|
-
}>) => void)[];
|
|
52
|
-
readonly valueBind?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
|
|
6
|
+
$props: Partial<{}> & Omit<{
|
|
7
|
+
readonly "v-model"?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
|
|
8
|
+
readonly modelValue?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
|
|
53
9
|
readonly onConfigurationValid?: (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void;
|
|
54
10
|
readonly showLockConfiguration?: boolean;
|
|
55
|
-
|
|
11
|
+
readonly renderEditSettings?: boolean;
|
|
12
|
+
readonly defaultConfiguration?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
|
|
13
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
modelValue: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
15
|
+
onConfigurationValid: import("vue").Prop<(validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
|
|
16
|
+
showLockConfiguration?: import("vue").Prop<boolean, boolean>;
|
|
17
|
+
renderEditSettings?: import("vue").Prop<boolean, boolean>;
|
|
18
|
+
defaultConfiguration?: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
19
|
+
"v-model": import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
20
|
+
}>>, never>;
|
|
56
21
|
$attrs: {
|
|
57
22
|
[x: string]: unknown;
|
|
58
23
|
};
|
|
@@ -67,9 +32,12 @@ declare const _default: {
|
|
|
67
32
|
$emit: (event: string, ...args: any[]) => void;
|
|
68
33
|
$el: any;
|
|
69
34
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
-
|
|
35
|
+
modelValue: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
71
36
|
onConfigurationValid: import("vue").Prop<(validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
|
|
72
37
|
showLockConfiguration?: import("vue").Prop<boolean, boolean>;
|
|
38
|
+
renderEditSettings?: import("vue").Prop<boolean, boolean>;
|
|
39
|
+
defaultConfiguration?: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
40
|
+
"v-model": import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
73
41
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
74
42
|
beforeCreate?: (() => void) | (() => void)[];
|
|
75
43
|
created?: (() => void) | (() => void)[];
|
|
@@ -91,22 +59,31 @@ declare const _default: {
|
|
|
91
59
|
$nextTick: typeof import("vue").nextTick;
|
|
92
60
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
93
61
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
94
|
-
|
|
62
|
+
modelValue: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
95
63
|
onConfigurationValid: import("vue").Prop<(validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
|
|
96
64
|
showLockConfiguration?: import("vue").Prop<boolean, boolean>;
|
|
65
|
+
renderEditSettings?: import("vue").Prop<boolean, boolean>;
|
|
66
|
+
defaultConfiguration?: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
67
|
+
"v-model": import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
97
68
|
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
98
69
|
__isFragment?: never;
|
|
99
70
|
__isTeleport?: never;
|
|
100
71
|
__isSuspense?: never;
|
|
101
72
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
-
|
|
73
|
+
modelValue: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
103
74
|
onConfigurationValid: import("vue").Prop<(validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
|
|
104
75
|
showLockConfiguration?: import("vue").Prop<boolean, boolean>;
|
|
76
|
+
renderEditSettings?: import("vue").Prop<boolean, boolean>;
|
|
77
|
+
defaultConfiguration?: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
78
|
+
"v-model": import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
105
79
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
106
80
|
propsDefinition: Omit<Readonly<{} & {
|
|
107
|
-
|
|
81
|
+
"v-model"?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
|
|
82
|
+
modelValue?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
|
|
108
83
|
onConfigurationValid?: (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void;
|
|
109
84
|
showLockConfiguration?: boolean;
|
|
85
|
+
renderEditSettings?: boolean;
|
|
86
|
+
defaultConfiguration?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
|
|
110
87
|
}>, never>;
|
|
111
88
|
};
|
|
112
89
|
export default _default;
|
|
@@ -1,59 +1,108 @@
|
|
|
1
|
-
import { IPropertyDisplayRenderer } from "@omnia/fx-models";
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { IIcon, IPropertyDisplayRenderer, SharePointTermSetPropertyDefinition, SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertySetupSettings, SharePointTermSetPropertyValue } from "@omnia/fx-models";
|
|
2
|
+
import { Term } from "../../../models";
|
|
3
|
+
import "./TermSetStyles.css";
|
|
4
|
+
export type TermSetDisplayProps = IPropertyDisplayRenderer<SharePointTermSetPropertyDefinition> & {
|
|
5
|
+
"v-model": SharePointTermSetPropertyValue;
|
|
6
|
+
clickHandler?: {
|
|
7
|
+
onClick: (term: Term) => void;
|
|
8
|
+
clickableIcon?: IIcon;
|
|
9
|
+
};
|
|
10
|
+
appendMenuItems?: {
|
|
11
|
+
termId: string;
|
|
12
|
+
onClick: (term: Term) => void;
|
|
13
|
+
title: string;
|
|
14
|
+
}[];
|
|
15
|
+
validateRenderTooltip?: (items: Array<{
|
|
16
|
+
termId: string;
|
|
17
|
+
onClick: (term: Term) => any;
|
|
18
|
+
title: string;
|
|
19
|
+
}>) => {
|
|
20
|
+
[termId: string]: {
|
|
21
|
+
title: string;
|
|
22
|
+
icon: IIcon;
|
|
23
|
+
};
|
|
24
|
+
}[];
|
|
25
|
+
appendedElement?: JSX.Element;
|
|
26
|
+
contentColor: string;
|
|
27
|
+
separator: string;
|
|
28
|
+
};
|
|
4
29
|
declare const _default: {
|
|
5
30
|
new (...args: any[]): {
|
|
6
31
|
$: import("vue").ComponentInternalInstance;
|
|
7
32
|
$data: {};
|
|
8
|
-
$props: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
[
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
33
|
+
$props: Partial<{}> & Omit<{
|
|
34
|
+
readonly separator?: string;
|
|
35
|
+
readonly "v-model"?: SharePointTermSetPropertyValue;
|
|
36
|
+
readonly modelValue?: SharePointTermSetPropertyValue;
|
|
37
|
+
readonly displaySettings?: SharePointTermSetPropertyDisplaySettings;
|
|
38
|
+
readonly appendedElement?: JSX.Element;
|
|
39
|
+
readonly clickHandler?: {
|
|
40
|
+
onClick: (term: Term) => void;
|
|
41
|
+
clickableIcon?: IIcon;
|
|
42
|
+
};
|
|
43
|
+
readonly appendMenuItems?: {
|
|
44
|
+
termId: string;
|
|
45
|
+
onClick: (term: Term) => void;
|
|
46
|
+
title: string;
|
|
47
|
+
}[];
|
|
48
|
+
readonly validateRenderTooltip?: (items: {
|
|
49
|
+
termId: string;
|
|
50
|
+
onClick: (term: Term) => any;
|
|
51
|
+
title: string;
|
|
52
|
+
}[]) => {
|
|
53
|
+
[termId: string]: {
|
|
54
|
+
title: string;
|
|
55
|
+
icon: IIcon;
|
|
56
|
+
};
|
|
57
|
+
}[];
|
|
58
|
+
readonly setupSettings?: SharePointTermSetPropertySetupSettings;
|
|
59
|
+
readonly contentColor?: string;
|
|
60
|
+
readonly renderTextOnly?: boolean;
|
|
61
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
62
|
+
modelValue: import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
|
|
63
|
+
displaySettings: import("vue").Prop<SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyDisplaySettings>;
|
|
64
|
+
setupSettings?: import("vue").Prop<SharePointTermSetPropertySetupSettings, SharePointTermSetPropertySetupSettings>;
|
|
65
|
+
renderTextOnly?: import("vue").Prop<boolean, boolean>;
|
|
66
|
+
"v-model": import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
|
|
67
|
+
clickHandler?: import("vue").Prop<{
|
|
68
|
+
onClick: (term: Term) => void;
|
|
69
|
+
clickableIcon?: IIcon;
|
|
70
|
+
}, {
|
|
71
|
+
onClick: (term: Term) => void;
|
|
72
|
+
clickableIcon?: IIcon;
|
|
73
|
+
}>;
|
|
74
|
+
appendMenuItems?: import("vue").Prop<{
|
|
75
|
+
termId: string;
|
|
76
|
+
onClick: (term: Term) => void;
|
|
77
|
+
title: string;
|
|
78
|
+
}[], {
|
|
79
|
+
termId: string;
|
|
80
|
+
onClick: (term: Term) => void;
|
|
81
|
+
title: string;
|
|
82
|
+
}[]>;
|
|
83
|
+
validateRenderTooltip?: import("vue").Prop<(items: {
|
|
84
|
+
termId: string;
|
|
85
|
+
onClick: (term: Term) => any;
|
|
86
|
+
title: string;
|
|
87
|
+
}[]) => {
|
|
88
|
+
[termId: string]: {
|
|
89
|
+
title: string;
|
|
90
|
+
icon: IIcon;
|
|
91
|
+
};
|
|
92
|
+
}[], (items: {
|
|
93
|
+
termId: string;
|
|
94
|
+
onClick: (term: Term) => any;
|
|
95
|
+
title: string;
|
|
96
|
+
}[]) => {
|
|
97
|
+
[termId: string]: {
|
|
98
|
+
title: string;
|
|
99
|
+
icon: IIcon;
|
|
100
|
+
};
|
|
101
|
+
}[]>;
|
|
102
|
+
appendedElement?: import("vue").Prop<JSX.Element, JSX.Element>;
|
|
103
|
+
contentColor: import("vue").Prop<string, string>;
|
|
104
|
+
separator: import("vue").Prop<string, string>;
|
|
105
|
+
}>>, never>;
|
|
57
106
|
$attrs: {
|
|
58
107
|
[x: string]: unknown;
|
|
59
108
|
};
|
|
@@ -68,9 +117,49 @@ declare const _default: {
|
|
|
68
117
|
$emit: (event: string, ...args: any[]) => void;
|
|
69
118
|
$el: any;
|
|
70
119
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
71
|
-
|
|
72
|
-
displaySettings: import("vue").Prop<
|
|
73
|
-
setupSettings?: import("vue").Prop<
|
|
120
|
+
modelValue: import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
|
|
121
|
+
displaySettings: import("vue").Prop<SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyDisplaySettings>;
|
|
122
|
+
setupSettings?: import("vue").Prop<SharePointTermSetPropertySetupSettings, SharePointTermSetPropertySetupSettings>;
|
|
123
|
+
renderTextOnly?: import("vue").Prop<boolean, boolean>;
|
|
124
|
+
"v-model": import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
|
|
125
|
+
clickHandler?: import("vue").Prop<{
|
|
126
|
+
onClick: (term: Term) => void;
|
|
127
|
+
clickableIcon?: IIcon;
|
|
128
|
+
}, {
|
|
129
|
+
onClick: (term: Term) => void;
|
|
130
|
+
clickableIcon?: IIcon;
|
|
131
|
+
}>;
|
|
132
|
+
appendMenuItems?: import("vue").Prop<{
|
|
133
|
+
termId: string;
|
|
134
|
+
onClick: (term: Term) => void;
|
|
135
|
+
title: string;
|
|
136
|
+
}[], {
|
|
137
|
+
termId: string;
|
|
138
|
+
onClick: (term: Term) => void;
|
|
139
|
+
title: string;
|
|
140
|
+
}[]>;
|
|
141
|
+
validateRenderTooltip?: import("vue").Prop<(items: {
|
|
142
|
+
termId: string;
|
|
143
|
+
onClick: (term: Term) => any;
|
|
144
|
+
title: string;
|
|
145
|
+
}[]) => {
|
|
146
|
+
[termId: string]: {
|
|
147
|
+
title: string;
|
|
148
|
+
icon: IIcon;
|
|
149
|
+
};
|
|
150
|
+
}[], (items: {
|
|
151
|
+
termId: string;
|
|
152
|
+
onClick: (term: Term) => any;
|
|
153
|
+
title: string;
|
|
154
|
+
}[]) => {
|
|
155
|
+
[termId: string]: {
|
|
156
|
+
title: string;
|
|
157
|
+
icon: IIcon;
|
|
158
|
+
};
|
|
159
|
+
}[]>;
|
|
160
|
+
appendedElement?: import("vue").Prop<JSX.Element, JSX.Element>;
|
|
161
|
+
contentColor: import("vue").Prop<string, string>;
|
|
162
|
+
separator: import("vue").Prop<string, string>;
|
|
74
163
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
75
164
|
beforeCreate?: (() => void) | (() => void)[];
|
|
76
165
|
created?: (() => void) | (() => void)[];
|
|
@@ -92,22 +181,126 @@ declare const _default: {
|
|
|
92
181
|
$nextTick: typeof import("vue").nextTick;
|
|
93
182
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
94
183
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
95
|
-
|
|
96
|
-
displaySettings: import("vue").Prop<
|
|
97
|
-
setupSettings?: import("vue").Prop<
|
|
184
|
+
modelValue: import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
|
|
185
|
+
displaySettings: import("vue").Prop<SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyDisplaySettings>;
|
|
186
|
+
setupSettings?: import("vue").Prop<SharePointTermSetPropertySetupSettings, SharePointTermSetPropertySetupSettings>;
|
|
187
|
+
renderTextOnly?: import("vue").Prop<boolean, boolean>;
|
|
188
|
+
"v-model": import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
|
|
189
|
+
clickHandler?: import("vue").Prop<{
|
|
190
|
+
onClick: (term: Term) => void;
|
|
191
|
+
clickableIcon?: IIcon;
|
|
192
|
+
}, {
|
|
193
|
+
onClick: (term: Term) => void;
|
|
194
|
+
clickableIcon?: IIcon;
|
|
195
|
+
}>;
|
|
196
|
+
appendMenuItems?: import("vue").Prop<{
|
|
197
|
+
termId: string;
|
|
198
|
+
onClick: (term: Term) => void;
|
|
199
|
+
title: string;
|
|
200
|
+
}[], {
|
|
201
|
+
termId: string;
|
|
202
|
+
onClick: (term: Term) => void;
|
|
203
|
+
title: string;
|
|
204
|
+
}[]>;
|
|
205
|
+
validateRenderTooltip?: import("vue").Prop<(items: {
|
|
206
|
+
termId: string;
|
|
207
|
+
onClick: (term: Term) => any;
|
|
208
|
+
title: string;
|
|
209
|
+
}[]) => {
|
|
210
|
+
[termId: string]: {
|
|
211
|
+
title: string;
|
|
212
|
+
icon: IIcon;
|
|
213
|
+
};
|
|
214
|
+
}[], (items: {
|
|
215
|
+
termId: string;
|
|
216
|
+
onClick: (term: Term) => any;
|
|
217
|
+
title: string;
|
|
218
|
+
}[]) => {
|
|
219
|
+
[termId: string]: {
|
|
220
|
+
title: string;
|
|
221
|
+
icon: IIcon;
|
|
222
|
+
};
|
|
223
|
+
}[]>;
|
|
224
|
+
appendedElement?: import("vue").Prop<JSX.Element, JSX.Element>;
|
|
225
|
+
contentColor: import("vue").Prop<string, string>;
|
|
226
|
+
separator: import("vue").Prop<string, string>;
|
|
98
227
|
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
99
228
|
__isFragment?: never;
|
|
100
229
|
__isTeleport?: never;
|
|
101
230
|
__isSuspense?: never;
|
|
102
231
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
103
|
-
|
|
104
|
-
displaySettings: import("vue").Prop<
|
|
105
|
-
setupSettings?: import("vue").Prop<
|
|
232
|
+
modelValue: import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
|
|
233
|
+
displaySettings: import("vue").Prop<SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyDisplaySettings>;
|
|
234
|
+
setupSettings?: import("vue").Prop<SharePointTermSetPropertySetupSettings, SharePointTermSetPropertySetupSettings>;
|
|
235
|
+
renderTextOnly?: import("vue").Prop<boolean, boolean>;
|
|
236
|
+
"v-model": import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
|
|
237
|
+
clickHandler?: import("vue").Prop<{
|
|
238
|
+
onClick: (term: Term) => void;
|
|
239
|
+
clickableIcon?: IIcon;
|
|
240
|
+
}, {
|
|
241
|
+
onClick: (term: Term) => void;
|
|
242
|
+
clickableIcon?: IIcon;
|
|
243
|
+
}>;
|
|
244
|
+
appendMenuItems?: import("vue").Prop<{
|
|
245
|
+
termId: string;
|
|
246
|
+
onClick: (term: Term) => void;
|
|
247
|
+
title: string;
|
|
248
|
+
}[], {
|
|
249
|
+
termId: string;
|
|
250
|
+
onClick: (term: Term) => void;
|
|
251
|
+
title: string;
|
|
252
|
+
}[]>;
|
|
253
|
+
validateRenderTooltip?: import("vue").Prop<(items: {
|
|
254
|
+
termId: string;
|
|
255
|
+
onClick: (term: Term) => any;
|
|
256
|
+
title: string;
|
|
257
|
+
}[]) => {
|
|
258
|
+
[termId: string]: {
|
|
259
|
+
title: string;
|
|
260
|
+
icon: IIcon;
|
|
261
|
+
};
|
|
262
|
+
}[], (items: {
|
|
263
|
+
termId: string;
|
|
264
|
+
onClick: (term: Term) => any;
|
|
265
|
+
title: string;
|
|
266
|
+
}[]) => {
|
|
267
|
+
[termId: string]: {
|
|
268
|
+
title: string;
|
|
269
|
+
icon: IIcon;
|
|
270
|
+
};
|
|
271
|
+
}[]>;
|
|
272
|
+
appendedElement?: import("vue").Prop<JSX.Element, JSX.Element>;
|
|
273
|
+
contentColor: import("vue").Prop<string, string>;
|
|
274
|
+
separator: import("vue").Prop<string, string>;
|
|
106
275
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
107
276
|
propsDefinition: Omit<Readonly<{} & {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
277
|
+
separator?: string;
|
|
278
|
+
"v-model"?: SharePointTermSetPropertyValue;
|
|
279
|
+
modelValue?: SharePointTermSetPropertyValue;
|
|
280
|
+
displaySettings?: SharePointTermSetPropertyDisplaySettings;
|
|
281
|
+
appendedElement?: JSX.Element;
|
|
282
|
+
clickHandler?: {
|
|
283
|
+
onClick: (term: Term) => void;
|
|
284
|
+
clickableIcon?: IIcon;
|
|
285
|
+
};
|
|
286
|
+
appendMenuItems?: {
|
|
287
|
+
termId: string;
|
|
288
|
+
onClick: (term: Term) => void;
|
|
289
|
+
title: string;
|
|
290
|
+
}[];
|
|
291
|
+
validateRenderTooltip?: (items: {
|
|
292
|
+
termId: string;
|
|
293
|
+
onClick: (term: Term) => any;
|
|
294
|
+
title: string;
|
|
295
|
+
}[]) => {
|
|
296
|
+
[termId: string]: {
|
|
297
|
+
title: string;
|
|
298
|
+
icon: IIcon;
|
|
299
|
+
};
|
|
300
|
+
}[];
|
|
301
|
+
setupSettings?: SharePointTermSetPropertySetupSettings;
|
|
302
|
+
contentColor?: string;
|
|
303
|
+
renderTextOnly?: boolean;
|
|
111
304
|
}>, never>;
|
|
112
305
|
};
|
|
113
306
|
export default _default;
|