@omnia/fx-sp 8.0.28-vnext → 8.0.29-vnext

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.
Files changed (20) hide show
  1. package/internal-do-not-import-from-here/models/FilterEngine.d.ts +4 -2
  2. package/internal-do-not-import-from-here/models/FilterEngine.js +3 -2
  3. package/internal-do-not-import-from-here/models/TermSetPropertyValue.d.ts +8 -4
  4. package/internal-do-not-import-from-here/models/TermSetPropertyValue.js +0 -5
  5. package/internal-do-not-import-from-here/services/TermService.d.ts +1 -0
  6. package/internal-do-not-import-from-here/stores/TermStore.d.ts +1 -1
  7. package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/flat/TermPickerFlatTree.d.ts +1 -1
  8. package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/structured/TermPickerStructuredTree.d.ts +1 -1
  9. package/internal-do-not-import-from-here/ux/filterengine/handler/TaxonomyFilterEngineHandler.d.ts +0 -1
  10. package/internal-do-not-import-from-here/ux/properties/term-set/TermSetConfiguration.d.ts +10 -5
  11. package/internal-do-not-import-from-here/ux/properties/term-set/TermSetDisplay.d.ts +5 -0
  12. package/internal-do-not-import-from-here/ux/properties/term-set/TermSetEditor.d.ts +6 -1
  13. package/internal-do-not-import-from-here/ux/properties/term-set/TermSetPropertyDefinition.d.ts +2 -2
  14. package/internal-do-not-import-from-here/ux/termpicker/TermPicker.d.ts +1 -0
  15. package/internal-do-not-import-from-here/ux/user/UserPropertiesBySharePointProvider.d.ts +5 -1
  16. package/package.json +3 -3
  17. package/internal-do-not-import-from-here/ux/filterengine/components/renderer/termpicker/structured/TermPickerStructuredTreeStyle.css.d.ts +0 -4
  18. package/internal-do-not-import-from-here/ux/user/UserPropertiesBySharePointDefinition.d.ts +0 -19
  19. package/internal-do-not-import-from-here/ux/user/UserPropertiesBySharePointDisplay.d.ts +0 -68
  20. package/internal-do-not-import-from-here/ux/user/UserPropertiesBySharePointEditor.d.ts +0 -83
@@ -1,6 +1,7 @@
1
1
  import { GuidValue, BaseFilterEngineProperty, FilterEngineContext, FilterEngineOperator, PropertyIndexedType, TypedFilterEnginePropertyOutput } from "@omnia/fx-models";
2
2
  export interface TaxonomyFilterEngineProperty extends BaseFilterEngineProperty {
3
3
  value: Array<GuidValue>;
4
+ targetingPropertyIds: Array<GuidValue>;
4
5
  type: PropertyIndexedType.Taxonomy | PropertyIndexedType.EnterpriseKeywords;
5
6
  operator: FilterEngineOperator;
6
7
  showResultCount: boolean;
@@ -17,8 +18,9 @@ export declare enum FilterEngineTaxonomyValueSortOrder {
17
18
  Count = 1
18
19
  }
19
20
  export declare enum DefaultValueType {
20
- FixedValue = 0,
21
- User = 1
21
+ NoDefault = 0,
22
+ FixedValue = 1,
23
+ CurrentUser = 2
22
24
  }
23
25
  export interface TaxonomyFilterEnginePropertyOutput extends TypedFilterEnginePropertyOutput {
24
26
  type: PropertyIndexedType.EnterpriseKeywords | PropertyIndexedType.Taxonomy;
@@ -11,8 +11,9 @@ var FilterEngineTaxonomyValueSortOrder;
11
11
  })(FilterEngineTaxonomyValueSortOrder = exports.FilterEngineTaxonomyValueSortOrder || (exports.FilterEngineTaxonomyValueSortOrder = {}));
12
12
  var DefaultValueType;
