@omnia/fx-sp 7.8.8-preview → 7.8.8
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/README.md +2 -2
- package/internal-do-not-import-from-here/models/ListTree.d.ts +32 -0
- package/internal-do-not-import-from-here/models/ListTree.js +2 -0
- package/internal-do-not-import-from-here/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/index.js +1 -0
- package/internal-do-not-import-from-here/models/permissions/SiteGroupQuery.d.ts +1 -1
- package/internal-do-not-import-from-here/services/ListsService.d.ts +3 -1
- package/internal-do-not-import-from-here/services/PrincipalService.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/features/localize.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/listtree/ListTree.d.ts +13 -0
- package/internal-do-not-import-from-here/ux/listtree/loc/localize.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/targetingfilter/TargetingFilter.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/termpicker/TermNode.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/termpicker/TermPicker.d.ts +5 -1
- package/internal-do-not-import-from-here/ux/termpicker/loc/localize.d.ts +1 -0
- package/models/package.json +3 -3
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Omnia Fx Tooling
|
|
2
2
|
|
|
3
|
-
Omnia Fx Tooling is a product from
|
|
3
|
+
Omnia Fx Tooling is a product from Omnia Digital Workplace AB. In order to use Omnia Fx you need a product license for one of the following products:
|
|
4
4
|
|
|
5
5
|
### Documentation
|
|
6
|
-
https://github.com/
|
|
6
|
+
https://github.com/omniaintranet/OmniaDocs
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface ListTree {
|
|
2
|
+
id: string;
|
|
3
|
+
uniqueId: string;
|
|
4
|
+
title: string;
|
|
5
|
+
serverRelativeUrl: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ListTreeFilter {
|
|
8
|
+
baseType: ListTreeBaseType;
|
|
9
|
+
includeHidden?: boolean;
|
|
10
|
+
includeCatalog?: boolean;
|
|
11
|
+
includeForms?: boolean;
|
|
12
|
+
includeAssetsLibrary?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface ListTreeFolder {
|
|
15
|
+
uniqueId: string;
|
|
16
|
+
name: string;
|
|
17
|
+
serverRelativeUrl: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ListTreeFolderFilter {
|
|
20
|
+
serverRelativeUrl: string;
|
|
21
|
+
includeForms?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface ListTreeQueryResult {
|
|
24
|
+
siteTitle: string;
|
|
25
|
+
siteUrl: string;
|
|
26
|
+
lists: ListTree[];
|
|
27
|
+
}
|
|
28
|
+
export interface ListTreeFolderQueryResult {
|
|
29
|
+
name: string;
|
|
30
|
+
folders: ListTreeFolder[];
|
|
31
|
+
}
|
|
32
|
+
export type ListTreeBaseType = "None" | "GenericList" | "DocumentLibrary";
|
|
@@ -21,3 +21,4 @@ tslib_1.__exportStar(require("./SharePointBusinessProfileRelativePathValue"), ex
|
|
|
21
21
|
tslib_1.__exportStar(require("./FilterEngine"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("./SharePointUserProfilePropertyValue"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./Feature"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./ListTree"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GuidValue } from "../../models";
|
|
2
|
-
import { LibraryResolveResult, CentralImageLocationResult, OrderByField } from "../models";
|
|
2
|
+
import { LibraryResolveResult, CentralImageLocationResult, OrderByField, ListTreeFilter, ListTreeQueryResult, ListTreeFolderFilter, ListTreeFolderQueryResult } from "../models";
|
|
3
3
|
export declare class ListsService {
|
|
4
4
|
private omniaContext;
|
|
5
5
|
private httpClient;
|
|
@@ -8,4 +8,6 @@ export declare class ListsService {
|
|
|
8
8
|
resolveLibraryFromAbsoluteUrl: (absoluteUrl: string) => Promise<LibraryResolveResult>;
|
|
9
9
|
downloadImage: (siteUrl: string, listId: GuidValue, id: number) => Promise<string>;
|
|
10
10
|
getCentralImageLocationResult: (siteUrl: string, listId: GuidValue, textSearch: string, maxThumbnailSize: number, folderServerRelativeUrl?: string, skipId?: number, limit?: number, pagingInfo?: string, orderByFields?: Array<OrderByField>, includeVideos?: boolean) => Promise<CentralImageLocationResult>;
|
|
11
|
+
queryListTrees: (spUrl: string, filter: ListTreeFilter) => Promise<ListTreeQueryResult>;
|
|
12
|
+
queryListTreeFolders: (spUrl: string, filter: ListTreeFolderFilter) => Promise<ListTreeFolderQueryResult>;
|
|
11
13
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { SiteGroupView, SiteGroupQuery, SiteGroupMembership } from "../models";
|
|
1
|
+
import { SiteGroupView, SiteGroupQuery, SiteGroupMembership, SiteGroup } from "../models";
|
|
2
2
|
export declare class PrincipalService {
|
|
3
3
|
private httpClient;
|
|
4
4
|
constructor();
|
|
5
5
|
getSiteGroupView: (query: SiteGroupQuery) => Promise<SiteGroupView>;
|
|
6
6
|
updateSiteGroupMembership: (membership: SiteGroupMembership) => Promise<void>;
|
|
7
|
+
getSiteGroups: (query: SiteGroupQuery) => Promise<Array<SiteGroup>>;
|
|
7
8
|
}
|
|
@@ -15,6 +15,11 @@ export interface FeatureLocalization {
|
|
|
15
15
|
Description: string;
|
|
16
16
|
Category: string;
|
|
17
17
|
};
|
|
18
|
+
SPFxFontFamilyBase: {
|
|
19
|
+
Category: string;
|
|
20
|
+
Description: string;
|
|
21
|
+
Title: string;
|
|
22
|
+
};
|
|
18
23
|
};
|
|
19
24
|
}
|
|
20
25
|
export declare const OmniaSharePointLocalizationNamespace = "Omnia.SharePoint";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ListTreeFilter } from "@omnia/fx-sp-models";
|
|
2
|
+
export interface ListTreeProps {
|
|
3
|
+
spUrl: string;
|
|
4
|
+
filter: ListTreeFilter;
|
|
5
|
+
valueBind: string;
|
|
6
|
+
onValueChanged: (value: string) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<ListTreeProps, never>, any, any, any>> & {
|
|
9
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<ListTreeProps, never>;
|
|
10
|
+
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<any>, {}, import("vue-tsx-support").PropsForOutside<ListTreeProps, never>, any, any, any>> & {
|
|
11
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<ListTreeProps, never>;
|
|
12
|
+
});
|
|
13
|
+
export default _default;
|
|
@@ -31,7 +31,7 @@ export declare class TargetingFilter extends VueComponentBase implements IWebCom
|
|
|
31
31
|
};
|
|
32
32
|
targetingEnterprisePropertiesSelections: Array<EnterprisePropertyDefinition>;
|
|
33
33
|
selectedTargetingFilter: Array<UIEnterprisePropertiesSettings>;
|
|
34
|
-
|
|
34
|
+
languages: Language[];
|
|
35
35
|
targetingPropertiesGroupingHash: {
|
|
36
36
|
[internalName: string]: Array<TargetingProperty<TargetingPropertyData>>;
|
|
37
37
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TermPickerLocalization } from "./loc/localize";
|
|
2
2
|
import { TermStore } from "../../../fx/stores";
|
|
3
3
|
import "./TermPicker.css";
|
|
4
|
-
import { VueComponentBase } from "../../../ux";
|
|
4
|
+
import { OmniaUxLocalization, VueComponentBase } from "../../../ux";
|
|
5
5
|
interface ITermNode {
|
|
6
6
|
label: string;
|
|
7
7
|
selected: boolean;
|
|
@@ -22,6 +22,7 @@ interface ITermNode {
|
|
|
22
22
|
export declare class TermNode extends VueComponentBase<ITermNode> {
|
|
23
23
|
termStore: TermStore;
|
|
24
24
|
loc: TermPickerLocalization.locInterface;
|
|
25
|
+
uxLoc: OmniaUxLocalization;
|
|
25
26
|
label: string;
|
|
26
27
|
selected: boolean;
|
|
27
28
|
showExpandedIcon: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IWebComponentInstance, OmniaContext } from "../../../";
|
|
2
|
-
import { GuidValue, PromotedTagOptions } from "../../../models";
|
|
2
|
+
import { GuidValue, PromotedTagOptions, PropertyStyles } from "../../../models";
|
|
3
3
|
import { MultilingualStore } from "../../../../fx/stores";
|
|
4
4
|
import { IValidator, VueComponentBase } from "../../../ux";
|
|
5
5
|
import { FilterOption, Term } from "../../models";
|
|
@@ -25,6 +25,7 @@ export declare class TermPicker extends VueComponentBase implements IWebComponen
|
|
|
25
25
|
startWithIds: Array<GuidValue>;
|
|
26
26
|
limitLevel: number;
|
|
27
27
|
filled: boolean;
|
|
28
|
+
propertyStyles: PropertyStyles;
|
|
28
29
|
singleLine: boolean;
|
|
29
30
|
hideDetails: boolean;
|
|
30
31
|
validator?: IValidator;
|
|
@@ -52,6 +53,8 @@ export declare class TermPicker extends VueComponentBase implements IWebComponen
|
|
|
52
53
|
private positionMenu;
|
|
53
54
|
private positionMenuRight;
|
|
54
55
|
private positionMenuLeft;
|
|
56
|
+
private prefixIconId;
|
|
57
|
+
private prefixContentId;
|
|
55
58
|
private UIConfig;
|
|
56
59
|
private currentRovingTabIndex;
|
|
57
60
|
private selectedTerms;
|
|
@@ -86,6 +89,7 @@ export declare class TermPicker extends VueComponentBase implements IWebComponen
|
|
|
86
89
|
get openForCreate(): boolean;
|
|
87
90
|
get currentTermset(): import("../../../fx/stores").TermSetDefinition;
|
|
88
91
|
beforeDestroy(): void;
|
|
92
|
+
isEmptyStyles: () => boolean;
|
|
89
93
|
render(): VueTsxSupport.JSX.Element;
|
|
90
94
|
renderSelectionMenu(): VueTsxSupport.JSX.Element;
|
|
91
95
|
renderAutocompleteTermItem(p: {
|
package/models/package.json
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"description": "Omnia fx sp models",
|
|
5
5
|
"typings": "./index.d.ts",
|
|
6
|
-
"author": "
|
|
6
|
+
"author": "Omnia Digital Workplace AB",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/
|
|
10
|
+
"url": "git+https://github.com/omniaintranet/OmniaFx"
|
|
11
11
|
}
|
|
12
|
-
}
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx-sp",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.8.8
|
|
4
|
+
"version": "7.8.8",
|
|
5
5
|
"description": "Provide Omnia Fx Sharepoint Stuffs.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/
|
|
11
|
+
"url": "git+https://github.com/omniaintranet/OmniaFx"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"omnia",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"office365",
|
|
18
18
|
"sharepoint"
|
|
19
19
|
],
|
|
20
|
-
"author": "
|
|
20
|
+
"author": "Omnia Digital Workplace AB",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@omnia/fx": "7.8.8
|
|
23
|
-
"@omnia/fx-sp-models": "7.8.8
|
|
22
|
+
"@omnia/fx": "7.8.8",
|
|
23
|
+
"@omnia/fx-sp-models": "7.8.8"
|
|
24
24
|
},
|
|
25
25
|
"typings": "./index.d.ts",
|
|
26
26
|
"bugs": {
|
|
27
|
-
"url": "https://github.com/
|
|
27
|
+
"url": "https://github.com/omniaintranet/OmniaFx/issues"
|
|
28
28
|
},
|
|
29
|
-
"homepage": "https://github.com/
|
|
30
|
-
}
|
|
29
|
+
"homepage": "https://github.com/omniaintranet/OmniaFx#readme"
|
|
30
|
+
}
|