@types/office-js-preview 1.0.392 → 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: Tue, 13 Jun 2023 23:02:50 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
 
@@ -1552,11 +1552,9 @@ declare namespace Office {
1552
1552
  *
1553
1553
  * **Important**:
1554
1554
  *
1555
- * - In Outlook, this API isn't supported in the following scenarios.
1555
+ * - In Outlook, this API isn't supported if you load an add-in in an Outlook.com or Gmail mailbox.
1556
1556
  *
1557
- * - If the add-in is loaded in an Outlook.com or Gmail mailbox.
1558
- *
1559
- * - 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").
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").
1560
1558
  *
1561
1559
  * - In Outlook on the web, if you use the
1562
1560
  * {@link https://learn.microsoft.com/javascript/api/office/office.ui#office-office-ui-displaydialogasync-member(1) | displayDialogAsync}
@@ -12358,13 +12356,10 @@ declare namespace Office {
12358
12356
  *
12359
12357
  * **Important**:
12360
12358
  *
12361
- * - After the content is prepended, the position of the cursor depends on which client the add-in is running.
12362
- *
12363
- * - **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
12364
- * 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.
12365
- *
12366
- * - **Mac**: The cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects something in the
12367
- * 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.
12368
12363
  *
12369
12364
  * - When working with HTML-formatted bodies, it's important to note that the client may modify the value passed to `prependAsync` to
12370
12365
  * make it render efficiently with its rendering engine. This means that the value returned from a subsequent call to the `Body.getAsync` method
@@ -12399,13 +12394,10 @@ declare namespace Office {
12399
12394
  *
12400
12395
  * **Important**:
12401
12396
  *
12402
- * - After the content is prepended, the position of the cursor depends on which client the add-in is running.
12403
- *
12404
- * - **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
12405
- * 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.
12406
- *
12407
- * - **Mac**: The cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects something in the
12408
- * 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.
12409
12401
  *
12410
12402
  * - When working with HTML-formatted bodies, it's important to note that the client may modify the value passed to `prependAsync` to
12411
12403
  * make it render efficiently with its rendering engine. This means that the value returned from a subsequent call to the `Body.getAsync` method
@@ -12516,14 +12508,10 @@ declare namespace Office {
12516
12508
  *
12517
12509
  * **Important**:
12518
12510
  *
12519
- * - After the body is replaced with the specified content, the position of the cursor depends on which client the add-in is running.
12520
- *
12521
- * - **Windows**: The cursor appears at the beginning of the body of the mail item.
12522
- *
12523
- * - **Mac**: The cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects something in the
12524
- * body of the mail item.
12525
- *
12526
- * - **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.
12527
12515
  *
12528
12516
  * - When working with HTML-formatted bodies, it's important to note that the value returned by the `Body.getAsync` method won't necessarily
12529
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
@@ -12562,14 +12550,10 @@ declare namespace Office {
12562
12550
  *
12563
12551
  * **Important**:
12564
12552
  *
12565
- * - After the body is replaced with the specified content, the position of the cursor depends on which client the add-in is running.
12566
- *
12567
- * - **Windows**: The cursor appears at the beginning of the body of the mail item.
12568
- *
12569
- * - **Mac**: The cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects something in the
12570
- * body of the mail item.
12571
- *
12572
- * - **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.
12573
12557
  *
12574
12558
  * - When working with HTML-formatted bodies, it's important to note that the value returned by the `Body.getAsync` method won't necessarily
12575
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.392",
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": "d1594d9b07c6dc9f5d7d3485f09c19a9482348312886cbc25db0997c0659239a",
48
+ "typesPublisherContentHash": "39ec9dbaa7d3bb8f53d2a7b82eca170aff987d65d1a53ab537a091a2ea821b0c",
49
49
  "typeScriptVersion": "4.3"
50
50
  }