@microsoft/mgt-components
Advanced tools
Comparing version 2.2.0-preview.c7c25c3 to 2.2.0-preview.cea8740
@@ -170,7 +170,7 @@ /** | ||
* | ||
* @param {[string]} an array of user ids to add to selectedPeople | ||
* @param {readonly string []} an array of user ids to add to selectedPeople | ||
* @returns {Promise<void>} | ||
* @memberof MgtPeoplePicker | ||
*/ | ||
selectUsersById(userIds: [string]): Promise<void>; | ||
selectUsersById(userIds: readonly string[]): Promise<void>; | ||
/** | ||
@@ -177,0 +177,0 @@ * Invoked on each update to perform rendering tasks. This method must return a lit-html TemplateResult. |
@@ -173,3 +173,3 @@ /** | ||
* | ||
* @param {[string]} an array of user ids to add to selectedPeople | ||
* @param {readonly string []} an array of user ids to add to selectedPeople | ||
* @returns {Promise<void>} | ||
@@ -176,0 +176,0 @@ * @memberof MgtPeoplePicker |
@@ -301,3 +301,3 @@ /** | ||
// Default template | ||
let personTemplate = this.renderTemplate('default', { person, personImage: image }); | ||
let personTemplate = this.renderTemplate('default', { person, personImage: image, personPresence: presence }); | ||
if (!personTemplate) { | ||
@@ -304,0 +304,0 @@ const detailsTemplate = this.renderDetails(person); |
@@ -463,3 +463,3 @@ /** | ||
teams = teams.filter(t => !t.isArchived); | ||
const batch = provider.graph.createBatch(); | ||
const batch = graph.createBatch(); | ||
for (const team of teams) { | ||
@@ -466,0 +466,0 @@ batch.get(team.id, `teams/${team.id}/channels`, ['Channel.ReadBasic.All']); |
{ | ||
"name": "@microsoft/mgt-components", | ||
"version": "2.2.0-preview.c7c25c3", | ||
"version": "2.2.0-preview.cea8740", | ||
"description": "The Microsoft Graph Toolkit Components", | ||
@@ -39,3 +39,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@microsoft/mgt-element": "2.2.0-preview.c7c25c3", | ||
"@microsoft/mgt-element": "2.2.0-preview.cea8740", | ||
"@microsoft/microsoft-graph-client": "^2.2.1", | ||
@@ -42,0 +42,0 @@ "@microsoft/microsoft-graph-types": "^1.31.0", |
@@ -343,7 +343,7 @@ /** | ||
* | ||
* @param {[string]} an array of user ids to add to selectedPeople | ||
* @param {readonly string []} an array of user ids to add to selectedPeople | ||
* @returns {Promise<void>} | ||
* @memberof MgtPeoplePicker | ||
*/ | ||
public async selectUsersById(userIds: [string]): Promise<void> { | ||
public async selectUsersById(userIds: readonly string[]): Promise<void> { | ||
const provider = Providers.globalProvider; | ||
@@ -350,0 +350,0 @@ const graph = Providers.globalProvider.graph; |
@@ -504,3 +504,3 @@ /** | ||
// Default template | ||
let personTemplate = this.renderTemplate('default', { person, personImage: image }); | ||
let personTemplate = this.renderTemplate('default', { person, personImage: image, personPresence: presence }); | ||
@@ -507,0 +507,0 @@ if (!personTemplate) { |
@@ -603,3 +603,3 @@ /** | ||
const batch = provider.graph.createBatch(); | ||
const batch = graph.createBatch(); | ||
@@ -606,0 +606,0 @@ for (const team of teams) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3282039
+ Added@microsoft/mgt-element@2.2.0-preview.cea8740(transitive)
- Removed@microsoft/mgt-element@2.2.0-preview.c7c25c3(transitive)