@omnia/fx-sp 7.0.430-dev → 7.0.432-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.
@@ -1,8 +1,8 @@
1
1
  import { Guid, GuidValue, PrimitiveArray, PropertyDisplaySettingsBase, PropertyValueBase } from "@omnia/fx-models";
2
- export declare type TermSetDisplaySettings = {
2
+ export declare type SharePointTermSetPropertyDisplaySettings = {
3
3
  termSetId: GuidValue;
4
4
  } & PropertyDisplaySettingsBase;
5
- export declare type TermSetEditorSettings = {
5
+ export declare type SharePointTermSetPropertyEditorSettings = {
6
6
  multiple?: boolean;
7
7
  required?: boolean;
8
8
  };
@@ -1,7 +1,7 @@
1
- import { ResolvedUserIdentity } from "@omnia/fx-models";
1
+ import { Identity } from "@omnia/fx-models";
2
2
  export interface SiteGroupMembership {
3
3
  spUrl: string;
4
4
  memberships: {
5
- [siteGroupId: number]: Array<ResolvedUserIdentity>;
5
+ [siteGroupId: number]: Array<Identity>;
6
6
  };
7
7
  }
@@ -10,13 +10,13 @@ export declare class SharePointUserStore extends Store {
10
10
  actions: {
11
11
  updateUserProfilePropertiesValues: import("@omnia/../../fx/stores").StoreAction<unknown, (properties: {
12
12
  [propertyName: string]: SharePointUserProfilePropertyValueBase;
13
- }) => void, (result: string[], properties: {
13
+ }) => void, (result: void, properties: {
14
14
  [propertyName: string]: SharePointUserProfilePropertyValueBase;
15
15
  }) => void, (failureReason: any, properties: {
16
16
  [propertyName: string]: SharePointUserProfilePropertyValueBase;
17
17
  }) => void, (properties: {
18
18
  [propertyName: string]: SharePointUserProfilePropertyValueBase;
19
- }) => Promise<string[]>>;
19
+ }) => Promise<void>>;
20
20
  getUserProfilePropertyNames: import("@omnia/../../fx/stores").StoreAction<unknown, () => void, (result: string[]) => void, (failureReason: any) => void, () => Promise<string[]>>;
21
21
  getUserProfilePropertiesValues: import("@omnia/../../fx/stores").StoreAction<unknown, (user: UserIdentity) => void, (result: {
22
22
  [name: string]: string;
@@ -3,4 +3,6 @@ import { FilterEngineHandler } from "@omnia/fx/ux";
3
3
  export declare module SPSearchUtils {
4
4
  function mergeFilter(query: FilterQuery, filterEngineHandler: FilterEngineHandler): FilterEngineSPSearchOutput;
5
5
  function getInternalName(managedProperty: string): string;
6
+ function getQueryableManagedProperty(internalName: string): string;
7
+ function getRefinableManagedProperty(propertyName: string): string;
6
8
  }
@@ -1,6 +1,6 @@
1
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> {
2
+ import { SharePointTermSetPropertyValue, SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyEditorSettings } from "@omnia/fx-sp-models";
3
+ export declare class SharePointTermSetPropertyDefinition extends PropertyDefinition<SharePointTermSetPropertyValue, SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyEditorSettings> {
4
4
  id: import("@omnia/fx-models").Guid;
5
5
  typeName: string;
6
6
  }
@@ -1,8 +1,10 @@
1
1
  import { Guid, PropertyDefinition, PropertyValueBase, UserPropertyConfiguration } from "@omnia/fx-models";
2
+ import { SharePointUserProfilePropertyValueBase } from "@omnia/fx-sp-models";
2
3
  export declare class SharePointUserPropertyValue extends PropertyValueBase {
3
- value: string;
4
+ valueToRender: string;
5
+ valueToUpdate: SharePointUserProfilePropertyValueBase;
4
6
  primitive: null;
5
- constructor(value: string);
7
+ constructor(valueToRender: string, valueToUpdate?: SharePointUserProfilePropertyValueBase);
6
8
  }
7
9
  export declare type SharePointUserPropertyDisplaySettings = {};
8
10
  export declare type SharePointUserPropertyEditorSettings = {};
@@ -10,6 +12,8 @@ export declare class UserPropertiesBySharePointDefinition extends PropertyDefini
10
12
  id: Guid;
11
13
  typeName: string;
12
14
  hidden: boolean;
13
- static createPropertyValue(configuration: UserPropertyConfiguration, spValue: SharePointUserPropertyValue): PropertyValueBase;
14
- static getPropertyValue(configuration: UserPropertyConfiguration, value: PropertyValueBase): SharePointUserPropertyValue;
15
+ private static userIdentityStore;
16
+ private static termStore;
17
+ static createPropertyValue(configuration: UserPropertyConfiguration, spValue: SharePointUserPropertyValue): Promise<PropertyValueBase>;
18
+ static createSharePointUserPropertyValue(configuration: UserPropertyConfiguration, value: PropertyValueBase): SharePointUserPropertyValue;
15
19
  }
@@ -1,8 +1,8 @@
1
- import { IPropertyProviderDisplayRenderer } from "@omnia/fx-models";
1
+ import { IPropertyProviderEditorRenderer } from "@omnia/fx-models";
2
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>;
3
+ declare const msgraphUserEditorComponent: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<IPropertyProviderEditorRenderer<UserPropertiesBySharePointDefinition>, never>, any, any, any>> & {
4
+ propsDefinition: import("vue-tsx-support").PropsForOutside<IPropertyProviderEditorRenderer<UserPropertiesBySharePointDefinition>, never>;
5
+ }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<any>, {}, import("vue-tsx-support").PropsForOutside<IPropertyProviderEditorRenderer<UserPropertiesBySharePointDefinition>, never>, any, any, any>> & {
6
+ propsDefinition: import("vue-tsx-support").PropsForOutside<IPropertyProviderEditorRenderer<UserPropertiesBySharePointDefinition>, never>;
7
7
  });
8
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.430-dev",
4
+ "version": "7.0.432-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.430-dev",
23
- "@omnia/fx-sp-models": "7.0.430-dev"
22
+ "@omnia/fx": "7.0.432-dev",
23
+ "@omnia/fx-sp-models": "7.0.432-dev"
24
24
  },
25
25
  "typings": "./index.d.ts",
26
26
  "bugs": {