@types/office-js 1.0.485 → 1.0.487
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 +14 -8
- office-js/package.json +3 -3
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: Tue, 01 Apr 2025 18:39:20 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -641,14 +641,20 @@ declare namespace Office {
|
|
|
641
641
|
/**
|
|
642
642
|
* Occurs in Outlook when an action is selected on a notification message with a defined
|
|
643
643
|
* {@link https://learn.microsoft.com/javascript/api/outlook/office.notificationmessagedetails#actions | custom action}.
|
|
644
|
-
* Currently,
|
|
645
|
-
*
|
|
646
|
-
* **Important**: This event can only be handled in a task pane. Function commands can't register a handler for this event.
|
|
644
|
+
* Currently, **Dismiss** is the only supported action that fires this event.
|
|
647
645
|
*
|
|
648
646
|
* To add an event handler for the `InfobarClicked` event, use the `addHandlerAsync` method of the `Item` object.
|
|
649
647
|
* The event handler receives an argument of type
|
|
650
648
|
* {@link https://learn.microsoft.com/javascript/api/outlook/office.infobarclickedeventargs?view=outlook-js-1.10 | Office.InfobarClickedEventArgs}.
|
|
651
649
|
*
|
|
650
|
+
* **Important**:
|
|
651
|
+
*
|
|
652
|
+
* - This event can only be handled in a task pane. Function commands can't register a handler for this event.
|
|
653
|
+
*
|
|
654
|
+
* - Although Outlook on Mac supports the `InsightMessage` notification type, it currently doesn't support the `InfobarClicked` event.
|
|
655
|
+
* To determine when the **Dismiss** action is selected from the notification, implement a handler for the `OnInfoBarDismissClicked` event instead.
|
|
656
|
+
* For more information, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch#supported-events | Configure your Outlook add-in for event-based activation}.
|
|
657
|
+
*
|
|
652
658
|
* [Api set: Mailbox 1.10]
|
|
653
659
|
*/
|
|
654
660
|
InfobarClicked,
|
|
@@ -92625,8 +92631,8 @@ declare namespace Word {
|
|
|
92625
92631
|
*
|
|
92626
92632
|
* Important: To learn more about which fields can be inserted, see the `Word.Range.insertField` API introduced in requirement set 1.5.
|
|
92627
92633
|
* Support for managing fields is similar to what's available in the Word UI.
|
|
92628
|
-
* However,
|
|
92629
|
-
*
|
|
92634
|
+
* However, the Word UI on the web primarily only supports fields as read-only (see {@link https://support.microsoft.com/office/d8f46094-13c3-4966-98c3-259748f3caf1 | Field codes in Word for the web}).
|
|
92635
|
+
* To learn more about Word UI clients that more fully support fields,
|
|
92630
92636
|
* see the product list at the beginning of {@link https://support.microsoft.com/office/c429bbb0-8669-48a7-bd24-bab6ba6b06bb | Insert, edit, and view fields in Word}.
|
|
92631
92637
|
*/
|
|
92632
92638
|
class Field extends OfficeExtension.ClientObject {
|
|
@@ -92827,10 +92833,10 @@ declare namespace Word {
|
|
|
92827
92833
|
* @remarks
|
|
92828
92834
|
* [Api set: WordApi 1.4]
|
|
92829
92835
|
*
|
|
92830
|
-
* Important: To learn more about which fields can be inserted, see the `Word.Range.insertField API
|
|
92836
|
+
* Important: To learn more about which fields can be inserted, see the `Word.Range.insertField` API introduced in requirement set 1.5.
|
|
92831
92837
|
* Support for managing fields is similar to what's available in the Word UI.
|
|
92832
|
-
* However,
|
|
92833
|
-
*
|
|
92838
|
+
* However, the Word UI on the web primarily only supports fields as read-only (see {@link https://support.microsoft.com/office/d8f46094-13c3-4966-98c3-259748f3caf1 | Field codes in Word for the web}).
|
|
92839
|
+
* To learn more about Word UI clients that more fully support fields,
|
|
92834
92840
|
* see the product list at the beginning of {@link https://support.microsoft.com/office/c429bbb0-8669-48a7-bd24-bab6ba6b06bb | Insert, edit, and view fields in Word}.
|
|
92835
92841
|
*/
|
|
92836
92842
|
class FieldCollection extends OfficeExtension.ClientObject {
|
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.487",
|
|
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",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
50
|
-
"typeScriptVersion": "5.
|
|
49
|
+
"typesPublisherContentHash": "24f3ecc1bfac4591486e788bb5c5f4ed9a9344d0013e671c9c24eb84385cf12c",
|
|
50
|
+
"typeScriptVersion": "5.1"
|
|
51
51
|
}
|