@types/office-js-preview 1.0.391 → 1.0.393

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.
@@ -8,7 +8,7 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 09 Jun 2023 17:33:06 GMT
11
+ * Last updated: Mon, 19 Jun 2023 15:02:36 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -1550,13 +1550,17 @@ declare namespace Office {
1550
1550
  *
1551
1551
  * **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/identity-api-requirement-sets | IdentityAPI 1.3}
1552
1552
  *
1553
- * **Important**: In Outlook, this API isn't supported in the following scenarios.
1553
+ * **Important**:
1554
+ *
1555
+ * - In Outlook, this API isn't supported if you load an add-in in an Outlook.com or Gmail mailbox.
1554
1556
  *
1555
- * - If the add-in is loaded in an Outlook.com or Gmail mailbox.
1557
+ * - In Outlook on the web, this API isn't supported if you use the Safari browser. This results in error 13001 ("The user is not signed into Office").
1556
1558
  *
1557
- * - If the add-in is loaded in Outlook on the web in the Safari browser. This results in error 13001 ("The user is not signed into Office").
1559
+ * - In Outlook on the web, if you use the
1560
+ * {@link https://learn.microsoft.com/javascript/api/office/office.ui#office-office-ui-displaydialogasync-member(1) | displayDialogAsync}
1561
+ * method to open a dialog, you must close the dialog before you can call `getAccessToken`.
1558
1562
  *
1559
- * **Note**: In an Outlook event-based activation add-in, this API is supported in Outlook on Windows starting from Version 2111 (Build 14701.20000).
1563
+ * - In an Outlook event-based activation add-in, this API is supported in Outlook on Windows starting from Version 2111 (Build 14701.20000).
1560
1564
  * To retrieve an access token in older builds, use
1561
1565
  * {@link https://learn.microsoft.com/javascript/api/office-runtime/officeruntime.auth?view=common-js-preview#office-runtime-officeruntime-auth-getaccesstoken-member(1) |
1562
1566
  * OfficeRuntime.auth.getAccessToken} instead. For more information, see
@@ -12352,13 +12356,10 @@ declare namespace Office {
12352
12356
  *
12353
12357
  * **Important**:
12354
12358
  *
12355
- * - After the content is prepended, the position of the cursor depends on which client the add-in is running.
12356
- *
12357
- * - **Windows, Web**: The cursor position remains the same in the pre-existing content of the body. For example, if the cursor was positioned at the beginning
12358
- * of the body prior to the `prependAsync` call, it will appear between the prepended content and the pre-existing content of the body after the call.
12359
- *
12360
- * - **Mac**: The cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects something in the
12361
- * body of the mail item.
12359
+ * - After the content is prepended, the position of the cursor depends on which client the add-in is running. In Outlook on Windows and on the web, the cursor
12360
+ * position remains the same in the pre-existing content of the body. For example, if the cursor was positioned at the beginning of the body prior to the
12361
+ * `prependAsync` call, it will appear between the prepended content and the pre-existing content of the body after the call. In Outlook on Mac, the cursor
12362
+ * position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects something in the body of the mail item.
12362
12363
  *
12363
12364
  * - When working with HTML-formatted bodies, it's important to note that the client may modify the value passed to `prependAsync` to
12364
12365
  * make it render efficiently with its rendering engine. This means that the value returned from a subsequent call to the `Body.getAsync` method
@@ -12393,13 +12394,10 @@ declare namespace Office {
12393
12394
  *
12394
12395
  * **Important**:
12395
12396
  *
12396
- * - After the content is prepended, the position of the cursor depends on which client the add-in is running.
12397
- *
12398
- * - **Windows, Web**: The cursor position remains the same in the pre-existing content of the body. For example, if the cursor was positioned at the beginning
12399
- * of the body prior to the `prependAsync` call, it will appear between the prepended content and the pre-existing content of the body after the call.
12400
- *
12401
- * - **Mac**: The cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects something in the
12402
- * body of the mail item.
12397
+ * - After the content is prepended, the position of the cursor depends on which client the add-in is running. In Outlook on Windows and on the web, the cursor
12398
+ * position remains the same in the pre-existing content of the body. For example, if the cursor was positioned at the beginning of the body prior to the
12399
+ * `prependAsync` call, it will appear between the prepended content and the pre-existing content of the body after the call. In Outlook on Mac, the cursor
12400
+ * position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects something in the body of the mail item.
12403
12401
  *
12404
12402
  * - When working with HTML-formatted bodies, it's important to note that the client may modify the value passed to `prependAsync` to
12405
12403
  * make it render efficiently with its rendering engine. This means that the value returned from a subsequent call to the `Body.getAsync` method
@@ -12510,14 +12508,10 @@ declare namespace Office {
12510
12508
  *
12511
12509
  * **Important**:
12512
12510
  *
12513
- * - After the body is replaced with the specified content, the position of the cursor depends on which client the add-in is running.
12514
- *
12515
- * - **Windows**: The cursor appears at the beginning of the body of the mail item.
12516
- *
12517
- * - **Mac**: The cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects something in the
12518
- * body of the mail item.
12519
- *
12520
- * - **Web**: The cursor appears at the end of the body of the mail item.
12511
+ * - After the body is replaced with the specified content, the position of the cursor depends on which client the add-in is running. In Outlook on Windows,
12512
+ * the cursor appears at the beginning of the body of the mail item, while in Outlook on the web, the cursor appears at the end of the body of the mail item.
12513
+ * In Outlook on Mac, the cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects
12514
+ * something in the body of the mail item.
12521
12515
  *
12522
12516
  * - When working with HTML-formatted bodies, it's important to note that the value returned by the `Body.getAsync` method won't necessarily
12523
12517
  * be the exact same value that was previously passed in the `Body.setAsync` method. The client may modify the value passed to `setAsync` to make it
@@ -12556,14 +12550,10 @@ declare namespace Office {
12556
12550
  *
12557
12551
  * **Important**:
12558
12552
  *
12559
- * - After the body is replaced with the specified content, the position of the cursor depends on which client the add-in is running.
12560
- *
12561
- * - **Windows**: The cursor appears at the beginning of the body of the mail item.
12562
- *
12563
- * - **Mac**: The cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects something in the
12564
- * body of the mail item.
12565
- *
12566
- * - **Web**: The cursor appears at the end of the body of the mail item.
12553
+ * - After the body is replaced with the specified content, the position of the cursor depends on which client the add-in is running. In Outlook on Windows,
12554
+ * the cursor appears at the beginning of the body of the mail item, while in Outlook on the web, the cursor appears at the end of the body of the mail item.
12555
+ * In Outlook on Mac, the cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects
12556
+ * something in the body of the mail item.
12567
12557
  *
12568
12558
  * - When working with HTML-formatted bodies, it's important to note that the value returned by the `Body.getAsync` method won't necessarily
12569
12559
  * be the exact same value that was previously passed in the `Body.setAsync` method. The client may modify the value passed to `setAsync` to make it
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.391",
3
+ "version": "1.0.393",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "876c566111b10a806622789993158019b4205d5d8e5e5c5d54a7c6fbfcb62186",
48
+ "typesPublisherContentHash": "39ec9dbaa7d3bb8f53d2a7b82eca170aff987d65d1a53ab537a091a2ea821b0c",
49
49
  "typeScriptVersion": "4.3"
50
50
  }