@microsoft/teams-js 2.3.0 → 2.3.1-beta.0
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
@@ -3508,7 +3508,7 @@ export namespace app {
|
|
3508
3508
|
*/
|
3509
3509
|
locale: string;
|
3510
3510
|
/**
|
3511
|
-
* The current UI theme.
|
3511
|
+
* The current UI theme of the host. Possible values: "default", "dark", or "contrast".
|
3512
3512
|
*/
|
3513
3513
|
theme: string;
|
3514
3514
|
/**
|
@@ -4202,7 +4202,9 @@ export namespace geoLocation {
|
|
4202
4202
|
*/
|
4203
4203
|
longitude: number;
|
4204
4204
|
/**
|
4205
|
-
Accuracy
|
4205
|
+
Accuracy describes the maximum distance in meters from the captured coordinates to the possible actual location
|
4206
|
+
@remarks
|
4207
|
+
This property is only in scope for mobile
|
4206
4208
|
*/
|
4207
4209
|
accuracy?: number;
|
4208
4210
|
/**
|
@@ -4301,17 +4303,6 @@ export namespace pages {
|
|
4301
4303
|
* Limited to Microsoft-internal use
|
4302
4304
|
*/
|
4303
4305
|
function registerFocusEnterHandler(handler: (navigateForward: boolean) => void): void;
|
4304
|
-
/**
|
4305
|
-
* @hidden
|
4306
|
-
* Undocumented helper function with shared code between deprecated version and current version of the registerFocusEnterHandler API.
|
4307
|
-
*
|
4308
|
-
* @internal
|
4309
|
-
* Limited to Microsoft-internal use
|
4310
|
-
*
|
4311
|
-
* @param handler - The handler for placing focus within the application.
|
4312
|
-
* @param versionSpecificHelper - The helper function containing logic pertaining to a specific version of the API.
|
4313
|
-
*/
|
4314
|
-
function registerFocusEnterHandlerHelper(handler: (navigateForward: boolean) => void, versionSpecificHelper?: () => void): void;
|
4315
4306
|
/**
|
4316
4307
|
* Sets/Updates the current frame with new information
|
4317
4308
|
*
|
@@ -4392,17 +4383,6 @@ export namespace pages {
|
|
4392
4383
|
* @param handler - The handler to invoke when the user toggles full-screen view for a tab.
|
4393
4384
|
*/
|
4394
4385
|
function registerFullScreenHandler(handler: (isFullScreen: boolean) => void): void;
|
4395
|
-
/**
|
4396
|
-
* @hidden
|
4397
|
-
* Undocumented helper function with shared code between deprecated version and current version of the registerFullScreenHandler API.
|
4398
|
-
*
|
4399
|
-
* @internal
|
4400
|
-
* Limited to Microsoft-internal use
|
4401
|
-
*
|
4402
|
-
* @param handler - The handler to invoke when the user toggles full-screen view for a tab.
|
4403
|
-
* @param versionSpecificHelper - The helper function containing logic pertaining to a specific version of the API.
|
4404
|
-
*/
|
4405
|
-
function registerFullScreenHandlerHelper(handler: (isFullScreen: boolean) => void, versionSpecificHelper?: () => void): void;
|
4406
4386
|
/**
|
4407
4387
|
* Checks if the pages capability is supported by the host
|
4408
4388
|
* @returns true if the pages capability is enabled in runtime.supports.pages and
|
@@ -4536,17 +4516,6 @@ export namespace pages {
|
|
4536
4516
|
* @param handler - The handler to invoke when the user clicks on Settings.
|
4537
4517
|
*/
|
4538
4518
|
function registerChangeConfigHandler(handler: () => void): void;
|
4539
|
-
/**
|
4540
|
-
* @hidden
|
4541
|
-
* Undocumented helper function with shared code between deprecated version and current version of the registerConfigChangeHandler API.
|
4542
|
-
*
|
4543
|
-
* @internal
|
4544
|
-
* Limited to Microsoft-internal use
|
4545
|
-
*
|
4546
|
-
* @param handler - The handler to invoke when the user clicks on Settings.
|
4547
|
-
* @param versionSpecificHelper - The helper function containing logic pertaining to a specific version of the API.
|
4548
|
-
*/
|
4549
|
-
function registerChangeConfigHandlerHelper(handler: () => void, versionSpecificHelper?: () => void): void;
|
4550
4519
|
/**
|
4551
4520
|
* Describes the results of the settings.save event. Includes result, notifySuccess, and notifyFailure
|
4552
4521
|
* to indicate the return object (result) and the status of whether the settings.save call succeeded or not and why.
|
@@ -4674,51 +4643,18 @@ export namespace pages {
|
|
4674
4643
|
* @param handler - The handler to invoke when the personal app button is clicked in the app bar.
|
4675
4644
|
*/
|
4676
4645
|
function onClick(handler: () => void): void;
|
4677
|
-
/**
|
4678
|
-
* @hidden
|
4679
|
-
* Undocumented helper function with shared code between deprecated version and current version of the onClick API.
|
4680
|
-
*
|
4681
|
-
* @internal
|
4682
|
-
* Limited to Microsoft-internal use
|
4683
|
-
*
|
4684
|
-
* @param handler - The handler to invoke when the personal app button is clicked in the app bar.
|
4685
|
-
* @param versionSpecificHelper - The helper function containing logic pertaining to a specific version of the API.
|
4686
|
-
*/
|
4687
|
-
function onClickHelper(handler: () => void, versionSpecificHelper?: () => void): void;
|
4688
4646
|
/**
|
4689
4647
|
* Registers a handler for entering hover of the app button.
|
4690
4648
|
* Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
|
4691
4649
|
* @param handler - The handler to invoke when entering hover of the personal app button in the app bar.
|
4692
4650
|
*/
|
4693
4651
|
function onHoverEnter(handler: () => void): void;
|
4694
|
-
/**
|
4695
|
-
* @hidden
|
4696
|
-
* Undocumented helper function with shared code between deprecated version and current version of the onHoverEnter API.
|
4697
|
-
*
|
4698
|
-
* @internal
|
4699
|
-
* Limited to Microsoft-internal use
|
4700
|
-
*
|
4701
|
-
* @param handler - The handler to invoke when entering hover of the personal app button in the app bar.
|
4702
|
-
* @param versionSpecificHelper - The helper function containing logic pertaining to a specific version of the API.
|
4703
|
-
*/
|
4704
|
-
function onHoverEnterHelper(handler: () => void, versionSpecificHelper?: () => void): void;
|
4705
4652
|
/**
|
4706
4653
|
* Registers a handler for exiting hover of the app button.
|
4707
4654
|
* Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
|
4708
4655
|
* @param handler - The handler to invoke when exiting hover of the personal app button in the app bar.
|
4709
4656
|
*/
|
4710
4657
|
function onHoverLeave(handler: () => void): void;
|
4711
|
-
/**
|
4712
|
-
* @hidden
|
4713
|
-
* Undocumented helper function with shared code between deprecated version and current version of the onHoverLeave API.
|
4714
|
-
*
|
4715
|
-
* @internal
|
4716
|
-
* Limited to Microsoft-internal use
|
4717
|
-
*
|
4718
|
-
* @param handler - The handler to invoke when existing hover of the personal app button in the app bar.
|
4719
|
-
* @param versionSpecificHelper - The helper function containing logic pertaining to a specific version of the API.
|
4720
|
-
*/
|
4721
|
-
function onHoverLeaveHelper(handler: () => void, versionSpecificHelper?: () => void): void;
|
4722
4658
|
/**
|
4723
4659
|
* Checks if pages.appButton capability is supported by the host
|
4724
4660
|
* @returns true if the pages.appButton capability is enabled in runtime.supports.pages.appButton and
|
@@ -6885,18 +6821,6 @@ export namespace tasks {
|
|
6885
6821
|
* @param appIds - Helps to validate that the call originates from the same appId as the one that invoked the task module
|
6886
6822
|
*/
|
6887
6823
|
function submitTask(result?: string | object, appIds?: string | string[]): void;
|
6888
|
-
/**
|
6889
|
-
* Converts {@link TaskInfo} to {@link UrlDialogInfo}
|
6890
|
-
* @param taskInfo - TaskInfo object to convert
|
6891
|
-
* @returns - Converted UrlDialogInfo object
|
6892
|
-
*/
|
6893
|
-
function getUrlDialogInfoFromTaskInfo(taskInfo: TaskInfo): UrlDialogInfo;
|
6894
|
-
/**
|
6895
|
-
* Converts {@link TaskInfo} to {@link BotUrlDialogInfo}
|
6896
|
-
* @param taskInfo - TaskInfo object to convert
|
6897
|
-
* @returns - converted BotUrlDialogInfo object
|
6898
|
-
*/
|
6899
|
-
function getBotUrlDialogInfoFromTaskInfo(taskInfo: TaskInfo): BotUrlDialogInfo;
|
6900
6824
|
/**
|
6901
6825
|
* Sets the height and width of the {@link TaskInfo} object to the original height and width, if initially specified,
|
6902
6826
|
* otherwise uses the height and width values corresponding to {@link TaskModuleDimension | TaskModuleDimension.Small}
|
package/dist/MicrosoftTeams.js
CHANGED
@@ -1129,7 +1129,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1129
1129
|
});
|
1130
1130
|
|
1131
1131
|
;// CONCATENATED MODULE: ./src/internal/constants.ts
|
1132
|
-
var version = "2.3.0";
|
1132
|
+
var version = "2.3.1-beta.0";
|
1133
1133
|
/**
|
1134
1134
|
* @hidden
|
1135
1135
|
* The client version when all SDK APIs started to check platform compatibility for the APIs was 1.6.0.
|
@@ -3468,31 +3468,13 @@ var pages;
|
|
3468
3468
|
* Limited to Microsoft-internal use
|
3469
3469
|
*/
|
3470
3470
|
function registerFocusEnterHandler(handler) {
|
3471
|
-
|
3472
|
-
|
3473
|
-
|
3474
|
-
|
3475
|
-
|
3471
|
+
registerHandlerHelper('focusEnter', handler, [], function () {
|
3472
|
+
if (!isSupported()) {
|
3473
|
+
throw errorNotSupportedOnPlatform;
|
3474
|
+
}
|
3475
|
+
});
|
3476
3476
|
}
|
3477
3477
|
pages.registerFocusEnterHandler = registerFocusEnterHandler;
|
3478
|
-
/**
|
3479
|
-
* @hidden
|
3480
|
-
* Undocumented helper function with shared code between deprecated version and current version of the registerFocusEnterHandler API.
|
3481
|
-
*
|
3482
|
-
* @internal
|
3483
|
-
* Limited to Microsoft-internal use
|
3484
|
-
*
|
3485
|
-
* @param handler - The handler for placing focus within the application.
|
3486
|
-
* @param versionSpecificHelper - The helper function containing logic pertaining to a specific version of the API.
|
3487
|
-
*/
|
3488
|
-
function registerFocusEnterHandlerHelper(handler, versionSpecificHelper) {
|
3489
|
-
ensureInitialized();
|
3490
|
-
if (versionSpecificHelper) {
|
3491
|
-
versionSpecificHelper();
|
3492
|
-
}
|
3493
|
-
registerHandler('focusEnter', handler);
|
3494
|
-
}
|
3495
|
-
pages.registerFocusEnterHandlerHelper = registerFocusEnterHandlerHelper;
|
3496
3478
|
/**
|
3497
3479
|
* Sets/Updates the current frame with new information
|
3498
3480
|
*
|
@@ -3602,31 +3584,13 @@ var pages;
|
|
3602
3584
|
* @param handler - The handler to invoke when the user toggles full-screen view for a tab.
|
3603
3585
|
*/
|
3604
3586
|
function registerFullScreenHandler(handler) {
|
3605
|
-
|
3606
|
-
|
3607
|
-
|
3608
|
-
|
3609
|
-
|
3587
|
+
registerHandlerHelper('fullScreenChange', handler, [], function () {
|
3588
|
+
if (!isSupported()) {
|
3589
|
+
throw errorNotSupportedOnPlatform;
|
3590
|
+
}
|
3591
|
+
});
|
3610
3592
|
}
|
3611
3593
|
pages.registerFullScreenHandler = registerFullScreenHandler;
|
3612
|
-
/**
|
3613
|
-
* @hidden
|
3614
|
-
* Undocumented helper function with shared code between deprecated version and current version of the registerFullScreenHandler API.
|
3615
|
-
*
|
3616
|
-
* @internal
|
3617
|
-
* Limited to Microsoft-internal use
|
3618
|
-
*
|
3619
|
-
* @param handler - The handler to invoke when the user toggles full-screen view for a tab.
|
3620
|
-
* @param versionSpecificHelper - The helper function containing logic pertaining to a specific version of the API.
|
3621
|
-
*/
|
3622
|
-
function registerFullScreenHandlerHelper(handler, versionSpecificHelper) {
|
3623
|
-
ensureInitialized();
|
3624
|
-
if (versionSpecificHelper) {
|
3625
|
-
versionSpecificHelper();
|
3626
|
-
}
|
3627
|
-
registerHandler('fullScreenChange', handler);
|
3628
|
-
}
|
3629
|
-
pages.registerFullScreenHandlerHelper = registerFullScreenHandlerHelper;
|
3630
3594
|
/**
|
3631
3595
|
* Checks if the pages capability is supported by the host
|
3632
3596
|
* @returns true if the pages capability is enabled in runtime.supports.pages and
|
@@ -3832,31 +3796,13 @@ var pages;
|
|
3832
3796
|
* @param handler - The handler to invoke when the user clicks on Settings.
|
3833
3797
|
*/
|
3834
3798
|
function registerChangeConfigHandler(handler) {
|
3835
|
-
|
3799
|
+
registerHandlerHelper('changeSettings', handler, [FrameContexts.content], function () {
|
3836
3800
|
if (!isSupported()) {
|
3837
3801
|
throw errorNotSupportedOnPlatform;
|
3838
3802
|
}
|
3839
3803
|
});
|
3840
3804
|
}
|
3841
3805
|
config.registerChangeConfigHandler = registerChangeConfigHandler;
|
3842
|
-
/**
|
3843
|
-
* @hidden
|
3844
|
-
* Undocumented helper function with shared code between deprecated version and current version of the registerConfigChangeHandler API.
|
3845
|
-
*
|
3846
|
-
* @internal
|
3847
|
-
* Limited to Microsoft-internal use
|
3848
|
-
*
|
3849
|
-
* @param handler - The handler to invoke when the user clicks on Settings.
|
3850
|
-
* @param versionSpecificHelper - The helper function containing logic pertaining to a specific version of the API.
|
3851
|
-
*/
|
3852
|
-
function registerChangeConfigHandlerHelper(handler, versionSpecificHelper) {
|
3853
|
-
ensureInitialized(FrameContexts.content);
|
3854
|
-
if (versionSpecificHelper) {
|
3855
|
-
versionSpecificHelper();
|
3856
|
-
}
|
3857
|
-
registerHandler('changeSettings', handler);
|
3858
|
-
}
|
3859
|
-
config.registerChangeConfigHandlerHelper = registerChangeConfigHandlerHelper;
|
3860
3806
|
/**
|
3861
3807
|
* @hidden
|
3862
3808
|
* Hide from docs, since this class is not directly used.
|
@@ -4062,93 +4008,39 @@ var pages;
|
|
4062
4008
|
* @param handler - The handler to invoke when the personal app button is clicked in the app bar.
|
4063
4009
|
*/
|
4064
4010
|
function onClick(handler) {
|
4065
|
-
|
4011
|
+
registerHandlerHelper('appButtonClick', handler, [FrameContexts.content], function () {
|
4066
4012
|
if (!isSupported()) {
|
4067
4013
|
throw errorNotSupportedOnPlatform;
|
4068
4014
|
}
|
4069
4015
|
});
|
4070
4016
|
}
|
4071
4017
|
appButton.onClick = onClick;
|
4072
|
-
/**
|
4073
|
-
* @hidden
|
4074
|
-
* Undocumented helper function with shared code between deprecated version and current version of the onClick API.
|
4075
|
-
*
|
4076
|
-
* @internal
|
4077
|
-
* Limited to Microsoft-internal use
|
4078
|
-
*
|
4079
|
-
* @param handler - The handler to invoke when the personal app button is clicked in the app bar.
|
4080
|
-
* @param versionSpecificHelper - The helper function containing logic pertaining to a specific version of the API.
|
4081
|
-
*/
|
4082
|
-
function onClickHelper(handler, versionSpecificHelper) {
|
4083
|
-
ensureInitialized(FrameContexts.content);
|
4084
|
-
if (versionSpecificHelper) {
|
4085
|
-
versionSpecificHelper();
|
4086
|
-
}
|
4087
|
-
registerHandler('appButtonClick', handler);
|
4088
|
-
}
|
4089
|
-
appButton.onClickHelper = onClickHelper;
|
4090
4018
|
/**
|
4091
4019
|
* Registers a handler for entering hover of the app button.
|
4092
4020
|
* Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
|
4093
4021
|
* @param handler - The handler to invoke when entering hover of the personal app button in the app bar.
|
4094
4022
|
*/
|
4095
4023
|
function onHoverEnter(handler) {
|
4096
|
-
|
4024
|
+
registerHandlerHelper('appButtonHoverEnter', handler, [FrameContexts.content], function () {
|
4097
4025
|
if (!isSupported()) {
|
4098
4026
|
throw errorNotSupportedOnPlatform;
|
4099
4027
|
}
|
4100
4028
|
});
|
4101
4029
|
}
|
4102
4030
|
appButton.onHoverEnter = onHoverEnter;
|
4103
|
-
/**
|
4104
|
-
* @hidden
|
4105
|
-
* Undocumented helper function with shared code between deprecated version and current version of the onHoverEnter API.
|
4106
|
-
*
|
4107
|
-
* @internal
|
4108
|
-
* Limited to Microsoft-internal use
|
4109
|
-
*
|
4110
|
-
* @param handler - The handler to invoke when entering hover of the personal app button in the app bar.
|
4111
|
-
* @param versionSpecificHelper - The helper function containing logic pertaining to a specific version of the API.
|
4112
|
-
*/
|
4113
|
-
function onHoverEnterHelper(handler, versionSpecificHelper) {
|
4114
|
-
ensureInitialized(FrameContexts.content);
|
4115
|
-
if (versionSpecificHelper) {
|
4116
|
-
versionSpecificHelper();
|
4117
|
-
}
|
4118
|
-
registerHandler('appButtonHoverEnter', handler);
|
4119
|
-
}
|
4120
|
-
appButton.onHoverEnterHelper = onHoverEnterHelper;
|
4121
4031
|
/**
|
4122
4032
|
* Registers a handler for exiting hover of the app button.
|
4123
4033
|
* Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
|
4124
4034
|
* @param handler - The handler to invoke when exiting hover of the personal app button in the app bar.
|
4125
4035
|
*/
|
4126
4036
|
function onHoverLeave(handler) {
|
4127
|
-
|
4037
|
+
registerHandlerHelper('appButtonHoverLeave', handler, [FrameContexts.content], function () {
|
4128
4038
|
if (!isSupported()) {
|
4129
4039
|
throw errorNotSupportedOnPlatform;
|
4130
4040
|
}
|
4131
4041
|
});
|
4132
4042
|
}
|
4133
4043
|
appButton.onHoverLeave = onHoverLeave;
|
4134
|
-
/**
|
4135
|
-
* @hidden
|
4136
|
-
* Undocumented helper function with shared code between deprecated version and current version of the onHoverLeave API.
|
4137
|
-
*
|
4138
|
-
* @internal
|
4139
|
-
* Limited to Microsoft-internal use
|
4140
|
-
*
|
4141
|
-
* @param handler - The handler to invoke when existing hover of the personal app button in the app bar.
|
4142
|
-
* @param versionSpecificHelper - The helper function containing logic pertaining to a specific version of the API.
|
4143
|
-
*/
|
4144
|
-
function onHoverLeaveHelper(handler, versionSpecificHelper) {
|
4145
|
-
ensureInitialized(FrameContexts.content);
|
4146
|
-
if (versionSpecificHelper) {
|
4147
|
-
versionSpecificHelper();
|
4148
|
-
}
|
4149
|
-
registerHandler('appButtonHoverLeave', handler);
|
4150
|
-
}
|
4151
|
-
appButton.onHoverLeaveHelper = onHoverLeaveHelper;
|
4152
4044
|
/**
|
4153
4045
|
* Checks if pages.appButton capability is supported by the host
|
4154
4046
|
* @returns true if the pages.appButton capability is enabled in runtime.supports.pages.appButton and
|
@@ -4190,6 +4082,7 @@ var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from
|
|
4190
4082
|
|
4191
4083
|
|
4192
4084
|
|
4085
|
+
|
4193
4086
|
var handlersLogger = getLogger('handlers');
|
4194
4087
|
/**
|
4195
4088
|
* @internal
|
@@ -4251,10 +4144,32 @@ function registerHandler(name, handler, sendMessage, args) {
|
|
4251
4144
|
function removeHandler(name) {
|
4252
4145
|
delete HandlersPrivate.handlers[name];
|
4253
4146
|
}
|
4254
|
-
/**
|
4147
|
+
/**
|
4148
|
+
* @internal
|
4149
|
+
* Limited to Microsoft-internal use
|
4150
|
+
*/
|
4255
4151
|
function doesHandlerExist(name) {
|
4256
4152
|
return HandlersPrivate.handlers[name] != null;
|
4257
4153
|
}
|
4154
|
+
/**
|
4155
|
+
* @hidden
|
4156
|
+
* Undocumented helper function with shared code between deprecated version and current version of register*Handler APIs
|
4157
|
+
*
|
4158
|
+
* @internal
|
4159
|
+
* Limited to Microsoft-internal use
|
4160
|
+
*
|
4161
|
+
* @param name - The name of the handler to register.
|
4162
|
+
* @param handler - The handler to invoke.
|
4163
|
+
* @param contexts - The context within which it is valid to register this handler.
|
4164
|
+
* @param registrationHelper - The helper function containing logic pertaining to a specific version of the API.
|
4165
|
+
*/
|
4166
|
+
function registerHandlerHelper(name, handler, contexts, registrationHelper) {
|
4167
|
+
ensureInitialized.apply(void 0, contexts);
|
4168
|
+
if (registrationHelper) {
|
4169
|
+
registrationHelper();
|
4170
|
+
}
|
4171
|
+
registerHandler(name, handler);
|
4172
|
+
}
|
4258
4173
|
/**
|
4259
4174
|
* @internal
|
4260
4175
|
* Limited to Microsoft-internal use
|
@@ -7488,6 +7403,7 @@ var appInitialization;
|
|
7488
7403
|
|
7489
7404
|
|
7490
7405
|
|
7406
|
+
|
7491
7407
|
/**
|
7492
7408
|
* @deprecated
|
7493
7409
|
* As of 2.0.0, please use {@link app.initialize app.initialize(validMessageOrigins?: string[]): Promise\<void\>} instead.
|
@@ -7588,7 +7504,7 @@ function registerOnThemeChangeHandler(handler) {
|
|
7588
7504
|
* @param handler - The handler to invoke when the user toggles full-screen view for a tab.
|
7589
7505
|
*/
|
7590
7506
|
function registerFullScreenHandler(handler) {
|
7591
|
-
|
7507
|
+
registerHandlerHelper('fullScreenChange', handler, []);
|
7592
7508
|
}
|
7593
7509
|
/**
|
7594
7510
|
* @deprecated
|
@@ -7600,7 +7516,7 @@ function registerFullScreenHandler(handler) {
|
|
7600
7516
|
* @param handler - The handler to invoke when the personal app button is clicked in the app bar.
|
7601
7517
|
*/
|
7602
7518
|
function registerAppButtonClickHandler(handler) {
|
7603
|
-
|
7519
|
+
registerHandlerHelper('appButtonClick', handler, [FrameContexts.content]);
|
7604
7520
|
}
|
7605
7521
|
/**
|
7606
7522
|
* @deprecated
|
@@ -7612,7 +7528,7 @@ function registerAppButtonClickHandler(handler) {
|
|
7612
7528
|
* @param handler - The handler to invoke when entering hover of the personal app button in the app bar.
|
7613
7529
|
*/
|
7614
7530
|
function registerAppButtonHoverEnterHandler(handler) {
|
7615
|
-
|
7531
|
+
registerHandlerHelper('appButtonHoverEnter', handler, [FrameContexts.content]);
|
7616
7532
|
}
|
7617
7533
|
/**
|
7618
7534
|
* @deprecated
|
@@ -7624,7 +7540,7 @@ function registerAppButtonHoverEnterHandler(handler) {
|
|
7624
7540
|
*
|
7625
7541
|
*/
|
7626
7542
|
function registerAppButtonHoverLeaveHandler(handler) {
|
7627
|
-
|
7543
|
+
registerHandlerHelper('appButtonHoverLeave', handler, [FrameContexts.content]);
|
7628
7544
|
}
|
7629
7545
|
/**
|
7630
7546
|
* @deprecated
|
@@ -7675,7 +7591,7 @@ function registerBeforeUnloadHandler(handler) {
|
|
7675
7591
|
* @param handler - The handler to invoked by the app when they want the focus to be in the place of their choice.
|
7676
7592
|
*/
|
7677
7593
|
function registerFocusEnterHandler(handler) {
|
7678
|
-
|
7594
|
+
registerHandlerHelper('focusEnter', handler, []);
|
7679
7595
|
}
|
7680
7596
|
/**
|
7681
7597
|
* @deprecated
|
@@ -7686,7 +7602,7 @@ function registerFocusEnterHandler(handler) {
|
|
7686
7602
|
* @param handler - The handler to invoke when the user click on Settings.
|
7687
7603
|
*/
|
7688
7604
|
function registerChangeSettingsHandler(handler) {
|
7689
|
-
|
7605
|
+
registerHandlerHelper('changeSettings', handler, [FrameContexts.content]);
|
7690
7606
|
}
|
7691
7607
|
/**
|
7692
7608
|
* @deprecated
|
@@ -8142,7 +8058,6 @@ var tasks;
|
|
8142
8058
|
};
|
8143
8059
|
return urldialogInfo;
|
8144
8060
|
}
|
8145
|
-
tasks.getUrlDialogInfoFromTaskInfo = getUrlDialogInfoFromTaskInfo;
|
8146
8061
|
/**
|
8147
8062
|
* Converts {@link TaskInfo} to {@link BotUrlDialogInfo}
|
8148
8063
|
* @param taskInfo - TaskInfo object to convert
|
@@ -8161,7 +8076,6 @@ var tasks;
|
|
8161
8076
|
};
|
8162
8077
|
return botUrldialogInfo;
|
8163
8078
|
}
|
8164
|
-
tasks.getBotUrlDialogInfoFromTaskInfo = getBotUrlDialogInfoFromTaskInfo;
|
8165
8079
|
/**
|
8166
8080
|
* Sets the height and width of the {@link TaskInfo} object to the original height and width, if initially specified,
|
8167
8081
|
* otherwise uses the height and width values corresponding to {@link TaskModuleDimension | TaskModuleDimension.Small}
|