@omnia/fx-sp-models 8.0.115-vnext → 8.0.116-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/Enums.js CHANGED
@@ -10,7 +10,7 @@ var SharePointPermissionRoles;
10
10
  SharePointPermissionRoles["SharePointListFullControl"] = "4184bc73-fe73-4da4-8774-422d80f5559c";
11
11
  SharePointPermissionRoles["SharePointListItemFullControl"] = "9c36be2b-ab36-4fd9-bcfb-23c7a952f0b4";
12
12
  SharePointPermissionRoles["SharePointListItemEditor"] = "f401a8c8-2066-4505-84e3-08940f2878d1";
13
- })(SharePointPermissionRoles = exports.SharePointPermissionRoles || (exports.SharePointPermissionRoles = {}));
13
+ })(SharePointPermissionRoles || (exports.SharePointPermissionRoles = SharePointPermissionRoles = {}));
14
14
  //export enum SharePointTargetResolverTypes {
15
15
  // SiteCollection = "Omnia.Fx.NetCore.SharePoint.Features.TargetResolvers.ISiteCollectionFeatureTargetResolver",
16
16
  // Site = "Omnia.Fx.NetCore.SharePoint.Features.TargetResolvers.ISiteFeatureTargetResolver"
@@ -18,18 +18,18 @@ var SharePointPermissionRoles;
18
18
  var Parameters;
19
19
  (function (Parameters) {
20
20
  Parameters["SPUrl"] = "SPUrl";
21
- })(Parameters = exports.Parameters || (exports.Parameters = {}));
21
+ })(Parameters || (exports.Parameters = Parameters = {}));
22
22
  var ResourceEvaluators;
23
23
  (function (ResourceEvaluators) {
24
24
  ResourceEvaluators["SiteCollection"] = "Omnia.Fx.SharePoint.Security.ISiteCollectionResourceEvaluator";
25
25
  ResourceEvaluators["Site"] = "Omnia.Fx.SharePoint.Security.ISiteResourceEvaluator";
26
26
  ResourceEvaluators["List"] = "Omnia.Fx.SharePoint.Security.IListResourceEvaluator";
27
27
  ResourceEvaluators["ListItem"] = "Omnia.Fx.SharePoint.Security.IListItemResourceEvaluator";
28
- })(ResourceEvaluators = exports.ResourceEvaluators || (exports.ResourceEvaluators = {}));
28
+ })(ResourceEvaluators || (exports.ResourceEvaluators = ResourceEvaluators = {}));
29
29
  var AssociatedGroup;
30
30
  (function (AssociatedGroup) {
31
31
  AssociatedGroup[AssociatedGroup["None"] = 0] = "None";
32
32
  AssociatedGroup[AssociatedGroup["Owner"] = 1] = "Owner";
33
33
  AssociatedGroup[AssociatedGroup["Member"] = 2] = "Member";
34
34
  AssociatedGroup[AssociatedGroup["Visitor"] = 3] = "Visitor";
35
- })(AssociatedGroup = exports.AssociatedGroup || (exports.AssociatedGroup = {}));
35
+ })(AssociatedGroup || (exports.AssociatedGroup = AssociatedGroup = {}));
package/FilterEngine.js CHANGED
@@ -8,13 +8,13 @@ var FilterEngineTaxonomyValueSortOrder;
8
8
  (function (FilterEngineTaxonomyValueSortOrder) {
9
9
  FilterEngineTaxonomyValueSortOrder[FilterEngineTaxonomyValueSortOrder["TermsetOrder"] = 0] = "TermsetOrder";
10
10
  FilterEngineTaxonomyValueSortOrder[FilterEngineTaxonomyValueSortOrder["Count"] = 1] = "Count";
11
- })(FilterEngineTaxonomyValueSortOrder = exports.FilterEngineTaxonomyValueSortOrder || (exports.FilterEngineTaxonomyValueSortOrder = {}));
11
+ })(FilterEngineTaxonomyValueSortOrder || (exports.FilterEngineTaxonomyValueSortOrder = FilterEngineTaxonomyValueSortOrder = {}));
12
12
  var DefaultValueType;
