@mikezimm/fps-library-v2 1.0.150 → 1.0.152

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.
Files changed (88) hide show
  1. package/CHANGELOG.md +18 -2
  2. package/lib/banner/components/EasyPages/componentPage.d.ts.map +1 -1
  3. package/lib/banner/components/EasyPages/componentPage.js +1 -1
  4. package/lib/banner/components/EasyPages/componentPage.js.map +1 -1
  5. package/lib/banner/components/EasyPages/epTypes.d.ts +1 -1
  6. package/lib/banner/components/EasyPages/epTypes.d.ts.map +1 -1
  7. package/lib/banner/components/EasyPages/epTypes.js.map +1 -1
  8. package/lib/banner/components/EasyPages/functions.js +1 -1
  9. package/lib/banner/components/EasyPages/functions.js.map +1 -1
  10. package/lib/components/atoms/Links/GoToLinks.d.ts +13 -0
  11. package/lib/components/atoms/Links/GoToLinks.d.ts.map +1 -0
  12. package/lib/components/atoms/Links/GoToLinks.js +31 -0
  13. package/lib/components/atoms/Links/GoToLinks.js.map +1 -0
  14. package/lib/components/atoms/WhoDunItRow/getDateStampRow.d.ts +16 -0
  15. package/lib/components/atoms/WhoDunItRow/getDateStampRow.d.ts.map +1 -0
  16. package/lib/components/atoms/WhoDunItRow/getDateStampRow.js +28 -0
  17. package/lib/components/atoms/WhoDunItRow/getDateStampRow.js.map +1 -0
  18. package/lib/components/molecules/ModernPages/Interfaces/IModernPagesProps.d.ts +26 -0
  19. package/lib/components/molecules/ModernPages/Interfaces/IModernPagesProps.d.ts.map +1 -0
  20. package/lib/components/molecules/ModernPages/Interfaces/IModernPagesProps.js +4 -0
  21. package/lib/components/molecules/ModernPages/Interfaces/IModernPagesProps.js.map +1 -0
  22. package/lib/components/molecules/ModernPages/Interfaces/ISingleModernPageProps.d.ts +18 -0
  23. package/lib/components/molecules/ModernPages/Interfaces/ISingleModernPageProps.d.ts.map +1 -0
  24. package/lib/components/molecules/ModernPages/Interfaces/ISingleModernPageProps.js +5 -0
  25. package/lib/components/molecules/ModernPages/Interfaces/ISingleModernPageProps.js.map +1 -0
  26. package/lib/components/molecules/ModernPages/ModernPages.d.ts +25 -0
  27. package/lib/components/molecules/ModernPages/ModernPages.d.ts.map +1 -0
  28. package/lib/components/molecules/ModernPages/ModernPages.js +169 -0
  29. package/lib/components/molecules/ModernPages/ModernPages.js.map +1 -0
  30. package/lib/components/molecules/ModernPages/SinglePage/LimitedVersion.d.ts +4 -0
  31. package/lib/components/molecules/ModernPages/SinglePage/LimitedVersion.d.ts.map +1 -0
  32. package/lib/components/molecules/ModernPages/SinglePage/LimitedVersion.js +33 -0
  33. package/lib/components/molecules/ModernPages/SinglePage/LimitedVersion.js.map +1 -0
  34. package/lib/components/molecules/ModernPages/SinglePage/PageDetails.d.ts +3 -0
  35. package/lib/components/molecules/ModernPages/SinglePage/PageDetails.d.ts.map +1 -0
  36. package/lib/components/molecules/ModernPages/SinglePage/PageDetails.js +28 -0
  37. package/lib/components/molecules/ModernPages/SinglePage/PageDetails.js.map +1 -0
  38. package/lib/components/molecules/ModernPages/SinglePage/SingleModernPage.d.ts +26 -0
  39. package/lib/components/molecules/ModernPages/SinglePage/SingleModernPage.d.ts.map +1 -0
  40. package/lib/components/molecules/ModernPages/SinglePage/SingleModernPage.js +181 -0
  41. package/lib/components/molecules/ModernPages/SinglePage/SingleModernPage.js.map +1 -0
  42. package/lib/components/molecules/ModernPages/SinglePage/getModernContent.d.ts +5 -0
  43. package/lib/components/molecules/ModernPages/SinglePage/getModernContent.d.ts.map +1 -0
  44. package/lib/components/molecules/ModernPages/SinglePage/getModernContent.js +53 -0
  45. package/lib/components/molecules/ModernPages/SinglePage/getModernContent.js.map +1 -0
  46. package/lib/components/molecules/ModernPages/SinglePage/processModernContent.d.ts +30 -0
  47. package/lib/components/molecules/ModernPages/SinglePage/processModernContent.d.ts.map +1 -0
  48. package/lib/components/molecules/ModernPages/SinglePage/processModernContent.js +205 -0
  49. package/lib/components/molecules/ModernPages/SinglePage/processModernContent.js.map +1 -0
  50. package/lib/components/molecules/ReactListV1/atoms/createPanelButtonsV2.d.ts +1 -1
  51. package/lib/components/molecules/ReactListV1/atoms/createPanelButtonsV2.d.ts.map +1 -1
  52. package/lib/components/molecules/ReactListV1/component/IReactListItemsProps.d.ts +1 -1
  53. package/lib/components/molecules/ReactListV1/component/IReactListItemsProps.d.ts.map +1 -1
  54. package/lib/components/molecules/ReactListV1/component/reactListView.js +2 -2
  55. package/lib/components/molecules/ReactListV1/component/reactListView.js.map +1 -1
  56. package/lib/components/molecules/SearchPage/functions/addSearchMeta1.d.ts.map +1 -1
  57. package/lib/components/molecules/SearchPage/functions/addSearchMeta1.js +5 -0
  58. package/lib/components/molecules/SearchPage/functions/addSearchMeta1.js.map +1 -1
  59. package/lib/components/molecules/SourceList/ItemPane/IItemPaneProps.d.ts +1 -0
  60. package/lib/components/molecules/SourceList/ItemPane/IItemPaneProps.d.ts.map +1 -1
  61. package/lib/components/molecules/SourceList/ItemPane/component.d.ts.map +1 -1
  62. package/lib/components/molecules/SourceList/ItemPane/component.js +60 -62
  63. package/lib/components/molecules/SourceList/ItemPane/component.js.map +1 -1
  64. package/lib/components/molecules/SourceList/ItemPane/itemEmbed.d.ts +9 -0
  65. package/lib/components/molecules/SourceList/ItemPane/itemEmbed.d.ts.map +1 -0
  66. package/lib/components/molecules/SourceList/ItemPane/itemEmbed.js +9 -0
  67. package/lib/components/molecules/SourceList/ItemPane/itemEmbed.js.map +1 -0
  68. package/lib/components/molecules/SourceList/ItemPane/itemProperties.d.ts +21 -0
  69. package/lib/components/molecules/SourceList/ItemPane/itemProperties.d.ts.map +1 -0
  70. package/lib/components/molecules/SourceList/ItemPane/itemProperties.js +124 -0
  71. package/lib/components/molecules/SourceList/ItemPane/itemProperties.js.map +1 -0
  72. package/lib/components/molecules/SourceList/SourcePanelContent.d.ts +21 -0
  73. package/lib/components/molecules/SourceList/SourcePanelContent.d.ts.map +1 -0
  74. package/lib/components/molecules/SourceList/SourcePanelContent.js +32 -0
  75. package/lib/components/molecules/SourceList/SourcePanelContent.js.map +1 -0
  76. package/lib/index.d.ts +0 -1
  77. package/lib/index.d.ts.map +1 -1
  78. package/lib/index.js +1 -1
  79. package/lib/index.js.map +1 -1
  80. package/lib/pnpjs/SourceItems/index.d.ts +0 -3
  81. package/lib/pnpjs/SourceItems/index.d.ts.map +1 -1
  82. package/lib/pnpjs/SourceItems/index.js +3 -2
  83. package/lib/pnpjs/SourceItems/index.js.map +1 -1
  84. package/lib/pnpjs/index.d.ts +0 -6
  85. package/lib/pnpjs/index.d.ts.map +1 -1
  86. package/lib/pnpjs/index.js +6 -6
  87. package/lib/pnpjs/index.js.map +1 -1
  88. package/package.json +2 -2
