@types/office-js 1.0.330 → 1.0.331
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.
- office-js/README.md +1 -1
- office-js/index.d.ts +18 -34
- office-js/package.json +2 -2
office-js/README.md
CHANGED
|
@@ -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.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 19 Jun 2023 15:02:35 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js/index.d.ts
CHANGED
|
@@ -1546,11 +1546,9 @@ declare namespace Office {
|
|
|
1546
1546
|
*
|
|
1547
1547
|
* **Important**:
|
|
1548
1548
|
*
|
|
1549
|
-
* - In Outlook, this API isn't supported in
|
|
1549
|
+
* - In Outlook, this API isn't supported if you load an add-in in an Outlook.com or Gmail mailbox.
|
|
1550
1550
|
*
|
|
1551
|
-
*
|
|
1552
|
-
*
|
|
1553
|
-
* - 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").
|
|
1551
|
+
* - 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").
|
|
1554
1552
|
*
|
|
1555
1553
|
* - In Outlook on the web, if you use the
|
|
1556
1554
|
* {@link https://learn.microsoft.com/javascript/api/office/office.ui#office-office-ui-displaydialogasync-member(1) | displayDialogAsync}
|
|
@@ -12229,13 +12227,10 @@ declare namespace Office {
|
|
|
12229
12227
|
*
|
|
12230
12228
|
* **Important**:
|
|
12231
12229
|
*
|
|
12232
|
-
* - After the content is prepended, the position of the cursor depends on which client the add-in is running.
|
|
12233
|
-
*
|
|
12234
|
-
*
|
|
12235
|
-
*
|
|
12236
|
-
*
|
|
12237
|
-
* - **Mac**: The cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects something in the
|
|
12238
|
-
* body of the mail item.
|
|
12230
|
+
* - 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
|
|
12231
|
+
* 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
|
|
12232
|
+
* `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
|
|
12233
|
+
* 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.
|
|
12239
12234
|
*
|
|
12240
12235
|
* - When working with HTML-formatted bodies, it's important to note that the client may modify the value passed to `prependAsync` to
|
|
12241
12236
|
* make it render efficiently with its rendering engine. This means that the value returned from a subsequent call to the `Body.getAsync` method
|
|
@@ -12270,13 +12265,10 @@ declare namespace Office {
|
|
|
12270
12265
|
*
|
|
12271
12266
|
* **Important**:
|
|
12272
12267
|
*
|
|
12273
|
-
* - After the content is prepended, the position of the cursor depends on which client the add-in is running.
|
|
12274
|
-
*
|
|
12275
|
-
*
|
|
12276
|
-
*
|
|
12277
|
-
*
|
|
12278
|
-
* - **Mac**: The cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects something in the
|
|
12279
|
-
* body of the mail item.
|
|
12268
|
+
* - 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
|
|
12269
|
+
* 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
|
|
12270
|
+
* `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
|
|
12271
|
+
* 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.
|
|
12280
12272
|
*
|
|
12281
12273
|
* - When working with HTML-formatted bodies, it's important to note that the client may modify the value passed to `prependAsync` to
|
|
12282
12274
|
* make it render efficiently with its rendering engine. This means that the value returned from a subsequent call to the `Body.getAsync` method
|
|
@@ -12387,14 +12379,10 @@ declare namespace Office {
|
|
|
12387
12379
|
*
|
|
12388
12380
|
* **Important**:
|
|
12389
12381
|
*
|
|
12390
|
-
* - After the body is replaced with the specified content, the position of the cursor depends on which client the add-in is running.
|
|
12391
|
-
*
|
|
12392
|
-
*
|
|
12393
|
-
*
|
|
12394
|
-
* - **Mac**: The cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects something in the
|
|
12395
|
-
* body of the mail item.
|
|
12396
|
-
*
|
|
12397
|
-
* - **Web**: The cursor appears at the end of the body of the mail item.
|
|
12382
|
+
* - 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,
|
|
12383
|
+
* 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.
|
|
12384
|
+
* In Outlook on Mac, the cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects
|
|
12385
|
+
* something in the body of the mail item.
|
|
12398
12386
|
*
|
|
12399
12387
|
* - When working with HTML-formatted bodies, it's important to note that the value returned by the `Body.getAsync` method won't necessarily
|
|
12400
12388
|
* 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
|
|
@@ -12433,14 +12421,10 @@ declare namespace Office {
|
|
|
12433
12421
|
*
|
|
12434
12422
|
* **Important**:
|
|
12435
12423
|
*
|
|
12436
|
-
* - After the body is replaced with the specified content, the position of the cursor depends on which client the add-in is running.
|
|
12437
|
-
*
|
|
12438
|
-
*
|
|
12439
|
-
*
|
|
12440
|
-
* - **Mac**: The cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects something in the
|
|
12441
|
-
* body of the mail item.
|
|
12442
|
-
*
|
|
12443
|
-
* - **Web**: The cursor appears at the end of the body of the mail item.
|
|
12424
|
+
* - 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,
|
|
12425
|
+
* 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.
|
|
12426
|
+
* In Outlook on Mac, the cursor position isn't preserved. The cursor disappears after the `prependAsync` call and only reappears when the user selects
|
|
12427
|
+
* something in the body of the mail item.
|
|
12444
12428
|
*
|
|
12445
12429
|
* - When working with HTML-formatted bodies, it's important to note that the value returned by the `Body.getAsync` method won't necessarily
|
|
12446
12430
|
* 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
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.331",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "5666ed95bccc0a1b1d122dc4303e86ab515d310ef55a6daba6d9362a2551d8cc",
|
|
49
49
|
"typeScriptVersion": "4.3"
|
|
50
50
|
}
|