@mikezimm/fps-library-v2 1.0.150 → 1.0.151
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 +8 -2
- package/lib/banner/components/EasyPages/componentPage.d.ts.map +1 -1
- package/lib/banner/components/EasyPages/componentPage.js +1 -1
- package/lib/banner/components/EasyPages/componentPage.js.map +1 -1
- package/lib/banner/components/EasyPages/epTypes.d.ts +1 -1
- package/lib/banner/components/EasyPages/epTypes.d.ts.map +1 -1
- package/lib/banner/components/EasyPages/epTypes.js.map +1 -1
- package/lib/banner/components/EasyPages/functions.js +1 -1
- package/lib/banner/components/EasyPages/functions.js.map +1 -1
- package/lib/components/molecules/ModernPages/Interfaces/IModernPagesProps.d.ts +26 -0
- package/lib/components/molecules/ModernPages/Interfaces/IModernPagesProps.d.ts.map +1 -0
- package/lib/components/molecules/ModernPages/Interfaces/IModernPagesProps.js +4 -0
- package/lib/components/molecules/ModernPages/Interfaces/IModernPagesProps.js.map +1 -0
- package/lib/components/molecules/ModernPages/Interfaces/ISingleModernPageProps.d.ts +18 -0
- package/lib/components/molecules/ModernPages/Interfaces/ISingleModernPageProps.d.ts.map +1 -0
- package/lib/components/molecules/ModernPages/Interfaces/ISingleModernPageProps.js +5 -0
- package/lib/components/molecules/ModernPages/Interfaces/ISingleModernPageProps.js.map +1 -0
- package/lib/components/molecules/ModernPages/ModernPages.d.ts +25 -0
- package/lib/components/molecules/ModernPages/ModernPages.d.ts.map +1 -0
- package/lib/components/molecules/ModernPages/ModernPages.js +169 -0
- package/lib/components/molecules/ModernPages/ModernPages.js.map +1 -0
- package/lib/components/molecules/ModernPages/SinglePage/LimitedVersion.d.ts +3 -0
- package/lib/components/molecules/ModernPages/SinglePage/LimitedVersion.d.ts.map +1 -0
- package/lib/components/molecules/ModernPages/SinglePage/LimitedVersion.js +38 -0
- package/lib/components/molecules/ModernPages/SinglePage/LimitedVersion.js.map +1 -0
- package/lib/components/molecules/ModernPages/SinglePage/PageDetails.d.ts +3 -0
- package/lib/components/molecules/ModernPages/SinglePage/PageDetails.d.ts.map +1 -0
- package/lib/components/molecules/ModernPages/SinglePage/PageDetails.js +43 -0
- package/lib/components/molecules/ModernPages/SinglePage/PageDetails.js.map +1 -0
- package/lib/components/molecules/ModernPages/SinglePage/SingleModernPage.d.ts +26 -0
- package/lib/components/molecules/ModernPages/SinglePage/SingleModernPage.d.ts.map +1 -0
- package/lib/components/molecules/ModernPages/SinglePage/SingleModernPage.js +178 -0
- package/lib/components/molecules/ModernPages/SinglePage/SingleModernPage.js.map +1 -0
- package/lib/components/molecules/ModernPages/SinglePage/getModernContent.d.ts +5 -0
- package/lib/components/molecules/ModernPages/SinglePage/getModernContent.d.ts.map +1 -0
- package/lib/components/molecules/ModernPages/SinglePage/getModernContent.js +53 -0
- package/lib/components/molecules/ModernPages/SinglePage/getModernContent.js.map +1 -0
- package/lib/components/molecules/ModernPages/SinglePage/processModernContent.d.ts +30 -0
- package/lib/components/molecules/ModernPages/SinglePage/processModernContent.d.ts.map +1 -0
- package/lib/components/molecules/ModernPages/SinglePage/processModernContent.js +205 -0
- package/lib/components/molecules/ModernPages/SinglePage/processModernContent.js.map +1 -0
- package/lib/components/molecules/ReactListV1/atoms/createPanelButtonsV2.d.ts +1 -1
- package/lib/components/molecules/ReactListV1/atoms/createPanelButtonsV2.d.ts.map +1 -1
- package/lib/components/molecules/ReactListV1/component/IReactListItemsProps.d.ts +1 -1
- package/lib/components/molecules/ReactListV1/component/IReactListItemsProps.d.ts.map +1 -1
- package/lib/components/molecules/SourceList/ItemPane/component.js +2 -2
- package/lib/components/molecules/SourceList/ItemPane/component.js.map +1 -1
- package/lib/components/molecules/SourceList/SourcePanelContent.d.ts +21 -0
- package/lib/components/molecules/SourceList/SourcePanelContent.d.ts.map +1 -0
- package/lib/components/molecules/SourceList/SourcePanelContent.js +32 -0
- package/lib/components/molecules/SourceList/SourcePanelContent.js.map +1 -0
- package/lib/index.d.ts +0 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/pnpjs/SourceItems/index.d.ts +0 -3
- package/lib/pnpjs/SourceItems/index.d.ts.map +1 -1
- package/lib/pnpjs/SourceItems/index.js +3 -2
- package/lib/pnpjs/SourceItems/index.js.map +1 -1
- package/lib/pnpjs/index.d.ts +0 -6
- package/lib/pnpjs/index.d.ts.map +1 -1
- package/lib/pnpjs/index.js +6 -6
- package/lib/pnpjs/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IAnySourceItem } from './IAnyContent';
|
|
3
|
+
import { ISourceInfo, ISourceProps } from '../../../pnpjs/SourceItems/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,OA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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
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,mCAAmC,CAAC;AAElD,cAAc,uCAAuC,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
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,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/SourceItems/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/SourceItems/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
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":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pnpjs/SourceItems/index.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,qDAAqD;AACrD,2DAA2D"}
|
package/lib/pnpjs/index.d.ts
CHANGED
|
@@ -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
|
package/lib/pnpjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pnpjs/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pnpjs/index.ts"],"names":[],"mappings":""}
|
package/lib/pnpjs/index.js
CHANGED
|
@@ -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
|
package/lib/pnpjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/pnpjs/index.ts"],"names":[],"mappings":"AAAA,
|
|
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.
|
|
3
|
+
"version": "1.0.151",
|
|
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.
|
|
44
|
+
"@mikezimm/fps-styles": "^1.0.19",
|
|
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",
|