@mikezimm/fps-library-v2 1.0.91 → 1.0.92
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/CHANGELOG.md +11 -1
- package/lib/common/Images/Options.d.ts +1 -0
- package/lib/common/Images/Options.d.ts.map +1 -0
- package/lib/common/Images/Options.js +1 -0
- package/lib/common/Images/Options.js.map +1 -0
- package/lib/common/Images/Types.d.ts +1 -0
- package/lib/common/Images/Types.d.ts.map +1 -0
- package/lib/common/Images/Types.js +8 -0
- package/lib/common/Images/Types.js.map +1 -0
- package/lib/common/Images/hero.d.ts +5 -0
- package/lib/common/Images/hero.d.ts.map +1 -0
- package/lib/common/Images/hero.js +31 -0
- package/lib/common/Images/hero.js.map +1 -0
- package/lib/common/Images/hoverEffect.d.ts +9 -0
- package/lib/common/Images/hoverEffect.d.ts.map +1 -0
- package/lib/common/Images/hoverEffect.js +29 -0
- package/lib/common/Images/hoverEffect.js.map +1 -0
- package/lib/common/Images/hoverZoom.d.ts +6 -0
- package/lib/common/Images/hoverZoom.d.ts.map +1 -0
- package/lib/common/Images/hoverZoom.js +33 -0
- package/lib/common/Images/hoverZoom.js.map +1 -0
- package/lib/common/Images/imgFit.d.ts +9 -0
- package/lib/common/Images/imgFit.d.ts.map +1 -0
- package/lib/common/Images/imgFit.js +45 -0
- package/lib/common/Images/imgFit.js.map +1 -0
- package/lib/common/Images/imgTarget.d.ts +6 -0
- package/lib/common/Images/imgTarget.d.ts.map +1 -0
- package/lib/common/Images/imgTarget.js +29 -0
- package/lib/common/Images/imgTarget.js.map +1 -0
- package/lib/pnpjs/Common/CheckItemsResults.js +1 -1
- package/lib/pnpjs/Common/CheckItemsResults.js.map +1 -1
- package/lib/pnpjs/Fields/getFields.d.ts.map +1 -1
- package/lib/pnpjs/Fields/getFields.js.map +1 -1
- package/lib/pnpjs/Groups/IFpsAssociatedGroupsReturn.d.ts +14 -0
- package/lib/pnpjs/Groups/IFpsAssociatedGroupsReturn.d.ts.map +1 -0
- package/lib/pnpjs/Groups/IFpsAssociatedGroupsReturn.js +2 -0
- package/lib/pnpjs/Groups/IFpsAssociatedGroupsReturn.js.map +1 -0
- package/lib/pnpjs/Groups/getAllSiteGroups.d.ts +3 -0
- package/lib/pnpjs/Groups/getAllSiteGroups.d.ts.map +1 -0
- package/lib/pnpjs/Groups/getAllSiteGroups.js +8 -0
- package/lib/pnpjs/Groups/getAllSiteGroups.js.map +1 -0
- package/lib/pnpjs/Groups/getAssocGroups.d.ts +3 -0
- package/lib/pnpjs/Groups/getAssocGroups.d.ts.map +1 -0
- package/lib/pnpjs/Groups/getAssocGroups.js +15 -0
- package/lib/pnpjs/Groups/getAssocGroups.js.map +1 -0
- package/lib/pnpjs/Groups/getAssocMemberGroup.d.ts +3 -0
- package/lib/pnpjs/Groups/getAssocMemberGroup.d.ts.map +1 -0
- package/lib/pnpjs/Groups/getAssocMemberGroup.js +8 -0
- package/lib/pnpjs/Groups/getAssocMemberGroup.js.map +1 -0
- package/lib/pnpjs/Groups/getAssocOwnerGroup.d.ts +3 -0
- package/lib/pnpjs/Groups/getAssocOwnerGroup.d.ts.map +1 -0
- package/lib/pnpjs/Groups/getAssocOwnerGroup.js +8 -0
- package/lib/pnpjs/Groups/getAssocOwnerGroup.js.map +1 -0
- package/lib/pnpjs/Groups/getAssocVisitorGroup.d.ts +3 -0
- package/lib/pnpjs/Groups/getAssocVisitorGroup.d.ts.map +1 -0
- package/lib/pnpjs/Groups/getAssocVisitorGroup.js +8 -0
- package/lib/pnpjs/Groups/getAssocVisitorGroup.js.map +1 -0
- package/lib/pnpjs/Groups/getUsersFromGroup.d.ts +3 -0
- package/lib/pnpjs/Groups/getUsersFromGroup.d.ts.map +1 -0
- package/lib/pnpjs/Groups/getUsersFromGroup.js +8 -0
- package/lib/pnpjs/Groups/getUsersFromGroup.js.map +1 -0
- package/lib/pnpjs/Groups/getUsersFromGroupId.d.ts +3 -0
- package/lib/pnpjs/Groups/getUsersFromGroupId.d.ts.map +1 -0
- package/lib/pnpjs/Groups/getUsersFromGroupId.js +8 -0
- package/lib/pnpjs/Groups/getUsersFromGroupId.js.map +1 -0
- package/lib/pnpjs/Groups/getUsersFromGroupName.d.ts +3 -0
- package/lib/pnpjs/Groups/getUsersFromGroupName.d.ts.map +1 -0
- package/lib/pnpjs/Groups/getUsersFromGroupName.js +8 -0
- package/lib/pnpjs/Groups/getUsersFromGroupName.js.map +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,12 +5,22 @@ npm run build
|
|
|
5
5
|
npm version major/minor/patch
|
|
6
6
|
npm publish --access=public
|
|
7
7
|
|
|
8
|
-
npm install @mikezimm/fps-library-v2@1.0.
|
|
8
|
+
npm install @mikezimm/fps-library-v2@1.0.91
|
|
9
9
|
|
|
10
10
|
# Changelog
|
|
11
11
|
|
|
12
12
|
NOTE: TURN BACK ON STRICT NULL CHECKS - turned off for PropPaneCols
|
|
13
13
|
|
|
14
|
+
## 1.0.92 - 2023-Jan-13: Pivot Tiles Groups and GroupUsers
|
|
15
|
+
- add folder: src\pnpjs\Groups
|
|
16
|
+
- add groups interfaces src\pnpjs\Groups\IFpsAssociatedGroupsReturn
|
|
17
|
+
- add group functions: getAllSiteGroups, getAssociatedGroups,
|
|
18
|
+
- add group functions: getAssociatedOwnerGroup, getAssociatedMemberGroup, getAssociatedVisitorGroup
|
|
19
|
+
- add group functions: getAllUsersFromGroup, getAllUsersFromGroupId, getAllUsersFromGroupName
|
|
20
|
+
|
|
21
|
+
## 1.0.92 - 2023-Jan-10: Pivot Tiles - migrate ReactImage Props and Prop Pane Choices
|
|
22
|
+
- from src/Services/PropPane/ReactImage/v2 to src/common/Images
|
|
23
|
+
|
|
14
24
|
## 1.0.91 - 2023-Jan-10: SecureScript supportedContacts
|
|
15
25
|
- updated importBlockPropsFPS: added 'supportContacts', 'documentationLinkDesc', 'documentationLinkUrl',
|
|
16
26
|
- so that if you export/import, it updates the SupportContact to current user and makes them update docs info.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=Options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/common/Images/Options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=Options.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Options.js","sourceRoot":"","sources":["../../../src/common/Images/Options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=Types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Types.d.ts","sourceRoot":"","sources":["../../../src/common/Images/Types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// import { IImageFit, IImageCover, IImageTarget, IImageZoom } from '@mikezimm/npmfunctions/dist/Services/PropPane/IReactImage';
|
|
2
|
+
// export type IImageFit = 'center' | 'contain' | 'cover' | 'none' | 'centerCover' | 'centerContain';
|
|
3
|
+
// export type IImageCover = 'landscape' | 'portrait';
|
|
4
|
+
// export type IImageTarget = 'top' | 'blank' | 'self' | 'parent';
|
|
5
|
+
// export type IImageZoom = '1.0' | '1.1' | '1.2' | '1.5' | '2.0';
|
|
6
|
+
// export type IGetHeroChoice = 'inLine' | 'carouselLayout' | 'carouselBuilder' | 'left' | 'right' | 'header' | 'footer' | 'none' ;
|
|
7
|
+
// export type IHoverEffect = 'slideUp' | 'fadeUp' | 'none' ;
|
|
8
|
+
//# sourceMappingURL=Types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Types.js","sourceRoot":"","sources":["../../../src/common/Images/Types.ts"],"names":[],"mappings":"AAAA,gIAAgI;AAEhI,qGAAqG;AAErG,sDAAsD;AAEtD,kEAAkE;AAElE,kEAAkE;AAElE,mIAAmI;AAEnI,6DAA6D"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IPropertyPaneDropdownOption } from '@microsoft/sp-property-pane';
|
|
2
|
+
export type IGetHeroChoice = 'inLine' | 'carouselLayout' | 'carouselBuilder' | 'left' | 'right' | 'header' | 'footer' | 'none';
|
|
3
|
+
export declare const heroChoices: IPropertyPaneDropdownOption[];
|
|
4
|
+
export declare function getHeroChoice(findMe: IGetHeroChoice): "none" | "left" | "right" | "footer" | "header";
|
|
5
|
+
//# sourceMappingURL=hero.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hero.d.ts","sourceRoot":"","sources":["../../../src/common/Images/hero.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAE;AAEhI,eAAO,MAAM,WAAW,EAAE,2BAA2B,EASpD,CAAC;AAEF,wBAAgB,aAAa,CAAC,MAAM,EAAE,cAAc,mDAcnD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export const heroChoices = [
|
|
2
|
+
{ index: 0, key: 'inLine', text: "Single In Line (below pivot)" },
|
|
3
|
+
{ index: 8, key: 'carouselLayout', text: "Carousel Layout (below pivot)" },
|
|
4
|
+
{ index: 7, key: 'carouselBuilder', text: "Alternate Carousel Layout (below pivot)" },
|
|
5
|
+
{ index: 3, key: 'header', text: "Above" },
|
|
6
|
+
{ index: 4, key: 'footer', text: "Below" },
|
|
7
|
+
{ index: 1, key: 'left', text: "Left side" },
|
|
8
|
+
{ index: 2, key: 'right', text: "Right side" },
|
|
9
|
+
{ index: 9, key: 'none', text: "None" },
|
|
10
|
+
];
|
|
11
|
+
export function getHeroChoice(findMe) {
|
|
12
|
+
if (findMe === 'left') {
|
|
13
|
+
return "left";
|
|
14
|
+
}
|
|
15
|
+
else if (findMe === 'right') {
|
|
16
|
+
return "right";
|
|
17
|
+
}
|
|
18
|
+
else if (findMe === 'header') {
|
|
19
|
+
return "header";
|
|
20
|
+
}
|
|
21
|
+
else if (findMe === 'footer') {
|
|
22
|
+
return "footer";
|
|
23
|
+
}
|
|
24
|
+
else if (findMe === 'none') {
|
|
25
|
+
return "none";
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
return "left";
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=hero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hero.js","sourceRoot":"","sources":["../../../src/common/Images/hero.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,WAAW,GAAiE;IACvF,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,8BAA8B,EAAE;IACjE,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,gBAAgB,EAAE,IAAI,EAAE,+BAA+B,EAAE;IAC1E,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,yCAAyC,EAAE;IACrF,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;IAC1C,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;IAC1C,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE;IAC5C,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE;IAC9C,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE;CACxC,CAAC;AAEF,MAAM,UAAU,aAAa,CAAC,MAAsB;IAClD,IAAI,MAAM,KAAK,MAAM,EAAE;QACrB,OAAO,MAAM,CAAC;KACf;SAAM,IAAI,MAAM,KAAK,OAAO,EAAE;QAC7B,OAAO,OAAO,CAAC;KAChB;SAAM,IAAI,MAAM,KAAK,QAAQ,EAAE;QAC9B,OAAO,QAAQ,CAAC;KACjB;SAAM,IAAI,MAAM,KAAK,QAAQ,EAAE;QAC9B,OAAO,QAAQ,CAAC;KACjB;SAAM,IAAI,MAAM,KAAK,MAAM,EAAE;QAC5B,OAAO,MAAM,CAAC;KACf;SAAM;QACL,OAAO,MAAM,CAAC;KACf;AACH,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IPropertyPaneDropdownOption } from '@microsoft/sp-property-pane';
|
|
2
|
+
export type IHoverEffect = 'slideUp' | 'fadeUp' | 'none';
|
|
3
|
+
export declare const hoverEffectChoices: IPropertyPaneDropdownOption[];
|
|
4
|
+
/**
|
|
5
|
+
* Currently just place holder in case needed.
|
|
6
|
+
* @param findMe
|
|
7
|
+
*/
|
|
8
|
+
export declare function getHoverEffect(findMe: string): 0 | 1 | 1.2 | 1.1;
|
|
9
|
+
//# sourceMappingURL=hoverEffect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hoverEffect.d.ts","sourceRoot":"","sources":["../../../src/common/Images/hoverEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAE;AAE1D,eAAO,MAAM,kBAAkB,EAAE,2BAA2B,EAI3D,CAAC;AACF;;;GAGG;AAGH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,qBAa5C"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export const hoverEffectChoices = [
|
|
2
|
+
{ index: 0, key: 'slideUp', text: "Slide panel up" },
|
|
3
|
+
{ index: 1, key: 'fadeUp', text: "Fade panel" },
|
|
4
|
+
{ index: 9, key: 'none', text: "None" },
|
|
5
|
+
];
|
|
6
|
+
/**
|
|
7
|
+
* Currently just place holder in case needed.
|
|
8
|
+
* @param findMe
|
|
9
|
+
*/
|
|
10
|
+
export function getHoverEffect(findMe) {
|
|
11
|
+
if (findMe === '1.0') {
|
|
12
|
+
return 1;
|
|
13
|
+
}
|
|
14
|
+
else if (findMe === '1.5') {
|
|
15
|
+
}
|
|
16
|
+
else if (findMe === '1.1') {
|
|
17
|
+
return 1.2;
|
|
18
|
+
return 1.1;
|
|
19
|
+
}
|
|
20
|
+
else if (findMe === '2.0') {
|
|
21
|
+
}
|
|
22
|
+
else if (findMe === '1.2') {
|
|
23
|
+
return 1.2;
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
return 0;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=hoverEffect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hoverEffect.js","sourceRoot":"","sources":["../../../src/common/Images/hoverEffect.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,kBAAkB,GAAiE;IAC9F,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,gBAAgB,EAAE;IACpD,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE;IAC/C,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE;CACxC,CAAC;AACF;;;GAGG;AAGH,MAAM,UAAU,cAAc,CAAC,MAAc;IAC3C,IAAI,MAAM,KAAK,KAAK,EAAE;QACpB,OAAO,CAAC,CAAC;KACV;SAAM,IAAI,MAAM,KAAK,KAAK,EAAE;KAC5B;SAAM,IAAI,MAAM,KAAK,KAAK,EAAE;QAC3B,OAAO,GAAG,CAAC;QACX,OAAO,GAAG,CAAC;KACZ;SAAM,IAAI,MAAM,KAAK,KAAK,EAAE;KAC5B;SAAM,IAAI,MAAM,KAAK,KAAK,EAAE;QAC3B,OAAO,GAAG,CAAC;KACZ;SAAM;QACL,OAAO,CAAC,CAAC;KACV;AACH,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IPropertyPaneDropdownOption } from '@microsoft/sp-property-pane';
|
|
2
|
+
export type IImageZoom = '1.0' | '1.1' | '1.2' | '1.5' | '2.0';
|
|
3
|
+
export declare const hoverZoomChoices: IPropertyPaneDropdownOption[];
|
|
4
|
+
export declare const hoverZoomChoicesAll: IPropertyPaneDropdownOption[];
|
|
5
|
+
export declare function getHoverZoom(findMe: IImageZoom): 0 | 1 | 1.2 | 1.1;
|
|
6
|
+
//# sourceMappingURL=hoverZoom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hoverZoom.d.ts","sourceRoot":"","sources":["../../../src/common/Images/hoverZoom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAE/D,eAAO,MAAM,gBAAgB,EAAE,2BAA2B,EAIzD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,2BAA2B,EAM5D,CAAC;AAEF,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,qBAc9C"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export const hoverZoomChoices = [
|
|
2
|
+
{ index: 0, key: '1.1', text: "1.1 x" },
|
|
3
|
+
{ index: 1, key: '1.2', text: "1.2 x" },
|
|
4
|
+
{ index: 9, key: '1.0', text: "1.0 - no zoom animation" },
|
|
5
|
+
];
|
|
6
|
+
export const hoverZoomChoicesAll = [
|
|
7
|
+
{ index: 0, key: '1.1', text: "1.1 x" },
|
|
8
|
+
{ index: 1, key: '1.2', text: "1.2 x" },
|
|
9
|
+
{ index: 2, key: '1.5', text: "1.5 x" },
|
|
10
|
+
{ index: 3, key: '2.0', text: "2.0 x" },
|
|
11
|
+
{ index: 9, key: '1.0', text: "1.0 - no zoom animation" },
|
|
12
|
+
];
|
|
13
|
+
export function getHoverZoom(findMe) {
|
|
14
|
+
if (findMe === '1.0') {
|
|
15
|
+
return 1;
|
|
16
|
+
}
|
|
17
|
+
else if (findMe === '1.1') {
|
|
18
|
+
return 1.1;
|
|
19
|
+
}
|
|
20
|
+
else if (findMe === '1.2') {
|
|
21
|
+
return 1.2;
|
|
22
|
+
}
|
|
23
|
+
else if (findMe === '1.5') {
|
|
24
|
+
return 1.2;
|
|
25
|
+
}
|
|
26
|
+
else if (findMe === '2.0') {
|
|
27
|
+
return 1.2;
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
return 0;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=hoverZoom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hoverZoom.js","sourceRoot":"","sources":["../../../src/common/Images/hoverZoom.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,gBAAgB,GAAiE;IAC5F,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE;IACvC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE;IACvC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,yBAAyB,EAAE;CAC1D,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAiE;IAC/F,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE;IACvC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE;IACvC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE;IACvC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE;IACvC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,yBAAyB,EAAE;CAC1D,CAAC;AAEF,MAAM,UAAU,YAAY,CAAC,MAAkB;IAC7C,IAAI,MAAM,KAAK,KAAK,EAAE;QACpB,OAAO,CAAC,CAAC;KACV;SAAM,IAAI,MAAM,KAAK,KAAK,EAAE;QAC3B,OAAO,GAAG,CAAC;KACZ;SAAM,IAAI,MAAM,KAAK,KAAK,EAAE;QAC3B,OAAO,GAAG,CAAC;KACZ;SAAM,IAAI,MAAM,KAAK,KAAK,EAAE;QAC3B,OAAO,GAAG,CAAC;KACZ;SAAM,IAAI,MAAM,KAAK,KAAK,EAAE;QAC3B,OAAO,GAAG,CAAC;KACZ;SAAM;QACL,OAAO,CAAC,CAAC;KACV;AACH,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IPropertyPaneDropdownOption } from '@microsoft/sp-property-pane';
|
|
2
|
+
import { ImageFit, ImageCoverStyle } from 'office-ui-fabric-react/lib/Image';
|
|
3
|
+
export type IImageFit = 'center' | 'contain' | 'cover' | 'none' | 'centerCover' | 'centerContain';
|
|
4
|
+
export type IImageCover = 'landscape' | 'portrait';
|
|
5
|
+
export declare const imgFitChoices: IPropertyPaneDropdownOption[];
|
|
6
|
+
export declare function getImgFit(findMe: IImageFit): ImageFit;
|
|
7
|
+
export declare const imgCoverChoices: IPropertyPaneDropdownOption[];
|
|
8
|
+
export declare function getImgCover(findMe: IImageCover): ImageCoverStyle;
|
|
9
|
+
//# sourceMappingURL=imgFit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imgFit.d.ts","sourceRoot":"","sources":["../../../src/common/Images/imgFit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAE7E,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,aAAa,GAAG,eAAe,CAAC;AAElG,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,UAAU,CAAC;AAEnD,eAAO,MAAM,aAAa,EAAE,2BAA2B,EAOtD,CAAC;AAEF,wBAAgB,SAAS,CAAC,MAAM,EAAE,SAAS,YAsB1C;AAED,eAAO,MAAM,eAAe,EAAE,2BAA2B,EAGxD,CAAC;AAEF,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,mBAM9C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ImageFit, ImageCoverStyle } from 'office-ui-fabric-react/lib/Image';
|
|
2
|
+
export const imgFitChoices = [
|
|
3
|
+
{ index: 0, key: 'center', text: 'Center' },
|
|
4
|
+
{ index: 1, key: 'contain', text: 'Contain' },
|
|
5
|
+
{ index: 2, key: 'cover', text: 'Cover' },
|
|
6
|
+
{ index: 3, key: 'none', text: 'None' },
|
|
7
|
+
{ index: 4, key: 'centerCover', text: 'CenterCover' },
|
|
8
|
+
{ index: 5, key: 'centerContain', text: 'CenterContain' },
|
|
9
|
+
];
|
|
10
|
+
export function getImgFit(findMe) {
|
|
11
|
+
if (findMe === 'center') {
|
|
12
|
+
return ImageFit.center;
|
|
13
|
+
}
|
|
14
|
+
else if (findMe === 'contain') {
|
|
15
|
+
return ImageFit.contain;
|
|
16
|
+
}
|
|
17
|
+
else if (findMe === 'cover') {
|
|
18
|
+
return ImageFit.cover;
|
|
19
|
+
}
|
|
20
|
+
else if (findMe === 'none') {
|
|
21
|
+
return ImageFit.none;
|
|
22
|
+
}
|
|
23
|
+
else if (findMe === 'centerContain') {
|
|
24
|
+
return ImageFit.centerContain;
|
|
25
|
+
}
|
|
26
|
+
else if (findMe === 'centerCover') {
|
|
27
|
+
return ImageFit.centerCover;
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
return ImageFit.centerCover;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export const imgCoverChoices = [
|
|
34
|
+
{ index: 0, key: 'landscape', text: "Landscape ^ stretch full height v" },
|
|
35
|
+
{ index: 1, key: 'portrait', text: "Portrait < stretch full width >" },
|
|
36
|
+
];
|
|
37
|
+
export function getImgCover(findMe) {
|
|
38
|
+
if (findMe === 'landscape') {
|
|
39
|
+
return ImageCoverStyle.landscape;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
return ImageCoverStyle.portrait;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=imgFit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imgFit.js","sourceRoot":"","sources":["../../../src/common/Images/imgFit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAM7E,MAAM,CAAC,MAAM,aAAa,GAAiE;IACzF,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;IAC3C,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;IAC7C,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE;IACzC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE;IACvC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,aAAa,EAAE;IACrD,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,eAAe,EAAE,IAAI,EAAE,eAAe,EAAE;CAC1D,CAAC;AAEF,MAAM,UAAU,SAAS,CAAC,MAAiB;IACzC,IAAI,MAAM,KAAK,QAAQ,EAAE;QACvB,OAAO,QAAQ,CAAC,MAAM,CAAC;KAExB;SAAM,IAAI,MAAM,KAAK,SAAS,EAAE;QAC/B,OAAO,QAAQ,CAAC,OAAO,CAAC;KAEzB;SAAM,IAAI,MAAM,KAAK,OAAO,EAAE;QAC7B,OAAO,QAAQ,CAAC,KAAK,CAAC;KAEvB;SAAM,IAAI,MAAM,KAAK,MAAM,EAAE;QAC5B,OAAO,QAAQ,CAAC,IAAI,CAAC;KAEtB;SAAM,IAAI,MAAM,KAAK,eAAe,EAAE;QACrC,OAAO,QAAQ,CAAC,aAAa,CAAC;KAE/B;SAAM,IAAI,MAAM,KAAK,aAAa,EAAE;QACnC,OAAO,QAAQ,CAAC,WAAW,CAAC;KAE7B;SAAM;QACL,OAAO,QAAQ,CAAC,WAAW,CAAC;KAC7B;AACH,CAAC;AAED,MAAM,CAAC,MAAM,eAAe,GAAiE;IAC3F,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,mCAAmC,EAAE;IACzE,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,iCAAiC,EAAE;CACvE,CAAC;AAEF,MAAM,UAAU,WAAW,CAAC,MAAmB;IAC7C,IAAI,MAAM,KAAK,WAAW,EAAE;QAC1B,OAAO,eAAe,CAAC,SAAS,CAAC;KAClC;SAAM;QACL,OAAO,eAAe,CAAC,QAAQ,CAAC;KACjC;AACH,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IPropertyPaneDropdownOption } from '@microsoft/sp-property-pane';
|
|
2
|
+
export type IImageTarget = 'top' | 'blank' | 'self' | 'parent';
|
|
3
|
+
export declare const imgTargetChoices: IPropertyPaneDropdownOption[];
|
|
4
|
+
export declare const imgTargetChoicesAll: IPropertyPaneDropdownOption[];
|
|
5
|
+
export declare function getTarget(findMe: IImageTarget): "_blank" | "_self" | "_parent" | "_top";
|
|
6
|
+
//# sourceMappingURL=imgTarget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imgTarget.d.ts","sourceRoot":"","sources":["../../../src/common/Images/imgTarget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE/D,eAAO,MAAM,gBAAgB,EAAE,2BAA2B,EAGzD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,2BAA2B,EAM5D,CAAC;AAEF,wBAAgB,SAAS,CAAC,MAAM,EAAE,YAAY,2CAgB7C"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export const imgTargetChoices = [
|
|
2
|
+
{ index: 0, key: 'top', text: "Full Body (_top)" },
|
|
3
|
+
{ index: 1, key: 'blank', text: "New Window (_blank)" },
|
|
4
|
+
];
|
|
5
|
+
export const imgTargetChoicesAll = [
|
|
6
|
+
{ index: 0, key: 'top', text: "Full Body (_top)" },
|
|
7
|
+
{ index: 1, key: 'blank', text: "New Window (_blank)" },
|
|
8
|
+
// These do not seem to work.
|
|
9
|
+
// { index: 2, key: 'self', text: "Same Frame (_self)" },
|
|
10
|
+
// { index: 3, key: 'parent', text: "Parent Frameset (_parent)" },
|
|
11
|
+
];
|
|
12
|
+
export function getTarget(findMe) {
|
|
13
|
+
if (findMe === 'blank') {
|
|
14
|
+
return "_blank";
|
|
15
|
+
}
|
|
16
|
+
else if (findMe === 'self') {
|
|
17
|
+
return "_self";
|
|
18
|
+
}
|
|
19
|
+
else if (findMe === 'parent') {
|
|
20
|
+
return "_parent";
|
|
21
|
+
}
|
|
22
|
+
else if (findMe === 'top') {
|
|
23
|
+
return "_top";
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
return "_top";
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=imgTarget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imgTarget.js","sourceRoot":"","sources":["../../../src/common/Images/imgTarget.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,gBAAgB,GAAiE;IAC5F,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,kBAAkB,EAAE;IAClD,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAqB,EAAE;CACxD,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAiE;IAC/F,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,kBAAkB,EAAE;IAClD,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAqB,EAAE;IACvD,gCAAgC;IAChC,8DAA8D;IAC9D,uEAAuE;CACxE,CAAC;AAEF,MAAM,UAAU,SAAS,CAAC,MAAoB;IAC5C,IAAI,MAAM,KAAK,OAAO,EAAE;QACtB,OAAO,QAAQ,CAAC;KAEjB;SAAM,IAAI,MAAM,KAAK,MAAM,EAAE;QAC5B,OAAO,OAAO,CAAC;KAEhB;SAAM,IAAI,MAAM,KAAK,QAAQ,EAAE;QAC9B,OAAO,SAAS,CAAC;KAElB;SAAM,IAAI,MAAM,KAAK,KAAK,EAAE;QAC3B,OAAO,MAAM,CAAC;KAEf;SAAM;QACL,OAAO,MAAM,CAAC;KACf;AACH,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { check4Gulp, } from "@mikezimm/fps-pnp2";
|
|
1
|
+
import { check4Gulp, } from "@mikezimm/fps-pnp2/lib/services/sp/CheckGulping";
|
|
2
2
|
import { FPSResultCommonErrors } from "@mikezimm/fps-pnp2/lib/services/sp/IFPSResultStatus";
|
|
3
3
|
import { convertHelpfullError } from "../../logic/Errors/friendly";
|
|
4
4
|
import { saveErrorToLog } from "../Logging";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckItemsResults.js","sourceRoot":"","sources":["../../../src/pnpjs/Common/CheckItemsResults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"CheckItemsResults.js","sourceRoot":"","sources":["../../../src/pnpjs/Common/CheckItemsResults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,GAAG,MAAM,iDAAiD,CAAC;AAC9E,OAAO,EAAoB,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAC9G,OAAO,EAAE,oBAAoB,EAAmC,MAAM,6BAA6B,CAAC;AACpG,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAQ5C,MAAM,UAAU,iBAAiB,CAAG,UAA2B,EAAE,WAAmB,EAAE,OAAgB,EAAG,UAAmB;IAC1H,2DAA2D;IAE3D,IAAK,qBAAqB,CAAC,OAAO,CAAE,UAAU,CAAC,CAAC,CAAE,GAAG,CAAC,CAAC,EAAG;QACxD,UAAU,CAAC,SAAS,GAAG;YACrB,MAAM,EAAE,UAAU,CAAC,CAAC;YACpB,QAAQ,EAAE,UAAU,CAAC,CAAC;YACtB,MAAM,EAAE,UAAU,CAAC,CAAC;YACpB,UAAU,EAAE,UAAU,CAAC,CAAC;SACzB,CAAA;KAEF;SAAM,IAAK,UAAU,CAAC,CAAC,EAAG;QACzB,MAAM,UAAU,GAAmB,EAAE,CAAC,EAAE,UAAU,CAAC,CAAC,EAAE,OAAO,EAAC,OAAO,EAAG,UAAU,EAAE,UAAU,EAAG,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,wCAAwC,EAAG,SAAS,EAAE,IAAI,EAAE,CAAC;QACvM,UAAU,CAAC,UAAU,GAAG,UAAU,CAAC;QAEnC,MAAM,SAAS,GAAoB,oBAAoB,CAAE,UAAU,CAAE,CAAC;QACtE,UAAU,CAAC,SAAS,GAAG,SAAS,CAAC;QAEjC,cAAc,CAAE,UAAU,CAAC,SAAS,EAAE,UAAU,CAAE,CAAC;KAEpD;IAED,IAAK,UAAU,EAAE,KAAK,IAAI,EAAG;QAAE,OAAO,CAAC,GAAG,CAAE,kDAAkD,EAAE,UAAU,CAAE,CAAA;KAAE;IAAA,CAAC;IAE/G,OAAO,UAAU,CAAC;AAEpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFields.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Fields/getFields.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+DAA+D,CAAC;
|
|
1
|
+
{"version":3,"file":"getFields.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Fields/getFields.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+DAA+D,CAAC;AACnG,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC;AAEhC,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,KAAK,EAAE,aAAa,EAAE,CAAC;CACxB;AAED,wBAAsB,aAAa,CAAE,iBAAiB,EAAE,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAK,OAAO,CAAC,gBAAgB,CAAC,CAQtK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFields.js","sourceRoot":"","sources":["../../../src/pnpjs/Fields/getFields.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"getFields.js","sourceRoot":"","sources":["../../../src/pnpjs/Fields/getFields.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAmB,MAAM,uDAAuD,CAAC;AAErG,OAAO,EAAE,iBAAiB,GAAG,MAAM,6BAA6B,CAAC;AAUjE,MAAM,CAAC,KAAK,UAAU,aAAa,CAAE,iBAAqC,EAAE,OAA4B,EAAE,UAA+B;IAEvI,MAAM,UAAU,GAAoB,MAAM,WAAW,CAAE,iBAAiB,CAAE,CAAC;IAE3E,MAAM,MAAM,GAAsB,iBAAiB,CAAE,UAAU,EAAE,qCAAqC,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC,CAAE,sFAAsF;IAE7N,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IFpsErrorObject } from "../Common/IFpsErrorObject";
|
|
2
|
+
export type IPnpGroupInfo = any;
|
|
3
|
+
export interface IFpsGroupsReturn extends IFpsErrorObject {
|
|
4
|
+
groups: IPnpGroupInfo[];
|
|
5
|
+
}
|
|
6
|
+
export interface IFpsGroupReturn extends IFpsErrorObject {
|
|
7
|
+
group: IPnpGroupInfo;
|
|
8
|
+
}
|
|
9
|
+
export interface IFpsAssociatedGroupsReturn {
|
|
10
|
+
owners: IFpsGroupReturn;
|
|
11
|
+
members: IFpsGroupReturn;
|
|
12
|
+
visitors: IFpsGroupReturn;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=IFpsAssociatedGroupsReturn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFpsAssociatedGroupsReturn.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Groups/IFpsAssociatedGroupsReturn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC;AAEhC,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,MAAM,EAAE,aAAa,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,KAAK,EAAE,aAAa,CAAC;CACtB;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,eAAe,CAAC;IACxB,OAAO,EAAE,eAAe,CAAC;IACzB,QAAQ,EAAE,eAAe,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFpsAssociatedGroupsReturn.js","sourceRoot":"","sources":["../../../src/pnpjs/Groups/IFpsAssociatedGroupsReturn.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllSiteGroups.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getAllSiteGroups.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE,wBAAsB,gBAAgB,CAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAM,OAAO,CAAC,gBAAgB,CAAC,CAOnJ"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { checkItemsResults, } from '../Common/CheckItemsResults';
|
|
2
|
+
import { getSiteGroups, } from '@mikezimm/fps-pnp2/lib/services/sp/groups/getSiteGroups';
|
|
3
|
+
export async function getAllSiteGroups(webUrl, alertMe, consoleLog) {
|
|
4
|
+
const groups = await getSiteGroups(webUrl);
|
|
5
|
+
const result = checkItemsResults(groups, `fps-library-v2: getAllSiteGroups ~ 10`, alertMe, consoleLog); // added as any to fix compile error due to adding item as optional to IFPSItemsReturn
|
|
6
|
+
return result;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=getAllSiteGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllSiteGroups.js","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getAllSiteGroups.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,GAAG,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,aAAa,GAAG,MAAM,yDAAyD,CAAC;AAIzF,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAE,MAAc,EAAE,OAA4B,EAAE,UAA+B;IAEnH,MAAM,MAAM,GAAmB,MAAM,aAAa,CAAE,MAAM,CAAG,CAAC;IAC9D,MAAM,MAAM,GAAqB,iBAAiB,CAAE,MAAM,EAAE,wCAAwC,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC,CAAE,sFAAsF;IAE3N,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IFpsAssociatedGroupsReturn } from './IFpsAssociatedGroupsReturn';
|
|
2
|
+
export declare function getAssociatedGroups(webUrl: string, alertMe: boolean | undefined, consoleLog: boolean | undefined): Promise<IFpsAssociatedGroupsReturn>;
|
|
3
|
+
//# sourceMappingURL=getAssocGroups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAssocGroups.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getAssocGroups.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAmB,MAAM,8BAA8B,CAAC;AAO3F,wBAAsB,mBAAmB,CAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAM,OAAO,CAAC,0BAA0B,CAAC,CAchK"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { getAssociatedOwnerGroup } from './getAssocOwnerGroup';
|
|
2
|
+
import { getAssociatedMemberGroup } from './getAssocMemberGroup';
|
|
3
|
+
import { getAssociatedVisitorGroup } from './getAssocVisitorGroup';
|
|
4
|
+
export async function getAssociatedGroups(webUrl, alertMe, consoleLog) {
|
|
5
|
+
const owners = getAssociatedOwnerGroup(webUrl, alertMe, consoleLog); // added as any to fix compile error due to adding item as optional to IFPSItemsReturn
|
|
6
|
+
const members = getAssociatedMemberGroup(webUrl, alertMe, consoleLog); // added as any to fix compile error due to adding item as optional to IFPSItemsReturn
|
|
7
|
+
const visitors = getAssociatedVisitorGroup(webUrl, alertMe, consoleLog); // added as any to fix compile error due to adding item as optional to IFPSItemsReturn
|
|
8
|
+
const result = {
|
|
9
|
+
owners: owners,
|
|
10
|
+
members: members,
|
|
11
|
+
visitors: visitors,
|
|
12
|
+
};
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=getAssocGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAssocGroups.js","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getAssocGroups.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAGnE,MAAM,CAAC,KAAK,UAAU,mBAAmB,CAAE,MAAc,EAAE,OAA4B,EAAE,UAA+B;IAEtH,MAAM,MAAM,GAAoB,uBAAuB,CAAE,MAAM,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC,CAAE,sFAAsF;IACtL,MAAM,OAAO,GAAoB,wBAAwB,CAAE,MAAM,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC,CAAE,sFAAsF;IACxL,MAAM,QAAQ,GAAoB,yBAAyB,CAAE,MAAM,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC,CAAE,sFAAsF;IAE1L,MAAM,MAAM,GAAgC;QAC1C,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,OAAO;QAChB,QAAQ,EAAE,QAAQ;KACnB,CAAA;IAED,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAssocMemberGroup.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getAssocMemberGroup.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,wBAAsB,wBAAwB,CAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAM,OAAO,CAAC,eAAe,CAAC,CAO1J"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { checkItemsResults, } from '../Common/CheckItemsResults';
|
|
2
|
+
import { getAssociatedGroup, } from '@mikezimm/fps-pnp2/lib/services/sp/groups/getAssocGroup';
|
|
3
|
+
export async function getAssociatedMemberGroup(webUrl, alertMe, consoleLog) {
|
|
4
|
+
const group = await getAssociatedGroup(webUrl, 'Members');
|
|
5
|
+
const result = checkItemsResults(group, `fps-library-v2: getAssocGroups ~ 27`, alertMe, consoleLog); // added as any to fix compile error due to adding item as optional to IFPSItemsReturn
|
|
6
|
+
return result;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=getAssocMemberGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAssocMemberGroup.js","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getAssocMemberGroup.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,GAAG,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,kBAAkB,GAAG,MAAM,yDAAyD,CAAC;AAI9F,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAAE,MAAc,EAAE,OAA4B,EAAE,UAA+B;IAE3H,MAAM,KAAK,GAAkB,MAAM,kBAAkB,CAAE,MAAM,EAAE,SAAS,CAAE,CAAC;IAC3E,MAAM,MAAM,GAAoB,iBAAiB,CAAE,KAAK,EAAE,sCAAsC,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC,CAAE,sFAAsF;IAEvN,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAssocOwnerGroup.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getAssocOwnerGroup.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,wBAAsB,uBAAuB,CAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAM,OAAO,CAAC,eAAe,CAAC,CAOzJ"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { checkItemsResults, } from '../Common/CheckItemsResults';
|
|
2
|
+
import { getAssociatedGroup, } from '@mikezimm/fps-pnp2/lib/services/sp/groups/getAssocGroup';
|
|
3
|
+
export async function getAssociatedOwnerGroup(webUrl, alertMe, consoleLog) {
|
|
4
|
+
const group = await getAssociatedGroup(webUrl, 'Owners');
|
|
5
|
+
const result = checkItemsResults(group, `fps-library-v2: getAssocOwnerGroup ~ 10`, alertMe, consoleLog); // added as any to fix compile error due to adding item as optional to IFPSItemsReturn
|
|
6
|
+
return result;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=getAssocOwnerGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAssocOwnerGroup.js","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getAssocOwnerGroup.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,GAAG,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,kBAAkB,GAAG,MAAM,yDAAyD,CAAC;AAI9F,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAAE,MAAc,EAAE,OAA4B,EAAE,UAA+B;IAE1H,MAAM,KAAK,GAAkB,MAAM,kBAAkB,CAAE,MAAM,EAAE,QAAQ,CAAE,CAAC;IAC1E,MAAM,MAAM,GAAoB,iBAAiB,CAAE,KAAK,EAAE,0CAA0C,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC,CAAE,sFAAsF;IAE3N,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAssocVisitorGroup.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getAssocVisitorGroup.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,wBAAsB,yBAAyB,CAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAM,OAAO,CAAC,eAAe,CAAC,CAO3J"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { checkItemsResults, } from '../Common/CheckItemsResults';
|
|
2
|
+
import { getAssociatedGroup, } from '@mikezimm/fps-pnp2/lib/services/sp/groups/getAssocGroup';
|
|
3
|
+
export async function getAssociatedVisitorGroup(webUrl, alertMe, consoleLog) {
|
|
4
|
+
const group = await getAssociatedGroup(webUrl, 'Visitors');
|
|
5
|
+
const result = checkItemsResults(group, `fps-library-v2: getAssocVisitorGroup ~ 10`, alertMe, consoleLog); // added as any to fix compile error due to adding item as optional to IFPSItemsReturn
|
|
6
|
+
return result;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=getAssocVisitorGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAssocVisitorGroup.js","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getAssocVisitorGroup.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,GAAG,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,kBAAkB,GAAG,MAAM,yDAAyD,CAAC;AAI9F,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAAE,MAAc,EAAE,OAA4B,EAAE,UAA+B;IAE5H,MAAM,KAAK,GAAkB,MAAM,kBAAkB,CAAE,MAAM,EAAE,UAAU,CAAE,CAAC;IAC5E,MAAM,MAAM,GAAoB,iBAAiB,CAAE,KAAK,EAAE,4CAA4C,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC,CAAE,sFAAsF;IAE7N,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ISiteUsersInfo } from '../Users/interfaces/ISiteUsersInfo';
|
|
2
|
+
export declare function getAllUsersFromGroup(webUrl: string, NameId: string | number, alertMe: boolean | undefined, consoleLog: boolean | undefined): Promise<ISiteUsersInfo>;
|
|
3
|
+
//# sourceMappingURL=getUsersFromGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUsersFromGroup.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getUsersFromGroup.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,wBAAsB,oBAAoB,CAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAM,OAAO,CAAC,cAAc,CAAC,CAO9K"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { checkItemsResults, } from '../Common/CheckItemsResults';
|
|
2
|
+
import { getUsersFromGroup, } from '@mikezimm/fps-pnp2/lib/services/sp/groups/getUsersFromGroup';
|
|
3
|
+
export async function getAllUsersFromGroup(webUrl, NameId, alertMe, consoleLog) {
|
|
4
|
+
const users = await getUsersFromGroup(webUrl, NameId);
|
|
5
|
+
const result = checkItemsResults(users, `fps-library-v2: getAllUsersFromGroup ~ 10`, alertMe, consoleLog); // added as any to fix compile error due to adding item as optional to IFPSItemsReturn
|
|
6
|
+
return result;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=getUsersFromGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUsersFromGroup.js","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getUsersFromGroup.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,GAAG,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,iBAAiB,GAAG,MAAM,6DAA6D,CAAC;AAIjG,MAAM,CAAC,KAAK,UAAU,oBAAoB,CAAE,MAAc,EAAE,MAAuB,EAAE,OAA4B,EAAE,UAA+B;IAEhJ,MAAM,KAAK,GAAsB,MAAM,iBAAiB,CAAE,MAAM,EAAE,MAAM,CAAE,CAAC;IAC3E,MAAM,MAAM,GAAmB,iBAAiB,CAAE,KAAK,EAAE,4CAA4C,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC,CAAE,sFAAsF;IAE5N,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ISiteUsersInfo } from '../Users/interfaces/ISiteUsersInfo';
|
|
2
|
+
export declare function getAllUsersFromGroupId(webUrl: string, Id: number, alertMe: boolean | undefined, consoleLog: boolean | undefined): Promise<ISiteUsersInfo>;
|
|
3
|
+
//# sourceMappingURL=getUsersFromGroupId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUsersFromGroupId.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getUsersFromGroupId.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,wBAAsB,sBAAsB,CAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAM,OAAO,CAAC,cAAc,CAAC,CAOnK"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { checkItemsResults, } from '../Common/CheckItemsResults';
|
|
2
|
+
import { getUsersFromGroupId, } from '@mikezimm/fps-pnp2/lib/services/sp/groups/getUsersFromGroupId';
|
|
3
|
+
export async function getAllUsersFromGroupId(webUrl, Id, alertMe, consoleLog) {
|
|
4
|
+
const users = await getUsersFromGroupId(webUrl, Id);
|
|
5
|
+
const result = checkItemsResults(users, `fps-library-v2: getAllUsersFromGroupId ~ 10`, alertMe, consoleLog); // added as any to fix compile error due to adding item as optional to IFPSItemsReturn
|
|
6
|
+
return result;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=getUsersFromGroupId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUsersFromGroupId.js","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getUsersFromGroupId.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,GAAG,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,mBAAmB,GAAG,MAAM,+DAA+D,CAAC;AAIrG,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAAE,MAAc,EAAE,EAAU,EAAE,OAA4B,EAAE,UAA+B;IAErI,MAAM,KAAK,GAAsB,MAAM,mBAAmB,CAAE,MAAM,EAAE,EAAE,CAAE,CAAC;IACzE,MAAM,MAAM,GAAmB,iBAAiB,CAAE,KAAK,EAAE,8CAA8C,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC,CAAE,sFAAsF;IAE9N,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ISiteUsersInfo } from '../Users/interfaces/ISiteUsersInfo';
|
|
2
|
+
export declare function getAllUsersFromGroupName(webUrl: string, Name: string, alertMe: boolean | undefined, consoleLog: boolean | undefined): Promise<ISiteUsersInfo>;
|
|
3
|
+
//# sourceMappingURL=getUsersFromGroupName.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUsersFromGroupName.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getUsersFromGroupName.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,wBAAsB,wBAAwB,CAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAM,OAAO,CAAC,cAAc,CAAC,CAOvK"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { checkItemsResults, } from '../Common/CheckItemsResults';
|
|
2
|
+
import { getUsersFromGroupName, } from '@mikezimm/fps-pnp2/lib/services/sp/groups/getUsersFromGroupName';
|
|
3
|
+
export async function getAllUsersFromGroupName(webUrl, Name, alertMe, consoleLog) {
|
|
4
|
+
const users = await getUsersFromGroupName(webUrl, Name);
|
|
5
|
+
const result = checkItemsResults(users, `fps-library-v2: getAllUsersFromName ~ 10`, alertMe, consoleLog); // added as any to fix compile error due to adding item as optional to IFPSItemsReturn
|
|
6
|
+
return result;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=getUsersFromGroupName.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUsersFromGroupName.js","sourceRoot":"","sources":["../../../src/pnpjs/Groups/getUsersFromGroupName.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,GAAG,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,qBAAqB,GAAG,MAAM,iEAAiE,CAAC;AAIzG,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAAE,MAAc,EAAE,IAAY,EAAE,OAA4B,EAAE,UAA+B;IAEzI,MAAM,KAAK,GAAsB,MAAM,qBAAqB,CAAE,MAAM,EAAE,IAAI,CAAE,CAAC;IAC7E,MAAM,MAAM,GAAmB,iBAAiB,CAAE,KAAK,EAAE,2CAA2C,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC,CAAE,sFAAsF;IAE3N,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikezimm/fps-library-v2",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.92",
|
|
4
4
|
"description": "Library of reusable typescript/javascript functions, interfaces and constants",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@microsoft/sp-property-pane": "^1.15.2",
|
|
43
|
-
"@mikezimm/fps-pnp2": "^1.0.
|
|
43
|
+
"@mikezimm/fps-pnp2": "^1.0.30",
|
|
44
44
|
"@mikezimm/fps-styles": "^1.0.14",
|
|
45
45
|
"@pnp/spfx-controls-react": "3.12.0",
|
|
46
46
|
"@pnp/spfx-property-controls": "^3.6.0",
|