@mikezimm/fps-library-v2 1.0.184 → 1.0.186
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 +9 -1
- package/lib/components/molecules/RelatedItems/RelatedPropsHelp.d.ts +3 -0
- package/lib/components/molecules/RelatedItems/RelatedPropsHelp.d.ts.map +1 -0
- package/lib/components/molecules/RelatedItems/RelatedPropsHelp.js +92 -0
- package/lib/components/molecules/RelatedItems/RelatedPropsHelp.js.map +1 -0
- package/lib/pnpjs/FieldAsSpecial/FetchItem.d.ts +24 -0
- package/lib/pnpjs/FieldAsSpecial/FetchItem.d.ts.map +1 -0
- package/lib/pnpjs/FieldAsSpecial/FetchItem.js +45 -0
- package/lib/pnpjs/FieldAsSpecial/FetchItem.js.map +1 -0
- package/lib/pnpjs/FieldAsSpecial/FetchPage.d.ts +35 -0
- package/lib/pnpjs/FieldAsSpecial/FetchPage.d.ts.map +1 -0
- package/lib/pnpjs/FieldAsSpecial/FetchPage.js +29 -0
- package/lib/pnpjs/FieldAsSpecial/FetchPage.js.map +1 -0
- package/lib/pnpjs/FieldAsXML/FetchItem.d.ts +14 -0
- package/lib/pnpjs/FieldAsXML/FetchItem.d.ts.map +1 -1
- package/lib/pnpjs/FieldAsXML/FetchItem.js +14 -0
- package/lib/pnpjs/FieldAsXML/FetchItem.js.map +1 -1
- package/lib/pnpjs/FieldAsXML/FetchPage.d.ts +15 -0
- package/lib/pnpjs/FieldAsXML/FetchPage.d.ts.map +1 -1
- package/lib/pnpjs/FieldAsXML/FetchPage.js +15 -0
- package/lib/pnpjs/FieldAsXML/FetchPage.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,12 +5,20 @@ 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.185
|
|
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.186 - 2023-May-15: add fetchFpsItemAsSpecial
|
|
15
|
+
- add fetchFpsItemAsSpecial to replace fetchFpsItemAsXML
|
|
16
|
+
- add fetchFpsPageAsSpecial to replace fetchFpsPageAsXML
|
|
17
|
+
- add Deprecate comments to fetchFpsItemAsXML, fetchFpsPageAsXML
|
|
18
|
+
|
|
19
|
+
## 1.0.185 - 2023-May-14: add getWebPartHelpElementRelatedProps
|
|
20
|
+
- add getWebPartHelpElementRelatedProps in src\components\molecules\RelatedItems\RelatedPropsHelp.tsx
|
|
21
|
+
|
|
14
22
|
## 1.0.184 - 2023-May-14: add _doHeadingStyles
|
|
15
23
|
- add _doHeadingStyles to class Interface
|
|
16
24
|
- add _doHeadingStyles default = false to main class
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelatedPropsHelp.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/RelatedItems/RelatedPropsHelp.tsx"],"names":[],"mappings":";AAkCA,wBAAgB,iCAAiC,IAAO,GAAG,CAAC,OAAO,CAsDlE"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
// import ReactJson from "react-json-view";
|
|
3
|
+
import { PivotItem, } from 'office-ui-fabric-react/lib/Pivot';
|
|
4
|
+
import ReactJson from "react-json-view";
|
|
5
|
+
import { HandleBarReplacements } from '../../../logic/Strings/handleBarsContext';
|
|
6
|
+
// import {HandleBarReplacements, } from '../fpsReferences';
|
|
7
|
+
// export function putObjectIntoJSON ( obj: any, name: string = null ): JSX.Element {
|
|
8
|
+
// // return <ReactJson src={ obj } name={ 'panelItem' } collapsed={ true } displayDataTypes={ true } displayObjectSize={ true } enableClipboard={ true } style={{ padding: '20px 0px' }}/>;
|
|
9
|
+
// return <ReactJson src={ obj } name={ name } collapsed={ false } displayDataTypes={ false } displayObjectSize={ false } enableClipboard={ true } style={{ padding: '20px 0px' }} theme= { 'rjv-default' } indentWidth={ 2}/>;
|
|
10
|
+
// }
|
|
11
|
+
/**
|
|
12
|
+
* FPS Slick Sections Notes:
|
|
13
|
+
*
|
|
14
|
+
* ForceWhite does NOT work on collapsible sections.... might at first but if you collapse then expand, no go because web part does not re-apply the classes to the web parts.
|
|
15
|
+
* @returns
|
|
16
|
+
*/
|
|
17
|
+
const SampleRelatedInfoProps = {
|
|
18
|
+
description: 'Standards',
|
|
19
|
+
showItems: true,
|
|
20
|
+
isExpanded: true,
|
|
21
|
+
web: '/sites/financemanual/manual',
|
|
22
|
+
listTitle: 'Site Pages',
|
|
23
|
+
restFilter: 'StandardDocumentsId eq {{PageId}}',
|
|
24
|
+
linkProp: 'File/ServerRelativeUrl',
|
|
25
|
+
displayProp: 'Title',
|
|
26
|
+
itemsStyle: '{ escape( `"fontWeight":600,"color":"yellow"` )}',
|
|
27
|
+
};
|
|
28
|
+
const padRight40 = { paddingRight: '40px' };
|
|
29
|
+
const ReactCSSPropsNote = React.createElement("span", { style: { color: 'darkred', fontWeight: 500 } }, "React.CSSProperties string like (with quotes):");
|
|
30
|
+
export function getWebPartHelpElementRelatedProps() {
|
|
31
|
+
const WebPartHelpElement = React.createElement(PivotItem, { headerText: 'RelatedInfo' },
|
|
32
|
+
React.createElement("div", { className: 'fps-pph-content' },
|
|
33
|
+
React.createElement("div", { className: 'fps-pph-topic' }, "Related Info is a way to show items that are related to this page."),
|
|
34
|
+
React.createElement("div", null,
|
|
35
|
+
React.createElement("li", null,
|
|
36
|
+
React.createElement("b", null, "showItems - "),
|
|
37
|
+
"Enable or Disable this feature"),
|
|
38
|
+
React.createElement("li", null,
|
|
39
|
+
React.createElement("b", null, "description - "),
|
|
40
|
+
"Heading for this feature - clickable to expand/collapse"),
|
|
41
|
+
React.createElement("li", null,
|
|
42
|
+
React.createElement("b", null, "web - "),
|
|
43
|
+
"Server Relative Url of list-item you are relating to"),
|
|
44
|
+
React.createElement("li", null,
|
|
45
|
+
React.createElement("b", null, "listTitle - "),
|
|
46
|
+
"List Title which has the related info"),
|
|
47
|
+
React.createElement("li", null,
|
|
48
|
+
React.createElement("b", null, "restFilter - "),
|
|
49
|
+
"rest based filter - see context-based substitutions below"),
|
|
50
|
+
React.createElement("li", null,
|
|
51
|
+
React.createElement("b", null, "linkProp - "),
|
|
52
|
+
"Static/Internal name of the field with the go-to link. Leave empty to not have it clickable."),
|
|
53
|
+
React.createElement("li", null,
|
|
54
|
+
React.createElement("b", null, "displayProp - "),
|
|
55
|
+
"Static/Internal name of the field with the related info text"),
|
|
56
|
+
React.createElement("li", null,
|
|
57
|
+
React.createElement("b", null, "isExpanded - "),
|
|
58
|
+
"Default state when loading the page"),
|
|
59
|
+
React.createElement("li", null,
|
|
60
|
+
React.createElement("b", null, "itemsStyle - "),
|
|
61
|
+
" ",
|
|
62
|
+
ReactCSSPropsNote,
|
|
63
|
+
" ",
|
|
64
|
+
`"fontWeight":600,"color":"yellow"`,
|
|
65
|
+
" ")),
|
|
66
|
+
React.createElement("div", { style: { display: 'flex', flexDirection: 'row' } },
|
|
67
|
+
React.createElement("div", null,
|
|
68
|
+
React.createElement("div", { className: 'fps-pph-topic' }, "Sample of tested settings."),
|
|
69
|
+
React.createElement(ReactJson, { src: SampleRelatedInfoProps, name: 'Sample Props', collapsed: false, displayDataTypes: false, displayObjectSize: false, enableClipboard: true, style: { padding: '20px 0px' }, theme: 'rjv-default', indentWidth: 2 })),
|
|
70
|
+
React.createElement("div", null,
|
|
71
|
+
React.createElement("h3", null, "This will do the following"),
|
|
72
|
+
React.createElement("ol", null,
|
|
73
|
+
React.createElement("li", null, "showItems == true > enables feature"),
|
|
74
|
+
React.createElement("li", null, "Sets the heading for this section to Standards"),
|
|
75
|
+
React.createElement("li", null, "Sets default visibility to Expanded"),
|
|
76
|
+
React.createElement("li", null, "Gets related info from web: /sites/financemanual/manual"),
|
|
77
|
+
React.createElement("li", null, "Gets related info from Library: Site Pages"),
|
|
78
|
+
React.createElement("li", null,
|
|
79
|
+
"Gets items where the lookup column StandardDocuments has the same value as the current ",
|
|
80
|
+
`site's`,
|
|
81
|
+
" PageId"),
|
|
82
|
+
React.createElement("li", null, "Sets the goto link location as File/ServerRelativeUrl. You could also use a text column for the link or build up a link to anything"),
|
|
83
|
+
React.createElement("li", null, "Sets the display text of the link to the Title of the lookup item")))),
|
|
84
|
+
React.createElement("div", { className: 'fps-pph-topic' }, "Use the following subsitutions to customize restFilters."),
|
|
85
|
+
React.createElement("div", { style: { display: 'flex' } }, Object.keys(HandleBarReplacements).map(key => {
|
|
86
|
+
return React.createElement("div", { key: key, style: padRight40 },
|
|
87
|
+
React.createElement("div", { className: 'fps-pph-topic' }, key),
|
|
88
|
+
React.createElement("ul", null, HandleBarReplacements[key].map((rule) => React.createElement("li", { key: rule }, rule))));
|
|
89
|
+
}))));
|
|
90
|
+
return WebPartHelpElement;
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=RelatedPropsHelp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelatedPropsHelp.js","sourceRoot":"","sources":["../../../../src/components/molecules/RelatedItems/RelatedPropsHelp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,2CAA2C;AAC3C,OAAO,EAAG,SAAS,GAAG,MAAM,kCAAkC,CAAC;AAC/D,OAAO,SAAS,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,4DAA4D;AAC5D,qFAAqF;AACrF,8LAA8L;AAC9L,iOAAiO;AACjO,IAAI;AAEJ;;;;;GAKG;AACH,MAAM,sBAAsB,GAAW;IACrC,WAAW,EAAE,WAAW;IACxB,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,GAAG,EAAE,6BAA6B;IAClC,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,mCAAmC;IAC/C,QAAQ,EAAE,wBAAwB;IAClC,WAAW,EAAE,OAAO;IACpB,UAAU,EAAE,kDAAkD;CAC/D,CAAC;AAEF,MAAM,UAAU,GAAwB,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC;AAEjE,MAAM,iBAAiB,GAAG,8BAAM,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,EAAE,qDAAuD,CAAC;AAEpI,MAAM,UAAU,iCAAiC;IAE/C,MAAM,kBAAkB,GAAG,oBAAC,SAAS,IAAC,UAAU,EAAG,aAAa;QAC9D,6BAAK,SAAS,EAAG,iBAAiB;YAEhC,6BAAK,SAAS,EAAG,eAAe,yEAA2E;YAC3G;gBACE;oBAAI,8CAAmB;qDAAmC;gBAC1D;oBAAI,gDAAqB;8EAA4D;gBACrF;oBAAI,wCAAa;2EAAyD;gBAC1E;oBAAI,8CAAmB;4DAA0C;gBACjE;oBAAI,+CAAoB;gFAA8D;gBACtF;oBAAI,6CAAkB;oHAAkG;gBACxH;oBAAI,gDAAqB;mFAAiE;gBAC1F;oBAAI,+CAAoB;0DAAwC;gBAChE;oBAAI,+CAAoB;;oBAAG,iBAAiB;;oBAAK,mCAAmC;wBAAQ,CACxF;YAEN,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE;gBACnD;oBACE,6BAAK,SAAS,EAAG,eAAe,iCAAmC;oBACnE,oBAAC,SAAS,IAAC,GAAG,EAAG,sBAAsB,EAAG,IAAI,EAAG,cAAc,EAAG,SAAS,EAAG,KAAK,EAAG,gBAAgB,EAAG,KAAK,EAAG,iBAAiB,EAAG,KAAK,EAAG,eAAe,EAAG,IAAI,EAAG,KAAK,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,KAAK,EAAI,aAAa,EAAG,WAAW,EAAG,CAAC,GAAG,CAC7O;gBACN;oBACE,6DAAmC;oBACnC;wBACE,sEAA+C;wBAC/C,iFAAuD;wBACvD,sEAA4C;wBAC5C,2FAAiE;wBACjE,8EAAoD;wBACpD;;4BAA6F,QAAQ;sCAAa;wBAClH,uKAA6I;wBAC7I,oGAA0E,CACvE,CACD,CACF;YAEN,6BAAK,SAAS,EAAG,eAAe,+DAAiE;YAEjG,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAEzB,MAAM,CAAC,IAAI,CAAG,qBAAqB,CAAE,CAAC,GAAG,CAAG,GAAG,CAAC,EAAE;gBAChD,OAAQ,6BAAK,GAAG,EAAE,GAAG,EAAE,KAAK,EAAG,UAAU;oBAAG,6BAAK,SAAS,EAAG,eAAe,IAAI,GAAG,CAAO;oBAAA,gCAC9E,qBAAqB,CAAC,GAAc,CAAC,CAAC,GAAG,CAAE,CAAE,IAAY,EAAG,EAAE,CAAC,4BAAI,GAAG,EAAE,IAAI,IAAI,IAAI,CAAO,CAAE,CAC5F,CAAM,CAAC;YACtB,CAAC,CAAC,CAEF,CACF,CACI,CAAC;IAEb,OAAO,kBAAkB,CAAC;AAE5B,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IFieldSpecialType } from '@mikezimm/fps-pnp2/lib/services/sp/fetch/items/fieldAsSpecial';
|
|
2
|
+
import { IFpsErrorObject } from '../Common/IFpsErrorObject';
|
|
3
|
+
export type IPnpAttachInfo = any;
|
|
4
|
+
export interface IFpsFieldAsSpecialReturn extends IFpsErrorObject {
|
|
5
|
+
item?: any;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* v1.0.186 - May 15, 2023: Replaces both fetchFpsItemAsXML as single function for both HTML and Text
|
|
9
|
+
* src/pnpjs/FieldAsSpecial/FetchItem.ts
|
|
10
|
+
* NOTES: added special, context (for pnpjs v3) and removed expandThese since this function auto-expands
|
|
11
|
+
*
|
|
12
|
+
* @param webUrl
|
|
13
|
+
* @param listTitle
|
|
14
|
+
* @param Id
|
|
15
|
+
* @param selectThese
|
|
16
|
+
* @param special
|
|
17
|
+
* @param context -- added v1.0.186 - May 15, 2023 in prep for pnpjs v3
|
|
18
|
+
* @param DoNotExpandThese
|
|
19
|
+
* @param alertMe
|
|
20
|
+
* @param consoleLog
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
export declare function fetchFpsItemAsSpecial(webUrl: string, listTitle: string, Id: number, selectThese: string[], special: IFieldSpecialType, context: any, DoNotExpandThese?: string[], alertMe?: boolean, consoleLog?: boolean): Promise<IFpsFieldAsSpecialReturn>;
|
|
24
|
+
//# sourceMappingURL=FetchItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FetchItem.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/FieldAsSpecial/FetchItem.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmD,iBAAiB,EAAE,MAAM,+DAA+D,CAAC;AAEnJ,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAI5D,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC;AAEjC,MAAM,WAAW,wBAAyB,SAAQ,eAAe;IAC7D,IAAI,CAAC,EAAE,GAAG,CAAC;CACd;AAGD;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,qBAAqB,CAAG,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,EAChH,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,GAAG,EAAE,gBAAgB,GAAG,MAAM,EAAO,EAAG,OAAO,GAAC,OAAe,EAAG,UAAU,GAAE,OAAc,GAAI,OAAO,CAAC,wBAAwB,CAAC,CAkBvK"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// import { fetchItemAsHTML, IMinFetchItemAsXMLProps} from '@mikezimm/fps-pnp2/lib/services/sp/fetch/items/fieldAsHTML';
|
|
2
|
+
import { fetchItemAsSpecial } from '@mikezimm/fps-pnp2/lib/services/sp/fetch/items/fieldAsSpecial';
|
|
3
|
+
import { checkItemsResults, } from '../Common/CheckItemsResults';
|
|
4
|
+
import { getExpandColumns } from '../Lists/getVX/getExpandV2';
|
|
5
|
+
/**
|
|
6
|
+
* v1.0.186 - May 15, 2023: Replaces both fetchFpsItemAsXML as single function for both HTML and Text
|
|
7
|
+
* src/pnpjs/FieldAsSpecial/FetchItem.ts
|
|
8
|
+
* NOTES: added special, context (for pnpjs v3) and removed expandThese since this function auto-expands
|
|
9
|
+
*
|
|
10
|
+
* @param webUrl
|
|
11
|
+
* @param listTitle
|
|
12
|
+
* @param Id
|
|
13
|
+
* @param selectThese
|
|
14
|
+
* @param special
|
|
15
|
+
* @param context -- added v1.0.186 - May 15, 2023 in prep for pnpjs v3
|
|
16
|
+
* @param DoNotExpandThese
|
|
17
|
+
* @param alertMe
|
|
18
|
+
* @param consoleLog
|
|
19
|
+
* @returns
|
|
20
|
+
*/
|
|
21
|
+
export async function fetchFpsItemAsSpecial(webUrl, listTitle, Id, selectThese, special, context, DoNotExpandThese = [], alertMe = false, consoleLog = true) {
|
|
22
|
+
const fetchProps = {
|
|
23
|
+
webUrl: webUrl,
|
|
24
|
+
listTitle: listTitle,
|
|
25
|
+
Id: Id,
|
|
26
|
+
selectThese: selectThese,
|
|
27
|
+
expandThese: getExpandColumns(selectThese, DoNotExpandThese),
|
|
28
|
+
context: context ? context : null,
|
|
29
|
+
specialType: special,
|
|
30
|
+
};
|
|
31
|
+
const initialResult = await fetchItemAsSpecial(fetchProps);
|
|
32
|
+
const result = checkItemsResults(initialResult, `fps-library-v2: fetchFpsItemAsSpecial ~ 42`, alertMe, consoleLog);
|
|
33
|
+
return result;
|
|
34
|
+
}
|
|
35
|
+
// export async function fetchFpsItemAsText(webUrl: string, listTitle: string, Id: number, selectThese: string[], DoNotExpandThese: string[] = [],
|
|
36
|
+
// alertMe: boolean, consoleLog: boolean, context: any ): Promise<IFpsFieldAsSpecialReturn> {
|
|
37
|
+
// const result: IFpsFieldAsSpecialReturn = await fetchFpsItemAsSpecial(webUrl, listTitle, Id, selectThese, 'Text', context, DoNotExpandThese, alertMe, consoleLog );
|
|
38
|
+
// return result;
|
|
39
|
+
// }
|
|
40
|
+
// export async function fetchFpsItemAsXML(webUrl: string, listTitle: string, Id: number, selectThese: string[], DoNotExpandThese: string[] = [],
|
|
41
|
+
// alertMe: boolean, consoleLog: boolean, context: any ): Promise<IFpsFieldAsSpecialReturn> {
|
|
42
|
+
// const result: IFpsFieldAsSpecialReturn = await fetchFpsItemAsSpecial(webUrl, listTitle, Id, selectThese, 'Html', context, DoNotExpandThese, alertMe, consoleLog );
|
|
43
|
+
// return result;
|
|
44
|
+
// }
|
|
45
|
+
//# sourceMappingURL=FetchItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FetchItem.js","sourceRoot":"","sources":["../../../src/pnpjs/FieldAsSpecial/FetchItem.ts"],"names":[],"mappings":"AACA,wHAAwH;AACxH,OAAO,EAAE,kBAAkB,EAAkD,MAAM,+DAA+D,CAAC;AACnJ,OAAO,EAAE,iBAAiB,GAAG,MAAM,6BAA6B,CAAC;AAGjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAS9D;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAG,MAAc,EAAE,SAAiB,EAAE,EAAU,EAAE,WAAqB,EAChH,OAA0B,EAAE,OAAY,EAAE,mBAA8B,EAAE,EAAG,UAAkB,KAAK,EAAG,aAAsB,IAAI;IAEjI,MAAM,UAAU,GAAgC;QAC9C,MAAM,EAAE,MAAM;QACd,SAAS,EAAE,SAAS;QACpB,EAAE,EAAE,EAAE;QACN,WAAW,EAAE,WAAW;QACxB,WAAW,EAAE,gBAAgB,CAAE,WAAW,EAAE,gBAAgB,CAAE;QAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI;QACjC,WAAW,EAAE,OAAO;KACrB,CAAA;IAED,MAAM,aAAa,GAAkB,MAAM,kBAAkB,CAAE,UAAU,CAAE,CAAC;IAE5E,MAAM,MAAM,GAA6B,iBAAiB,CAAE,aAAa,EAAE,4CAA4C,EAAE,OAAO,EAAE,UAAU,CAAE,CAAC;IAE/I,OAAO,MAAM,CAAC;AAEhB,CAAC;AAED,kJAAkJ;AAClJ,+FAA+F;AAC/F,uKAAuK;AACvK,mBAAmB;AAEnB,IAAI;AAEJ,iJAAiJ;AACjJ,+FAA+F;AAC/F,uKAAuK;AACvK,mBAAmB;AACnB,IAAI"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ISimpleLink } from '../../logic/Links/Interfaces';
|
|
2
|
+
import { IFieldSpecialType } from '@mikezimm/fps-pnp2/lib/services/sp/fetch/items/fieldAsSpecial';
|
|
3
|
+
import { IFpsFieldAsSpecialReturn } from './FetchItem';
|
|
4
|
+
export interface IFpsPageAsSpecial extends Partial<any> {
|
|
5
|
+
CanvasContent1?: string;
|
|
6
|
+
LayoutsWebpartsContent?: string;
|
|
7
|
+
BannerImageUrl?: ISimpleLink;
|
|
8
|
+
WikiField?: any;
|
|
9
|
+
Title: string;
|
|
10
|
+
Description: string;
|
|
11
|
+
FileRef: string;
|
|
12
|
+
FileLeafRef: string;
|
|
13
|
+
}
|
|
14
|
+
export interface IFpsPageAsSpecialReturn extends IFpsFieldAsSpecialReturn {
|
|
15
|
+
item?: IFpsPageAsSpecial;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* v1.0.186 - May 15, 2023: Replaces both fetchFpsPageAsXML as single function for both HTML and Text
|
|
19
|
+
* src/pnpjs/FieldAsSpecial/FetchItem.ts
|
|
20
|
+
* NOTES: added special, context (for pnpjs v3) and removed expandThese since this function auto-expands
|
|
21
|
+
*
|
|
22
|
+
* @param webUrl
|
|
23
|
+
* @param listTitle
|
|
24
|
+
* @param Id
|
|
25
|
+
* @param selectThese
|
|
26
|
+
* @param special
|
|
27
|
+
* @param context -- added v1.0.186 - May 15, 2023 in prep for pnpjs v3
|
|
28
|
+
* @param DoNotExpandThese
|
|
29
|
+
* @param isModern
|
|
30
|
+
* @param alertMe
|
|
31
|
+
* @param consoleLog
|
|
32
|
+
* @returns
|
|
33
|
+
*/
|
|
34
|
+
export declare function fetchFpsPageAsSpecial(webUrl: string, listTitle: string, Id: number, selectThese: string[], special: IFieldSpecialType, context: any, DoNotExpandThese: string[], isModern: boolean, alertMe: boolean, consoleLog: boolean): Promise<IFpsPageAsSpecialReturn>;
|
|
35
|
+
//# sourceMappingURL=FetchPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FetchPage.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/FieldAsSpecial/FetchPage.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+DAA+D,CAAC;AAClG,OAAO,EAAE,wBAAwB,EAAyB,MAAM,aAAa,CAAC;AAE9E,MAAM,WAAW,iBAAkB,SAAQ,OAAO,CAAC,GAAG,CAAC;IACrD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,uBAAwB,SAAQ,wBAAwB;IACvE,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,EAC9G,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,GAAG,EAAE,gBAAgB,EAAE,MAAM,EAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAWvK"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { fetchFpsItemAsSpecial } from './FetchItem';
|
|
2
|
+
/**
|
|
3
|
+
* v1.0.186 - May 15, 2023: Replaces both fetchFpsPageAsXML as single function for both HTML and Text
|
|
4
|
+
* src/pnpjs/FieldAsSpecial/FetchItem.ts
|
|
5
|
+
* NOTES: added special, context (for pnpjs v3) and removed expandThese since this function auto-expands
|
|
6
|
+
*
|
|
7
|
+
* @param webUrl
|
|
8
|
+
* @param listTitle
|
|
9
|
+
* @param Id
|
|
10
|
+
* @param selectThese
|
|
11
|
+
* @param special
|
|
12
|
+
* @param context -- added v1.0.186 - May 15, 2023 in prep for pnpjs v3
|
|
13
|
+
* @param DoNotExpandThese
|
|
14
|
+
* @param isModern
|
|
15
|
+
* @param alertMe
|
|
16
|
+
* @param consoleLog
|
|
17
|
+
* @returns
|
|
18
|
+
*/
|
|
19
|
+
export async function fetchFpsPageAsSpecial(webUrl, listTitle, Id, selectThese, special, context, DoNotExpandThese = [], isModern, alertMe, consoleLog) {
|
|
20
|
+
if (isModern === true) {
|
|
21
|
+
selectThese = [...['*'], ...selectThese, ...['CanvasContent1', 'LayoutsWebpartsContent', 'BannerImageUrl',]];
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
selectThese = [...['*'], ...selectThese, ...['WikiField',]];
|
|
25
|
+
}
|
|
26
|
+
const result = await fetchFpsItemAsSpecial(webUrl, listTitle, Id, selectThese, special, context, DoNotExpandThese, alertMe, consoleLog);
|
|
27
|
+
return result;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=FetchPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FetchPage.js","sourceRoot":"","sources":["../../../src/pnpjs/FieldAsSpecial/FetchPage.ts"],"names":[],"mappings":"AAGA,OAAO,EAA4B,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAiB9E;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,MAAc,EAAE,SAAiB,EAAE,EAAU,EAAE,WAAqB,EAC9G,OAA0B,EAAE,OAAY,EAAE,mBAA6B,EAAE,EAAE,QAAiB,EAAE,OAAgB,EAAE,UAAmB;IAEnI,IAAI,QAAQ,KAAK,IAAI,EAAE;QACrB,WAAW,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,WAAW,EAAE,GAAG,CAAC,gBAAgB,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,CAAC,CAAC;KAE9G;SAAM;QAAE,WAAW,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,WAAW,EAAE,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;KAAE;IAEvE,MAAM,MAAM,GAA4B,MAAM,qBAAqB,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,UAAU,CAAE,CAAE;IAEnK,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -3,5 +3,19 @@ export type IPnpAttachInfo = any;
|
|
|
3
3
|
export interface IFpsFieldAsXMLReturn extends IFpsErrorObject {
|
|
4
4
|
item?: any;
|
|
5
5
|
}
|
|
6
|
+
/**
|
|
7
|
+
* v1.0.186 - May 15, 2023: DEPRECATE THIS AND USE fetchFpsItemAsSpecial as single function for both HTML and Text
|
|
8
|
+
* src/pnpjs/FieldAsSpecial/FetchItem.ts
|
|
9
|
+
*
|
|
10
|
+
* @param webUrl
|
|
11
|
+
* @param listTitle
|
|
12
|
+
* @param Id
|
|
13
|
+
* @param selectThese
|
|
14
|
+
* @param expandThese
|
|
15
|
+
* @param DoNotExpandThese
|
|
16
|
+
* @param alertMe
|
|
17
|
+
* @param consoleLog
|
|
18
|
+
* @returns
|
|
19
|
+
*/
|
|
6
20
|
export declare function fetchFpsItemAsXML(webUrl: string, listTitle: string, Id: number, selectThese: string[], expandThese: string[], DoNotExpandThese?: string[], alertMe?: boolean, consoleLog?: boolean): Promise<IFpsFieldAsXMLReturn>;
|
|
7
21
|
//# sourceMappingURL=FetchItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FetchItem.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/FieldAsXML/FetchItem.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAI5D,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC;AAEjC,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IACzD,IAAI,CAAC,EAAE,GAAG,CAAC;CACd;
|
|
1
|
+
{"version":3,"file":"FetchItem.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/FieldAsXML/FetchItem.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAI5D,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC;AAEjC,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IACzD,IAAI,CAAC,EAAE,GAAG,CAAC;CACd;AAGD;;;;;;;;;;;;;GAaG;AACH,wBAAsB,iBAAiB,CAAG,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,gBAAgB,GAAG,MAAM,EAAO,EACrK,OAAO,GAAC,OAAe,EAAG,UAAU,GAAE,OAAc,GAAI,OAAO,CAAC,oBAAoB,CAAC,CAiBtF"}
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
import { fetchItemAsHTML } from '@mikezimm/fps-pnp2/lib/services/sp/fetch/items/fieldAsHTML';
|
|
2
2
|
import { checkItemsResults, } from '../Common/CheckItemsResults';
|
|
3
3
|
import { getExpandColumns } from '../Lists/getVX/getExpandV2';
|
|
4
|
+
/**
|
|
5
|
+
* v1.0.186 - May 15, 2023: DEPRECATE THIS AND USE fetchFpsItemAsSpecial as single function for both HTML and Text
|
|
6
|
+
* src/pnpjs/FieldAsSpecial/FetchItem.ts
|
|
7
|
+
*
|
|
8
|
+
* @param webUrl
|
|
9
|
+
* @param listTitle
|
|
10
|
+
* @param Id
|
|
11
|
+
* @param selectThese
|
|
12
|
+
* @param expandThese
|
|
13
|
+
* @param DoNotExpandThese
|
|
14
|
+
* @param alertMe
|
|
15
|
+
* @param consoleLog
|
|
16
|
+
* @returns
|
|
17
|
+
*/
|
|
4
18
|
export async function fetchFpsItemAsXML(webUrl, listTitle, Id, selectThese, expandThese, DoNotExpandThese = [], alertMe = false, consoleLog = true) {
|
|
5
19
|
const fetchProps = {
|
|
6
20
|
webUrl: webUrl,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FetchItem.js","sourceRoot":"","sources":["../../../src/pnpjs/FieldAsXML/FetchItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAA0B,MAAM,4DAA4D,CAAC;AACrH,OAAO,EAAE,iBAAiB,GAAG,MAAM,6BAA6B,CAAC;AAGjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"FetchItem.js","sourceRoot":"","sources":["../../../src/pnpjs/FieldAsXML/FetchItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAA0B,MAAM,4DAA4D,CAAC;AACrH,OAAO,EAAE,iBAAiB,GAAG,MAAM,6BAA6B,CAAC;AAGjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAS9D;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAG,MAAc,EAAE,SAAiB,EAAE,EAAU,EAAE,WAAqB,EAAE,WAAqB,EAAE,mBAA8B,EAAE,EACrK,UAAkB,KAAK,EAAG,aAAsB,IAAI;IAEpD,MAAM,UAAU,GAA4B;QAC1C,MAAM,EAAE,MAAM;QACd,SAAS,EAAE,SAAS;QACpB,EAAE,EAAE,EAAE;QACN,WAAW,EAAE,WAAW;QACxB,WAAW,EAAE,gBAAgB,CAAE,WAAW,EAAE,gBAAgB,CAAE;QAC9D,OAAO,EAAE,IAAI,EAAE,2BAA2B;KAC3C,CAAA;IAED,MAAM,aAAa,GAAkB,MAAM,eAAe,CAAE,UAAU,CAAE,CAAC;IAEzE,MAAM,MAAM,GAAyB,iBAAiB,CAAE,aAAa,EAAE,wCAAwC,EAAE,OAAO,EAAE,UAAU,CAAE,CAAC;IAEvI,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -13,5 +13,20 @@ export interface IFpsPageAsXML extends Partial<any> {
|
|
|
13
13
|
export interface IFpsPageAsXMLReturn extends IFpsFieldAsXMLReturn {
|
|
14
14
|
item?: IFpsPageAsXML;
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* v1.0.186 - May 15, 2023: DEPRECATE THIS AND USE fetchFpsItemAsSpecial as single function for both HTML and Text
|
|
18
|
+
* src/pnpjs/FieldAsSpecial/FetchItem.ts
|
|
19
|
+
*
|
|
20
|
+
* @param webUrl
|
|
21
|
+
* @param listTitle
|
|
22
|
+
* @param Id
|
|
23
|
+
* @param selectThese
|
|
24
|
+
* @param expandThese
|
|
25
|
+
* @param DoNotExpandThese
|
|
26
|
+
* @param isModern
|
|
27
|
+
* @param alertMe
|
|
28
|
+
* @param consoleLog
|
|
29
|
+
* @returns
|
|
30
|
+
*/
|
|
16
31
|
export declare function fetchFpsPageAsXML(webUrl: string, listTitle: string, Id: number, selectThese: string[], expandThese: string[], DoNotExpandThese: string[], isModern: boolean, alertMe: boolean, consoleLog: boolean): Promise<IFpsPageAsXMLReturn>;
|
|
17
32
|
//# sourceMappingURL=FetchPage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FetchPage.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/FieldAsXML/FetchPage.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAqB,MAAM,aAAa,CAAC;AAEtE,MAAM,WAAW,aAAc,SAAQ,OAAO,CAAC,GAAG,CAAC;IACjD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB;IAC/D,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;AAED,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,gBAAgB,EAAE,MAAM,EAAO,EAClK,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAWxF"}
|
|
1
|
+
{"version":3,"file":"FetchPage.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/FieldAsXML/FetchPage.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAqB,MAAM,aAAa,CAAC;AAEtE,MAAM,WAAW,aAAc,SAAQ,OAAO,CAAC,GAAG,CAAC;IACjD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB;IAC/D,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,gBAAgB,EAAE,MAAM,EAAO,EAClK,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAWxF"}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import { fetchFpsItemAsXML } from './FetchItem';
|
|
2
|
+
/**
|
|
3
|
+
* v1.0.186 - May 15, 2023: DEPRECATE THIS AND USE fetchFpsItemAsSpecial as single function for both HTML and Text
|
|
4
|
+
* src/pnpjs/FieldAsSpecial/FetchItem.ts
|
|
5
|
+
*
|
|
6
|
+
* @param webUrl
|
|
7
|
+
* @param listTitle
|
|
8
|
+
* @param Id
|
|
9
|
+
* @param selectThese
|
|
10
|
+
* @param expandThese
|
|
11
|
+
* @param DoNotExpandThese
|
|
12
|
+
* @param isModern
|
|
13
|
+
* @param alertMe
|
|
14
|
+
* @param consoleLog
|
|
15
|
+
* @returns
|
|
16
|
+
*/
|
|
2
17
|
export async function fetchFpsPageAsXML(webUrl, listTitle, Id, selectThese, expandThese, DoNotExpandThese = [], isModern, alertMe, consoleLog) {
|
|
3
18
|
if (isModern === true) {
|
|
4
19
|
selectThese = [...['*'], ...selectThese, ...['CanvasContent1', 'LayoutsWebpartsContent', 'BannerImageUrl',]];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FetchPage.js","sourceRoot":"","sources":["../../../src/pnpjs/FieldAsXML/FetchPage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAiBtE,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,MAAc,EAAE,SAAiB,EAAE,EAAU,EAAE,WAAqB,EAAE,WAAqB,EAAE,mBAA6B,EAAE,EAClK,QAAiB,EAAE,OAAgB,EAAE,UAAmB;IAExD,IAAI,QAAQ,KAAK,IAAI,EAAE;QACrB,WAAW,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,WAAW,EAAE,GAAG,CAAC,gBAAgB,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,CAAC,CAAC;KAE9G;SAAM;QAAE,WAAW,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,WAAW,EAAE,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;KAAE;IAEvE,MAAM,MAAM,GAAwB,MAAM,iBAAiB,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IAEpJ,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
1
|
+
{"version":3,"file":"FetchPage.js","sourceRoot":"","sources":["../../../src/pnpjs/FieldAsXML/FetchPage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAiBtE;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,MAAc,EAAE,SAAiB,EAAE,EAAU,EAAE,WAAqB,EAAE,WAAqB,EAAE,mBAA6B,EAAE,EAClK,QAAiB,EAAE,OAAgB,EAAE,UAAmB;IAExD,IAAI,QAAQ,KAAK,IAAI,EAAE;QACrB,WAAW,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,WAAW,EAAE,GAAG,CAAC,gBAAgB,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,CAAC,CAAC;KAE9G;SAAM;QAAE,WAAW,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,WAAW,EAAE,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;KAAE;IAEvE,MAAM,MAAM,GAAwB,MAAM,iBAAiB,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IAEpJ,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.186",
|
|
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.45",
|
|
44
44
|
"@mikezimm/fps-styles": "^1.0.23",
|
|
45
45
|
"@pnp/spfx-controls-react": "3.12.0",
|
|
46
46
|
"@pnp/spfx-property-controls": "^3.6.0",
|