@types/office-js-preview 1.0.448 → 1.0.450

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-preview (https://github.com
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, 30 Jan 2024 21:35:45 GMT
11
+ * Last updated: Tue, 06 Feb 2024 20:35:18 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -1493,7 +1493,8 @@ declare namespace Office {
1493
1493
  * **Important**:
1494
1494
  *
1495
1495
  * - This property is currently in preview in Outlook on Windows. To test it in your add-in, you must install Version 2401 (Build 17228.20000) or later.
1496
- * Then, join the {@link | Microsoft 365 Insider program} and select the **Beta Channel** option to access Office beta builds.
1496
+ * Then, join the {@link https://insider.microsoft365.com/join/windows | Microsoft 365 Insider program} and select the **Beta Channel** option to access
1497
+ * Office beta builds.
1497
1498
  *
1498
1499
  * - The URL returned points to the location of the JavaScript file that Outlook on Windows uses to handle event-based activation
1499
1500
  * and integrated spam reporting. To learn more about these features, see
@@ -1508,7 +1509,7 @@ declare namespace Office {
1508
1509
  *
1509
1510
  * @beta
1510
1511
  */
1511
- javaScriptRuntimeUrl: string;
1512
+ javascriptRuntimeUrl: string;
1512
1513
  }
1513
1514
  /**
1514
1515
  * Provides information about which Requirement Sets are supported in the current environment.
@@ -18362,14 +18363,14 @@ declare namespace Office {
18362
18363
  /**
18363
18364
  * The definition of the action for a notification message.
18364
18365
  *
18365
- * **Important**: In modern Outlook on the web, the `NotificationMessageAction` object is available in Compose mode only.
18366
- *
18367
18366
  * @remarks
18368
18367
  * [Api set: Mailbox 1.10]
18369
18368
  *
18370
18369
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
18371
18370
  *
18372
18371
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
18372
+ *
18373
+ * **Important**: In modern Outlook on the web, the `NotificationMessageAction` object is available in Compose mode only.
18373
18374
  */
18374
18375
  interface NotificationMessageAction {
18375
18376
  /**
@@ -18386,8 +18387,17 @@ declare namespace Office {
18386
18387
  */
18387
18388
  commandId: string;
18388
18389
  /**
18389
- * Any JSON data the action button needs to pass on.
18390
- * This data can be retrieved by calling `item.getInitializationContextAsync`.
18390
+ * Any JSON data the action button needs to pass on to the add-in.
18391
+ *
18392
+ * @remarks
18393
+ *
18394
+ * **Important**:
18395
+ *
18396
+ * - In Outlook on Windows, the `any` type is supported starting in Version 2402 (Build 17308.20000). In earlier versions of Outlook on Windows, only the `string`
18397
+ * type is supported.
18398
+ *
18399
+ * - To retrieve the JSON data, call `Office.context.mailboxitem.getInitializationContextAsync`. If you create a JSON string using
18400
+ * `JSON.stringify()` and assign it to the `contextData` property, you must parse the string using `JSON.parse()` once you retrieve it.
18391
18401
  */
18392
18402
  contextData: any;
18393
18403
  }
@@ -20354,11 +20364,15 @@ declare namespace Office {
20354
20364
  *
20355
20365
  * **Important**:
20356
20366
  *
20367
+ * - In Outlook on Windows, the `any` type is supported starting in Version 2402 (Build 17308.20000). In earlier versions of Outlook on Windows, only the `string`
20368
+ * type is supported.
20369
+ *
20357
20370
  * - If you specify the `contextData` option in your `event.completed` call, you must also assign a task pane ID to the `commandId` option.
20358
20371
  * Otherwise, the JSON data assigned to `contextData` is ignored.
20359
20372
  *
20360
20373
  * - To retrieve the value of the `contextData` property, you must call `Office.context.mailbox.item.getInitializationContextAsync` in the JavaScript implementation
20361
- * of your task pane.
20374
+ * of your task pane. If you create a JSON string using `JSON.stringify()` and assign it to the `contextData` property, you must parse the string using
20375
+ * `JSON.parse()` once you retrieve it.
20362
20376
  *
20363
20377
  * @beta
20364
20378
  */
@@ -30724,7 +30738,7 @@ declare namespace Excel {
30724
30738
  */
30725
30739
  lowerBound?: string;
30726
30740
  /**
30727
- * The substring used for `beginsWith`, `endsWith`, and `contains` filter conditions.
30741
+ * The substring used for the `beginsWith`, `endsWith`, and `contains` filter conditions.
30728
30742
  *
30729
30743
  * @remarks
30730
30744
  * [Api set: ExcelApi 1.12]
@@ -35845,7 +35859,7 @@ declare namespace Excel {
35845
35859
  * @param skipBlanks True if to skip blank cells in the source range. Default is false.
35846
35860
  * @param transpose True if to transpose the cells in the destination range. Default is false.
35847
35861
  */
35848
- copyFrom(sourceRange: Range | RangeAreas | string, copyType?: "All" | "Formulas" | "Values" | "Formats" | "Link", skipBlanks?: boolean, transpose?: boolean): void;
35862
+ copyFrom(sourceRange: Range | RangeAreas | string, copyType?: "All" | "Formulas" | "Values" | "Formats" | "Link" | "ColumnWidths", skipBlanks?: boolean, transpose?: boolean): void;
35849
35863
  /**
35850
35864
  * Deletes the cells associated with the range.
35851
35865
  *
@@ -36748,7 +36762,7 @@ declare namespace Excel {
36748
36762
  * @param skipBlanks True if to skip blank cells in the source range or `RangeAreas`. Default is false.
36749
36763
  * @param transpose True if to transpose the cells in the destination `RangeAreas`. Default is false.
36750
36764
  */
36751
- copyFrom(sourceRange: Range | RangeAreas | string, copyType?: "All" | "Formulas" | "Values" | "Formats" | "Link", skipBlanks?: boolean, transpose?: boolean): void;
36765
+ copyFrom(sourceRange: Range | RangeAreas | string, copyType?: "All" | "Formulas" | "Values" | "Formats" | "Link" | "ColumnWidths", skipBlanks?: boolean, transpose?: boolean): void;
36752
36766
  /**
36753
36767
  * Returns a `RangeAreas` object that represents the entire columns of the `RangeAreas` (for example, if the current `RangeAreas` represents cells "B4:E11, H2", it returns a `RangeAreas` that represents columns "B:E, H:H").
36754
36768
  *
@@ -58355,6 +58369,8 @@ declare namespace Excel {
58355
58369
  textAsNumber = "TextAsNumber"
58356
58370
  }
58357
58371
  /**
58372
+ * Represents the ordering method to be used when sorting Chinese characters.
58373
+ *
58358
58374
  * @remarks
58359
58375
  * [Api set: ExcelApi 1.2]
58360
58376
  */
@@ -58842,6 +58858,13 @@ declare namespace Excel {
58842
58858
  * @beta
58843
58859
  */
58844
58860
  worksheetRowHeightChanged = "WorksheetRowHeightChanged",
58861
+ /**
58862
+ * WorkbookFormulaReferenceStyleChanged represents the type of event registered when the formula reference style has changed on a workbook.
58863
+ * @remarks
58864
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
58865
+ * @beta
58866
+ */
58867
+ workbookFormulaReferenceStyleChanged = "WorkbookFormulaReferenceStyleChanged",
58845
58868
  /**
58846
58869
  * RangeValuesPreviewDismissed represents the type of event registered when a RangeValuePreview is dismissed.
58847
58870
  * @remarks
@@ -59810,11 +59833,16 @@ declare namespace Excel {
59810
59833
  * [Api set: ExcelApi 1.9]
59811
59834
  */
59812
59835
  formats = "Formats",
59836
+ /**
59837
+ * @remarks
59838
+ * [Api set: ExcelApiOnline 1.1]
59839
+ */
59840
+ link = "Link",
59813
59841
  /**
59814
59842
  * @remarks
59815
59843
  * [Api set: ExcelApi BETA (PREVIEW ONLY)]
59816
59844
  */
59817
- link = "Link"
59845
+ columnWidths = "ColumnWidths"
59818
59846
  }
59819
59847
  /**
59820
59848
  * @remarks
@@ -61587,7 +61615,7 @@ declare namespace Excel {
61587
61615
  /**
61588
61616
  * Creates and activates a new temporary sheet view.
61589
61617
  Temporary views are removed when closing the application, exiting the temporary view with the exit method, or switching to another sheet view.
61590
- The temporary sheet view can also be acccessed with the empty string (""), if the temporary view exists.
61618
+ The temporary sheet view can also be accessed with the empty string (""), if the temporary view exists.
61591
61619
  *
61592
61620
  * @remarks
61593
61621
  * [Api set: ExcelApiOnline 1.1]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.448",
3
+ "version": "1.0.450",
4
4
  "description": "TypeScript definitions for office-js-preview",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "c2879b8d0d948ee2a9186abc8a19259e3f73210d471fecec4e1782adad238052",
48
+ "typesPublisherContentHash": "2bdb3cdfc8687f9b2439d3d639ebcf7bad69c4bdd63a16b4059ebb9482ea4d8b",
49
49
  "typeScriptVersion": "4.6",
50
50
  "nonNpm": true
51
51
  }