@omnia/fx-sp 8.0.32-vnext → 8.0.33-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/components/renderer/termpicker/TermPickerTree.d.ts +1 -1
- 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 +8 -3
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/flat/IconButtons.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/flat/TermPickerChips.d.ts +1 -6
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/flat/TermPickerFlatTree.d.ts +6 -11
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/structured/StructuredTermNode.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/structured/TermPickerStructuredTree.d.ts +6 -11
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/TaxonomyPropertyDefaultValueInput.d.ts +77 -30
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/TaxonomyPropertySettings.d.ts +3 -3
- 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 +21 -7
- package/internal-do-not-import-from-here/ux/properties/term-set/TermSetDisplay.d.ts +211 -18
- package/internal-do-not-import-from-here/ux/properties/term-set/TermSetEditor.d.ts +31 -26
- 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 +245 -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 +377 -60
- package/internal-do-not-import-from-here/ux/termpicker/TermPicker.d.ts +551 -87
- package/internal-do-not-import-from-here/ux/termpicker/TermPickerSearch.d.ts +457 -46
- package/internal-do-not-import-from-here/ux/termpicker/TermPickerTree.d.ts +445 -80
- 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
|
@@ -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,5 +1,4 @@
|
|
|
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;
|
|
@@ -8,7 +7,6 @@ declare const _default: {
|
|
|
8
7
|
style?: unknown;
|
|
9
8
|
class?: unknown;
|
|
10
9
|
key?: string | number | symbol;
|
|
11
|
-
readonly valueBind?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
|
|
12
10
|
ref?: import("vue").VNodeRef;
|
|
13
11
|
ref_for?: boolean;
|
|
14
12
|
ref_key?: string;
|
|
@@ -50,8 +48,12 @@ declare const _default: {
|
|
|
50
48
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
51
49
|
[key: string]: any;
|
|
52
50
|
}>) => void)[];
|
|
51
|
+
readonly "v-model"?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
|
|
52
|
+
readonly modelValue?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
|
|
53
53
|
readonly onConfigurationValid?: (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void;
|
|
54
54
|
readonly showLockConfiguration?: boolean;
|
|
55
|
+
readonly renderEditSettings?: boolean;
|
|
56
|
+
readonly defaultConfiguration?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
|
|
55
57
|
};
|
|
56
58
|
$attrs: {
|
|
57
59
|
[x: string]: unknown;
|
|
@@ -67,9 +69,12 @@ declare const _default: {
|
|
|
67
69
|
$emit: (event: string, ...args: any[]) => void;
|
|
68
70
|
$el: any;
|
|
69
71
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
-
|
|
72
|
+
modelValue: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
71
73
|
onConfigurationValid: import("vue").Prop<(validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
|
|
72
74
|
showLockConfiguration?: import("vue").Prop<boolean, boolean>;
|
|
75
|
+
renderEditSettings?: import("vue").Prop<boolean, boolean>;
|
|
76
|
+
defaultConfiguration?: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
77
|
+
"v-model": import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
73
78
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
74
79
|
beforeCreate?: (() => void) | (() => void)[];
|
|
75
80
|
created?: (() => void) | (() => void)[];
|
|
@@ -91,22 +96,31 @@ declare const _default: {
|
|
|
91
96
|
$nextTick: typeof import("vue").nextTick;
|
|
92
97
|
$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
98
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
94
|
-
|
|
99
|
+
modelValue: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
95
100
|
onConfigurationValid: import("vue").Prop<(validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
|
|
96
101
|
showLockConfiguration?: import("vue").Prop<boolean, boolean>;
|
|
102
|
+
renderEditSettings?: import("vue").Prop<boolean, boolean>;
|
|
103
|
+
defaultConfiguration?: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
104
|
+
"v-model": import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
97
105
|
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
98
106
|
__isFragment?: never;
|
|
99
107
|
__isTeleport?: never;
|
|
100
108
|
__isSuspense?: never;
|
|
101
109
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
-
|
|
110
|
+
modelValue: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
103
111
|
onConfigurationValid: import("vue").Prop<(validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
|
|
104
112
|
showLockConfiguration?: import("vue").Prop<boolean, boolean>;
|
|
113
|
+
renderEditSettings?: import("vue").Prop<boolean, boolean>;
|
|
114
|
+
defaultConfiguration?: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
115
|
+
"v-model": import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
|
|
105
116
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
106
117
|
propsDefinition: Omit<Readonly<{} & {
|
|
107
|
-
|
|
118
|
+
"v-model"?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
|
|
119
|
+
modelValue?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
|
|
108
120
|
onConfigurationValid?: (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void;
|
|
109
121
|
showLockConfiguration?: boolean;
|
|
122
|
+
renderEditSettings?: boolean;
|
|
123
|
+
defaultConfiguration?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
|
|
110
124
|
}>, never>;
|
|
111
125
|
};
|
|
112
126
|
export default _default;
|
|
@@ -1,6 +1,31 @@
|
|
|
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;
|
|
@@ -9,7 +34,7 @@ declare const _default: {
|
|
|
9
34
|
style?: unknown;
|
|
10
35
|
class?: unknown;
|
|
11
36
|
key?: string | number | symbol;
|
|
12
|
-
readonly
|
|
37
|
+
readonly separator?: string;
|
|
13
38
|
ref?: import("vue").VNodeRef;
|
|
14
39
|
ref_for?: boolean;
|
|
15
40
|
ref_key?: string;
|
|
@@ -51,8 +76,32 @@ declare const _default: {
|
|
|
51
76
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
52
77
|
[key: string]: any;
|
|
53
78
|
}>) => void)[];
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
79
|
+
readonly "v-model"?: SharePointTermSetPropertyValue;
|
|
80
|
+
readonly modelValue?: SharePointTermSetPropertyValue;
|
|
81
|
+
readonly displaySettings?: SharePointTermSetPropertyDisplaySettings;
|
|
82
|
+
readonly appendedElement?: JSX.Element;
|
|
83
|
+
readonly clickHandler?: {
|
|
84
|
+
onClick: (term: Term) => void;
|
|
85
|
+
clickableIcon?: IIcon;
|
|
86
|
+
};
|
|
87
|
+
readonly appendMenuItems?: {
|
|
88
|
+
termId: string;
|
|
89
|
+
onClick: (term: Term) => void;
|
|
90
|
+
title: string;
|
|
91
|
+
}[];
|
|
92
|
+
readonly validateRenderTooltip?: (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
|
+
readonly setupSettings?: SharePointTermSetPropertySetupSettings;
|
|
103
|
+
readonly contentColor?: string;
|
|
104
|
+
readonly renderTextOnly?: boolean;
|
|
56
105
|
};
|
|
57
106
|
$attrs: {
|
|
58
107
|
[x: string]: unknown;
|
|
@@ -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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SharePointTermSetPropertyValue } from "@omnia/fx-
|
|
1
|
+
import { SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyEditorSettings, SharePointTermSetPropertyValue } from "@omnia/fx-models";
|
|
2
2
|
declare const _default: {
|
|
3
3
|
new (...args: any[]): {
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -8,7 +8,6 @@ declare const _default: {
|
|
|
8
8
|
class?: unknown;
|
|
9
9
|
key?: string | number | symbol;
|
|
10
10
|
readonly disabled?: boolean;
|
|
11
|
-
readonly valueBind?: SharePointTermSetPropertyValue;
|
|
12
11
|
ref?: import("vue").VNodeRef;
|
|
13
12
|
ref_for?: boolean;
|
|
14
13
|
ref_key?: string;
|
|
@@ -50,10 +49,12 @@ declare const _default: {
|
|
|
50
49
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
51
50
|
[key: string]: any;
|
|
52
51
|
}>) => void)[];
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
52
|
+
readonly "onUpdate:modelValue"?: (value: SharePointTermSetPropertyValue) => void;
|
|
53
|
+
readonly "v-model"?: SharePointTermSetPropertyValue;
|
|
54
|
+
readonly modelValue?: SharePointTermSetPropertyValue;
|
|
55
|
+
readonly displaySettings?: SharePointTermSetPropertyDisplaySettings;
|
|
56
|
+
readonly setupSettings?: import("@omnia/fx-models").SharePointTermSetPropertySetupSettings;
|
|
57
|
+
readonly editorSettings?: SharePointTermSetPropertyEditorSettings;
|
|
57
58
|
};
|
|
58
59
|
$attrs: {
|
|
59
60
|
[x: string]: unknown;
|
|
@@ -69,12 +70,13 @@ declare const _default: {
|
|
|
69
70
|
$emit: (event: string, ...args: any[]) => void;
|
|
70
71
|
$el: any;
|
|
71
72
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
-
|
|
73
|
-
editorSettings: import("vue").Prop<
|
|
74
|
-
displaySettings: import("vue").Prop<
|
|
75
|
-
setupSettings?: import("vue").Prop<import("@omnia/fx-
|
|
76
|
-
onValueBindChanged: import("vue").Prop<(newValue: SharePointTermSetPropertyValue) => void, (newValue: SharePointTermSetPropertyValue) => void>;
|
|
73
|
+
modelValue: import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
|
|
74
|
+
editorSettings: import("vue").Prop<SharePointTermSetPropertyEditorSettings, SharePointTermSetPropertyEditorSettings>;
|
|
75
|
+
displaySettings: import("vue").Prop<SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyDisplaySettings>;
|
|
76
|
+
setupSettings?: import("vue").Prop<import("@omnia/fx-models").SharePointTermSetPropertySetupSettings, import("@omnia/fx-models").SharePointTermSetPropertySetupSettings>;
|
|
77
77
|
disabled?: import("vue").Prop<boolean, boolean>;
|
|
78
|
+
"v-model": import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
|
|
79
|
+
"onUpdate:modelValue": import("vue").Prop<(value: SharePointTermSetPropertyValue) => void, (value: SharePointTermSetPropertyValue) => void>;
|
|
78
80
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
79
81
|
beforeCreate?: (() => void) | (() => void)[];
|
|
80
82
|
created?: (() => void) | (() => void)[];
|
|
@@ -96,31 +98,34 @@ declare const _default: {
|
|
|
96
98
|
$nextTick: typeof import("vue").nextTick;
|
|
97
99
|
$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;
|
|
98
100
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
99
|
-
|
|
100
|
-
editorSettings: import("vue").Prop<
|
|
101
|
-
displaySettings: import("vue").Prop<
|
|
102
|
-
setupSettings?: import("vue").Prop<import("@omnia/fx-
|
|
103
|
-
onValueBindChanged: import("vue").Prop<(newValue: SharePointTermSetPropertyValue) => void, (newValue: SharePointTermSetPropertyValue) => void>;
|
|
101
|
+
modelValue: import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
|
|
102
|
+
editorSettings: import("vue").Prop<SharePointTermSetPropertyEditorSettings, SharePointTermSetPropertyEditorSettings>;
|
|
103
|
+
displaySettings: import("vue").Prop<SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyDisplaySettings>;
|
|
104
|
+
setupSettings?: import("vue").Prop<import("@omnia/fx-models").SharePointTermSetPropertySetupSettings, import("@omnia/fx-models").SharePointTermSetPropertySetupSettings>;
|
|
104
105
|
disabled?: import("vue").Prop<boolean, boolean>;
|
|
106
|
+
"v-model": import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
|
|
107
|
+
"onUpdate:modelValue": import("vue").Prop<(value: SharePointTermSetPropertyValue) => void, (value: SharePointTermSetPropertyValue) => void>;
|
|
105
108
|
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
106
109
|
__isFragment?: never;
|
|
107
110
|
__isTeleport?: never;
|
|
108
111
|
__isSuspense?: never;
|
|
109
112
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
110
|
-
|
|
111
|
-
editorSettings: import("vue").Prop<
|
|
112
|
-
displaySettings: import("vue").Prop<
|
|
113
|
-
setupSettings?: import("vue").Prop<import("@omnia/fx-
|
|
114
|
-
onValueBindChanged: import("vue").Prop<(newValue: SharePointTermSetPropertyValue) => void, (newValue: SharePointTermSetPropertyValue) => void>;
|
|
113
|
+
modelValue: import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
|
|
114
|
+
editorSettings: import("vue").Prop<SharePointTermSetPropertyEditorSettings, SharePointTermSetPropertyEditorSettings>;
|
|
115
|
+
displaySettings: import("vue").Prop<SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyDisplaySettings>;
|
|
116
|
+
setupSettings?: import("vue").Prop<import("@omnia/fx-models").SharePointTermSetPropertySetupSettings, import("@omnia/fx-models").SharePointTermSetPropertySetupSettings>;
|
|
115
117
|
disabled?: import("vue").Prop<boolean, boolean>;
|
|
118
|
+
"v-model": import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
|
|
119
|
+
"onUpdate:modelValue": import("vue").Prop<(value: SharePointTermSetPropertyValue) => void, (value: SharePointTermSetPropertyValue) => void>;
|
|
116
120
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
117
121
|
propsDefinition: Omit<Readonly<{} & {
|
|
118
122
|
disabled?: boolean;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
"onUpdate:modelValue"?: (value: SharePointTermSetPropertyValue) => void;
|
|
124
|
+
"v-model"?: SharePointTermSetPropertyValue;
|
|
125
|
+
modelValue?: SharePointTermSetPropertyValue;
|
|
126
|
+
displaySettings?: SharePointTermSetPropertyDisplaySettings;
|
|
127
|
+
setupSettings?: import("@omnia/fx-models").SharePointTermSetPropertySetupSettings;
|
|
128
|
+
editorSettings?: SharePointTermSetPropertyEditorSettings;
|
|
124
129
|
}>, never>;
|
|
125
130
|
};
|
|
126
131
|
export default _default;
|
package/internal-do-not-import-from-here/ux/properties/term-set/TermSetPropertyDefinition.d.ts
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { SharePointTermSetPropertyValue, SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyEditorSettings, SharePointTermSetPropertySetupSettings } from "@omnia/fx-sp-models";
|
|
3
|
-
export declare class SharePointTermSetPropertyDefinition extends PropertyDefinition<SharePointTermSetPropertyValue, SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyEditorSettings, SharePointTermSetPropertySetupSettings> {
|
|
4
|
-
id: import("@omnia/fx-models").Guid;
|
|
5
|
-
typeName: string;
|
|
6
|
-
}
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { TsxAllowUnknowProperties } from "../../../ux";
|
|
2
1
|
import { TargetingFilterProperty } from "../../models";
|
|
3
2
|
export interface ITargetingFilterProperties {
|
|
4
3
|
disabled?: boolean;
|
|
@@ -11,14 +10,3 @@ export interface ITargetingFilter extends ITargetingFilterProperties {
|
|
|
11
10
|
onFilterChanged: (filter: TargetingFilterProperty) => void;
|
|
12
11
|
fullWidth?: boolean;
|
|
13
12
|
}
|
|
14
|
-
declare global {
|
|
15
|
-
namespace JSX {
|
|
16
|
-
interface Element {
|
|
17
|
-
}
|
|
18
|
-
interface ElementClass {
|
|
19
|
-
}
|
|
20
|
-
interface IntrinsicElements {
|
|
21
|
-
"omfx-targeting-filter": TsxAllowUnknowProperties<ITargetingFilter>;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|