@types/office-js-preview 1.0.294 → 1.0.295
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-preview/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-preview.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 15 Apr 2022 22:31:19 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js-preview/index.d.ts
CHANGED
|
@@ -653,6 +653,7 @@ declare namespace Office {
|
|
|
653
653
|
|
|
654
654
|
/**
|
|
655
655
|
* Represents a modal notification dialog that can appear when the user attempts to close a document. The document won't close until the user responds.
|
|
656
|
+
* This API is only supported in Excel.
|
|
656
657
|
*
|
|
657
658
|
* @remarks
|
|
658
659
|
* [Api set: SharedRuntime BETA (PREVIEW ONLY)]
|
|
@@ -663,6 +664,7 @@ declare namespace Office {
|
|
|
663
664
|
/**
|
|
664
665
|
* Represents a modal notification dialog that can appear when the user attempts to close a document. The document won't close until the user responds.
|
|
665
666
|
* The notification dialog will allow the user to confirm the request to close the document or cancel the request to close the document.
|
|
667
|
+
* This API is only supported in Excel.
|
|
666
668
|
*
|
|
667
669
|
* @remarks
|
|
668
670
|
* [Api set: SharedRuntime BETA (PREVIEW ONLY)]
|
|
@@ -672,6 +674,7 @@ declare namespace Office {
|
|
|
672
674
|
/**
|
|
673
675
|
* Enable a modal notification dialog that appears when the user attempts to close a document. The document won't close until the user responds.
|
|
674
676
|
* This notification dialog asks the user to confirm the request to close the document, or allows the user to cancel the request to close the document.
|
|
677
|
+
* The `BeforeDocumentCloseNotification` API is only supported in Excel.
|
|
675
678
|
*
|
|
676
679
|
* @remarks
|
|
677
680
|
* [Api set: SharedRuntime BETA (PREVIEW ONLY)]
|
|
@@ -681,6 +684,7 @@ declare namespace Office {
|
|
|
681
684
|
|
|
682
685
|
/**
|
|
683
686
|
* Prevents the notification dialog from appearing when the user attempts to close a document.
|
|
687
|
+
* The `BeforeDocumentCloseNotification` API is only supported in Excel.
|
|
684
688
|
*
|
|
685
689
|
* @remarks
|
|
686
690
|
* [Api set: SharedRuntime BETA (PREVIEW ONLY)]
|
|
@@ -693,6 +697,7 @@ declare namespace Office {
|
|
|
693
697
|
* This event handler will be triggered if one of the following conditions is met:
|
|
694
698
|
* 1. When the notification dialog is open, the end user clicks the **Don't close** button within the dialog, clicks the Close button in the upper right corner of the dialog, or presses the Esc key.
|
|
695
699
|
* 2. When the add-in calls the `enable` method on the `BeforeDocumentCloseNotification` object.
|
|
700
|
+
* The `BeforeDocumentCloseNotification` API is only supported in Excel.
|
|
696
701
|
* @param handler The event handler that is called when the dialog is cancelled.
|
|
697
702
|
* @returns A promise that resolves when the event handler is added.
|
|
698
703
|
*
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.295",
|
|
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": "
|
|
48
|
+
"typesPublisherContentHash": "91312426bd5f6b3898eb27abe8acfdf5905bfb70aa59d70aff54ae16c9c95baf",
|
|
49
49
|
"typeScriptVersion": "3.9"
|
|
50
50
|
}
|