@omnia/fx-sp-models 8.0.99-vnext → 8.0.100-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 +4 -4
- package/FilterEngine.d.ts +2 -0
- package/FilterEngine.js +2 -2
- package/SharePointUserProfilePropertyValue.js +1 -1
- package/Site.d.ts +8 -0
- package/Term.d.ts +9 -1
- package/Term.js +11 -2
- package/index.d.ts +0 -1
- package/index.js +0 -1
- package/package.json +2 -2
- package/styles/TermSetPropertyStyles.d.ts +3 -0
- package/TermSetPropertyValue.d.ts +0 -18
- package/TermSetPropertyValue.js +0 -12
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.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
|
|
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/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.
|
|
4
|
+
"version": "8.0.100-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.
|
|
22
|
+
"@omnia/fx-models": "8.0.100-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
|
-
}
|
package/TermSetPropertyValue.js
DELETED
|
@@ -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;
|