Fixed a few linting issues, readme and sample.json
This commit is contained in:
parent
dc6f2f3131
commit
158a72b4f6
|
@ -17,8 +17,8 @@ This web part provides easy way to render SharePoint custom list in datatable vi
|
|||
|
||||
## Compatibility
|
||||
|
||||
![SPFx 1.11](https://img.shields.io/badge/SPFx-1.11.0-green.svg)
|
||||
![Node.js LTS 10.x](https://img.shields.io/badge/Node.js-LTS%2010.x-green.svg)
|
||||
![SPFx 1.12.1](https://img.shields.io/badge/SPFx-1.12.1-green.svg)
|
||||
![Node.js LTS v14 | LTS v12 | LTS v10](https://img.shields.io/badge/Node.js-LTS%20v14%20%7C%20LTS%20v12%20%7C%20LTS%20v10-green.svg)
|
||||
![SharePoint Online](https://img.shields.io/badge/SharePoint-Online-yellow.svg)
|
||||
![Teams N/A: Untested with Microsoft Teams](https://img.shields.io/badge/Teams-N%2FA-lightgrey.svg "Untested with Microsoft Teams")
|
||||
![Workbench Hosted](https://img.shields.io/badge/Workbench-%20Hosted-yellow.svg)
|
||||
|
@ -44,6 +44,7 @@ Version|Date|Comments
|
|||
1.2|March 01, 2021|Fixed search issue for number field
|
||||
1.3|March 31,2021| Changed UI as per SharePoint list, Set themeing as per current SharePoint site theme, Created custom pagination by using reusable controls, Added features to export CSV based on the filter if the filter is available, Added hyperlink feature for image and link column in export to pdf and also set alternative row formatting in generated pdf as per property pane configuration odd/even row color, fixed object issue (for people/hyperlink, etc) in export to CSV.
|
||||
1.4|April 10, 2021|Added feature to show profile picture in user column and shows display name of user field in export to CSV and PDF.
|
||||
1.5|June 2, 2021|Added feature to show image in dataTable and upgraded to the SPFx version 1.12.1.
|
||||
|
||||
|
||||
## Disclaimer
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"This web part provides easy way to render SharePoint custom list in data table view with all the necessary features."
|
||||
],
|
||||
"creationDateTime": "2021-03-01",
|
||||
"updateDateTime": "2021-04-10",
|
||||
"updateDateTime": "2021-06-02",
|
||||
"products": [
|
||||
"SharePoint",
|
||||
"Office"
|
||||
|
@ -21,7 +21,7 @@
|
|||
},
|
||||
{
|
||||
"key": "SPFX-VERSION",
|
||||
"value": "1.11.0"
|
||||
"value": "1.12.1"
|
||||
},
|
||||
{
|
||||
"key": "PNPCONTROLS",
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"solution": {
|
||||
"name": "react-datatable-client-side-solution",
|
||||
"id": "35299377-f8c8-4721-bd53-05602fc0c4ee",
|
||||
"version": "1.1.0.0",
|
||||
"version": "1.5.0.0",
|
||||
"includeClientSideAssets": true,
|
||||
"isDomainIsolated": false,
|
||||
"developer": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "react-datatable",
|
||||
"version": "1.1.0",
|
||||
"version": "1.5.0",
|
||||
"private": true,
|
||||
"main": "lib/index.js",
|
||||
"engines": {
|
||||
|
|
|
@ -0,0 +1,104 @@
|
|||
{
|
||||
"bundles": {
|
||||
"react-datatable-web-part": {
|
||||
"dependencies": [
|
||||
{
|
||||
"componentId": "f9e737b7-f0df-4597-ba8c-3060f82380db",
|
||||
"componentName": "@microsoft/sp-property-pane",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": true
|
||||
},
|
||||
{
|
||||
"componentId": "1c6c9123-7aac-41f3-a376-3caea41ed83f",
|
||||
"componentName": "@microsoft/sp-loader",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "8217e442-8ed3-41fd-957d-b112e841286a",
|
||||
"componentName": "@ms/sp-telemetry",
|
||||
"componentVersion": "0.19.2",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "e40f8203-b39d-425a-a957-714852e33b79",
|
||||
"componentName": "@microsoft/sp-dynamic-data",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "73e1dc6c-8441-42cc-ad47-4bd3659f8a3a",
|
||||
"componentName": "@microsoft/sp-lodash-subset",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
|
||||
"componentName": "@microsoft/sp-core-library",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "01c4df03-e775-48cb-aa14-171ee5199a15",
|
||||
"componentName": "tslib",
|
||||
"componentVersion": "1.10.0",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "2e09fb9b-13bb-48f2-859f-97d6fff71176",
|
||||
"componentName": "@ms/odsp-core-bundle",
|
||||
"componentVersion": "1.1.13",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "78359e4b-07c2-43c6-8d0b-d060b4d577e8",
|
||||
"componentName": "@microsoft/sp-diagnostics",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "1c4541f7-5c31-41aa-9fa8-fbc9dc14c0a8",
|
||||
"componentName": "@microsoft/sp-page-context",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "229b8d08-79f3-438b-8c21-4613fc877abd",
|
||||
"componentName": "@microsoft/load-themed-styles",
|
||||
"componentVersion": "0.1.2",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "c07208f0-ea3b-4c1a-9965-ac1b825211a6",
|
||||
"componentName": "@microsoft/sp-http",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d",
|
||||
"componentName": "react",
|
||||
"componentVersion": "16.9.0",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a",
|
||||
"componentName": "react-dom",
|
||||
"componentVersion": "16.9.0",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "974a7777-0990-4136-8fa6-95d80114c2e0",
|
||||
"componentName": "@microsoft/sp-webpart-base",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": true
|
||||
},
|
||||
{
|
||||
"componentId": "467dc675-7cc5-4709-8aac-78e3b71bd2f6",
|
||||
"componentName": "@microsoft/sp-component-base",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,154 @@
|
|||
{
|
||||
"id": "9d6e26c1-e57c-4005-ad6a-5b066f1acd65",
|
||||
"alias": "ReactDatatableWebPart",
|
||||
"componentType": "WebPart",
|
||||
"version": "1.1.0",
|
||||
"manifestVersion": 2,
|
||||
"requiresCustomScript": false,
|
||||
"supportedHosts": [
|
||||
"SharePointWebPart"
|
||||
],
|
||||
"preconfiguredEntries": [
|
||||
{
|
||||
"groupId": "5c03119e-3074-46fd-976b-c60198311f70",
|
||||
"group": {
|
||||
"default": "Other"
|
||||
},
|
||||
"title": {
|
||||
"default": "Datatable"
|
||||
},
|
||||
"description": {
|
||||
"default": "Shows the sharepoint list items in data table format with some advanced features."
|
||||
},
|
||||
"officeFabricIconFontName": "Table",
|
||||
"properties": {
|
||||
"title": "Webpart Title (eg. DataTable)",
|
||||
"enableSorting": true,
|
||||
"enableSearching": true,
|
||||
"enableDownloadAsCsv": true,
|
||||
"enableDownloadAsPdf": true,
|
||||
"enablePagination": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"loaderConfig": {
|
||||
"internalModuleBaseUrls": [
|
||||
"<!-- PATH TO CDN -->"
|
||||
],
|
||||
"entryModuleId": "react-datatable-web-part",
|
||||
"scriptResources": {
|
||||
"react-datatable-web-part": {
|
||||
"type": "path",
|
||||
"path": "react-datatable-web-part.js"
|
||||
},
|
||||
"@microsoft/sp-property-pane": {
|
||||
"type": "component",
|
||||
"id": "f9e737b7-f0df-4597-ba8c-3060f82380db",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"@microsoft/sp-lodash-subset": {
|
||||
"type": "component",
|
||||
"id": "73e1dc6c-8441-42cc-ad47-4bd3659f8a3a",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"ControlStrings": {
|
||||
"type": "localizedPath",
|
||||
"paths": {
|
||||
"bg-BG": "ControlStrings_bg-bg.js",
|
||||
"ca-ES": "ControlStrings_ca-es.js",
|
||||
"da-DK": "ControlStrings_da-dk.js",
|
||||
"de-DE": "ControlStrings_de-de.js",
|
||||
"el-GR": "ControlStrings_el-gr.js",
|
||||
"en-US": "ControlStrings_en-us.js",
|
||||
"es-ES": "ControlStrings_es-es.js",
|
||||
"et-EE": "ControlStrings_et-ee.js",
|
||||
"eu-ES": "ControlStrings_eu-es.js",
|
||||
"fi-FI": "ControlStrings_fi-fi.js",
|
||||
"fr-CA": "ControlStrings_fr-ca.js",
|
||||
"fr-FR": "ControlStrings_fr-fr.js",
|
||||
"it-IT": "ControlStrings_it-it.js",
|
||||
"ja-JP": "ControlStrings_ja-jp.js",
|
||||
"lt-LT": "ControlStrings_lt-lt.js",
|
||||
"lv-LV": "ControlStrings_lv-lv.js",
|
||||
"nb-NO": "ControlStrings_nb-no.js",
|
||||
"nl-NL": "ControlStrings_nl-nl.js",
|
||||
"pl-PL": "ControlStrings_pl-pl.js",
|
||||
"pt-PT": "ControlStrings_pt-pt.js",
|
||||
"ro-RO": "ControlStrings_ro-ro.js",
|
||||
"ru-RU": "ControlStrings_ru-ru.js",
|
||||
"sk-SK": "ControlStrings_sk-sk.js",
|
||||
"sr-Latn-RS": "ControlStrings_sr-latn-rs.js",
|
||||
"sv-SE": "ControlStrings_sv-se.js",
|
||||
"tr-TR": "ControlStrings_tr-tr.js",
|
||||
"vi-VN": "ControlStrings_vi-vn.js",
|
||||
"zh-CN": "ControlStrings_zh-cn.js",
|
||||
"zh-TW": "ControlStrings_zh-tw.js"
|
||||
},
|
||||
"defaultPath": "ControlStrings_en-us.js"
|
||||
},
|
||||
"@microsoft/sp-core-library": {
|
||||
"type": "component",
|
||||
"id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"ReactDatatableWebPartStrings": {
|
||||
"type": "path",
|
||||
"path": "ReactDatatableWebPartStrings_en-us.js"
|
||||
},
|
||||
"@microsoft/sp-webpart-base": {
|
||||
"type": "component",
|
||||
"id": "974a7777-0990-4136-8fa6-95d80114c2e0",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"react": {
|
||||
"type": "component",
|
||||
"id": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d",
|
||||
"version": "16.9.0"
|
||||
},
|
||||
"react-dom": {
|
||||
"type": "component",
|
||||
"id": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a",
|
||||
"version": "16.9.0"
|
||||
},
|
||||
"@microsoft/sp-http": {
|
||||
"type": "component",
|
||||
"id": "c07208f0-ea3b-4c1a-9965-ac1b825211a6",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"PropertyControlStrings": {
|
||||
"type": "localizedPath",
|
||||
"paths": {
|
||||
"bg-BG": "PropertyControlStrings_bg-bg.js",
|
||||
"ca-ES": "PropertyControlStrings_ca-es.js",
|
||||
"da-DK": "PropertyControlStrings_da-dk.js",
|
||||
"de-DE": "PropertyControlStrings_de-de.js",
|
||||
"el-GR": "PropertyControlStrings_el-gr.js",
|
||||
"en-US": "PropertyControlStrings_en-us.js",
|
||||
"es-ES": "PropertyControlStrings_es-es.js",
|
||||
"et-EE": "PropertyControlStrings_et-ee.js",
|
||||
"fi-FI": "PropertyControlStrings_fi-fi.js",
|
||||
"fr-FR": "PropertyControlStrings_fr-fr.js",
|
||||
"it-IT": "PropertyControlStrings_it-it.js",
|
||||
"ja-JP": "PropertyControlStrings_ja-jp.js",
|
||||
"lt-LT": "PropertyControlStrings_lt-lt.js",
|
||||
"lv-LV": "PropertyControlStrings_lv-lv.js",
|
||||
"nb-NO": "PropertyControlStrings_nb-no.js",
|
||||
"nl-NL": "PropertyControlStrings_nl-nl.js",
|
||||
"no": "PropertyControlStrings_no.js",
|
||||
"pl-PL": "PropertyControlStrings_pl-pl.js",
|
||||
"pt-PT": "PropertyControlStrings_pt-pt.js",
|
||||
"ro-RO": "PropertyControlStrings_ro-ro.js",
|
||||
"ru-RU": "PropertyControlStrings_ru-ru.js",
|
||||
"sk-SK": "PropertyControlStrings_sk-sk.js",
|
||||
"sr-Latn-RS": "PropertyControlStrings_sr-latn-rs.js",
|
||||
"sv-SE": "PropertyControlStrings_sv-se.js",
|
||||
"tr-TR": "PropertyControlStrings_tr-tr.js",
|
||||
"vi-VN": "PropertyControlStrings_vi-vn.js",
|
||||
"zh-CN": "PropertyControlStrings_zh-cn.js",
|
||||
"zh-TW": "PropertyControlStrings_zh-tw.js"
|
||||
},
|
||||
"defaultPath": "PropertyControlStrings_en-us.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,417 +0,0 @@
|
|||
|
||||
{
|
||||
"header": {
|
||||
"reportVersion": 1,
|
||||
"event": "Allocation failed - JavaScript heap out of memory",
|
||||
"trigger": "FatalError",
|
||||
"filename": "report.20210602.124620.14768.0.001.json",
|
||||
"dumpEventTime": "2021-06-02T12:46:20Z",
|
||||
"dumpEventTimeStamp": "1622618180110",
|
||||
"processId": 14768,
|
||||
"cwd": "E:\\Contribution\\New folder\\sp-dev-fx-webparts\\samples\\react-datatable",
|
||||
"commandLine": [
|
||||
"node",
|
||||
"C:\\Users\\chand\\AppData\\Roaming\\npm\\\\node_modules\\gulp\\bin\\gulp.js",
|
||||
"serve"
|
||||
],
|
||||
"nodejsVersion": "v12.14.1",
|
||||
"wordSize": 64,
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"componentVersions": {
|
||||
"node": "12.14.1",
|
||||
"v8": "7.7.299.13-node.16",
|
||||
"uv": "1.33.1",
|
||||
"zlib": "1.2.11",
|
||||
"brotli": "1.0.7",
|
||||
"ares": "1.15.0",
|
||||
"modules": "72",
|
||||
"nghttp2": "1.40.0",
|
||||
"napi": "5",
|
||||
"llhttp": "2.0.1",
|
||||
"http_parser": "2.8.0",
|
||||
"openssl": "1.1.1d",
|
||||
"cldr": "35.1",
|
||||
"icu": "64.2",
|
||||
"tz": "2019c",
|
||||
"unicode": "12.1"
|
||||
},
|
||||
"release": {
|
||||
"name": "node",
|
||||
"lts": "Erbium",
|
||||
"headersUrl": "https://nodejs.org/download/release/v12.14.1/node-v12.14.1-headers.tar.gz",
|
||||
"sourceUrl": "https://nodejs.org/download/release/v12.14.1/node-v12.14.1.tar.gz",
|
||||
"libUrl": "https://nodejs.org/download/release/v12.14.1/win-x64/node.lib"
|
||||
},
|
||||
"osName": "Windows_NT",
|
||||
"osRelease": "10.0.19042",
|
||||
"osVersion": "Windows 10 Home Single Language",
|
||||
"osMachine": "x86_64",
|
||||
"cpus": [
|
||||
{
|
||||
"model": "Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz",
|
||||
"speed": 1800,
|
||||
"user": 13953359,
|
||||
"nice": 0,
|
||||
"sys": 15767687,
|
||||
"idle": 182585796,
|
||||
"irq": 5659031
|
||||
},
|
||||
{
|
||||
"model": "Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz",
|
||||
"speed": 1800,
|
||||
"user": 10010015,
|
||||
"nice": 0,
|
||||
"sys": 4092453,
|
||||
"idle": 198203953,
|
||||
"irq": 369468
|
||||
},
|
||||
{
|
||||
"model": "Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz",
|
||||
"speed": 1800,
|
||||
"user": 21141484,
|
||||
"nice": 0,
|
||||
"sys": 7090640,
|
||||
"idle": 184074281,
|
||||
"irq": 154328
|
||||
},
|
||||
{
|
||||
"model": "Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz",
|
||||
"speed": 1800,
|
||||
"user": 12378453,
|
||||
"nice": 0,
|
||||
"sys": 3737593,
|
||||
"idle": 196190375,
|
||||
"irq": 85062
|
||||
},
|
||||
{
|
||||
"model": "Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz",
|
||||
"speed": 1800,
|
||||
"user": 18379718,
|
||||
"nice": 0,
|
||||
"sys": 6315421,
|
||||
"idle": 187611281,
|
||||
"irq": 154468
|
||||
},
|
||||
{
|
||||
"model": "Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz",
|
||||
"speed": 1800,
|
||||
"user": 11441718,
|
||||
"nice": 0,
|
||||
"sys": 3824656,
|
||||
"idle": 197040031,
|
||||
"irq": 110984
|
||||
},
|
||||
{
|
||||
"model": "Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz",
|
||||
"speed": 1800,
|
||||
"user": 16488281,
|
||||
"nice": 0,
|
||||
"sys": 4759500,
|
||||
"idle": 191058625,
|
||||
"irq": 124890
|
||||
},
|
||||
{
|
||||
"model": "Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz",
|
||||
"speed": 1800,
|
||||
"user": 12924500,
|
||||
"nice": 0,
|
||||
"sys": 3775546,
|
||||
"idle": 195606359,
|
||||
"irq": 76937
|
||||
}
|
||||
],
|
||||
"networkInterfaces": [
|
||||
{
|
||||
"name": "Wi-Fi",
|
||||
"internal": false,
|
||||
"mac": "70:66:55:2d:c5:39",
|
||||
"address": "fe80::7507:ee0b:69f6:446b",
|
||||
"netmask": "ffff:ffff:ffff:ffff::",
|
||||
"family": "IPv6",
|
||||
"scopeid": 16
|
||||
},
|
||||
{
|
||||
"name": "Wi-Fi",
|
||||
"internal": false,
|
||||
"mac": "70:66:55:2d:c5:39",
|
||||
"address": "192.168.0.110",
|
||||
"netmask": "255.255.255.0",
|
||||
"family": "IPv4"
|
||||
},
|
||||
{
|
||||
"name": "Loopback Pseudo-Interface 1",
|
||||
"internal": true,
|
||||
"mac": "00:00:00:00:00:00",
|
||||
"address": "::1",
|
||||
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
||||
"family": "IPv6",
|
||||
"scopeid": 0
|
||||
},
|
||||
{
|
||||
"name": "Loopback Pseudo-Interface 1",
|
||||
"internal": true,
|
||||
"mac": "00:00:00:00:00:00",
|
||||
"address": "127.0.0.1",
|
||||
"netmask": "255.0.0.0",
|
||||
"family": "IPv4"
|
||||
}
|
||||
],
|
||||
"host": "DESKTOP-8QJ03GL"
|
||||
},
|
||||
"javascriptStack": {
|
||||
"message": "No stack.",
|
||||
"stack": [
|
||||
"Unavailable."
|
||||
]
|
||||
},
|
||||
"nativeStack": [
|
||||
{
|
||||
"pc": "0x00007ff639f91759",
|
||||
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+10873"
|
||||
},
|
||||
{
|
||||
"pc": "0x00007ff639f95b7c",
|
||||
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+28316"
|
||||
},
|
||||
{
|
||||
"pc": "0x00007ff639f94b38",
|
||||
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+24152"
|
||||
},
|
||||
{
|
||||
"pc": "0x00007ff63a08433b",
|
||||
"symbol": "v8::base::CPU::has_sse+37723"
|
||||
},
|
||||
{
|
||||
"pc": "0x00007ff63a888c5e",
|
||||
"symbol": "v8::Isolate::ReportExternalAllocationLimitReached+94"
|
||||
},
|
||||
{
|
||||
"pc": "0x00007ff63a870ca1",
|
||||
"symbol": "v8::SharedArrayBuffer::Externalize+833"
|
||||
},
|
||||
{
|
||||
"pc": "0x00007ff63a73e56c",
|
||||
"symbol": "v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1436"
|
||||
},
|
||||
{
|
||||
"pc": "0x00007ff63a749910",
|
||||
"symbol": "v8::internal::Heap::ProtectUnprotectedMemoryChunks+1312"
|
||||
},
|
||||
{
|
||||
"pc": "0x00007ff63a746444",
|
||||
"symbol": "v8::internal::Heap::PageFlagsAreConsistent+3204"
|
||||
},
|
||||
{
|
||||
"pc": "0x00007ff63a73bcd3",
|
||||
"symbol": "v8::internal::Heap::CollectGarbage+1283"
|
||||
},
|
||||
{
|
||||
"pc": "0x00007ff63a73a4a4",
|
||||
"symbol": "v8::internal::Heap::AddRetainedMap+2356"
|
||||
},
|
||||
{
|
||||
"pc": "0x00007ff63a75b775",
|
||||
"symbol": "v8::internal::Factory::NewFillerObject+53"
|
||||
},
|
||||
{
|
||||
"pc": "0x00007ff63a4c7a49",
|
||||
"symbol": "v8::internal::interpreter::JumpTableTargetOffsets::iterator::operator=+4057"
|
||||
},
|
||||
{
|
||||
"pc": "0x00007ff63acb463d",
|
||||
"symbol": "v8::internal::SetupIsolateDelegate::SetupHeap+567949"
|
||||
},
|
||||
{
|
||||
"pc": "0x000003f8677dc35a",
|
||||
"symbol": ""
|
||||
}
|
||||
],
|
||||
"javascriptHeap": {
|
||||
"totalMemory": 2158989312,
|
||||
"totalCommittedMemory": 2158989312,
|
||||
"usedMemory": 2111357968,
|
||||
"availableMemory": 51217168,
|
||||
"memoryLimit": 2197815296,
|
||||
"heapSpaces": {
|
||||
"read_only_space": {
|
||||
"memorySize": 262144,
|
||||
"committedMemory": 262144,
|
||||
"capacity": 261872,
|
||||
"used": 32296,
|
||||
"available": 229576
|
||||
},
|
||||
"new_space": {
|
||||
"memorySize": 7340032,
|
||||
"committedMemory": 7340032,
|
||||
"capacity": 3666208,
|
||||
"used": 451984,
|
||||
"available": 3214224
|
||||
},
|
||||
"old_space": {
|
||||
"memorySize": 2075766784,
|
||||
"committedMemory": 2075766784,
|
||||
"capacity": 2041666664,
|
||||
"used": 2036385488,
|
||||
"available": 5281176
|
||||
},
|
||||
"code_space": {
|
||||
"memorySize": 1736704,
|
||||
"committedMemory": 1736704,
|
||||
"capacity": 1389824,
|
||||
"used": 1389824,
|
||||
"available": 0
|
||||
},
|
||||
"map_space": {
|
||||
"memorySize": 3149824,
|
||||
"committedMemory": 3149824,
|
||||
"capacity": 2531280,
|
||||
"used": 2531280,
|
||||
"available": 0
|
||||
},
|
||||
"large_object_space": {
|
||||
"memorySize": 70111232,
|
||||
"committedMemory": 70111232,
|
||||
"capacity": 70016696,
|
||||
"used": 70016696,
|
||||
"available": 0
|
||||
},
|
||||
"code_large_object_space": {
|
||||
"memorySize": 622592,
|
||||
"committedMemory": 622592,
|
||||
"capacity": 550400,
|
||||
"used": 550400,
|
||||
"available": 0
|
||||
},
|
||||
"new_large_object_space": {
|
||||
"memorySize": 0,
|
||||
"committedMemory": 0,
|
||||
"capacity": 3666208,
|
||||
"used": 0,
|
||||
"available": 3666208
|
||||
}
|
||||
}
|
||||
},
|
||||
"resourceUsage": {
|
||||
"userCpuSeconds": 295.187,
|
||||
"kernelCpuSeconds": 145.64,
|
||||
"cpuConsumptionPercent": 93.993,
|
||||
"maxRss": 2579755008,
|
||||
"pageFaults": {
|
||||
"IORequired": 1406918,
|
||||
"IONotRequired": 0
|
||||
},
|
||||
"fsActivity": {
|
||||
"reads": 6606,
|
||||
"writes": 17
|
||||
}
|
||||
},
|
||||
"libuv": [
|
||||
],
|
||||
"environmentVariables": {
|
||||
"=C:": "C:\\",
|
||||
"=E:": "E:\\Contribution\\New folder\\sp-dev-fx-webparts\\samples\\react-datatable",
|
||||
"ALLUSERSPROFILE": "C:\\ProgramData",
|
||||
"APPDATA": "C:\\Users\\chand\\AppData\\Roaming",
|
||||
"CHROME_CRASHPAD_PIPE_NAME": "\\\\.\\pipe\\crashpad_13224_HSXGQWUYIBCUPTWO",
|
||||
"CommonProgramFiles": "C:\\Program Files\\Common Files",
|
||||
"CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
|
||||
"CommonProgramW6432": "C:\\Program Files\\Common Files",
|
||||
"COMPUTERNAME": "DESKTOP-8QJ03GL",
|
||||
"ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
|
||||
"dp0": "C:\\Users\\chand\\AppData\\Roaming\\npm\\",
|
||||
"DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
|
||||
"FPS_BROWSER_APP_PROFILE_STRING": "Internet Explorer",
|
||||
"FPS_BROWSER_USER_PROFILE_STRING": "Default",
|
||||
"HOMEDRIVE": "C:",
|
||||
"HOMEPATH": "\\Users\\chand",
|
||||
"INIT_CWD": "E:\\Contribution\\New folder\\sp-dev-fx-webparts\\samples\\react-datatable",
|
||||
"LOCALAPPDATA": "C:\\Users\\chand\\AppData\\Local",
|
||||
"LOGONSERVER": "\\\\DESKTOP-8QJ03GL",
|
||||
"NUMBER_OF_PROCESSORS": "8",
|
||||
"OneDrive": "C:\\Users\\chand\\OneDrive",
|
||||
"OneDriveConsumer": "C:\\Users\\chand\\OneDrive",
|
||||
"ORIGINAL_XDG_CURRENT_DESKTOP": "undefined",
|
||||
"OS": "Windows_NT",
|
||||
"Path": "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\nodejs\\;C:\\Users\\chand\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\chand\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\chand\\AppData\\Roaming\\npm",
|
||||
"PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC",
|
||||
"PROCESSOR_ARCHITECTURE": "AMD64",
|
||||
"PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 142 Stepping 12, GenuineIntel",
|
||||
"PROCESSOR_LEVEL": "6",
|
||||
"PROCESSOR_REVISION": "8e0c",
|
||||
"ProgramData": "C:\\ProgramData",
|
||||
"ProgramFiles": "C:\\Program Files",
|
||||
"ProgramFiles(x86)": "C:\\Program Files (x86)",
|
||||
"ProgramW6432": "C:\\Program Files",
|
||||
"PROMPT": "$P$G",
|
||||
"PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",
|
||||
"PUBLIC": "C:\\Users\\Public",
|
||||
"SESSIONNAME": "Console",
|
||||
"SystemDrive": "C:",
|
||||
"SystemRoot": "C:\\WINDOWS",
|
||||
"TEMP": "C:\\Users\\chand\\AppData\\Local\\Temp",
|
||||
"TMP": "C:\\Users\\chand\\AppData\\Local\\Temp",
|
||||
"USERDOMAIN": "DESKTOP-8QJ03GL",
|
||||
"USERDOMAIN_ROAMINGPROFILE": "DESKTOP-8QJ03GL",
|
||||
"USERNAME": "Chandani",
|
||||
"USERPROFILE": "C:\\Users\\chand",
|
||||
"windir": "C:\\WINDOWS",
|
||||
"ZES_ENABLE_SYSMAN": "1",
|
||||
"TERM_PROGRAM": "vscode",
|
||||
"TERM_PROGRAM_VERSION": "1.56.2",
|
||||
"LANG": "en_US.UTF-8",
|
||||
"COLORTERM": "truecolor",
|
||||
"VSCODE_GIT_IPC_HANDLE": "\\\\.\\pipe\\vscode-git-e76725359d-sock",
|
||||
"GIT_ASKPASS": "c:\\Users\\chand\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh",
|
||||
"VSCODE_GIT_ASKPASS_NODE": "C:\\Users\\chand\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",
|
||||
"VSCODE_GIT_ASKPASS_MAIN": "c:\\Users\\chand\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js",
|
||||
"_prog": "node"
|
||||
},
|
||||
"sharedObjects": [
|
||||
"C:\\Program Files\\nodejs\\node.exe",
|
||||
"C:\\WINDOWS\\SYSTEM32\\ntdll.dll",
|
||||
"C:\\WINDOWS\\System32\\KERNEL32.DLL",
|
||||
"C:\\WINDOWS\\System32\\KERNELBASE.dll",
|
||||
"C:\\WINDOWS\\System32\\WS2_32.dll",
|
||||
"C:\\WINDOWS\\System32\\RPCRT4.dll",
|
||||
"C:\\WINDOWS\\System32\\ADVAPI32.dll",
|
||||
"C:\\WINDOWS\\SYSTEM32\\dbghelp.dll",
|
||||
"C:\\WINDOWS\\System32\\msvcrt.dll",
|
||||
"C:\\WINDOWS\\System32\\ucrtbase.dll",
|
||||
"C:\\WINDOWS\\System32\\sechost.dll",
|
||||
"C:\\WINDOWS\\System32\\USER32.dll",
|
||||
"C:\\WINDOWS\\System32\\win32u.dll",
|
||||
"C:\\WINDOWS\\System32\\GDI32.dll",
|
||||
"C:\\WINDOWS\\System32\\gdi32full.dll",
|
||||
"C:\\WINDOWS\\System32\\msvcp_win.dll",
|
||||
"C:\\WINDOWS\\System32\\PSAPI.DLL",
|
||||
"C:\\WINDOWS\\System32\\CRYPT32.dll",
|
||||
"C:\\WINDOWS\\System32\\bcrypt.dll",
|
||||
"C:\\WINDOWS\\SYSTEM32\\IPHLPAPI.DLL",
|
||||
"C:\\WINDOWS\\SYSTEM32\\USERENV.dll",
|
||||
"C:\\WINDOWS\\SYSTEM32\\WINMM.dll",
|
||||
"C:\\WINDOWS\\System32\\IMM32.DLL",
|
||||
"C:\\WINDOWS\\SYSTEM32\\powrprof.dll",
|
||||
"C:\\WINDOWS\\SYSTEM32\\UMPDC.dll",
|
||||
"C:\\WINDOWS\\SYSTEM32\\CRYPTBASE.DLL",
|
||||
"C:\\WINDOWS\\system32\\uxtheme.dll",
|
||||
"C:\\WINDOWS\\System32\\combase.dll",
|
||||
"C:\\WINDOWS\\system32\\mswsock.dll",
|
||||
"C:\\WINDOWS\\SYSTEM32\\kernel.appcore.dll",
|
||||
"C:\\WINDOWS\\System32\\bcryptprimitives.dll",
|
||||
"\\\\?\\E:\\Contribution\\New folder\\sp-dev-fx-webparts\\samples\\react-datatable\\node_modules\\node-sass\\vendor\\win32-x64-72\\binding.node",
|
||||
"\\\\?\\E:\\Contribution\\New folder\\sp-dev-fx-webparts\\samples\\react-datatable\\node_modules\\deasync\\bin\\win32-x64-node-12\\deasync.node",
|
||||
"\\\\?\\E:\\Contribution\\New folder\\sp-dev-fx-webparts\\samples\\react-datatable\\node_modules\\keytar\\build\\Release\\keytar.node",
|
||||
"C:\\WINDOWS\\System32\\NSI.dll",
|
||||
"C:\\WINDOWS\\SYSTEM32\\dhcpcsvc6.DLL",
|
||||
"C:\\WINDOWS\\SYSTEM32\\dhcpcsvc.DLL",
|
||||
"C:\\WINDOWS\\SYSTEM32\\DNSAPI.dll",
|
||||
"C:\\WINDOWS\\system32\\napinsp.dll",
|
||||
"C:\\WINDOWS\\system32\\pnrpnsp.dll",
|
||||
"C:\\WINDOWS\\system32\\wshbth.dll",
|
||||
"C:\\WINDOWS\\system32\\NLAapi.dll",
|
||||
"C:\\WINDOWS\\System32\\winrnr.dll",
|
||||
"C:\\Windows\\System32\\rasadhlp.dll",
|
||||
"C:\\WINDOWS\\System32\\fwpuclnt.dll"
|
||||
]
|
||||
}
|
|
@ -8,6 +8,7 @@ export function csvCellFormatter(value: any, type: string) {
|
|||
break;
|
||||
case 'SP.FieldUser':
|
||||
value = value.props.displayName;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -28,13 +28,13 @@ export function ExportListItemsToPDF(props: IExportToPDF) {
|
|||
let dataTableRows = dataSource().map(lItem => columns.reduce((arr, c) => [...arr, isNullOrUndefined(lItem[c]) ? '' : lItem[c]], []));
|
||||
|
||||
let data = {
|
||||
content: [
|
||||
content: [
|
||||
{
|
||||
text: title,
|
||||
fontSize: 16,
|
||||
alignment: 'center',
|
||||
margin: [0, 0, 0, 15]
|
||||
},
|
||||
},
|
||||
{
|
||||
style: 'tableExample',
|
||||
table: {
|
||||
|
@ -46,7 +46,7 @@ export function ExportListItemsToPDF(props: IExportToPDF) {
|
|||
]
|
||||
},
|
||||
layout: {
|
||||
fillColor: function (rowIndex: number) {
|
||||
fillColor: (rowIndex: number)=> {
|
||||
if (oddRowColor && evenRowColor)
|
||||
return (rowIndex % 2 === 0) ? evenRowColor : oddRowColor;
|
||||
else
|
||||
|
@ -57,7 +57,7 @@ export function ExportListItemsToPDF(props: IExportToPDF) {
|
|||
]
|
||||
};
|
||||
pdfMake.createPdf(data).download(`${listName}.pdf`);
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
<PrimaryButton
|
||||
|
@ -67,4 +67,4 @@ export function ExportListItemsToPDF(props: IExportToPDF) {
|
|||
className={styles.btnPDF}
|
||||
/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,8 @@ export function pdfCellFormatter(value: any, type: string) {
|
|||
value = { text, link, color: 'blue' };
|
||||
break;
|
||||
case 'SP.FieldUser':
|
||||
value = value.props.displayName;
|
||||
value = value.props.displayName;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -39,6 +39,6 @@ export function RenderImageOrLink(props: IImageOrLinkProps) {
|
|||
)
|
||||
)
|
||||
}
|
||||
</>
|
||||
</>;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ export function RenderProfilePicture(props: IProfilePicProps) {
|
|||
getUserProfileUrl().then(url => {
|
||||
setProfileUrl(url);
|
||||
});
|
||||
}, [props])
|
||||
}, [props]);
|
||||
|
||||
return (
|
||||
<Persona
|
||||
|
@ -26,4 +26,4 @@ export function RenderProfilePicture(props: IProfilePicProps) {
|
|||
imageAlt={displayName}
|
||||
styles={{ primaryText: { fontSize: '12px' } }}
|
||||
/>);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ export default class ReactDatatable extends React.Component<IReactDatatableProps
|
|||
}
|
||||
|
||||
private getUserProfileUrl = (loginName: string) => {
|
||||
return this._services.getUserProfileUrl(loginName)
|
||||
return this._services.getUserProfileUrl(loginName);
|
||||
}
|
||||
|
||||
public componentDidUpdate(prevProps: IReactDatatableProps) {
|
||||
|
|
|
@ -0,0 +1,71 @@
|
|||
{
|
||||
"id": "dfb5229a-c1c3-4e98-870b-c40dd6e4ec4b",
|
||||
"alias": "PageContributorsWebPart",
|
||||
"componentType": "WebPart",
|
||||
"version": "1.0.0",
|
||||
"manifestVersion": 2,
|
||||
"requiresCustomScript": false,
|
||||
"supportedHosts": [
|
||||
"SharePointWebPart"
|
||||
],
|
||||
"preconfiguredEntries": [
|
||||
{
|
||||
"groupId": "dfb5229a-c1c3-4e98-870b-c40dd6e4ec4b",
|
||||
"group": {
|
||||
"default": "Other"
|
||||
},
|
||||
"title": {
|
||||
"default": "Page Contributors"
|
||||
},
|
||||
"description": {
|
||||
"default": "Displays page contributors in reverse chronological order"
|
||||
},
|
||||
"officeFabricIconFontName": "People",
|
||||
"properties": {
|
||||
"numberOfFaces": 5,
|
||||
"personaSize": 3
|
||||
}
|
||||
}
|
||||
],
|
||||
"loaderConfig": {
|
||||
"internalModuleBaseUrls": [
|
||||
"https://localhost:4321/dist/"
|
||||
],
|
||||
"entryModuleId": "page-contributors-web-part",
|
||||
"scriptResources": {
|
||||
"page-contributors-web-part": {
|
||||
"type": "path",
|
||||
"path": "page-contributors-web-part_4d2033f670297cd13b0c.js"
|
||||
},
|
||||
"@microsoft/sp-property-pane": {
|
||||
"type": "component",
|
||||
"id": "f9e737b7-f0df-4597-ba8c-3060f82380db",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"@microsoft/sp-core-library": {
|
||||
"type": "component",
|
||||
"id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"pageContributorsStrings": {
|
||||
"type": "path",
|
||||
"path": "pageContributorsStrings_en-us_6ae41e2edb727df21538267edcd92249.js"
|
||||
},
|
||||
"@microsoft/sp-webpart-base": {
|
||||
"type": "component",
|
||||
"id": "974a7777-0990-4136-8fa6-95d80114c2e0",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"react": {
|
||||
"type": "component",
|
||||
"id": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d",
|
||||
"version": "16.9.0"
|
||||
},
|
||||
"react-dom": {
|
||||
"type": "component",
|
||||
"id": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a",
|
||||
"version": "16.9.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,17 @@
|
|||
define([], function() {
|
||||
return {
|
||||
"PropertyPaneDescription": "Displays page contributors in reverse chronological order",
|
||||
"PropertyPaneNbPersonasText": "Maximum number of persons to display",
|
||||
"PropertyPaneBasicGroupName": "General",
|
||||
"PropertyPanePersonaSizeText": "Icons size",
|
||||
"PropertyPaneIconsSizeTiny": "tiny",
|
||||
"PropertyPaneIconsSizeEES": "extraExtraSmall",
|
||||
"PropertyPaneIconsSizeES": "extraSmall",
|
||||
"PropertyPaneIconsSizeS": "small",
|
||||
"PropertyPaneIconsSizeR": "regular",
|
||||
"PropertyPaneIconsSizeL": "large",
|
||||
"PropertyPaneIconsSizeEL": "extraLarge",
|
||||
"PropertyPanePageUrlText": "Page server relative URL (leave empty for current page)",
|
||||
"Loading": "Loading..."
|
||||
}
|
||||
});
|
|
@ -0,0 +1,104 @@
|
|||
{
|
||||
"bundles": {
|
||||
"page-contributors-web-part": {
|
||||
"dependencies": [
|
||||
{
|
||||
"componentId": "f9e737b7-f0df-4597-ba8c-3060f82380db",
|
||||
"componentName": "@microsoft/sp-property-pane",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": true
|
||||
},
|
||||
{
|
||||
"componentId": "1c6c9123-7aac-41f3-a376-3caea41ed83f",
|
||||
"componentName": "@microsoft/sp-loader",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "8217e442-8ed3-41fd-957d-b112e841286a",
|
||||
"componentName": "@ms/sp-telemetry",
|
||||
"componentVersion": "0.19.2",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "e40f8203-b39d-425a-a957-714852e33b79",
|
||||
"componentName": "@microsoft/sp-dynamic-data",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "73e1dc6c-8441-42cc-ad47-4bd3659f8a3a",
|
||||
"componentName": "@microsoft/sp-lodash-subset",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
|
||||
"componentName": "@microsoft/sp-core-library",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "01c4df03-e775-48cb-aa14-171ee5199a15",
|
||||
"componentName": "tslib",
|
||||
"componentVersion": "1.10.0",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "2e09fb9b-13bb-48f2-859f-97d6fff71176",
|
||||
"componentName": "@ms/odsp-core-bundle",
|
||||
"componentVersion": "1.1.13",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "78359e4b-07c2-43c6-8d0b-d060b4d577e8",
|
||||
"componentName": "@microsoft/sp-diagnostics",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "1c4541f7-5c31-41aa-9fa8-fbc9dc14c0a8",
|
||||
"componentName": "@microsoft/sp-page-context",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "229b8d08-79f3-438b-8c21-4613fc877abd",
|
||||
"componentName": "@microsoft/load-themed-styles",
|
||||
"componentVersion": "0.1.2",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "c07208f0-ea3b-4c1a-9965-ac1b825211a6",
|
||||
"componentName": "@microsoft/sp-http",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d",
|
||||
"componentName": "react",
|
||||
"componentVersion": "16.9.0",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a",
|
||||
"componentName": "react-dom",
|
||||
"componentVersion": "16.9.0",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "974a7777-0990-4136-8fa6-95d80114c2e0",
|
||||
"componentName": "@microsoft/sp-webpart-base",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": true
|
||||
},
|
||||
{
|
||||
"componentId": "467dc675-7cc5-4709-8aac-78e3b71bd2f6",
|
||||
"componentName": "@microsoft/sp-component-base",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,71 @@
|
|||
{
|
||||
"id": "dfb5229a-c1c3-4e98-870b-c40dd6e4ec4b",
|
||||
"alias": "PageContributorsWebPart",
|
||||
"componentType": "WebPart",
|
||||
"version": "1.0.0",
|
||||
"manifestVersion": 2,
|
||||
"requiresCustomScript": false,
|
||||
"supportedHosts": [
|
||||
"SharePointWebPart"
|
||||
],
|
||||
"preconfiguredEntries": [
|
||||
{
|
||||
"groupId": "dfb5229a-c1c3-4e98-870b-c40dd6e4ec4b",
|
||||
"group": {
|
||||
"default": "Other"
|
||||
},
|
||||
"title": {
|
||||
"default": "Page Contributors"
|
||||
},
|
||||
"description": {
|
||||
"default": "Displays page contributors in reverse chronological order"
|
||||
},
|
||||
"officeFabricIconFontName": "People",
|
||||
"properties": {
|
||||
"numberOfFaces": 5,
|
||||
"personaSize": 3
|
||||
}
|
||||
}
|
||||
],
|
||||
"loaderConfig": {
|
||||
"internalModuleBaseUrls": [
|
||||
"<!-- PATH TO CDN -->"
|
||||
],
|
||||
"entryModuleId": "page-contributors-web-part",
|
||||
"scriptResources": {
|
||||
"page-contributors-web-part": {
|
||||
"type": "path",
|
||||
"path": "page-contributors-web-part_4d2033f670297cd13b0c.js"
|
||||
},
|
||||
"@microsoft/sp-property-pane": {
|
||||
"type": "component",
|
||||
"id": "f9e737b7-f0df-4597-ba8c-3060f82380db",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"@microsoft/sp-core-library": {
|
||||
"type": "component",
|
||||
"id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"pageContributorsStrings": {
|
||||
"type": "path",
|
||||
"path": "pageContributorsStrings_en-us_6ae41e2edb727df21538267edcd92249.js"
|
||||
},
|
||||
"@microsoft/sp-webpart-base": {
|
||||
"type": "component",
|
||||
"id": "974a7777-0990-4136-8fa6-95d80114c2e0",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"react": {
|
||||
"type": "component",
|
||||
"id": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d",
|
||||
"version": "16.9.0"
|
||||
},
|
||||
"react-dom": {
|
||||
"type": "component",
|
||||
"id": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a",
|
||||
"version": "16.9.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,71 @@
|
|||
{
|
||||
"id": "dfb5229a-c1c3-4e98-870b-c40dd6e4ec4b",
|
||||
"alias": "PageContributorsWebPart",
|
||||
"componentType": "WebPart",
|
||||
"version": "1.0.0",
|
||||
"manifestVersion": 2,
|
||||
"requiresCustomScript": false,
|
||||
"supportedHosts": [
|
||||
"SharePointWebPart"
|
||||
],
|
||||
"preconfiguredEntries": [
|
||||
{
|
||||
"groupId": "dfb5229a-c1c3-4e98-870b-c40dd6e4ec4b",
|
||||
"group": {
|
||||
"default": "Other"
|
||||
},
|
||||
"title": {
|
||||
"default": "Page Contributors"
|
||||
},
|
||||
"description": {
|
||||
"default": "Displays page contributors in reverse chronological order"
|
||||
},
|
||||
"officeFabricIconFontName": "People",
|
||||
"properties": {
|
||||
"numberOfFaces": 5,
|
||||
"personaSize": 3
|
||||
}
|
||||
}
|
||||
],
|
||||
"loaderConfig": {
|
||||
"internalModuleBaseUrls": [
|
||||
"<!-- PATH TO CDN -->"
|
||||
],
|
||||
"entryModuleId": "page-contributors-web-part",
|
||||
"scriptResources": {
|
||||
"page-contributors-web-part": {
|
||||
"type": "path",
|
||||
"path": "page-contributors-web-part_4d2033f670297cd13b0c.js"
|
||||
},
|
||||
"@microsoft/sp-property-pane": {
|
||||
"type": "component",
|
||||
"id": "f9e737b7-f0df-4597-ba8c-3060f82380db",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"@microsoft/sp-core-library": {
|
||||
"type": "component",
|
||||
"id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"pageContributorsStrings": {
|
||||
"type": "path",
|
||||
"path": "pageContributorsStrings_en-us_6ae41e2edb727df21538267edcd92249.js"
|
||||
},
|
||||
"@microsoft/sp-webpart-base": {
|
||||
"type": "component",
|
||||
"id": "974a7777-0990-4136-8fa6-95d80114c2e0",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"react": {
|
||||
"type": "component",
|
||||
"id": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d",
|
||||
"version": "16.9.0"
|
||||
},
|
||||
"react-dom": {
|
||||
"type": "component",
|
||||
"id": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a",
|
||||
"version": "16.9.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue