@omnia/fx-sp 8.0.136-dev → 8.0.138-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/contexts/SharePointContext.d.ts +6 -1
- package/internal-do-not-import-from-here/contexts/SharePointContextProvider.d.ts +2 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.sp.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/FilterEngine.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/termitem/ISharePointTermItemComponent.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/termitem/SharePointTermItemComponent.d.ts +97 -26
- package/internal-do-not-import-from-here/ux/termsetpicker/ITermSetPicker.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/termsetpicker/TermSetPicker.d.ts +86 -50
- package/package.json +3 -3
- package/internal-do-not-import-from-here/ux/termtree/TermTreeComponentBase.css.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/termtree/TermTreeComponentBase.d.ts +0 -23
- package/internal-do-not-import-from-here/ux/termtree/index.d.ts +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IMessageBusTopicSubscription } from "@omnia/fx/models";
|
|
1
|
+
import { Future, IMessageBusTopicSubscription } from "@omnia/fx/models";
|
|
2
2
|
import { SharePointEnvironmentContext, SharePointPageContext } from "../models";
|
|
3
3
|
/**
|
|
4
4
|
* Provides SharePoint related contexts, this context works in SharePoint legacy and SPFx.
|
|
@@ -17,6 +17,11 @@ export declare class SharePointContext {
|
|
|
17
17
|
* In the other hand when running in OmniaApp, this is for getting SP context connecting to the current app instance asynchronous
|
|
18
18
|
*/
|
|
19
19
|
get onContextLoadedOrChanged(): IMessageBusTopicSubscription<SharePointPageContext>;
|
|
20
|
+
/**
|
|
21
|
+
* get the load context promise
|
|
22
|
+
* extension can use it to determine whether the context promise has been resolved/rejected
|
|
23
|
+
*/
|
|
24
|
+
get getLoadContextPromise(): Future<void>;
|
|
20
25
|
/**
|
|
21
26
|
* Omnia SharePoint Environment
|
|
22
27
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosResponse } from "axios";
|
|
2
|
-
import { HttpHeaders, IContextProvider, IMessageBusTopicSubscription } from "../../models";
|
|
2
|
+
import { Future, HttpHeaders, IContextProvider, IMessageBusTopicSubscription } from "../../models";
|
|
3
3
|
import { SharePointPageContext } from "../models";
|
|
4
4
|
/**
|
|
5
5
|
* Provides context for context aware objects such as SharepointContext
|
|
@@ -34,6 +34,7 @@ export declare class SharePointCtxProvider {
|
|
|
34
34
|
private _currentAppId;
|
|
35
35
|
private _loadContextPromise;
|
|
36
36
|
onContextLoadedOrChanged(): IMessageBusTopicSubscription<SharePointPageContext>;
|
|
37
|
+
getLoadContextPromise(): Future<void>;
|
|
37
38
|
getSharePointPageContext: (spUrl: string) => Promise<SharePointPageContext>;
|
|
38
39
|
dispose(): void;
|
|
39
40
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['fa502cf2-bcf9-4dc0-b4f9-13dc63c04bfc']","content":{"./node_modules/@omnia/fx-sp/services/index.js":{"id":"./node_modules/@omnia/fx-sp/services/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["LanguageService","ListsService","PrincipalService","SharePointUserService","SharepointMediaService","SiteService","StringMatchOption","TermService"]},"./node_modules/@omnia/fx-sp/services/LanguageService.js":{"id":"./node_modules/@omnia/fx-sp/services/languageservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["LanguageService"]},"./node_modules/@omnia/fx-sp/services/ListsService.js":{"id":"./node_modules/@omnia/fx-sp/services/listsservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ListsService"]},"./node_modules/@omnia/fx-sp/services/PrincipalService.js":{"id":"./node_modules/@omnia/fx-sp/services/principalservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["PrincipalService"]},"./node_modules/@omnia/fx-sp/services/SharepointMediaService.js":{"id":"./node_modules/@omnia/fx-sp/services/sharepointmediaservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["SharepointMediaService"]},"./node_modules/@omnia/fx-sp/services/SiteService.js":{"id":"./node_modules/@omnia/fx-sp/services/siteservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["SiteService"]},"./node_modules/@omnia/fx-sp/services/TermService.js":{"id":"./node_modules/@omnia/fx-sp/services/termservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["StringMatchOption","TermService"]},"./node_modules/@omnia/fx-sp/services/UserService.js":{"id":"./node_modules/@omnia/fx-sp/services/userservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["SharePointUserService"]},"./node_modules/@omnia/fx-sp/stores/index.js":{"id":"./node_modules/@omnia/fx-sp/stores/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyHelperStore","CurrentTermToken","SharePointTaxonomyGlossaryStore","SharePointUserStore","TermNavigationStore","TermStore"]},"./node_modules/@omnia/fx-sp/index.js":{"id":"eff19cad-5557-434b-a477-1e1e2a70a2a0","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyHelperStore","AppNamingPolicyValidationState","AssociatedGroup","CurrentTermToken","DefaultValueType","EnterpriseGlossaryTermInformation","EnterpriseKeywordDisplayStyles","EnterpriseKeywordsPropertySettings","FilterEngineTaxonomyValueSortOrder","LanguageService","ListsService","OmniaSharePointLocalizationNamespace","Parameters","PrincipalService","ResourceEvaluators","SPSearchFilterEngineContext","SPSearchUtils","SecurityRoles","SharePointBusinessProfileRelativePathValue","SharePointContext","SharePointFeatureConfiguration","SharePointPermissionRoles","SharePointTaxonomyGlossary","SharePointTaxonomyGlossaryStore","SharePointTermEnterpriseGlossaryStyles","SharePointTermGlossarySelectedMessage","SharePointUserProfilePersonPropertyValue","SharePointUserProfilePropertyValueBase","SharePointUserProfilePropertyValueTypes","SharePointUserProfileTermSetPropertyValue","SharePointUserProfileTextPropertyValue","SharePointUserService","SharePointUserStore","SharepointDateTimeFormatter","SharepointMediaService","SiteService","StringMatchOption","TargetingFilterStyles","TaxonomyDisplayStyles","TaxonomyFieldSettingsStyles","TaxonomyFilterEngineHelper","TermItemRendererMode","TermNavigationStore","TermOrganizationFilterByCustomProperty","TermOrganizationFilterByTermId","TermOrganizationFilterType","TermPickerStyles","TermService","TermSetPickerStyles","TermSetPropertyBindingSetting","TermSetPropertyStyles","TermStore","TermToken","
|
|
1
|
+
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['fa502cf2-bcf9-4dc0-b4f9-13dc63c04bfc']","content":{"./node_modules/@omnia/fx-sp/services/index.js":{"id":"./node_modules/@omnia/fx-sp/services/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["LanguageService","ListsService","PrincipalService","SharePointUserService","SharepointMediaService","SiteService","StringMatchOption","TermService"]},"./node_modules/@omnia/fx-sp/services/LanguageService.js":{"id":"./node_modules/@omnia/fx-sp/services/languageservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["LanguageService"]},"./node_modules/@omnia/fx-sp/services/ListsService.js":{"id":"./node_modules/@omnia/fx-sp/services/listsservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ListsService"]},"./node_modules/@omnia/fx-sp/services/PrincipalService.js":{"id":"./node_modules/@omnia/fx-sp/services/principalservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["PrincipalService"]},"./node_modules/@omnia/fx-sp/services/SharepointMediaService.js":{"id":"./node_modules/@omnia/fx-sp/services/sharepointmediaservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["SharepointMediaService"]},"./node_modules/@omnia/fx-sp/services/SiteService.js":{"id":"./node_modules/@omnia/fx-sp/services/siteservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["SiteService"]},"./node_modules/@omnia/fx-sp/services/TermService.js":{"id":"./node_modules/@omnia/fx-sp/services/termservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["StringMatchOption","TermService"]},"./node_modules/@omnia/fx-sp/services/UserService.js":{"id":"./node_modules/@omnia/fx-sp/services/userservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["SharePointUserService"]},"./node_modules/@omnia/fx-sp/stores/index.js":{"id":"./node_modules/@omnia/fx-sp/stores/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyHelperStore","CurrentTermToken","SharePointTaxonomyGlossaryStore","SharePointUserStore","TermNavigationStore","TermStore"]},"./node_modules/@omnia/fx-sp/index.js":{"id":"eff19cad-5557-434b-a477-1e1e2a70a2a0","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyHelperStore","AppNamingPolicyValidationState","AssociatedGroup","CurrentTermToken","DefaultValueType","EnterpriseGlossaryTermInformation","EnterpriseKeywordDisplayStyles","EnterpriseKeywordsPropertySettings","FilterEngineTaxonomyValueSortOrder","LanguageService","ListsService","OmniaSharePointLocalizationNamespace","Parameters","PrincipalService","ResourceEvaluators","SPSearchFilterEngineContext","SPSearchUtils","SecurityRoles","SharePointBusinessProfileRelativePathValue","SharePointContext","SharePointFeatureConfiguration","SharePointPermissionRoles","SharePointTaxonomyGlossary","SharePointTaxonomyGlossaryStore","SharePointTermEnterpriseGlossaryStyles","SharePointTermGlossarySelectedMessage","SharePointUserProfilePersonPropertyValue","SharePointUserProfilePropertyValueBase","SharePointUserProfilePropertyValueTypes","SharePointUserProfileTermSetPropertyValue","SharePointUserProfileTextPropertyValue","SharePointUserService","SharePointUserStore","SharepointDateTimeFormatter","SharepointMediaService","SiteService","StringMatchOption","TargetingFilterStyles","TaxonomyDisplayStyles","TaxonomyFieldSettingsStyles","TaxonomyFilterEngineHelper","TermItemRendererMode","TermNavigationStore","TermOrganizationFilterByCustomProperty","TermOrganizationFilterByTermId","TermOrganizationFilterType","TermPickerStyles","TermService","TermSetPickerStyles","TermSetPropertyBindingSetting","TermSetPropertyStyles","TermStore","TermToken","TermTreeStyles"]}}}
|
|
@@ -14,6 +14,7 @@ export interface TaxonomyFilterEngineProperty extends BaseFilterEngineProperty {
|
|
|
14
14
|
defaultValueType: DefaultValueType;
|
|
15
15
|
showDeprecatedTerms: boolean;
|
|
16
16
|
showChipsPropertyLabel: boolean;
|
|
17
|
+
selectChildTerms: boolean;
|
|
17
18
|
}
|
|
18
19
|
export declare enum FilterEngineTaxonomyValueSortOrder {
|
|
19
20
|
TermsetOrder = 0,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { TsxAllowUnknowProperties } from "@omnia/fx/ux";
|
|
2
1
|
import { TaxonomyFieldDisplayClickHander } from "..";
|
|
3
2
|
import { GuidValue, IIcon, TermUISettings } from "../../../models";
|
|
4
3
|
import { EnterpriseGlossaryTermComponentBaseStyles } from "../../../ux/models";
|
|
@@ -35,14 +34,3 @@ export interface ISharePointTermItemComponent {
|
|
|
35
34
|
};
|
|
36
35
|
}[];
|
|
37
36
|
}
|
|
38
|
-
declare global {
|
|
39
|
-
namespace JSX {
|
|
40
|
-
interface Element {
|
|
41
|
-
}
|
|
42
|
-
interface ElementClass {
|
|
43
|
-
}
|
|
44
|
-
interface IntrinsicElements {
|
|
45
|
-
"omfx-sp-term-item": TsxAllowUnknowProperties<ISharePointTermItemComponent>;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
@@ -1,44 +1,115 @@
|
|
|
1
1
|
import { GuidValue, IIcon, TermUISettings } from "../../../models";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { MultilingualStore, EnterpriseGlossaryStore } from "../../../../fx/stores";
|
|
5
|
-
import { EnterpriseGlossaryTermComponentBase } from "../../../ux/enterpriseglossary/componentbase";
|
|
6
|
-
import { IWebComponentInstance } from "../../../runtime/core/InternalWebComponentBootstrapper";
|
|
7
|
-
export declare class SharePointTermItemComponent extends EnterpriseGlossaryTermComponentBase implements IWebComponentInstance, ISharePointTermItemComponent {
|
|
2
|
+
import { Term, TermItemLanguageOptionProps, TaxonomyFieldDisplayClickHander, TermItemRendererMode } from "../..";
|
|
3
|
+
declare const _default: (props: {
|
|
8
4
|
term: Term;
|
|
9
|
-
|
|
5
|
+
} & {
|
|
6
|
+
tooltip?: string;
|
|
7
|
+
} & {
|
|
10
8
|
languageOption?: TermItemLanguageOptionProps;
|
|
9
|
+
} & {
|
|
11
10
|
termUISettings?: TermUISettings;
|
|
12
|
-
|
|
11
|
+
} & {
|
|
13
12
|
clickHandler?: TaxonomyFieldDisplayClickHander;
|
|
14
|
-
|
|
13
|
+
} & {
|
|
14
|
+
display?: TermItemRendererMode;
|
|
15
|
+
} & {
|
|
15
16
|
appendMenuItems?: {
|
|
16
17
|
termId: GuidValue;
|
|
17
18
|
onClick: (term: Term) => void;
|
|
18
19
|
title: string;
|
|
19
20
|
}[];
|
|
20
|
-
|
|
21
|
+
} & {
|
|
22
|
+
validateRenderTooltip?: (items: {
|
|
21
23
|
termId: GuidValue;
|
|
22
24
|
onClick: (term: Term) => any;
|
|
23
25
|
title: string;
|
|
24
|
-
}
|
|
26
|
+
}[]) => {
|
|
25
27
|
[termId: string]: {
|
|
26
28
|
title: string;
|
|
27
29
|
icon: IIcon;
|
|
28
30
|
};
|
|
29
31
|
}[];
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
32
|
+
} & Omit<{
|
|
33
|
+
"onClick:closeIcon"?: () => any;
|
|
34
|
+
}, "display" | "tooltip" | "clickHandler" | "appendMenuItems" | "validateRenderTooltip" | "term" | "languageOption" | "termUISettings"> & {
|
|
35
|
+
"v-slots"?: {
|
|
36
|
+
default?: import("vue").Slot;
|
|
37
|
+
};
|
|
38
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "display" | "tooltip" | "clickHandler" | "appendMenuItems" | "validateRenderTooltip" | "term" | "languageOption" | "termUISettings">) => {
|
|
39
|
+
$: import("vue").ComponentInternalInstance;
|
|
40
|
+
$data: {};
|
|
41
|
+
$props: {};
|
|
42
|
+
$attrs: {
|
|
43
|
+
[x: string]: unknown;
|
|
44
|
+
};
|
|
45
|
+
$refs: {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
};
|
|
48
|
+
$slots: Readonly<{
|
|
49
|
+
[name: string]: import("vue").Slot<any>;
|
|
50
|
+
}>;
|
|
51
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
|
52
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
|
53
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
54
|
+
$el: any;
|
|
55
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
|
56
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
57
|
+
created?: (() => void) | (() => void)[];
|
|
58
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
59
|
+
mounted?: (() => void) | (() => void)[];
|
|
60
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
61
|
+
updated?: (() => void) | (() => void)[];
|
|
62
|
+
activated?: (() => void) | (() => void)[];
|
|
63
|
+
deactivated?: (() => void) | (() => void)[];
|
|
64
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
65
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
66
|
+
destroyed?: (() => void) | (() => void)[];
|
|
67
|
+
unmounted?: (() => void) | (() => void)[];
|
|
68
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
69
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
70
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
|
71
|
+
};
|
|
72
|
+
$forceUpdate: () => void;
|
|
73
|
+
$nextTick: typeof import("vue").nextTick;
|
|
74
|
+
$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;
|
|
75
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
76
|
+
propsDefinition: {
|
|
77
|
+
term: Term;
|
|
78
|
+
} & {
|
|
79
|
+
tooltip?: string;
|
|
80
|
+
} & {
|
|
81
|
+
languageOption?: TermItemLanguageOptionProps;
|
|
82
|
+
} & {
|
|
83
|
+
termUISettings?: TermUISettings;
|
|
84
|
+
} & {
|
|
85
|
+
clickHandler?: TaxonomyFieldDisplayClickHander;
|
|
86
|
+
} & {
|
|
87
|
+
display?: TermItemRendererMode;
|
|
88
|
+
} & {
|
|
89
|
+
appendMenuItems?: {
|
|
90
|
+
termId: GuidValue;
|
|
91
|
+
onClick: (term: Term) => void;
|
|
92
|
+
title: string;
|
|
93
|
+
}[];
|
|
94
|
+
} & {
|
|
95
|
+
validateRenderTooltip?: (items: {
|
|
96
|
+
termId: GuidValue;
|
|
97
|
+
onClick: (term: Term) => any;
|
|
98
|
+
title: string;
|
|
99
|
+
}[]) => {
|
|
100
|
+
[termId: string]: {
|
|
101
|
+
title: string;
|
|
102
|
+
icon: IIcon;
|
|
103
|
+
};
|
|
104
|
+
}[];
|
|
105
|
+
} & {
|
|
106
|
+
"v-slots"?: {
|
|
107
|
+
default?: import("vue").Slot;
|
|
108
|
+
};
|
|
109
|
+
} & {
|
|
110
|
+
"onClick:closeIcon"?: () => any;
|
|
111
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "display" | "tooltip" | "clickHandler" | "appendMenuItems" | "validateRenderTooltip" | "term" | "languageOption" | "termUISettings">;
|
|
112
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
113
|
+
[key: string]: any;
|
|
114
|
+
}>;
|
|
115
|
+
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { TsxAllowUnknowProperties } from "../../../ux";
|
|
2
1
|
import { GuidValue } from "../../../models";
|
|
3
2
|
export interface ITermSetPickerProperties {
|
|
4
3
|
label: string;
|
|
@@ -13,14 +12,3 @@ export interface ITermSetPicker extends ITermSetPickerProperties {
|
|
|
13
12
|
termSetId: GuidValue;
|
|
14
13
|
onChanged: (termSetId: GuidValue) => void;
|
|
15
14
|
}
|
|
16
|
-
declare global {
|
|
17
|
-
namespace JSX {
|
|
18
|
-
interface Element {
|
|
19
|
-
}
|
|
20
|
-
interface ElementClass {
|
|
21
|
-
}
|
|
22
|
-
interface IntrinsicElements {
|
|
23
|
-
"omfx-termset-picker": TsxAllowUnknowProperties<ITermSetPicker>;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,53 +1,89 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ITermSetPicker } from "./ITermSetPicker";
|
|
3
|
-
import { GuidValue, Future } from "../../../models";
|
|
4
|
-
import { VueComponentBase } from "@omnia/fx/ux";
|
|
5
|
-
import { TermStore, TermSetDefinition } from "../../../fx/stores";
|
|
6
|
-
import { TermGroupWithTermSets } from "../..";
|
|
7
|
-
import { OmniaTheming } from "../../../ux";
|
|
8
|
-
import { TermSetPickerLocalization } from "./loc/localize";
|
|
1
|
+
import { GuidValue } from "../../../models";
|
|
9
2
|
import "./TermSetPicker.css";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
content: string;
|
|
32
|
-
contentHide: string;
|
|
3
|
+
declare const _default: (props: {
|
|
4
|
+
"v-model"?: GuidValue;
|
|
5
|
+
} & {
|
|
6
|
+
"onUpdate:modelValue"?: (value: GuidValue) => void;
|
|
7
|
+
} & {
|
|
8
|
+
modelValue?: GuidValue;
|
|
9
|
+
} & {
|
|
10
|
+
label?: string;
|
|
11
|
+
} & {
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
} & {
|
|
14
|
+
readonly?: boolean;
|
|
15
|
+
} & {
|
|
16
|
+
clearable?: boolean;
|
|
17
|
+
} & {
|
|
18
|
+
scrollableMaxHeight?: number;
|
|
19
|
+
} & {
|
|
20
|
+
filled?: boolean;
|
|
21
|
+
} & Omit<{}, "label" | "filled" | "disabled" | "readonly" | "v-model" | "onUpdate:modelValue" | "modelValue" | "clearable" | "scrollableMaxHeight"> & {
|
|
22
|
+
"v-slots"?: {
|
|
23
|
+
default?: import("vue").Slot;
|
|
33
24
|
};
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
[groupId: string]: boolean;
|
|
25
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "filled" | "disabled" | "readonly" | "v-model" | "onUpdate:modelValue" | "modelValue" | "clearable" | "scrollableMaxHeight">) => {
|
|
26
|
+
$: import("vue").ComponentInternalInstance;
|
|
27
|
+
$data: {};
|
|
28
|
+
$props: {};
|
|
29
|
+
$attrs: {
|
|
30
|
+
[x: string]: unknown;
|
|
41
31
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
32
|
+
$refs: {
|
|
33
|
+
[x: string]: unknown;
|
|
34
|
+
};
|
|
35
|
+
$slots: Readonly<{
|
|
36
|
+
[name: string]: import("vue").Slot<any>;
|
|
37
|
+
}>;
|
|
38
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
|
39
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
|
40
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
41
|
+
$el: any;
|
|
42
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
|
43
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
44
|
+
created?: (() => void) | (() => void)[];
|
|
45
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
46
|
+
mounted?: (() => void) | (() => void)[];
|
|
47
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
48
|
+
updated?: (() => void) | (() => void)[];
|
|
49
|
+
activated?: (() => void) | (() => void)[];
|
|
50
|
+
deactivated?: (() => void) | (() => void)[];
|
|
51
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
52
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
53
|
+
destroyed?: (() => void) | (() => void)[];
|
|
54
|
+
unmounted?: (() => void) | (() => void)[];
|
|
55
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
56
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
57
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
|
58
|
+
};
|
|
59
|
+
$forceUpdate: () => void;
|
|
60
|
+
$nextTick: typeof import("vue").nextTick;
|
|
61
|
+
$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;
|
|
62
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
63
|
+
propsDefinition: {
|
|
64
|
+
"v-model"?: GuidValue;
|
|
65
|
+
} & {
|
|
66
|
+
"onUpdate:modelValue"?: (value: GuidValue) => void;
|
|
67
|
+
} & {
|
|
68
|
+
modelValue?: GuidValue;
|
|
69
|
+
} & {
|
|
70
|
+
label?: string;
|
|
71
|
+
} & {
|
|
72
|
+
disabled?: boolean;
|
|
73
|
+
} & {
|
|
74
|
+
readonly?: boolean;
|
|
75
|
+
} & {
|
|
76
|
+
clearable?: boolean;
|
|
77
|
+
} & {
|
|
78
|
+
scrollableMaxHeight?: number;
|
|
79
|
+
} & {
|
|
80
|
+
filled?: boolean;
|
|
81
|
+
} & {
|
|
82
|
+
"v-slots"?: {
|
|
83
|
+
default?: import("vue").Slot;
|
|
84
|
+
};
|
|
85
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "filled" | "disabled" | "readonly" | "v-model" | "onUpdate:modelValue" | "modelValue" | "clearable" | "scrollableMaxHeight">;
|
|
86
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
87
|
+
[key: string]: any;
|
|
88
|
+
}>;
|
|
89
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx-sp",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "8.0.
|
|
4
|
+
"version": "8.0.138-dev",
|
|
5
5
|
"description": "Provide Omnia Fx Sharepoint Stuffs.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
],
|
|
20
20
|
"author": "Precio Fishbone",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@omnia/fx": "8.0.
|
|
23
|
-
"@omnia/fx-sp-models": "8.0.
|
|
22
|
+
"@omnia/fx": "8.0.138-dev",
|
|
23
|
+
"@omnia/fx-sp-models": "8.0.138-dev"
|
|
24
24
|
},
|
|
25
25
|
"typings": "./index.d.ts",
|
|
26
26
|
"bugs": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { VueComponentBase } from "@omnia/fx/ux";
|
|
2
|
-
import { Term } from "../../models";
|
|
3
|
-
import { TermStore } from "../../../fx/stores";
|
|
4
|
-
import { MultilingualStore } from "../../../../fx/stores";
|
|
5
|
-
import { GuidValue } from "../../../models";
|
|
6
|
-
import "./TermTreeComponentBase.css";
|
|
7
|
-
export interface TermTreeComponentBaseProps {
|
|
8
|
-
termSetId: GuidValue;
|
|
9
|
-
actionButtons?: (term: Term) => JSX.Element | Array<JSX.Element>;
|
|
10
|
-
}
|
|
11
|
-
export declare abstract class TermTreeComponentBase extends VueComponentBase<TermTreeComponentBaseProps> {
|
|
12
|
-
termSetId: GuidValue;
|
|
13
|
-
actionButtons?: (term: Term) => JSX.Element | Array<JSX.Element>;
|
|
14
|
-
protected termStore: TermStore;
|
|
15
|
-
protected multilingualStore: MultilingualStore;
|
|
16
|
-
private lcid;
|
|
17
|
-
private expandedTerms;
|
|
18
|
-
private termTreeStyles;
|
|
19
|
-
constructor();
|
|
20
|
-
private renderTerm;
|
|
21
|
-
private renderChildTerms;
|
|
22
|
-
protected renderBase(): JSX.Element;
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./TermTreeComponentBase";
|