13
13
  (function (DefaultValueType) {
14
14
  DefaultValueType[DefaultValueType["NoDefault"] = 0] = "NoDefault";
15
15
  DefaultValueType[DefaultValueType["FixedValue"] = 1] = "FixedValue";
16
16
  DefaultValueType[DefaultValueType["CurrentUser"] = 2] = "CurrentUser";
17
- })(DefaultValueType = exports.DefaultValueType || (exports.DefaultValueType = {}));
17
+ })(DefaultValueType || (exports.DefaultValueType = DefaultValueType = {}));
18
18
  class SPSearchFilterEngineContext extends fx_models_1.FilterEngineContext {
19
19
  constructor(componentId) {
20
20
  super(componentId);
@@ -6,7 +6,7 @@ var SharePointUserProfilePropertyValueTypes;
6
6
  SharePointUserProfilePropertyValueTypes[SharePointUserProfilePropertyValueTypes["Text"] = 0] = "Text";
7
7
  SharePointUserProfilePropertyValueTypes[SharePointUserProfilePropertyValueTypes["TermSet"] = 1] = "TermSet";
8
8
  SharePointUserProfilePropertyValueTypes[SharePointUserProfilePropertyValueTypes["Person"] = 2] = "Person";
9
- })(SharePointUserProfilePropertyValueTypes = exports.SharePointUserProfilePropertyValueTypes || (exports.SharePointUserProfilePropertyValueTypes = {}));
9
+ })(SharePointUserProfilePropertyValueTypes || (exports.SharePointUserProfilePropertyValueTypes = SharePointUserProfilePropertyValueTypes = {}));
10
10
  class SharePointUserProfilePropertyValueBase {
11
11
  }
12
12
  exports.SharePointUserProfilePropertyValueBase = SharePointUserProfilePropertyValueBase;
package/Term.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { GuidValue } from "@omnia/fx-models";
1
+ import { GuidValue, PropertyBindingSetting } from "@omnia/fx-models";
2
2
  export interface Term extends TermBase {
3
3
  parentId: GuidValue;
4
4
  termSetId: GuidValue;
@@ -76,3 +76,11 @@ export interface TermQueryResult {
76
76
  export interface EnterpriseGlossaryTermCustomProperties extends TermCustomProperties {
77
77
  omniaEnterpriseGlossaryTermData: string;
78
78
  }
79
+ export declare class TermSetPropertyBindingSetting extends PropertyBindingSetting {
80
+ allowMultipleValues: boolean;
81
+ lookupValues: Array<TermLookupValue>;
82
+ }
83
+ export interface TermLookupValue {
84
+ id: GuidValue;
85
+ title: string;
86
+ }
package/Term.js CHANGED
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TermOrganizationFilterByCustomProperty = exports.TermOrganizationFilterByTermId = exports.TermOrganizationFilterType = void 0;
3
+ exports.TermSetPropertyBindingSetting = exports.TermOrganizationFilterByCustomProperty = exports.TermOrganizationFilterByTermId = exports.TermOrganizationFilterType = void 0;
4
+ const fx_models_1 = require("@omnia/fx-models");
4
5
  var TermOrganizationFilterType;
5
6
  (function (TermOrganizationFilterType) {
6
7
  TermOrganizationFilterType[TermOrganizationFilterType["FilterByTermId"] = 1] = "FilterByTermId";
7
8
  TermOrganizationFilterType[TermOrganizationFilterType["FilterByCustomProperty"] = 2] = "FilterByCustomProperty";
8
- })(TermOrganizationFilterType = exports.TermOrganizationFilterType || (exports.TermOrganizationFilterType = {}));
9
+ })(TermOrganizationFilterType || (exports.TermOrganizationFilterType = TermOrganizationFilterType = {}));
9
10
  class TermOrganizationFilterByTermId {
10
11
  constructor(termId) {
11
12
  this.termId = termId;
@@ -21,3 +22,11 @@ class TermOrganizationFilterByCustomProperty {
21
22
  }
22
23
  }
23
24
  exports.TermOrganizationFilterByCustomProperty = TermOrganizationFilterByCustomProperty;
25
+ class TermSetPropertyBindingSetting extends fx_models_1.PropertyBindingSetting {
26
+ constructor() {
27
+ super(...arguments);
28
+ this.allowMultipleValues = false;
29
+ this.lookupValues = [];
30
+ }
31
+ }
32
+ exports.TermSetPropertyBindingSetting = TermSetPropertyBindingSetting;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-sp-models",
3
3
  "license": "MIT",
4
- "version": "8.0.115-vnext",
4
+ "version": "8.0.116-dev",
5
5
  "description": "Provide Omnia Fx Sharepoint Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "author": "Precio Fishbone",
21
21
  "dependencies": {
22
- "@omnia/fx-models": "8.0.115-vnext"
22
+ "@omnia/fx-models": "8.0.116-dev"
23
23
  },
24
24
  "typings": "./index.d.ts",
25
25
  "bugs": {
@@ -3,6 +3,7 @@ import { types } from "typestyle";
3
3
  export declare const TermSetPropertyStyles: {
4
4
  itemwrapper?: (theming: ITheming) => types.NestedCSSProperties;
5
5
  chip?: types.NestedCSSProperties;
6
- itemHeader: types.NestedCSSProperties;
6
+ itemHeader(inline?: boolean): types.NestedCSSProperties;
7
7
  item: types.NestedCSSProperties;
8
+ inline: types.NestedCSSProperties;
8
9
  };