@omnia/fx-sp 7.0.427-dev → 7.0.428-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/manifests/omnia.fx.sp.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/SharePointUserProfilePropertyValue.d.ts +25 -0
- package/internal-do-not-import-from-here/models/SharePointUserProfilePropertyValue.js +37 -0
- package/internal-do-not-import-from-here/models/TermSetPropertyValue.d.ts +14 -0
- package/internal-do-not-import-from-here/models/TermSetPropertyValue.js +17 -0
- package/internal-do-not-import-from-here/models/index.d.ts +2 -0
- package/internal-do-not-import-from-here/models/index.js +2 -0
- package/internal-do-not-import-from-here/services/UserService.d.ts +10 -4
- package/internal-do-not-import-from-here/stores/SharePointUserStore.d.ts +28 -0
- package/internal-do-not-import-from-here/stores/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/filterengine/handler/TaxonomyFilterEngineHandler.d.ts +7 -6
- package/internal-do-not-import-from-here/ux/properties/term-set/TermSetConfiguration.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/properties/term-set/TermSetDisplay.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/properties/term-set/TermSetEditor.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/properties/term-set/TermSetPropertyDefinition.d.ts +3 -13
- package/internal-do-not-import-from-here/ux/user/UserPropertiesBySharePointDefinition.d.ts +15 -0
- package/internal-do-not-import-from-here/ux/user/UserPropertiesBySharePointDisplay.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/user/UserPropertiesBySharePointEditor.d.ts +8 -0
- package/package.json +3 -3
|
@@ -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","SharepointMediaService","SiteService","StringMatchOption","TermService"
|
|
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","EnterpriseGlossaryTermInformation","EnterpriseKeywordDisplayStyles","FilterEngineTaxonomyValueSortOrder","LanguageService","ListsService","Parameters","PrincipalService","ResourceEvaluators","SPSearchFilterEngineContext","SPSearchUtils","SecurityRoles","SharePointBusinessProfileRelativePathValue","SharePointContext","SharePointPermissionRoles","SharePointTaxonomyGlossary","SharePointTaxonomyGlossaryStore","SharePointTermEnterpriseGlossaryStyles","SharePointTermGlossarySelectedMessage","SharePointTermSetPropertyValue","SharePointUserProfilePersonPropertyValue","SharePointUserProfilePropertyValueBase","SharePointUserProfilePropertyValueTypes","SharePointUserProfileTermSetPropertyValue","SharePointUserProfileTextPropertyValue","SharePointUserService","SharePointUserStore","SharepointDateTimeFormatter","SharepointMediaService","SiteService","StringMatchOption","TargetingFilterStyles","TaxonomyDisplayStyles","TaxonomyFieldSettingsStyles","TermItemRendererMode","TermNavigationStore","TermOrganizationFilterByCustomProperty","TermOrganizationFilterByTermId","TermOrganizationFilterType","TermPickerStyles","TermService","TermSetPickerStyles","TermSetPropertyStyles","TermStore","TermToken","TermTreeComponentBase","TermTreeStyles","sharePointTermSetPropertyDefinitionId"]}}}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { GuidValue, UserIdentity } from "@omnia/fx-models";
|
|
2
|
+
export declare enum SharePointUserProfilePropertyValueTypes {
|
|
3
|
+
Text = 0,
|
|
4
|
+
TermSet = 1,
|
|
5
|
+
Person = 2
|
|
6
|
+
}
|
|
7
|
+
export declare abstract class SharePointUserProfilePropertyValueBase {
|
|
8
|
+
abstract readonly type: SharePointUserProfilePropertyValueTypes;
|
|
9
|
+
}
|
|
10
|
+
export declare class SharePointUserProfileTextPropertyValue extends SharePointUserProfilePropertyValueBase {
|
|
11
|
+
text: string;
|
|
12
|
+
type: SharePointUserProfilePropertyValueTypes;
|
|
13
|
+
constructor(text: string);
|
|
14
|
+
}
|
|
15
|
+
export declare class SharePointUserProfileTermSetPropertyValue extends SharePointUserProfilePropertyValueBase {
|
|
16
|
+
termIds: GuidValue[];
|
|
17
|
+
multiple: boolean;
|
|
18
|
+
type: SharePointUserProfilePropertyValueTypes;
|
|
19
|
+
constructor(termIds: GuidValue[], multiple?: boolean);
|
|
20
|
+
}
|
|
21
|
+
export declare class SharePointUserProfilePersonPropertyValue extends SharePointUserProfilePropertyValueBase {
|
|
22
|
+
user: UserIdentity;
|
|
23
|
+
type: SharePointUserProfilePropertyValueTypes;
|
|
24
|
+
constructor(user: UserIdentity);
|
|
25
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SharePointUserProfilePersonPropertyValue = exports.SharePointUserProfileTermSetPropertyValue = exports.SharePointUserProfileTextPropertyValue = exports.SharePointUserProfilePropertyValueBase = exports.SharePointUserProfilePropertyValueTypes = void 0;
|
|
4
|
+
var SharePointUserProfilePropertyValueTypes;
|
|
5
|
+
(function (SharePointUserProfilePropertyValueTypes) {
|
|
6
|
+
SharePointUserProfilePropertyValueTypes[SharePointUserProfilePropertyValueTypes["Text"] = 0] = "Text";
|
|
7
|
+
SharePointUserProfilePropertyValueTypes[SharePointUserProfilePropertyValueTypes["TermSet"] = 1] = "TermSet";
|
|
8
|
+
SharePointUserProfilePropertyValueTypes[SharePointUserProfilePropertyValueTypes["Person"] = 2] = "Person";
|
|
9
|
+
})(SharePointUserProfilePropertyValueTypes = exports.SharePointUserProfilePropertyValueTypes || (exports.SharePointUserProfilePropertyValueTypes = {}));
|
|
10
|
+
class SharePointUserProfilePropertyValueBase {
|
|
11
|
+
}
|
|
12
|
+
exports.SharePointUserProfilePropertyValueBase = SharePointUserProfilePropertyValueBase;
|
|
13
|
+
class SharePointUserProfileTextPropertyValue extends SharePointUserProfilePropertyValueBase {
|
|
14
|
+
constructor(text) {
|
|
15
|
+
super();
|
|
16
|
+
this.text = text;
|
|
17
|
+
this.type = SharePointUserProfilePropertyValueTypes.Text;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.SharePointUserProfileTextPropertyValue = SharePointUserProfileTextPropertyValue;
|
|
21
|
+
class SharePointUserProfileTermSetPropertyValue extends SharePointUserProfilePropertyValueBase {
|
|
22
|
+
constructor(termIds, multiple = false) {
|
|
23
|
+
super();
|
|
24
|
+
this.termIds = termIds;
|
|
25
|
+
this.multiple = multiple;
|
|
26
|
+
this.type = SharePointUserProfilePropertyValueTypes.TermSet;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.SharePointUserProfileTermSetPropertyValue = SharePointUserProfileTermSetPropertyValue;
|
|
30
|
+
class SharePointUserProfilePersonPropertyValue extends SharePointUserProfilePropertyValueBase {
|
|
31
|
+
constructor(user) {
|
|
32
|
+
super();
|
|
33
|
+
this.user = user;
|
|
34
|
+
this.type = SharePointUserProfilePropertyValueTypes.Person;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.SharePointUserProfilePersonPropertyValue = SharePointUserProfilePersonPropertyValue;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Guid, GuidValue, PrimitiveArray, PropertyDisplaySettingsBase, PropertyValueBase } from "@omnia/fx-models";
|
|
2
|
+
export declare type TermSetDisplaySettings = {
|
|
3
|
+
termSetId: GuidValue;
|
|
4
|
+
} & PropertyDisplaySettingsBase;
|
|
5
|
+
export declare type TermSetEditorSettings = {
|
|
6
|
+
multiple?: boolean;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const sharePointTermSetPropertyDefinitionId: Guid;
|
|
10
|
+
export declare class SharePointTermSetPropertyValue extends PropertyValueBase {
|
|
11
|
+
termIds: Guid[];
|
|
12
|
+
primitive: PrimitiveArray<SharePointTermSetPropertyValue>;
|
|
13
|
+
constructor(termIds: Guid[]);
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SharePointTermSetPropertyValue = exports.sharePointTermSetPropertyDefinitionId = void 0;
|
|
4
|
+
const fx_models_1 = require("@omnia/fx-models");
|
|
5
|
+
exports.sharePointTermSetPropertyDefinitionId = new fx_models_1.Guid("73b6db0e-27f2-45d6-b57d-1f18db45f182");
|
|
6
|
+
class SharePointTermSetPropertyValue extends fx_models_1.PropertyValueBase {
|
|
7
|
+
constructor(termIds) {
|
|
8
|
+
super();
|
|
9
|
+
this.termIds = termIds;
|
|
10
|
+
this.primitive = {
|
|
11
|
+
type: fx_models_1.PrimitiveType.guid,
|
|
12
|
+
arrayValueType: fx_models_1.PrimitiveType.guid,
|
|
13
|
+
path: p => p.termIds
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.SharePointTermSetPropertyValue = SharePointTermSetPropertyValue;
|
|
@@ -15,3 +15,5 @@ export * from "./ReservedSiteAliasValidation";
|
|
|
15
15
|
export * from "./OrderByField";
|
|
16
16
|
export * from "./SharePointBusinessProfileRelativePathValue";
|
|
17
17
|
export * from "./FilterEngine";
|
|
18
|
+
export * from "./TermSetPropertyValue";
|
|
19
|
+
export * from "./SharePointUserProfilePropertyValue";
|
|
@@ -19,3 +19,5 @@ tslib_1.__exportStar(require("./ReservedSiteAliasValidation"), exports);
|
|
|
19
19
|
tslib_1.__exportStar(require("./OrderByField"), exports);
|
|
20
20
|
tslib_1.__exportStar(require("./SharePointBusinessProfileRelativePathValue"), exports);
|
|
21
21
|
tslib_1.__exportStar(require("./FilterEngine"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./TermSetPropertyValue"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./SharePointUserProfilePropertyValue"), exports);
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import { SharePointUserProfilePropertyValueBase } from "@omnia/fx-sp-models";
|
|
2
|
+
import { OmniaContext } from "internal/fx/contexts";
|
|
3
|
+
import { UserIdentity } from "../../models";
|
|
4
|
+
export declare class SharePointUserService {
|
|
2
5
|
private httpClient;
|
|
6
|
+
omniaContext: OmniaContext;
|
|
3
7
|
private currentProfileProperties;
|
|
4
8
|
constructor();
|
|
5
|
-
|
|
6
|
-
|
|
9
|
+
updateUserProfilePropertiesValues: (properties: {
|
|
10
|
+
[propertyName: string]: SharePointUserProfilePropertyValueBase;
|
|
11
|
+
}) => Promise<void>;
|
|
12
|
+
getUserProfilePropertyNames: () => Promise<Array<string>>;
|
|
13
|
+
getUserProfilePropertiesValues: (user: UserIdentity) => Promise<{
|
|
7
14
|
[internalName: string]: string;
|
|
8
15
|
}>;
|
|
9
16
|
setupUserProfile: () => Promise<void>;
|
|
10
|
-
private ensureSPProfilePropertiesFromServer;
|
|
11
17
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OmniaContext } from "@omnia/fx";
|
|
2
|
+
import { UserIdentity } from "@omnia/fx-models";
|
|
3
|
+
import { SharePointUserProfilePropertyValueBase } from "@omnia/fx-sp-models";
|
|
4
|
+
import { Store } from "@omnia/../../fx/stores";
|
|
5
|
+
import { SharePointUserService } from "../services";
|
|
6
|
+
export declare class SharePointUserStore extends Store {
|
|
7
|
+
sharePointUserService: SharePointUserService;
|
|
8
|
+
omniaContext: OmniaContext;
|
|
9
|
+
private resolveUserPropertiesValuePromises;
|
|
10
|
+
actions: {
|
|
11
|
+
updateUserProfilePropertiesValues: import("@omnia/../../fx/stores").StoreAction<unknown, (properties: {
|
|
12
|
+
[propertyName: string]: SharePointUserProfilePropertyValueBase;
|
|
13
|
+
}) => void, (result: string[], properties: {
|
|
14
|
+
[propertyName: string]: SharePointUserProfilePropertyValueBase;
|
|
15
|
+
}) => void, (failureReason: any, properties: {
|
|
16
|
+
[propertyName: string]: SharePointUserProfilePropertyValueBase;
|
|
17
|
+
}) => void, (properties: {
|
|
18
|
+
[propertyName: string]: SharePointUserProfilePropertyValueBase;
|
|
19
|
+
}) => Promise<string[]>>;
|
|
20
|
+
getUserProfilePropertyNames: import("@omnia/../../fx/stores").StoreAction<unknown, () => void, (result: string[]) => void, (failureReason: any) => void, () => Promise<string[]>>;
|
|
21
|
+
getUserProfilePropertiesValues: import("@omnia/../../fx/stores").StoreAction<unknown, (user: UserIdentity) => void, (result: {
|
|
22
|
+
[name: string]: string;
|
|
23
|
+
}, user: UserIdentity) => void, (failureReason: any, user: UserIdentity) => void, (user: UserIdentity) => Promise<{
|
|
24
|
+
[name: string]: string;
|
|
25
|
+
}>>;
|
|
26
|
+
};
|
|
27
|
+
protected onActivated(): void;
|
|
28
|
+
}
|
package/internal-do-not-import-from-here/ux/filterengine/handler/TaxonomyFilterEngineHandler.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EnterprisePropertyDefinition,
|
|
1
|
+
import { BaseFilterEnginePropertyOutput, EnterprisePropertyDefinition, FilterEngineRefinementOutput, GuidValue, ITypedFilterEngineHandler, PropertyIndexedType, QueryFilterEnginePropertyOutput, Refinement, Refiner } from "@omnia/fx-models";
|
|
2
2
|
import { Store } from "@omnia/../../fx/stores";
|
|
3
3
|
import { TaxonomyFilterEngineProperty } from "internal/fx/sp";
|
|
4
4
|
import { TaxonomyFilterEnginePropertyOutput, Term } from "internal/fx/sp/models";
|
|
@@ -13,17 +13,18 @@ export default class TaxonomyFilterEngineHandler extends Store implements ITyped
|
|
|
13
13
|
hideTitle: boolean;
|
|
14
14
|
private termSetId;
|
|
15
15
|
private customSortOrderHash;
|
|
16
|
-
private
|
|
16
|
+
private latestRefiner;
|
|
17
17
|
private selectedRefinements;
|
|
18
18
|
private mediator;
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
constructor(property: TaxonomyFilterEngineProperty, routerDefaultValue:
|
|
22
|
+
constructor(property: TaxonomyFilterEngineProperty, routerDefaultValue: QueryFilterEnginePropertyOutput);
|
|
23
23
|
generateTypedPropertyOutput: () => TaxonomyFilterEnginePropertyOutput;
|
|
24
|
-
|
|
24
|
+
generateRefinementOutput: () => FilterEngineRefinementOutput;
|
|
25
|
+
generatePropertyOutput: () => BaseFilterEnginePropertyOutput;
|
|
25
26
|
clearAllSelections: () => void;
|
|
26
|
-
|
|
27
|
+
setLatestRefiner(refiner: Refiner<Refinement>): void;
|
|
27
28
|
subscribeChange: () => (fn: (obj: void) => void) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
|
28
29
|
resolveData: () => Promise<void>;
|
|
29
30
|
getters: {
|
|
@@ -42,7 +43,7 @@ export default class TaxonomyFilterEngineHandler extends Store implements ITyped
|
|
|
42
43
|
/**
|
|
43
44
|
* A hook for outside code to track when latestRefinments is updated with new value
|
|
44
45
|
* */
|
|
45
|
-
|
|
46
|
+
onLatestRefinerUpdated: import("@omnia/../../fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
46
47
|
};
|
|
47
48
|
actions: {
|
|
48
49
|
setFilterPropertyValue: import("@omnia/../../fx/stores").StoreAction<unknown, (newValue: GuidValue[]) => void, (result: void, newValue: GuidValue[]) => void, (failureReason: any, newValue: GuidValue[]) => void, (newValue: Array<GuidValue>) => Promise<void>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IPropertyConfigurationRenderer } from "@omnia/fx-models";
|
|
2
|
-
import {
|
|
3
|
-
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<IPropertyConfigurationRenderer<
|
|
4
|
-
propsDefinition: import("vue-tsx-support").PropsForOutside<IPropertyConfigurationRenderer<
|
|
5
|
-
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<any>, {}, import("vue-tsx-support").PropsForOutside<IPropertyConfigurationRenderer<
|
|
6
|
-
propsDefinition: import("vue-tsx-support").PropsForOutside<IPropertyConfigurationRenderer<
|
|
2
|
+
import { SharePointTermSetPropertyDefinition } from "./TermSetPropertyDefinition";
|
|
3
|
+
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<IPropertyConfigurationRenderer<SharePointTermSetPropertyDefinition>, never>, any, any, any>> & {
|
|
4
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<IPropertyConfigurationRenderer<SharePointTermSetPropertyDefinition>, never>;
|
|
5
|
+
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<any>, {}, import("vue-tsx-support").PropsForOutside<IPropertyConfigurationRenderer<SharePointTermSetPropertyDefinition>, never>, any, any, any>> & {
|
|
6
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<IPropertyConfigurationRenderer<SharePointTermSetPropertyDefinition>, never>;
|
|
7
7
|
});
|
|
8
8
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IPropertyDisplayRenderer } from "@omnia/fx-models";
|
|
2
|
-
import {
|
|
3
|
-
export declare type TermSetDisplayProps = IPropertyDisplayRenderer<
|
|
2
|
+
import { SharePointTermSetPropertyDefinition } from "./TermSetPropertyDefinition";
|
|
3
|
+
export declare type TermSetDisplayProps = IPropertyDisplayRenderer<SharePointTermSetPropertyDefinition>;
|
|
4
4
|
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<TermSetDisplayProps, never>, any, any, any>> & {
|
|
5
5
|
propsDefinition: import("vue-tsx-support").PropsForOutside<TermSetDisplayProps, never>;
|
|
6
6
|
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<any>, {}, import("vue-tsx-support").PropsForOutside<TermSetDisplayProps, never>, any, any, any>> & {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IPropertyEditorRenderer } from "@omnia/fx-models";
|
|
2
|
-
import {
|
|
3
|
-
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<IPropertyEditorRenderer<
|
|
4
|
-
propsDefinition: import("vue-tsx-support").PropsForOutside<IPropertyEditorRenderer<
|
|
5
|
-
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<any>, {}, import("vue-tsx-support").PropsForOutside<IPropertyEditorRenderer<
|
|
6
|
-
propsDefinition: import("vue-tsx-support").PropsForOutside<IPropertyEditorRenderer<
|
|
2
|
+
import { SharePointTermSetPropertyDefinition } from "./TermSetPropertyDefinition";
|
|
3
|
+
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<IPropertyEditorRenderer<SharePointTermSetPropertyDefinition>, never>, any, any, any>> & {
|
|
4
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<IPropertyEditorRenderer<SharePointTermSetPropertyDefinition>, never>;
|
|
5
|
+
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<any>, {}, import("vue-tsx-support").PropsForOutside<IPropertyEditorRenderer<SharePointTermSetPropertyDefinition>, never>, any, any, any>> & {
|
|
6
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<IPropertyEditorRenderer<SharePointTermSetPropertyDefinition>, never>;
|
|
7
7
|
});
|
|
8
8
|
export default _default;
|
package/internal-do-not-import-from-here/ux/properties/term-set/TermSetPropertyDefinition.d.ts
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
termIds: GuidValue[];
|
|
5
|
-
}
|
|
6
|
-
export declare type TermSetDisplaySettings = {
|
|
7
|
-
termSetId: GuidValue;
|
|
8
|
-
} & PropertyDisplaySettingsBase;
|
|
9
|
-
export declare type TermSetEditorSettings = {
|
|
10
|
-
multi?: boolean;
|
|
11
|
-
required?: boolean;
|
|
12
|
-
};
|
|
13
|
-
export declare class TermSetPropertyDefinition extends PropertyDefinition<TermSetPropertyValue, TermSetDisplaySettings, TermSetEditorSettings> {
|
|
1
|
+
import { PropertyDefinition } from "@omnia/fx-models";
|
|
2
|
+
import { SharePointTermSetPropertyValue, TermSetDisplaySettings, TermSetEditorSettings } from "@omnia/fx-sp-models";
|
|
3
|
+
export declare class SharePointTermSetPropertyDefinition extends PropertyDefinition<SharePointTermSetPropertyValue, TermSetDisplaySettings, TermSetEditorSettings> {
|
|
14
4
|
id: import("@omnia/fx-models").Guid;
|
|
15
5
|
typeName: string;
|
|
16
6
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Guid, PropertyDefinition, PropertyValueBase, UserPropertyConfiguration } from "@omnia/fx-models";
|
|
2
|
+
export declare class SharePointUserPropertyValue extends PropertyValueBase {
|
|
3
|
+
value: string;
|
|
4
|
+
primitive: null;
|
|
5
|
+
constructor(value: string);
|
|
6
|
+
}
|
|
7
|
+
export declare type SharePointUserPropertyDisplaySettings = {};
|
|
8
|
+
export declare type SharePointUserPropertyEditorSettings = {};
|
|
9
|
+
export declare class UserPropertiesBySharePointDefinition extends PropertyDefinition<SharePointUserPropertyValue, SharePointUserPropertyDisplaySettings, SharePointUserPropertyEditorSettings> {
|
|
10
|
+
id: Guid;
|
|
11
|
+
typeName: string;
|
|
12
|
+
hidden: boolean;
|
|
13
|
+
static createPropertyValue(configuration: UserPropertyConfiguration, spValue: SharePointUserPropertyValue): PropertyValueBase;
|
|
14
|
+
static getPropertyValue(configuration: UserPropertyConfiguration, value: PropertyValueBase): SharePointUserPropertyValue;
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IPropertyProviderDisplayRenderer } from "@omnia/fx-models";
|
|
2
|
+
import { UserPropertiesBySharePointDefinition } from "./UserPropertiesBySharePointDefinition";
|
|
3
|
+
declare const msgraphUserDisplayComponent: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<IPropertyProviderDisplayRenderer<UserPropertiesBySharePointDefinition>, never>, any, any, any>> & {
|
|
4
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<IPropertyProviderDisplayRenderer<UserPropertiesBySharePointDefinition>, never>;
|
|
5
|
+
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<any>, {}, import("vue-tsx-support").PropsForOutside<IPropertyProviderDisplayRenderer<UserPropertiesBySharePointDefinition>, never>, any, any, any>> & {
|
|
6
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<IPropertyProviderDisplayRenderer<UserPropertiesBySharePointDefinition>, never>;
|
|
7
|
+
});
|
|
8
|
+
export default msgraphUserDisplayComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IPropertyProviderDisplayRenderer } from "@omnia/fx-models";
|
|
2
|
+
import { UserPropertiesBySharePointDefinition } from "./UserPropertiesBySharePointDefinition";
|
|
3
|
+
declare const msgraphUserEditorComponent: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<IPropertyProviderDisplayRenderer<UserPropertiesBySharePointDefinition>, never>, any, any, any>> & {
|
|
4
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<IPropertyProviderDisplayRenderer<UserPropertiesBySharePointDefinition>, never>;
|
|
5
|
+
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<any>, {}, import("vue-tsx-support").PropsForOutside<IPropertyProviderDisplayRenderer<UserPropertiesBySharePointDefinition>, never>, any, any, any>> & {
|
|
6
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<IPropertyProviderDisplayRenderer<UserPropertiesBySharePointDefinition>, never>;
|
|
7
|
+
});
|
|
8
|
+
export default msgraphUserEditorComponent;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx-sp",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.428-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": "7.0.
|
|
23
|
-
"@omnia/fx-sp-models": "7.0.
|
|
22
|
+
"@omnia/fx": "7.0.428-dev",
|
|
23
|
+
"@omnia/fx-sp-models": "7.0.428-dev"
|
|
24
24
|
},
|
|
25
25
|
"typings": "./index.d.ts",
|
|
26
26
|
"bugs": {
|