@omnia/fx-sp-models 8.0.58-vnext → 8.0.59-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.d.ts CHANGED
@@ -12,6 +12,8 @@ export interface TaxonomyFilterEngineProperty extends BaseFilterEngineProperty {
12
12
  iconButtonsWidth: number;
13
13
  valueSortOrder: FilterEngineTaxonomyValueSortOrder;
14
14
  defaultValueType: DefaultValueType;
15
+ showDeprecatedTerms: boolean;
16
+ showChipsPropertyLabel: boolean;
15
17
  }
16
18
  export declare enum FilterEngineTaxonomyValueSortOrder {
17
19
  TermsetOrder = 0,
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/Site.d.ts CHANGED
@@ -35,3 +35,11 @@ export interface M365GroupNamingPolicyValidationResult {
35
35
  reservedAliasValidationResult: ReservedSiteAliasValidationResult;
36
36
  isValid: boolean;
37
37
  }
38
+ export interface SPSiteCollectionAdminInfo {
39
+ title?: string;
40
+ description?: string;
41
+ url?: string;
42
+ lcid?: number;
43
+ timezoneId?: number;
44
+ siteCollectionAdmins?: string[];
45
+ }
package/Term.js CHANGED
@@ -5,7 +5,7 @@ var TermOrganizationFilterType;
5
5
  (function (TermOrganizationFilterType) {
6
6
  TermOrganizationFilterType[TermOrganizationFilterType["FilterByTermId"] = 1] = "FilterByTermId";
7
7
  TermOrganizationFilterType[TermOrganizationFilterType["FilterByCustomProperty"] = 2] = "FilterByCustomProperty";
8
- })(TermOrganizationFilterType = exports.TermOrganizationFilterType || (exports.TermOrganizationFilterType = {}));
8
+ })(TermOrganizationFilterType || (exports.TermOrganizationFilterType = TermOrganizationFilterType = {}));
9
9
  class TermOrganizationFilterByTermId {
10
10
  constructor(termId) {
11
11
  this.termId = termId;
package/index.d.ts CHANGED
@@ -15,6 +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
18
  export * from "./SharePointUserProfilePropertyValue";
20
19
  export * from "./Feature";
package/index.js CHANGED
@@ -19,6 +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
22
  tslib_1.__exportStar(require("./SharePointUserProfilePropertyValue"), exports);
24
23
  tslib_1.__exportStar(require("./Feature"), exports);
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.58-vnext",
4
+ "version": "8.0.59-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.58-vnext"
22
+ "@omnia/fx-models": "8.0.59-dev"
23
23
  },
24
24
  "typings": "./index.d.ts",
25
25
  "bugs": {
@@ -3,4 +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(inline?: boolean): types.NestedCSSProperties;
7
+ item: types.NestedCSSProperties;
8
+ inline: types.NestedCSSProperties;
6
9
  };
@@ -1,18 +0,0 @@
1
- import { Guid, GuidValue, LockStatusExcludeChildren, PropertyDisplaySettingsBase, PropertyLockStatusType, PropertyValue } from "@omnia/fx-models";
2
- export type SharePointTermSetPropertySetupSettings = {
3
- termSetId: GuidValue;
4
- };
5
- export type SharePointTermSetPropertyDisplaySettings = {
6
- locks?: PropertyLockStatusType<LockStatusExcludeChildren<Omit<SharePointTermSetPropertyDisplaySettings, "locks">, "label">>;
7
- textOnly?: boolean;
8
- } & PropertyDisplaySettingsBase;
9
- export type SharePointTermSetPropertyEditorSettings = {
10
- locks?: PropertyLockStatusType<Omit<SharePointTermSetPropertyEditorSettings, "locks">>;
11
- multiple?: boolean;
12
- required?: boolean;
13
- };
14
- export declare const sharePointTermSetPropertyDefinitionId: Guid;
15
- export declare class SharePointTermSetPropertyValue extends PropertyValue {
16
- termIds: Guid[];
17
- constructor(termIds: Guid[]);
18
- }
@@ -1,12 +0,0 @@
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.PropertyValue {
7
- constructor(termIds) {
8
- super();
9
- this.termIds = termIds;
10
- }
11
- }
12
- exports.SharePointTermSetPropertyValue = SharePointTermSetPropertyValue;