@@ -0,0 +1,124 @@
1
+ import * as React from 'react';
2
+ import { Icon } from 'office-ui-fabric-react/lib/Icon';
3
+ require('@mikezimm/fps-styles/dist/itemPaneProps.css');
4
+ export function getItemProperties(props) {
5
+ const { primarySource, item, columns } = props;
6
+ if (!primarySource || !item || !columns)
7
+ return undefined;
8
+ const keys = [];
9
+ const propElements = [];
10
+ columns.map(cols => {
11
+ if (cols === 'Selected') {
12
+ keys.push('selectThese');
13
+ }
14
+ else if (cols === 'Searched') {
15
+ keys.push('searchProps');
16
+ }
17
+ else if (cols === 'Columns') {
18
+ keys.push('columns');
19
+ }
20
+ else if (cols === 'Expanded') {
21
+ keys.push('expandThese');
22
+ }
23
+ });
24
+ keys.map(key => {
25
+ // Declaring as any so it passes linting when mapping through possible keys
26
+ const primarySourceAny = primarySource;
27
+ const showProps = primarySourceAny[key];
28
+ let thesePropsList = undefined;
29
+ //Was doing this in original code, possibly to avoid a mutation so just doing it here to be safe.
30
+ const doProps = JSON.parse(JSON.stringify(showProps));
31
+ if (doProps && doProps.length > 0) {
32
+ // Loop through the item's props that match the doProps array of columns
33
+ thesePropsList = React.createElement("ul", null, doProps.map((field, idx) => {
34
+ // https://github.com/mikezimm/ALVFinMan/issues/167
35
+ return getValidPropLI(item, field, idx);
36
+ }));
37
+ }
38
+ else {
39
+ thesePropsList = React.createElement("div", null, `There are no ${key} properties.`);
40
+ }
41
+ // Create the property list element
42
+ const thesePropsElement = React.createElement("div", { key: key, className: 'source-itemPane-properties' },
43
+ React.createElement("h3", null, `${key} Properties`),
44
+ thesePropsList);
45
+ propElements.push(thesePropsElement);
46
+ });
47
+ // const searchProps: string[] = JSON.parse(JSON.stringify( primarySource.searchProps ));
48
+ // console.log( 'selectThese - searchProps', searchProps );
49
+ // const searchPropsList = primarySource && searchProps && searchProps.length > 0 ?
50
+ // <ul>
51
+ // { searchProps.map( ( field: string, idx: number ) => {
52
+ // // https://github.com/mikezimm/ALVFinMan/issues/167
53
+ // return this.getValidPropLI( item, field, idx );
54
+ // })}
55
+ // </ul> : <div>There are no Searched properties.</div>;
56
+ // //Created this ling hand instead of filter after the LinkColumn issue.
57
+ // //Filter may work but I've had it on this one trying to figure it out.
58
+ // const selectThese: string[] = [];
59
+ // primarySource.selectThese.map( (selectProp) => {
60
+ // if ( primarySource.searchProps.indexOf( selectProp ) < 0 ) selectThese.push( selectProp );
61
+ // });
62
+ // console.log( 'selectThese - selectThese', selectThese );
63
+ // const selectTheseList: JSX.Element = primarySource && selectThese && selectThese.length > 0 ?
64
+ // <ul>
65
+ // { selectThese.map(( field: string, idx: number ) => {
66
+ // // https://github.com/mikezimm/ALVFinMan/issues/167
67
+ // return this.getValidPropLI( item, field, idx );
68
+ // })}
69
+ // </ul>: <div>There are no Selected properties.</div>;
70
+ const itemContent = React.createElement("div", null, propElements);
71
+ return itemContent;
72
+ }
73
+ /**
74
+ * function: getValidPropLI
75
+ *
76
+ * Created this function to resolve issue: https://github.com/mikezimm/ALVFinMan/issues/167
77
+ * @param showThisItem
78
+ * @param field
79
+ * @param idx
80
+ * @returns
81
+ */
82
+ export function getValidPropLI(showThisItem, field, idx) {
83
+ var _a;
84
+ console.log('field', field, typeof showThisItem[field], JSON.stringify(showThisItem[field]));
85
+ const isLink = ((_a = showThisItem[field]) === null || _a === void 0 ? void 0 : _a.Url) ? true : false;
86
+ const isObject = typeof showThisItem[field] === 'object' ? true : false;
87
+ const isRich = typeof showThisItem[field] === 'string' && showThisItem[field].indexOf(`<div class="ExternalClass`) === 0 ? true : false;
88
+ if (isRich === true) {
89
+ return React.createElement("li", { key: idx },
90
+ React.createElement("div", null,
91
+ field,
92
+ ":"),
93
+ " ",
94
+ React.createElement("div", { dangerouslySetInnerHTML: { __html: showThisItem[field] } }));
95
+ }
96
+ else if (isLink === true) {
97
+ return React.createElement("li", { key: idx },
98
+ React.createElement("div", null,
99
+ field,
100
+ ":"),
101
+ " ",
102
+ React.createElement("div", { style: { cursor: 'pointer', fontSize: 'larger' }, onClick: () => window.open(showThisItem[field].Url, '_blank') },
103
+ showThisItem[field].Description,
104
+ React.createElement(Icon, { style: { marginLeft: '30px' }, iconName: 'OpenInNewTab' })));
105
+ }
106
+ else if (isObject === true) {
107
+ const obj = JSON.stringify(showThisItem[field]);
108
+ return React.createElement("li", { key: idx },
109
+ React.createElement("div", null,
110
+ field,
111
+ ":"),
112
+ " ",
113
+ React.createElement("div", null, obj));
114
+ }
115
+ else {
116
+ return React.createElement("li", { key: idx },
117
+ React.createElement("div", null,
118
+ field,
119
+ ":"),
120
+ " ",
121
+ React.createElement("div", null, showThisItem[field]));
122
+ }
123
+ }
124
+ //# sourceMappingURL=itemProperties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"itemProperties.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SourceList/ItemPane/itemProperties.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AAIvD,OAAO,CAAC,6CAA6C,CAAC,CAAC;AAUvD,MAAM,UAAU,iBAAiB,CAAG,KAAyB;IAE3D,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE/C,IAAK,CAAC,aAAa,IAAI,CAAC,IAAI,IAAI,CAAC,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ems/Interface';
4
+ import { ICanvasContentOptions } from '../ModernPages/Interfaces/IModernPage';
5
+ import { ISourceSearch } from '../SearchPage/Interfaces/ISourceSearch';
6
+ export type IPaneOrPage = 'ModernPage' | 'ItemPane';
7
+ export interface IContentPanel {
8
+ showItemPanel: boolean;
9
+ showThisItem: IAnySourceItem;
10
+ primarySource: ISourceProps;
11
+ onClosePanel: any;
12
+ debugMode: boolean;
13
+ topButtons: string[];
14
+ paneOrPage: IPaneOrPage;
15
+ refreshId: string;
16
+ search: ISourceSearch;
17
+ source: ISourceInfo;
18
+ canvasOptions: ICanvasContentOptions;
19
+ }
20
+ export declare function ContentPanel(props: IContentPanel): JSX.Element;
21
+ //# sourceMappingURL=SourcePanelContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourcePanelContent.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/SourceList/SourcePanelContent.tsx"],"names":[],"mappings":";AAeA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAE9E,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAMvE,MAAM,MAAM,WAAW,GAAG,YAAY,GAAG,UAAU,CAAA;AAEnD,MAAM,WAAW,aAAa;IAE5B,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,cAAc,CAAC;IAC7B,aAAa,EAAE,YAAY,CAAC;IAC5B,YAAY,EAAE,GAAG,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,EAAE,CAAC;IAErB,UAAU,EAAE,WAAW,CAAC;IAExB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,aAAa,CAAC;IACtB,MAAM,EAAE,WAAW,CAAC;IACpB,aAAa,EAAE,qBAAqB,CAAC;CAEtC;AAED,wBAAgB,YAAY,CAAE,KAAK,EAAE,aAAa,GAAI,GAAG,CAAC,OAAO,CAqDhE"}
@@ -0,0 +1,32 @@
1
+ import * as React from 'react';
2
+ import { Panel, PanelType } from 'office-ui-fabric-react/lib/Panel';
3
+ import ItemPane from './ItemPane/component';
4
+ // import { ISourceInfo } from "../DataInterface";
5
+ // import { ICanvasContentOptions } from "../INTERFACES/IModernPage";
6
+ // import { IFinManSearch } from "../INTERFACES/IFinManSearch";
7
+ // import { IPagesContent } from "../../fpsReferences";
8
+ // import { IAnySourceItemFM } from "../INTERFACES/IAnySource";
9
+ // import { IAppFormat } from "../INTERFACES/ILayoutsPage";
10
+ import SingleModernPage from '../ModernPages/SinglePage/SingleModernPage';
11
+ export function ContentPanel(props) {
12
+ //Copied from ModernPages
13
+ const imageStyle = '';
14
+ let panelContent = null;
15
+ if (!props.showThisItem) {
16
+ panelContent = React.createElement("div", null, "Very strange indeed.... No item was detected...");
17
+ }
18
+ else if (props.paneOrPage === 'ItemPane') {
19
+ console.log('ContentPanel', props);
20
+ panelContent = React.createElement(ItemPane, { item: props.showThisItem, showCanvasContent1: true, source: props.source, primarySource: props.primarySource, refreshId: props.refreshId, canvasOptions: props.canvasOptions, imageStyle: imageStyle, debugMode: props.debugMode, search: props.search, topButtons: props.topButtons });
21
+ }
22
+ else if (props.paneOrPage === 'ModernPage') {
23
+ panelContent = React.createElement(SingleModernPage, { page: props.showThisItem, showCanvasContent1: true, source: props.primarySource, refreshId: props.refreshId, canvasOptions: props.canvasOptions, imageStyle: imageStyle, debugMode: props.debugMode });
24
+ // } else if ( primarySource.defType === 'account' ) {
25
+ }
26
+ const thePanel = React.createElement("div", null,
27
+ React.createElement(Panel, { isOpen: props.showItemPanel === true ? true : false,
28
+ // this prop makes the panel non-modal
29
+ isBlocking: true, onDismiss: props.onClosePanel, closeButtonAriaLabel: "Close", type: PanelType.large, isLightDismiss: true }, panelContent));
30
+ return thePanel;
31
+ }
32
+ //# sourceMappingURL=SourcePanelContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourcePanelContent.js","sourceRoot":"","sources":["../../../../src/components/molecules/SourceList/SourcePanelContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAE5C,kDAAkD;AAClD,qEAAqE;AACrE,+DAA+D;AAG/D,uDAAuD;AACvD,+DAA+D;AAC/D,2DAA2D;AAC3D,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;AA+B1E,MAAM,UAAU,YAAY,CAAE,KAAoB;IAEhD,yBAAyB;IACzB,MAAM,UAAU,GAAW,EAAE,CAAC;IAE9B,IAAI,YAAY,GAAG,IAAI,CAAC;IAExB,IAAK,CAAC,KAAK,CAAC,YAAY,EAAG;QACzB,YAAY,GAAG,mFAA0D,CAAC;KAE3E;SAAM,IAAK,KAAK,CAAC,UAAU,KAAK,UAAU,EAAG;QAC5C,OAAO,CAAC,GAAG,CAAE,cAAc,EAAE,KAAK,CAAE,CAAC;QACrC,YAAY,GAAG,oBAAC,QAAQ,IACpB,IAAI,EAAI,KAAK,CAAC,YAA8B,EAC5C,kBAAkB,EAAI,IAAI,EAC1B,MAAM,EAAI,KAAK,CAAC,MAAM,EACtB,aAAa,EAAI,KAAK,CAAC,aAAa,EACpC,SAAS,EAAI,KAAK,CAAC,SAAS,EAC5B,aAAa,EAAI,KAAK,CAAC,aAAa,EACpC,UAAU,EAAI,UAAU,EACxB,SAAS,EAAI,KAAK,CAAC,SAAS,EAC5B,MAAM,EAAI,KAAK,CAAC,MAAM,EACtB,UAAU,EAAI,KAAK,CAAC,UAAU,GAC9B,CAAC;KAEN;SAAM,IAAK,KAAK,CAAC,UAAU,KAAK,YAAY,EAAG;QAC9C,YAAY,GAAG,oBAAC,gBAAgB,IAC9B,IAAI,EAAI,KAAK,CAAC,YAA6B,EAC3C,kBAAkB,EAAI,IAAI,EAC1B,MAAM,EAAI,KAAK,CAAC,aAAa,EAC7B,SAAS,EAAI,KAAK,CAAC,SAAS,EAC5B,aAAa,EAAI,KAAK,CAAC,aAAa,EACpC,UAAU,EAAI,UAAU,EACxB,SAAS,EAAI,KAAK,CAAC,SAAS,GAC1B,CAAC;QACP,sDAAsD;KAErD;IAED,MAAM,QAAQ,GAAG;QAAK,oBAAC,KAAK,IAC1B,MAAM,EAAG,KAAK,CAAC,aAAa,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK;YACpD,sCAAsC;YACtC,UAAU,EAAE,IAAI,EAChB,SAAS,EAAG,KAAK,CAAC,YAAY,EAC9B,oBAAoB,EAAC,OAAO,EAC5B,IAAI,EAAK,SAAS,CAAC,KAAK,EACxB,cAAc,EAAK,IAAI,IAErB,YAAY,CACR,CAAM,CAAC;IAEf,OAAO,QAAQ,CAAA;AAEjB,CAAC"}
package/lib/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export * from './common/interfaces/indexes/index';
2
2
  export * from './components/interfaces/indexes/index';