13
13
  (function (DefaultValueType) {
14
- DefaultValueType[DefaultValueType["FixedValue"] = 0] = "FixedValue";
15
- DefaultValueType[DefaultValueType["User"] = 1] = "User";
14
+ DefaultValueType[DefaultValueType["NoDefault"] = 0] = "NoDefault";
15
+ DefaultValueType[DefaultValueType["FixedValue"] = 1] = "FixedValue";
16
+ DefaultValueType[DefaultValueType["CurrentUser"] = 2] = "CurrentUser";
16
17
  })(DefaultValueType = exports.DefaultValueType || (exports.DefaultValueType = {}));
17
18
  class SPSearchFilterEngineContext extends fx_models_1.FilterEngineContext {
18
19
  constructor(componentId) {
@@ -1,14 +1,18 @@
1
- import { Guid, GuidValue, PrimitiveArray, PropertyDisplaySettingsBase, PropertyValue } from "@omnia/fx-models";
2
- export type SharePointTermSetPropertyDisplaySettings = {
1
+ import { Guid, GuidValue, LockStatusExcludeChildren, PropertyDisplaySettingsBase, PropertyLockStatusType, PropertyValue } from "@omnia/fx-models";
2
+ export type SharePointTermSetPropertySetupSettings = {
3
3
  termSetId: GuidValue;
4
+ };
5
+ export type SharePointTermSetPropertyDisplaySettings = {
6
+ locks?: PropertyLockStatusType<LockStatusExcludeChildren<Omit<SharePointTermSetPropertyDisplaySettings, "locks">, "label">>;
7
+ textOnly?: boolean;
4
8
  } & PropertyDisplaySettingsBase;
5
9
  export type SharePointTermSetPropertyEditorSettings = {
10
+ locks?: PropertyLockStatusType<Omit<SharePointTermSetPropertyEditorSettings, "locks">>;
6
11
  multiple?: boolean;
7
12
  required?: boolean;
8
13
  };
9
14
  export declare const sharePointTermSetPropertyDefinitionId: Guid;
10
- export declare class SharePointTermSetPropertyValue extends PropertyValue<SharePointTermSetPropertyValue, Guid[]> {
15
+ export declare class SharePointTermSetPropertyValue extends PropertyValue {
11
16
  termIds: Guid[];
12
- primitive: PrimitiveArray<SharePointTermSetPropertyValue, Guid[]>;
13
17
  constructor(termIds: Guid[]);
14
18
  }
@@ -7,11 +7,6 @@ class SharePointTermSetPropertyValue extends fx_models_1.PropertyValue {
7
7
  constructor(termIds) {
8
8
  super();
9
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
10
  }
16
11
  }
17
12
  exports.SharePointTermSetPropertyValue = SharePointTermSetPropertyValue;
@@ -15,6 +15,7 @@ export declare class TermService {
15
15
  getTermSetById: (termSetId: GuidValue) => Promise<TermSet>;
16
16
  getKeywordTermSet: () => Promise<TermSet>;
17
17
  getByIds: (termIds: Array<GuidValue>) => Promise<Term[]>;
18
+ getByIdsInTermSet: (termSetId: GuidValue, termIds: Array<GuidValue>) => Promise<Term[]>;
18
19
  getChildTermsInTermSet: (termSetId: GuidValue, termId?: GuidValue) => Promise<Term[]>;
19
20
  addTerm: (termSetId: GuidValue, termName: string, parentTermId: GuidValue) => Promise<Term>;
20
21
  searchTerm: (termSetId: GuidValue, searchText: string, lcid: number) => Promise<Term[]>;
@@ -28,7 +28,7 @@ export declare class TermStore extends Store {
28
28
  private ensureTermStoreWorkingLanguagesPromise;
29
29
  private keywordTermSetPromise;
30
30
  private inProgressTermIdsRequest;
31
- private parentTermSetMapper;
31
+ private getTermIdentifier;
32
32
  getters: {
33
33
  getTermStoreWorkingLanguages: () => Language[];
34
34
  getOmniaTenantLanguageNotWorkingInTermStore: () => Language[];
@@ -88,8 +88,8 @@ declare const _default: {
88
88
  termSetId?: GuidValue;
89
89
  filterOptions?: (term: Term) => FilterOption;
90
90
  typedHandler?: TaxonomyFilterEngineHandler;
91
- selectedTermIds?: GuidValue[];
92
91
  handleClearFilterValues?: () => void;
92
+ selectedTermIds?: GuidValue[];
93
93
  multi?: boolean;
94
94
  handleTermsSelected?: (termSelected: GuidValue[]) => void;
95
95
  handleAfterLoading?: () => void;
@@ -88,8 +88,8 @@ declare const _default: {
88
88
  termSetId?: GuidValue;
89
89
  filterOptions?: (term: Term) => FilterOption;
90
90
  typedHandler?: TaxonomyFilterEngineHandler;
91
- selectedTermIds?: GuidValue[];
92
91
  handleClearFilterValues?: () => void;
92
+ selectedTermIds?: GuidValue[];
93
93
  multi?: boolean;
94
94
  handleTermsSelected?: (termSelected: GuidValue[]) => void;
95
95
  handleAfterLoading?: () => void;
@@ -4,7 +4,6 @@ import { TaxonomyFilterEngineProperty } from "internal/fx/sp";
4
4
  import { TaxonomyFilterEnginePropertyOutput, Term } from "internal/fx/sp/models";
5
5
  export default class TaxonomyFilterEngineHandler extends Store implements ITypedFilterEngineHandler {
6
6
  private termStore;
7
- private enterprisePropertyStore;
8
7
  private targetingPropertyStore;
9
8
  indexedTypes: PropertyIndexedType[];
10
9
  readonly termPrefixes: string[];
@@ -6,7 +6,8 @@ declare const _default: {
6
6
  $data: {};
7
7
  $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
8
8
  valueBind: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
9
- onValueBindChanged: import("vue").Prop<(newValue: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (newValue: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
9
+ onConfigurationValid: import("vue").Prop<(validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
10
+ showLockConfiguration?: import("vue").Prop<boolean, boolean>;
10
11
  }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
11
12
  $attrs: {
12
13
  [x: string]: unknown;
@@ -23,7 +24,8 @@ declare const _default: {
23
24
  $el: any;
24
25
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
25
26
  valueBind: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
26
- onValueBindChanged: import("vue").Prop<(newValue: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (newValue: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
27
+ onConfigurationValid: import("vue").Prop<(validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
28
+ showLockConfiguration?: import("vue").Prop<boolean, boolean>;
27
29
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
28
30
  beforeCreate?: (() => void) | (() => void)[];
29
31
  created?: (() => void) | (() => void)[];
@@ -46,18 +48,21 @@ declare const _default: {
46
48
  $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;
47
49
  } & Readonly<import("vue").ExtractPropTypes<{
48
50
  valueBind: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
49
- onValueBindChanged: import("vue").Prop<(newValue: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (newValue: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
51
+ onConfigurationValid: import("vue").Prop<(validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
52
+ showLockConfiguration?: import("vue").Prop<boolean, boolean>;
50
53
  }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
51
54
  __isFragment?: never;
52
55
  __isTeleport?: never;
53
56
  __isSuspense?: never;
54
57
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
55
58
  valueBind: import("vue").Prop<PropertyConfiguration<SharePointTermSetPropertyDefinition>, PropertyConfiguration<SharePointTermSetPropertyDefinition>>;
56
- onValueBindChanged: import("vue").Prop<(newValue: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (newValue: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
59
+ onConfigurationValid: import("vue").Prop<(validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void, (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void>;
60
+ showLockConfiguration?: import("vue").Prop<boolean, boolean>;
57
61
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
58
62
  propsDefinition: Omit<Readonly<{} & {
59
63
  valueBind?: PropertyConfiguration<SharePointTermSetPropertyDefinition>;
60
- onValueBindChanged?: (newValue: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void;
64
+ onConfigurationValid?: (validConfig?: PropertyConfiguration<SharePointTermSetPropertyDefinition>) => void;
65
+ showLockConfiguration?: boolean;
61
66
  }>, never>;
62
67
  };
63
68
  export default _default;
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
9
9
  valueBind: import("vue").Prop<import("../../../models").SharePointTermSetPropertyValue, import("../../../models").SharePointTermSetPropertyValue>;
10
10
  displaySettings: import("vue").Prop<import("../../../models").SharePointTermSetPropertyDisplaySettings, import("../../../models").SharePointTermSetPropertyDisplaySettings>;
11
+ setupSettings?: import("vue").Prop<import("../../../models").SharePointTermSetPropertySetupSettings, import("../../../models").SharePointTermSetPropertySetupSettings>;
11
12
  }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
12
13
  $attrs: {
13
14
  [x: string]: unknown;
@@ -25,6 +26,7 @@ declare const _default: {
25
26
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
26
27
  valueBind: import("vue").Prop<import("../../../models").SharePointTermSetPropertyValue, import("../../../models").SharePointTermSetPropertyValue>;
27
28
  displaySettings: import("vue").Prop<import("../../../models").SharePointTermSetPropertyDisplaySettings, import("../../../models").SharePointTermSetPropertyDisplaySettings>;
29
+ setupSettings?: import("vue").Prop<import("../../../models").SharePointTermSetPropertySetupSettings, import("../../../models").SharePointTermSetPropertySetupSettings>;
28
30
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
29
31
  beforeCreate?: (() => void) | (() => void)[];
30
32
  created?: (() => void) | (() => void)[];
@@ -48,6 +50,7 @@ declare const _default: {
48
50
  } & Readonly<import("vue").ExtractPropTypes<{
49
51
  valueBind: import("vue").Prop<import("../../../models").SharePointTermSetPropertyValue, import("../../../models").SharePointTermSetPropertyValue>;
50
52
  displaySettings: import("vue").Prop<import("../../../models").SharePointTermSetPropertyDisplaySettings, import("../../../models").SharePointTermSetPropertyDisplaySettings>;
53
+ setupSettings?: import("vue").Prop<import("../../../models").SharePointTermSetPropertySetupSettings, import("../../../models").SharePointTermSetPropertySetupSettings>;
51
54
  }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
52
55
  __isFragment?: never;
53
56
  __isTeleport?: never;
@@ -55,10 +58,12 @@ declare const _default: {
55
58
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
56
59
  valueBind: import("vue").Prop<import("../../../models").SharePointTermSetPropertyValue, import("../../../models").SharePointTermSetPropertyValue>;
57
60
  displaySettings: import("vue").Prop<import("../../../models").SharePointTermSetPropertyDisplaySettings, import("../../../models").SharePointTermSetPropertyDisplaySettings>;
61
+ setupSettings?: import("vue").Prop<import("../../../models").SharePointTermSetPropertySetupSettings, import("../../../models").SharePointTermSetPropertySetupSettings>;
58
62
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
59
63
  propsDefinition: Omit<Readonly<{} & {
60
64
  valueBind?: import("../../../models").SharePointTermSetPropertyValue;
61
65
  displaySettings?: import("../../../models").SharePointTermSetPropertyDisplaySettings;
66
+ setupSettings?: import("../../../models").SharePointTermSetPropertySetupSettings;
62
67
  }>, never>;
63
68
  };
64
69
  export default _default;
@@ -7,6 +7,7 @@ declare const _default: {
7
7
  valueBind: import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
8
8
  editorSettings: import("vue").Prop<import("@omnia/fx-sp-models").SharePointTermSetPropertyEditorSettings, import("@omnia/fx-sp-models").SharePointTermSetPropertyEditorSettings>;
9
9
  displaySettings: import("vue").Prop<import("@omnia/fx-sp-models").SharePointTermSetPropertyDisplaySettings, import("@omnia/fx-sp-models").SharePointTermSetPropertyDisplaySettings>;
10
+ setupSettings?: import("vue").Prop<import("@omnia/fx-sp-models").SharePointTermSetPropertySetupSettings, import("@omnia/fx-sp-models").SharePointTermSetPropertySetupSettings>;
10
11
  onValueBindChanged: import("vue").Prop<(newValue: SharePointTermSetPropertyValue) => void, (newValue: SharePointTermSetPropertyValue) => void>;
11
12
  disabled?: import("vue").Prop<boolean, boolean>;
12
13
  }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
@@ -27,6 +28,7 @@ declare const _default: {
27
28
  valueBind: import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
28
29
  editorSettings: import("vue").Prop<import("@omnia/fx-sp-models").SharePointTermSetPropertyEditorSettings, import("@omnia/fx-sp-models").SharePointTermSetPropertyEditorSettings>;
29
30
  displaySettings: import("vue").Prop<import("@omnia/fx-sp-models").SharePointTermSetPropertyDisplaySettings, import("@omnia/fx-sp-models").SharePointTermSetPropertyDisplaySettings>;
31
+ setupSettings?: import("vue").Prop<import("@omnia/fx-sp-models").SharePointTermSetPropertySetupSettings, import("@omnia/fx-sp-models").SharePointTermSetPropertySetupSettings>;
30
32
  onValueBindChanged: import("vue").Prop<(newValue: SharePointTermSetPropertyValue) => void, (newValue: SharePointTermSetPropertyValue) => void>;
31
33
  disabled?: import("vue").Prop<boolean, boolean>;
32
34
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
@@ -53,6 +55,7 @@ declare const _default: {
53
55
  valueBind: import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
54
56
  editorSettings: import("vue").Prop<import("@omnia/fx-sp-models").SharePointTermSetPropertyEditorSettings, import("@omnia/fx-sp-models").SharePointTermSetPropertyEditorSettings>;
55
57
  displaySettings: import("vue").Prop<import("@omnia/fx-sp-models").SharePointTermSetPropertyDisplaySettings, import("@omnia/fx-sp-models").SharePointTermSetPropertyDisplaySettings>;
58
+ setupSettings?: import("vue").Prop<import("@omnia/fx-sp-models").SharePointTermSetPropertySetupSettings, import("@omnia/fx-sp-models").SharePointTermSetPropertySetupSettings>;
56
59
  onValueBindChanged: import("vue").Prop<(newValue: SharePointTermSetPropertyValue) => void, (newValue: SharePointTermSetPropertyValue) => void>;
57
60
  disabled?: import("vue").Prop<boolean, boolean>;
58
61
  }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
@@ -63,15 +66,17 @@ declare const _default: {
63
66
  valueBind: import("vue").Prop<SharePointTermSetPropertyValue, SharePointTermSetPropertyValue>;
64
67
  editorSettings: import("vue").Prop<import("@omnia/fx-sp-models").SharePointTermSetPropertyEditorSettings, import("@omnia/fx-sp-models").SharePointTermSetPropertyEditorSettings>;
65
68
  displaySettings: import("vue").Prop<import("@omnia/fx-sp-models").SharePointTermSetPropertyDisplaySettings, import("@omnia/fx-sp-models").SharePointTermSetPropertyDisplaySettings>;
69
+ setupSettings?: import("vue").Prop<import("@omnia/fx-sp-models").SharePointTermSetPropertySetupSettings, import("@omnia/fx-sp-models").SharePointTermSetPropertySetupSettings>;
66
70
  onValueBindChanged: import("vue").Prop<(newValue: SharePointTermSetPropertyValue) => void, (newValue: SharePointTermSetPropertyValue) => void>;
67
71
  disabled?: import("vue").Prop<boolean, boolean>;
68
72
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
69
73
  propsDefinition: Omit<Readonly<{} & {
70
74
  disabled?: boolean;
71
75
  valueBind?: SharePointTermSetPropertyValue;
76
+ onValueBindChanged?: (newValue: SharePointTermSetPropertyValue) => void;
72
77
  displaySettings?: import("@omnia/fx-sp-models").SharePointTermSetPropertyDisplaySettings;
78
+ setupSettings?: import("@omnia/fx-sp-models").SharePointTermSetPropertySetupSettings;
73
79
  editorSettings?: import("@omnia/fx-sp-models").SharePointTermSetPropertyEditorSettings;
74
- onValueBindChanged?: (newValue: SharePointTermSetPropertyValue) => void;
75
80
  }>, never>;
76
81
  };
77
82
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { PropertyDefinition } from "@omnia/fx-models";
2
- import { SharePointTermSetPropertyValue, SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyEditorSettings } from "@omnia/fx-sp-models";
3
- export declare class SharePointTermSetPropertyDefinition extends PropertyDefinition<SharePointTermSetPropertyValue, SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyEditorSettings> {
2
+ import { SharePointTermSetPropertyValue, SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyEditorSettings, SharePointTermSetPropertySetupSettings } from "@omnia/fx-sp-models";
3
+ export declare class SharePointTermSetPropertyDefinition extends PropertyDefinition<SharePointTermSetPropertyValue, SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyEditorSettings, SharePointTermSetPropertySetupSettings> {
4
4
  id: import("@omnia/fx-models").Guid;
5
5
  typeName: string;
6
6
  }
@@ -75,6 +75,7 @@ export declare class TermPicker extends VueComponentBase implements IWebComponen
75
75
  removeSelectedItem(item: Term): void;
76
76
  getDisplayLabel(term: Term): string;
77
77
  applyFilter(term: Term): boolean;
78
+ formatPathOfTerm(path: string): string;
78
79
  get openForCreate(): boolean;
79
80
  get currentTermset(): import("../../../fx/stores").TermSetDefinition;
80
81
  beforeDestroy(): void;
@@ -1 +1,5 @@
1
- export {};
1
+ import { DataSourceProperty, PropertyDataSourceId } from "@omnia/fx-models";
2
+ export declare class SharepointProperty extends DataSourceProperty {
3
+ readonly internalName: string;
4
+ constructor(dataSourceId: PropertyDataSourceId, internalName: string);
5
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-sp",
3
3
  "license": "MIT",
4
- "version": "8.0.28-vnext",
4
+ "version": "8.0.29-vnext",
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.28-vnext",
23
- "@omnia/fx-sp-models": "8.0.28-vnext"
22
+ "@omnia/fx": "8.0.29-vnext",
23
+ "@omnia/fx-sp-models": "8.0.29-vnext"
24
24
  },
25
25
  "typings": "./index.d.ts",
26
26
  "bugs": {
@@ -1,4 +0,0 @@
1
- import { types } from "typestyle";
2
- export declare const TermPickerStructuredTreeStyles: {
3
- scrollBarStyle: (isHiden?: boolean) => types.NestedCSSProperties;
4
- };
@@ -1,19 +0,0 @@
1
- import { Guid, PropertyDefinition, PropertyValue, UserPropertyConfiguration } from "@omnia/fx-models";
2
- import { SharePointUserProfilePropertyValueBase } from "@omnia/fx-sp-models";
3
- export declare class SharePointUserPropertyValue extends PropertyValue<SharePointUserPropertyValue, any> {
4
- valueToRender: string;
5
- valueToUpdate: SharePointUserProfilePropertyValueBase;
6
- primitive: null;
7
- constructor(valueToRender: string, valueToUpdate?: SharePointUserProfilePropertyValueBase);
8
- }
9
- export type SharePointUserPropertyDisplaySettings = {};
10
- export type SharePointUserPropertyEditorSettings = {};
11
- export declare class UserPropertiesBySharePointDefinition extends PropertyDefinition<SharePointUserPropertyValue, SharePointUserPropertyDisplaySettings, SharePointUserPropertyEditorSettings> {
12
- id: Guid;
13
- typeName: string;
14
- hidden: boolean;
15
- private static userIdentityStore;
16
- private static termStore;
17
- static createPropertyValue(configuration: UserPropertyConfiguration, spValue: SharePointUserPropertyValue): Promise<PropertyValue<any, any>>;
18
- static createSharePointUserPropertyValue(configuration: UserPropertyConfiguration, value: PropertyValue<any, any>): SharePointUserPropertyValue;
19
- }
@@ -1,68 +0,0 @@
1
- import { PropertyConfiguration } from "@omnia/fx-models";
2
- import { UserPropertiesBySharePointDefinition } from "./UserPropertiesBySharePointDefinition";
3
- declare const sharePointUserDisplayComponent: {
4
- new (...args: any[]): {
5
- $: import("vue").ComponentInternalInstance;
6
- $data: {};
7
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
8
- configuration: import("vue").Prop<PropertyConfiguration<UserPropertiesBySharePointDefinition>, PropertyConfiguration<UserPropertiesBySharePointDefinition>>;
9
- valueBind: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyValue, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyValue>;
10
- displaySettings: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings>;
11
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
12
- $attrs: {
13
- [x: string]: unknown;
14
- };
15
- $refs: {
16
- [x: string]: unknown;
17
- };
18
- $slots: Readonly<{
19
- [name: string]: import("vue").Slot;
20
- }>;
21
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
22
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
23
- $emit: (event: string, ...args: any[]) => void;
24
- $el: any;
25
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
26
- configuration: import("vue").Prop<PropertyConfiguration<UserPropertiesBySharePointDefinition>, PropertyConfiguration<UserPropertiesBySharePointDefinition>>;
27
- valueBind: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyValue, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyValue>;
28
- displaySettings: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings>;
29
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
30
- beforeCreate?: (() => void) | (() => void)[];
31
- created?: (() => void) | (() => void)[];
32
- beforeMount?: (() => void) | (() => void)[];
33
- mounted?: (() => void) | (() => void)[];
34
- beforeUpdate?: (() => void) | (() => void)[];
35
- updated?: (() => void) | (() => void)[];
36
- activated?: (() => void) | (() => void)[];
37
- deactivated?: (() => void) | (() => void)[];
38
- beforeDestroy?: (() => void) | (() => void)[];
39
- beforeUnmount?: (() => void) | (() => void)[];
40
- destroyed?: (() => void) | (() => void)[];
41
- unmounted?: (() => void) | (() => void)[];
42
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
43
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
44
- 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)[];
45
- };
46
- $forceUpdate: () => void;
47
- $nextTick: typeof import("vue").nextTick;
48
- $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;
49
- } & Readonly<import("vue").ExtractPropTypes<{
50
- configuration: import("vue").Prop<PropertyConfiguration<UserPropertiesBySharePointDefinition>, PropertyConfiguration<UserPropertiesBySharePointDefinition>>;
51
- valueBind: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyValue, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyValue>;
52
- displaySettings: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings>;
53
- }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
54
- __isFragment?: never;
55
- __isTeleport?: never;
56
- __isSuspense?: never;
57
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
58
- configuration: import("vue").Prop<PropertyConfiguration<UserPropertiesBySharePointDefinition>, PropertyConfiguration<UserPropertiesBySharePointDefinition>>;
59
- valueBind: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyValue, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyValue>;
60
- displaySettings: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings>;
61
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
62
- propsDefinition: Omit<Readonly<{} & {
63
- configuration?: PropertyConfiguration<UserPropertiesBySharePointDefinition>;
64
- valueBind?: import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyValue;
65
- displaySettings?: import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings;
66
- }>, never>;
67
- };
68
- export default sharePointUserDisplayComponent;
@@ -1,83 +0,0 @@
1
- import { PropertyConfiguration } from "@omnia/fx-models";
2
- import { SharePointUserPropertyValue, UserPropertiesBySharePointDefinition } from "./UserPropertiesBySharePointDefinition";
3
- declare const sharePointUserEditorComponent: {
4
- new (...args: any[]): {
5
- $: import("vue").ComponentInternalInstance;
6
- $data: {};
7
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
8
- configuration: import("vue").Prop<PropertyConfiguration<UserPropertiesBySharePointDefinition>, PropertyConfiguration<UserPropertiesBySharePointDefinition>>;
9
- valueBind: import("vue").Prop<SharePointUserPropertyValue, SharePointUserPropertyValue>;
10
- editorSettings: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyEditorSettings, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyEditorSettings>;
11
- displaySettings: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings>;
12
- onValueBindChanged: import("vue").Prop<(newValue: SharePointUserPropertyValue) => void, (newValue: SharePointUserPropertyValue) => void>;
13
- disabled?: import("vue").Prop<boolean, boolean>;
14
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
15
- $attrs: {
16
- [x: string]: unknown;
17
- };
18
- $refs: {
19
- [x: string]: unknown;
20
- };
21
- $slots: Readonly<{
22
- [name: string]: import("vue").Slot;
23
- }>;
24
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
25
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
26
- $emit: (event: string, ...args: any[]) => void;
27
- $el: any;
28
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
29
- configuration: import("vue").Prop<PropertyConfiguration<UserPropertiesBySharePointDefinition>, PropertyConfiguration<UserPropertiesBySharePointDefinition>>;
30
- valueBind: import("vue").Prop<SharePointUserPropertyValue, SharePointUserPropertyValue>;
31
- editorSettings: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyEditorSettings, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyEditorSettings>;
32
- displaySettings: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings>;
33
- onValueBindChanged: import("vue").Prop<(newValue: SharePointUserPropertyValue) => void, (newValue: SharePointUserPropertyValue) => void>;
34
- disabled?: import("vue").Prop<boolean, boolean>;
35
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
36
- beforeCreate?: (() => void) | (() => void)[];
37
- created?: (() => void) | (() => void)[];
38
- beforeMount?: (() => void) | (() => void)[];
39
- mounted?: (() => void) | (() => void)[];
40
- beforeUpdate?: (() => void) | (() => void)[];
41
- updated?: (() => void) | (() => void)[];
42
- activated?: (() => void) | (() => void)[];
43
- deactivated?: (() => void) | (() => void)[];
44
- beforeDestroy?: (() => void) | (() => void)[];
45
- beforeUnmount?: (() => void) | (() => void)[];
46
- destroyed?: (() => void) | (() => void)[];
47
- unmounted?: (() => void) | (() => void)[];
48
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
49
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
50
- 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)[];
51
- };
52
- $forceUpdate: () => void;
53
- $nextTick: typeof import("vue").nextTick;
54
- $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;
55
- } & Readonly<import("vue").ExtractPropTypes<{
56
- configuration: import("vue").Prop<PropertyConfiguration<UserPropertiesBySharePointDefinition>, PropertyConfiguration<UserPropertiesBySharePointDefinition>>;
57
- valueBind: import("vue").Prop<SharePointUserPropertyValue, SharePointUserPropertyValue>;
58
- editorSettings: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyEditorSettings, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyEditorSettings>;
59
- displaySettings: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings>;
60
- onValueBindChanged: import("vue").Prop<(newValue: SharePointUserPropertyValue) => void, (newValue: SharePointUserPropertyValue) => void>;
61
- disabled?: import("vue").Prop<boolean, boolean>;
62
- }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
63
- __isFragment?: never;
64
- __isTeleport?: never;
65
- __isSuspense?: never;
66
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
67
- configuration: import("vue").Prop<PropertyConfiguration<UserPropertiesBySharePointDefinition>, PropertyConfiguration<UserPropertiesBySharePointDefinition>>;
68
- valueBind: import("vue").Prop<SharePointUserPropertyValue, SharePointUserPropertyValue>;
69
- editorSettings: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyEditorSettings, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyEditorSettings>;
70
- displaySettings: import("vue").Prop<import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings, import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings>;
71
- onValueBindChanged: import("vue").Prop<(newValue: SharePointUserPropertyValue) => void, (newValue: SharePointUserPropertyValue) => void>;
72
- disabled?: import("vue").Prop<boolean, boolean>;
73
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
74
- propsDefinition: Omit<Readonly<{} & {
75
- configuration?: PropertyConfiguration<UserPropertiesBySharePointDefinition>;
76
- disabled?: boolean;
77
- valueBind?: SharePointUserPropertyValue;
78
- displaySettings?: import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyDisplaySettings;
79
- editorSettings?: import("./UserPropertiesBySharePointDefinition").SharePointUserPropertyEditorSettings;
80
- onValueBindChanged?: (newValue: SharePointUserPropertyValue) => void;
81
- }>, never>;
82
- };
83
- export default sharePointUserEditorComponent;