upgrade to v1.11.0

This commit is contained in:
Aimery THOMAS 2020-11-07 17:34:44 +01:00
parent 83ddd64e68
commit a539e8157d
8 changed files with 11171 additions and 3108 deletions

View File

@ -1,6 +1,6 @@
{ {
"@microsoft/generator-sharepoint": { "@microsoft/generator-sharepoint": {
"version": "1.9.1", "version": "1.11.0",
"libraryName": "react-graph-telephonedirectory", "libraryName": "react-graph-telephonedirectory",
"libraryId": "e1a26cc8-a086-454f-9f16-9aeb0a276bcc", "libraryId": "e1a26cc8-a086-454f-9f16-9aeb0a276bcc",
"environment": "spo", "environment": "spo",

View File

@ -6,6 +6,13 @@
"version": "1.0.0.0", "version": "1.0.0.0",
"includeClientSideAssets": true, "includeClientSideAssets": true,
"isDomainIsolated": true, "isDomainIsolated": true,
"developer": {
"name": "Contoso",
"privacyUrl": "https://contoso.com/privacy",
"termsOfUseUrl": "https://contoso.com/terms-of-use",
"websiteUrl": "https://contoso.com/my-app",
"mpnId": "000000"
},
"webApiPermissionRequests": [ "webApiPermissionRequests": [
{ {
"resource": "Microsoft Graph", "resource": "Microsoft Graph",

File diff suppressed because it is too large Load Diff

View File

@ -12,11 +12,11 @@
"test": "gulp test" "test": "gulp test"
}, },
"dependencies": { "dependencies": {
"@microsoft/sp-core-library": "1.9.1", "@microsoft/sp-core-library": "^1.11.0",
"@microsoft/sp-lodash-subset": "1.9.1", "@microsoft/sp-lodash-subset": "^1.11.0",
"@microsoft/sp-office-ui-fabric-core": "1.9.1", "@microsoft/sp-office-ui-fabric-core": "^1.11.0",
"@microsoft/sp-webpart-base": "1.9.1", "@microsoft/sp-webpart-base": "^1.11.0",
"@pnp/spfx-controls-react": "^1.19.0", "@pnp/spfx-controls-react": "^2.1.0",
"@types/es6-promise": "0.0.33", "@types/es6-promise": "0.0.33",
"@types/react": "16.8.8", "@types/react": "16.8.8",
"@types/react-dom": "16.8.3", "@types/react-dom": "16.8.3",
@ -29,14 +29,14 @@
"@types/react": "16.8.8" "@types/react": "16.8.8"
}, },
"devDependencies": { "devDependencies": {
"@microsoft/sp-build-web": "1.9.1", "@microsoft/rush-stack-compiler-2.9": "^0.14.31",
"@microsoft/sp-tslint-rules": "1.9.1", "@microsoft/sp-build-web": "^1.11.0",
"@microsoft/sp-module-interfaces": "1.9.1", "@microsoft/sp-module-interfaces": "^1.11.0",
"@microsoft/sp-webpart-workbench": "1.9.1", "@microsoft/sp-tslint-rules": "^1.11.0",
"@microsoft/rush-stack-compiler-2.9": "0.7.16", "@microsoft/sp-webpart-workbench": "^1.11.0",
"gulp": "~3.9.1",
"@types/chai": "3.4.34", "@types/chai": "3.4.34",
"@types/mocha": "2.2.38", "@types/mocha": "2.2.38",
"ajv": "~5.2.2" "ajv": "~5.2.2",
"gulp": "~3.9.1"
} }
} }

View File

@ -1,11 +1,8 @@
import * as React from 'react'; import * as React from 'react';
import * as ReactDom from 'react-dom'; import * as ReactDom from 'react-dom';
import { Version } from '@microsoft/sp-core-library'; import { Version } from '@microsoft/sp-core-library';
import { import { BaseClientSideWebPart } from "@microsoft/sp-webpart-base";
BaseClientSideWebPart, import { IPropertyPaneConfiguration, PropertyPaneTextField } from "@microsoft/sp-property-pane";
IPropertyPaneConfiguration,
PropertyPaneTextField
} from '@microsoft/sp-webpart-base';
import * as strings from 'TelephonedirectoryWebPartStrings'; import * as strings from 'TelephonedirectoryWebPartStrings';
import Telephonedirectory from './components/Telephonedirectory'; import Telephonedirectory from './components/Telephonedirectory';

View File

@ -78,7 +78,6 @@ export class ByEmail extends React.Component<ByEmailProps,ByEmailState>{
personSelectionLimit={1} personSelectionLimit={1}
showtooltip={false} showtooltip={false}
disabled={false} disabled={false}
selectedItems={this._getPeoplePickerItems}
principalTypes={[PrincipalType.User]} principalTypes={[PrincipalType.User]}
resolveDelay={1000} /> resolveDelay={1000} />
</Stack> </Stack>

View File

@ -29,7 +29,8 @@
] ]
}, },
"include": [ "include": [
"src/**/*.ts" "src/**/*.ts",
"declarations.d.ts"
], ],
"exclude": [ "exclude": [
"node_modules", "node_modules",

View File

@ -17,7 +17,6 @@
"no-switch-case-fall-through": true, "no-switch-case-fall-through": true,
"no-unnecessary-semicolons": true, "no-unnecessary-semicolons": true,
"no-unused-expression": true, "no-unused-expression": true,
"no-use-before-declare": true,
"no-with-statement": true, "no-with-statement": true,
"semicolon": true, "semicolon": true,
"trailing-comma": false, "trailing-comma": false,