3
- export * from './pnpjs/index';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,mCAAmC,CAAC;AAElD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,mCAAmC,CAAC;AAElD,cAAc,uCAAuC,CAAC"}
package/lib/index.js CHANGED
@@ -2,5 +2,5 @@
2
2
  export * from './common/interfaces/indexes/index';
3
3
  export * from './components/interfaces/indexes/index';
4
4
  // export * from './logic/indexes/index';
5
- export * from './pnpjs/index';
5
+ // export * from './pnpjs/index';
6
6
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,4BAA4B;AAG5B,cAAc,mCAAmC,CAAC;AAElD,cAAc,uCAAuC,CAAC;AACtD,yCAAyC;AACzC,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,4BAA4B;AAG5B,cAAc,mCAAmC,CAAC;AAElD,cAAc,uCAAuC,CAAC;AACtD,yCAAyC;AACzC,iCAAiC"}
@@ -1,4 +1 @@
1
- export type { IItemsError, IMinSourceWPProps, ISourceProps } from './Interface';
2
- export { getSourceItems } from './getSourceItems';
3
- export { prepSourceColumns } from './prepSourceColumns';
4
1
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/SourceItems/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAC,iBAAiB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/SourceItems/index.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
- export { getSourceItems } from './getSourceItems';
2
- export { prepSourceColumns } from './prepSourceColumns';
1
+ // export type { IItemsError,IMinSourceWPProps, ISourceProps } from './Interface';
2
+ // export { getSourceItems } from './getSourceItems';
3
+ // export { prepSourceColumns } from './prepSourceColumns';
3
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pnpjs/SourceItems/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pnpjs/SourceItems/index.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,qDAAqD;AACrD,2DAA2D"}
@@ -1,7 +1 @@
1
- export * from './Fields/PnpjsFieldsConstants';
2
- export * from './Lists/getVX/PnpjsListGetBasic';
3
- export * from './Lists/getVX/PnpjsListGetFull';
4
- export * from './Logging/saveErrorToLog';
5
- export * from './SourceItems';
6
- export * from './Users/indexes/index';
7
1
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pnpjs/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAE9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAE/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pnpjs/index.ts"],"names":[],"mappings":""}
@@ -1,7 +1,7 @@
1
- export * from './Fields/PnpjsFieldsConstants';
2
- export * from './Lists/getVX/PnpjsListGetBasic';
3
- export * from './Lists/getVX/PnpjsListGetFull';
4
- export * from './Logging/saveErrorToLog';
5
- export * from './SourceItems';
6
- export * from './Users/indexes/index';
1
+ // export * from './Fields/PnpjsFieldsConstants';
2
+ // export * from './Lists/getVX/PnpjsListGetBasic';
3
+ // export * from './Lists/getVX/PnpjsListGetFull';
4
+ // export * from './Logging/saveErrorToLog';
5
+ // export * from './SourceItems';
6
+ // export * from './Users/indexes/index';
7
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/pnpjs/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAE9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAE/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/pnpjs/index.ts"],"names":[],"mappings":"AAAA,iDAAiD;AAEjD,mDAAmD;AACnD,kDAAkD;AAElD,4CAA4C;AAC5C,iCAAiC;AACjC,yCAAyC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikezimm/fps-library-v2",
3
- "version": "1.0.150",
3
+ "version": "1.0.152",
4
4
  "description": "Library of reusable typescript/javascript functions, interfaces and constants",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@microsoft/sp-property-pane": "^1.15.2",
43
43
  "@mikezimm/fps-pnp2": "^1.0.40",
44
- "@mikezimm/fps-styles": "^1.0.18",
44
+ "@mikezimm/fps-styles": "^1.0.20",
45
45
  "@pnp/spfx-controls-react": "3.12.0",
46
46
  "@pnp/spfx-property-controls": "^3.6.0",
47
47
  "office-ui-fabric-react": "^7.199.1",