@types/office-js 1.0.373 → 1.0.374
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 +15 -36
- 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: Tue, 13 Feb 2024 22:07:06 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -943,11 +943,11 @@ declare namespace Office {
|
|
|
943
943
|
*/
|
|
944
944
|
officeTheme: OfficeTheme;
|
|
945
945
|
/**
|
|
946
|
-
* Gets a partition key for local storage. Add-ins should use this key as the
|
|
946
|
+
* Gets a partition key for local storage. Add-ins should use this partition key as part of the storage key to securely store data. The partition key is `undefined` in environments without partitioning, such as the browser controls for Windows applications.
|
|
947
947
|
*
|
|
948
948
|
* @remarks
|
|
949
949
|
*
|
|
950
|
-
*
|
|
950
|
+
* See the article {@link https://learn.microsoft.com/office/dev/add-ins/develop/persisting-add-in-state-and-settings | Persist add-in state and settings} for more information.
|
|
951
951
|
*/
|
|
952
952
|
partitionKey: string;
|
|
953
953
|
/**
|
|
@@ -2308,18 +2308,10 @@ declare namespace Office {
|
|
|
2308
2308
|
*
|
|
2309
2309
|
* Only task pane add-ins for Outlook support Mailbox API set event types.
|
|
2310
2310
|
*
|
|
2311
|
-
* @remarks
|
|
2312
|
-
*
|
|
2313
|
-
* **`BindingDataChanged` and `BindingSelectionChanged` applications**: Excel, Word.
|
|
2314
|
-
*
|
|
2315
2311
|
*/
|
|
2316
2312
|
enum EventType {
|
|
2317
2313
|
/**
|
|
2318
|
-
* A Document.ActiveViewChanged event was raised in PowerPoint.
|
|
2319
|
-
*
|
|
2320
|
-
* @remarks
|
|
2321
|
-
*
|
|
2322
|
-
* **Applications**: PowerPoint
|
|
2314
|
+
* A `Document.ActiveViewChanged` event was raised in PowerPoint.
|
|
2323
2315
|
*/
|
|
2324
2316
|
ActiveViewChanged,
|
|
2325
2317
|
/**
|
|
@@ -2344,22 +2336,17 @@ declare namespace Office {
|
|
|
2344
2336
|
*/
|
|
2345
2337
|
AttachmentsChanged,
|
|
2346
2338
|
/**
|
|
2347
|
-
* Occurs when data within the binding is changed.
|
|
2348
|
-
*
|
|
2339
|
+
* Occurs when data within the binding is changed in Excel or Word.
|
|
2340
|
+
*
|
|
2341
|
+
* To add an event handler for the `BindingDataChanged` event of a binding, use the `addHandlerAsync` method of the Binding object.
|
|
2349
2342
|
* The event handler receives an argument of type {@link Office.BindingDataChangedEventArgs}.
|
|
2350
|
-
*
|
|
2351
|
-
* @remarks
|
|
2352
|
-
*
|
|
2353
|
-
* **Applications**: Excel, Word
|
|
2354
2343
|
*/
|
|
2355
2344
|
BindingDataChanged,
|
|
2356
2345
|
/**
|
|
2357
|
-
* Occurs when the selection is changed within the binding
|
|
2358
|
-
*
|
|
2359
|
-
*
|
|
2360
|
-
* @
|
|
2361
|
-
*
|
|
2362
|
-
* **Applications**: Excel, Word
|
|
2346
|
+
* Occurs when the selection is changed within the binding in Excel or Word.
|
|
2347
|
+
*
|
|
2348
|
+
* To add an event handler for the `BindingSelectionChanged` event of a binding, use
|
|
2349
|
+
* the `addHandlerAsync` method of the Binding object. The event handler receives an argument of type {@link Office.BindingSelectionChangedEventArgs}.
|
|
2363
2350
|
*/
|
|
2364
2351
|
BindingSelectionChanged,
|
|
2365
2352
|
/**
|
|
@@ -2375,11 +2362,7 @@ declare namespace Office {
|
|
|
2375
2362
|
*/
|
|
2376
2363
|
DialogParentMessageReceived,
|
|
2377
2364
|
/**
|
|
2378
|
-
* Triggers when a document-level selection happens.
|
|
2379
|
-
*
|
|
2380
|
-
* @remarks
|
|
2381
|
-
*
|
|
2382
|
-
* **Applications**: Excel, Word
|
|
2365
|
+
* Triggers when a document-level selection happens in Excel or Word.
|
|
2383
2366
|
*/
|
|
2384
2367
|
DocumentSelectionChanged,
|
|
2385
2368
|
/**
|
|
@@ -2416,15 +2399,15 @@ declare namespace Office {
|
|
|
2416
2399
|
*/
|
|
2417
2400
|
ItemChanged,
|
|
2418
2401
|
/**
|
|
2419
|
-
* Triggers when a customXmlPart node is deleted.
|
|
2402
|
+
* Triggers when a `customXmlPart` node is deleted.
|
|
2420
2403
|
*/
|
|
2421
2404
|
NodeDeleted,
|
|
2422
2405
|
/**
|
|
2423
|
-
* Triggers when a customXmlPart node is inserted.
|
|
2406
|
+
* Triggers when a `customXmlPart` node is inserted.
|
|
2424
2407
|
*/
|
|
2425
2408
|
NodeInserted,
|
|
2426
2409
|
/**
|
|
2427
|
-
* Triggers when a customXmlPart node is replaced.
|
|
2410
|
+
* Triggers when a `customXmlPart` node is replaced.
|
|
2428
2411
|
*/
|
|
2429
2412
|
NodeReplaced,
|
|
2430
2413
|
/**
|
|
@@ -2474,11 +2457,7 @@ declare namespace Office {
|
|
|
2474
2457
|
*/
|
|
2475
2458
|
SensitivityLabelChanged,
|
|
2476
2459
|
/**
|
|
2477
|
-
* A Settings.settingsChanged event was raised.
|
|
2478
|
-
*
|
|
2479
|
-
* @remarks
|
|
2480
|
-
*
|
|
2481
|
-
* **Applications**: Excel, PowerPoint, Word
|
|
2460
|
+
* A `Settings.settingsChanged` event was raised in Excel, PowerPoint, or Word.
|
|
2482
2461
|
*/
|
|
2483
2462
|
SettingsChanged,
|
|
2484
2463
|
/**
|
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.374",
|
|
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": "c655b0e6bb4de4d245cddb4ffbd97aae000c8ab7d8856a31e030a6f5f47e1a19",
|
|
49
49
|
"typeScriptVersion": "4.6"
|
|
50
50
|
}
|