@microsoft/teams-js 2.0.0-beta.2-dev.4 → 2.0.0-beta.2-dev.7
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/dist/MicrosoftTeams.d.ts
CHANGED
|
@@ -41,25 +41,10 @@ declare module '@microsoft/teams-js/public/index' {
|
|
|
41
41
|
export { video } from '@microsoft/teams-js/public/video';
|
|
42
42
|
export { sharing } from '@microsoft/teams-js/public/sharing';
|
|
43
43
|
export { call } from '@microsoft/teams-js/public/call';
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
46
|
-
*/
|
|
47
44
|
export { appInitialization } from '@microsoft/teams-js/public/appInitialization';
|
|
48
|
-
/**
|
|
49
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
50
|
-
*/
|
|
51
45
|
export { enablePrintCapability, executeDeepLink, getContext, getMruTabInstances, getTabInstances, initialize, initializeWithFrameContext, print, registerBackButtonHandler, registerBeforeUnloadHandler, registerFocusEnterHandler, registerEnterSettingsHandler, registerFullScreenHandler, registerOnLoadHandler, registerOnThemeChangeHandler, registerAppButtonClickHandler, registerAppButtonHoverEnterHandler, registerAppButtonHoverLeaveHandler, setFrameContext, shareDeepLink, } from '@microsoft/teams-js/public/publicAPIs';
|
|
52
|
-
/**
|
|
53
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
54
|
-
*/
|
|
55
46
|
export { returnFocus, navigateBack, navigateCrossDomain, navigateToTab } from '@microsoft/teams-js/public/navigation';
|
|
56
|
-
/**
|
|
57
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
58
|
-
*/
|
|
59
47
|
export { settings } from '@microsoft/teams-js/public/settings';
|
|
60
|
-
/**
|
|
61
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
62
|
-
*/
|
|
63
48
|
export { tasks } from '@microsoft/teams-js/public/tasks';
|
|
64
49
|
}
|
|
65
50
|
|
|
@@ -2804,7 +2789,7 @@ declare module '@microsoft/teams-js/public/dialog' {
|
|
|
2804
2789
|
* @param dialogInfo - An object containing the parameters of the dialog module
|
|
2805
2790
|
* @param submitHandler - Handler to call when the task module is completed
|
|
2806
2791
|
*/
|
|
2807
|
-
function open(dialogInfo: DialogInfo, submitHandler?: (err: string, result: string) => void): IAppWindow;
|
|
2792
|
+
function open(dialogInfo: DialogInfo, submitHandler?: (err: string, result: string | object) => void): IAppWindow;
|
|
2808
2793
|
/**
|
|
2809
2794
|
* Update height/width dialog info properties.
|
|
2810
2795
|
*
|
|
@@ -4686,7 +4671,7 @@ declare module '@microsoft/teams-js/public/tasks' {
|
|
|
4686
4671
|
* @param taskInfo - An object containing the parameters of the task module
|
|
4687
4672
|
* @param submitHandler - Handler to call when the task module is completed
|
|
4688
4673
|
*/
|
|
4689
|
-
function startTask(taskInfo: TaskInfo, submitHandler?: (err: string, result: string) => void): IAppWindow;
|
|
4674
|
+
function startTask(taskInfo: TaskInfo, submitHandler?: (err: string, result: string | object) => void): IAppWindow;
|
|
4690
4675
|
/**
|
|
4691
4676
|
* @deprecated with TeamsJS v2 upgrades
|
|
4692
4677
|
*
|
|
@@ -4727,25 +4712,10 @@ declare module '@microsoft/teams-js/public' {
|
|
|
4727
4712
|
export { video } from '@microsoft/teams-js/public/video';
|
|
4728
4713
|
export { sharing } from '@microsoft/teams-js/public/sharing';
|
|
4729
4714
|
export { call } from '@microsoft/teams-js/public/call';
|
|
4730
|
-
/**
|
|
4731
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
4732
|
-
*/
|
|
4733
4715
|
export { appInitialization } from '@microsoft/teams-js/public/appInitialization';
|
|
4734
|
-
/**
|
|
4735
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
4736
|
-
*/
|
|
4737
4716
|
export { enablePrintCapability, executeDeepLink, getContext, getMruTabInstances, getTabInstances, initialize, initializeWithFrameContext, print, registerBackButtonHandler, registerBeforeUnloadHandler, registerFocusEnterHandler, registerEnterSettingsHandler, registerFullScreenHandler, registerOnLoadHandler, registerOnThemeChangeHandler, registerAppButtonClickHandler, registerAppButtonHoverEnterHandler, registerAppButtonHoverLeaveHandler, setFrameContext, shareDeepLink, } from '@microsoft/teams-js/public/publicAPIs';
|
|
4738
|
-
/**
|
|
4739
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
4740
|
-
*/
|
|
4741
4717
|
export { returnFocus, navigateBack, navigateCrossDomain, navigateToTab } from '@microsoft/teams-js/public/navigation';
|
|
4742
|
-
/**
|
|
4743
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
4744
|
-
*/
|
|
4745
4718
|
export { settings } from '@microsoft/teams-js/public/settings';
|
|
4746
|
-
/**
|
|
4747
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
4748
|
-
*/
|
|
4749
4719
|
export { tasks } from '@microsoft/teams-js/public/tasks';
|
|
4750
4720
|
}
|
|
4751
4721
|
|
package/dist/MicrosoftTeams.js
CHANGED
|
@@ -395,7 +395,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
395
395
|
});
|
|
396
396
|
|
|
397
397
|
;// CONCATENATED MODULE: ./src/internal/constants.ts
|
|
398
|
-
var version = '2.0.0-beta.2-dev.
|
|
398
|
+
var version = '2.0.0-beta.2-dev.7';
|
|
399
399
|
/**
|
|
400
400
|
* @hidden
|
|
401
401
|
* The SDK version when all SDK APIs started to check platform compatibility for the APIs was 1.6.0.
|
|
@@ -5202,6 +5202,7 @@ var settings;
|
|
|
5202
5202
|
})(settings || (settings = {}));
|
|
5203
5203
|
|
|
5204
5204
|
;// CONCATENATED MODULE: ./src/public/tasks.ts
|
|
5205
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
5205
5206
|
|
|
5206
5207
|
|
|
5207
5208
|
/**
|
|
@@ -5244,7 +5245,6 @@ var tasks;
|
|
|
5244
5245
|
* @param result - Contains the result to be sent to the bot or the app. Typically a JSON object or a serialized version of it
|
|
5245
5246
|
* @param appIds - Helps to validate that the call originates from the same appId as the one that invoked the task module
|
|
5246
5247
|
*/
|
|
5247
|
-
// eslint-disable-next-line
|
|
5248
5248
|
function submitTask(result, appIds) {
|
|
5249
5249
|
dialog.submit(result, appIds);
|
|
5250
5250
|
}
|
|
@@ -5300,25 +5300,10 @@ var tasks;
|
|
|
5300
5300
|
|
|
5301
5301
|
|
|
5302
5302
|
|
|
5303
|
-
/**
|
|
5304
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
5305
|
-
*/
|
|
5306
5303
|
|
|
5307
|
-
/**
|
|
5308
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
5309
|
-
*/
|
|
5310
5304
|
|
|
5311
|
-
/**
|
|
5312
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
5313
|
-
*/
|
|
5314
5305
|
|
|
5315
|
-
/**
|
|
5316
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
5317
|
-
*/
|
|
5318
5306
|
|
|
5319
|
-
/**
|
|
5320
|
-
* @deprecated with TeamsJS v2 upgrades
|
|
5321
|
-
*/
|
|
5322
5307
|
|
|
5323
5308
|
|
|
5324
5309
|
;// CONCATENATED MODULE: ./src/private/files.ts
|