@microsoft/mgt-components
Advanced tools
Comparing version 2.2.0-preview.6e3772e to 2.2.0-preview.db82765
@@ -87,4 +87,6 @@ /** | ||
*/ | ||
// tslint:disable-next-line:no-empty | ||
clearState() { } | ||
clearState() { | ||
this._isCompact = false; | ||
this._personDetails = null; | ||
} | ||
/** | ||
@@ -91,0 +93,0 @@ * Invoked on each update to perform rendering tasks. This method must return |
@@ -140,2 +140,3 @@ /** | ||
clearState() { | ||
super.clearState(); | ||
for (const key of Object.keys(this._contactParts)) { | ||
@@ -142,0 +143,0 @@ this._contactParts[key].value = null; |
@@ -61,3 +61,6 @@ /** | ||
*/ | ||
clearState() { } | ||
clearState() { | ||
super.clearState(); | ||
this._files = null; | ||
} | ||
/** | ||
@@ -64,0 +67,0 @@ * Render the icon for display in the navigation ribbon. |
@@ -61,2 +61,3 @@ /** | ||
clearState() { | ||
super.clearState(); | ||
this._messages = []; | ||
@@ -63,0 +64,0 @@ } |
@@ -42,2 +42,9 @@ /** | ||
/** | ||
* Reset any state in the section | ||
* | ||
* @protected | ||
* @memberof MgtPersonCardMessages | ||
*/ | ||
clearState(): void; | ||
/** | ||
* The name for display in the overview section. | ||
@@ -44,0 +51,0 @@ * |
@@ -53,2 +53,13 @@ /** | ||
/** | ||
* Reset any state in the section | ||
* | ||
* @protected | ||
* @memberof MgtPersonCardMessages | ||
*/ | ||
clearState() { | ||
super.clearState(); | ||
this._state = null; | ||
this._me = null; | ||
} | ||
/** | ||
* The name for display in the overview section. | ||
@@ -55,0 +66,0 @@ * |
@@ -112,2 +112,3 @@ /** | ||
clearState() { | ||
super.clearState(); | ||
this.profile = null; | ||
@@ -114,0 +115,0 @@ } |
@@ -272,2 +272,3 @@ /** | ||
attributeChangedCallback(name: string, oldVal: string, newVal: string): void; | ||
protected clearState(): void; | ||
/** | ||
@@ -274,0 +275,0 @@ * Invoked when the element is first updated. Implement to perform one time |
@@ -148,11 +148,3 @@ /** | ||
this._me = null; | ||
this._newTaskName = ''; | ||
this._newTaskDueDate = null; | ||
this._newTaskGroupId = ''; | ||
this._newTaskFolderId = ''; | ||
this._groups = []; | ||
this._folders = []; | ||
this._tasks = []; | ||
this._hiddenTasks = []; | ||
this._loadingTasks = []; | ||
this.clearState(); | ||
this.previousMediaQuery = this.mediaQuery; | ||
@@ -245,16 +237,21 @@ this.onResize = this.onResize.bind(this); | ||
} | ||
this._newTaskFolderId = ''; | ||
this._newTaskGroupId = ''; | ||
this._newTaskDueDate = null; | ||
this._newTaskName = ''; | ||
this._newTaskBeingAdded = false; | ||
this._tasks = []; | ||
this._folders = []; | ||
this._groups = []; | ||
this._hasDoneInitialLoad = false; | ||
this._inTaskLoad = false; | ||
this._todoDefaultSet = false; | ||
this.clearState(); | ||
this.requestStateUpdate(); | ||
} | ||
} | ||
clearState() { | ||
this._newTaskFolderId = ''; | ||
this._newTaskGroupId = ''; | ||
this._newTaskDueDate = null; | ||
this._newTaskName = ''; | ||
this._newTaskBeingAdded = false; | ||
this._tasks = []; | ||
this._folders = []; | ||
this._groups = []; | ||
this._hiddenTasks = []; | ||
this._loadingTasks = []; | ||
this._hasDoneInitialLoad = false; | ||
this._inTaskLoad = false; | ||
this._todoDefaultSet = false; | ||
} | ||
/** | ||
@@ -261,0 +258,0 @@ * Invoked when the element is first updated. Implement to perform one time |
{ | ||
"name": "@microsoft/mgt-components", | ||
"version": "2.2.0-preview.6e3772e", | ||
"version": "2.2.0-preview.db82765", | ||
"description": "The Microsoft Graph Toolkit Components", | ||
@@ -39,3 +39,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@microsoft/mgt-element": "2.2.0-preview.6e3772e", | ||
"@microsoft/mgt-element": "2.2.0-preview.db82765", | ||
"@microsoft/microsoft-graph-client": "^2.2.1", | ||
@@ -42,0 +42,0 @@ "@microsoft/microsoft-graph-types": "^1.27.0", |
@@ -116,4 +116,6 @@ /** | ||
*/ | ||
// tslint:disable-next-line:no-empty | ||
public clearState(): void {} | ||
public clearState(): void { | ||
this._isCompact = false; | ||
this._personDetails = null; | ||
} | ||
@@ -120,0 +122,0 @@ /** |
@@ -168,2 +168,3 @@ /** | ||
public clearState() { | ||
super.clearState(); | ||
for (const key of Object.keys(this._contactParts)) { | ||
@@ -170,0 +171,0 @@ this._contactParts[key].value = null; |
@@ -62,3 +62,6 @@ /** | ||
*/ | ||
public clearState(): void {} | ||
public clearState(): void { | ||
super.clearState(); | ||
this._files = null; | ||
} | ||
@@ -65,0 +68,0 @@ /** |
@@ -63,2 +63,3 @@ /** | ||
public clearState(): void { | ||
super.clearState(); | ||
this._messages = []; | ||
@@ -65,0 +66,0 @@ } |
@@ -56,2 +56,14 @@ /** | ||
/** | ||
* Reset any state in the section | ||
* | ||
* @protected | ||
* @memberof MgtPersonCardMessages | ||
*/ | ||
public clearState(): void { | ||
super.clearState(); | ||
this._state = null; | ||
this._me = null; | ||
} | ||
/** | ||
* The name for display in the overview section. | ||
@@ -58,0 +70,0 @@ * |
@@ -125,2 +125,3 @@ /** | ||
public clearState(): void { | ||
super.clearState(); | ||
this.profile = null; | ||
@@ -127,0 +128,0 @@ } |
@@ -345,11 +345,3 @@ /** | ||
super(); | ||
this._newTaskName = ''; | ||
this._newTaskDueDate = null; | ||
this._newTaskGroupId = ''; | ||
this._newTaskFolderId = ''; | ||
this._groups = []; | ||
this._folders = []; | ||
this._tasks = []; | ||
this._hiddenTasks = []; | ||
this._loadingTasks = []; | ||
this.clearState(); | ||
@@ -399,18 +391,23 @@ this.previousMediaQuery = this.mediaQuery; | ||
this._newTaskFolderId = ''; | ||
this._newTaskGroupId = ''; | ||
this._newTaskDueDate = null; | ||
this._newTaskName = ''; | ||
this._newTaskBeingAdded = false; | ||
this.clearState(); | ||
this.requestStateUpdate(); | ||
} | ||
} | ||
this._tasks = []; | ||
this._folders = []; | ||
this._groups = []; | ||
protected clearState(): void { | ||
this._newTaskFolderId = ''; | ||
this._newTaskGroupId = ''; | ||
this._newTaskDueDate = null; | ||
this._newTaskName = ''; | ||
this._newTaskBeingAdded = false; | ||
this._hasDoneInitialLoad = false; | ||
this._inTaskLoad = false; | ||
this._todoDefaultSet = false; | ||
this._tasks = []; | ||
this._folders = []; | ||
this._groups = []; | ||
this._hiddenTasks = []; | ||
this._loadingTasks = []; | ||
this.requestStateUpdate(); | ||
} | ||
this._hasDoneInitialLoad = false; | ||
this._inTaskLoad = false; | ||
this._todoDefaultSet = false; | ||
} | ||
@@ -417,0 +414,0 @@ |
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
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3029262
33724
+ Added@microsoft/mgt-element@2.2.0-preview.db82765(transitive)
- Removed@microsoft/mgt-element@2.2.0-preview.6e3772e(transitive)