@types/office-js-preview 1.0.476 → 1.0.477

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: Fri, 07 Jun 2024 00:25:08 GMT
11
+ * Last updated: Mon, 10 Jun 2024 15:07:29 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -89978,40 +89978,35 @@ declare namespace Word {
89978
89978
  * Properties defining the behavior of the pop-up menu for a given critique.
89979
89979
  *
89980
89980
  * @remarks
89981
- * [Api set: WordApi BETA (PREVIEW ONLY)]
89982
- * @beta
89981
+ * [Api set: WordApi 1.8]
89983
89982
  */
89984
89983
  interface CritiquePopupOptions {
89985
89984
  /**
89986
89985
  * Gets the manifest resource ID of the string to use for branding. This branding text appears next to your add-in icon in the pop-up menu.
89987
89986
  *
89988
89987
  * @remarks
89989
- * [Api set: WordApi BETA (PREVIEW ONLY)]
89990
- * @beta
89988
+ * [Api set: WordApi 1.8]
89991
89989
  */
89992
89990
  brandingTextResourceId: string;
89993
89991
  /**
89994
89992
  * Gets the manifest resource ID of the string to use as the subtitle.
89995
89993
  *
89996
89994
  * @remarks
89997
- * [Api set: WordApi BETA (PREVIEW ONLY)]
89998
- * @beta
89995
+ * [Api set: WordApi 1.8]
89999
89996
  */
90000
89997
  subtitleResourceId: string;
90001
89998
  /**
90002
89999
  * Gets the suggestions to display in the critique pop-up menu.
90003
90000
  *
90004
90001
  * @remarks
90005
- * [Api set: WordApi BETA (PREVIEW ONLY)]
90006
- * @beta
90002
+ * [Api set: WordApi 1.8]
90007
90003
  */
90008
90004
  suggestions: string[];
90009
90005
  /**
90010
90006
  * Gets the manifest resource ID of the string to use as the title.
90011
90007
  *
90012
90008
  * @remarks
90013
- * [Api set: WordApi BETA (PREVIEW ONLY)]
90014
- * @beta
90009
+ * [Api set: WordApi 1.8]
90015
90010
  */
90016
90011
  titleResourceId: string;
90017
90012
  }
@@ -90040,8 +90035,7 @@ declare namespace Word {
90040
90035
  * Specifies the behavior of the pop-up menu for the critique.
90041
90036
  *
90042
90037
  * @remarks
90043
- * [Api set: WordApi BETA (PREVIEW ONLY)]
90044
- * @beta
90038
+ * [Api set: WordApi 1.8]
90045
90039
  */
90046
90040
  popupOptions: Word.CritiquePopupOptions;
90047
90041
  /**
@@ -90301,32 +90295,28 @@ declare namespace Word {
90301
90295
  * Represents action information that's passed back on annotation pop-up action event.
90302
90296
  *
90303
90297
  * @remarks
90304
- * [Api set: WordApi BETA (PREVIEW ONLY)]
90305
- * @beta
90298
+ * [Api set: WordApi 1.8]
90306
90299
  */
90307
90300
  interface AnnotationPopupActionEventArgs {
90308
90301
  /**
90309
90302
  * Specifies the chosen action in the pop-up menu.
90310
90303
  *
90311
90304
  * @remarks
90312
- * [Api set: WordApi BETA (PREVIEW ONLY)]
90313
- * @beta
90305
+ * [Api set: WordApi 1.8]
90314
90306
  */
90315
90307
  action: string;
90316
90308
  /**
90317
90309
  * Specifies the accepted suggestion (only populated when accepting a critique suggestion).
90318
90310
  *
90319
90311
  * @remarks
90320
- * [Api set: WordApi BETA (PREVIEW ONLY)]
90321
- * @beta
90312
+ * [Api set: WordApi 1.8]
90322
90313
  */
90323
90314
  critiqueSuggestion: string;
90324
90315
  /**
90325
90316
  * Specifies the annotation ID for which the event was fired.
90326
90317
  *
90327
90318
  * @remarks
90328
- * [Api set: WordApi BETA (PREVIEW ONLY)]
90329
- * @beta
90319
+ * [Api set: WordApi 1.8]
90330
90320
  */
90331
90321
  id: string;
90332
90322
  }
@@ -90688,10 +90678,11 @@ declare namespace Word {
90688
90678
  * [Api set: WordApi 1.1]
90689
90679
  *
90690
90680
  * Note: The `contentControlType` parameter was introduced in WordApi 1.5. `PlainText` support was added in WordApi 1.5. `CheckBox` support was added in WordApi 1.7.
90681
+ * `DropDownList` support is currently in preview.
90691
90682
  *
90692
- * @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', or 'CheckBox'. The default is 'RichText'.
90683
+ * @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', or 'DropDownList'. The default is 'RichText'.
90693
90684
  */
90694
- insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | "RichText" | "PlainText" | "CheckBox"): Word.ContentControl;
90685
+ insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | Word.ContentControlType.dropDownList | "RichText" | "PlainText" | "CheckBox" | "DropDownList"): Word.ContentControl;
90695
90686
  /**
90696
90687
  * Inserts a document into the body at the specified location.
90697
90688
  *
@@ -93473,10 +93464,9 @@ declare namespace Word {
93473
93464
  * Occurs when the user performs an action in an annotation pop-up menu.
93474
93465
  *
93475
93466
  * @remarks
93476
- * [Api set: WordApi BETA (PREVIEW ONLY)]
93467
+ * [Api set: WordApi 1.8]
93477
93468
  *
93478
93469
  * @eventproperty
93479
- * @beta
93480
93470
  */
93481
93471
  readonly onAnnotationPopupAction: OfficeExtension.EventHandlers<Word.AnnotationPopupActionEventArgs>;
93482
93472
  /**
@@ -96017,10 +96007,11 @@ declare namespace Word {
96017
96007
  * [Api set: WordApi 1.1]
96018
96008
  *
96019
96009
  * Note: The `contentControlType` parameter was introduced in WordApi 1.5. `PlainText` support was added in WordApi 1.5. `CheckBox` support was added in WordApi 1.7.
96010
+ * `DropDownList` support is currently in preview.
96020
96011
  *
96021
- * @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', or 'CheckBox'. The default is 'RichText'.
96012
+ * @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', or 'DropDownList'. The default is 'RichText'.
96022
96013
  */
96023
- insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | "RichText" | "PlainText" | "CheckBox"): Word.ContentControl;
96014
+ insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | Word.ContentControlType.dropDownList | "RichText" | "PlainText" | "CheckBox" | "DropDownList"): Word.ContentControl;
96024
96015
  /**
96025
96016
  * Inserts a document into the paragraph at the specified location.
96026
96017
  *
@@ -96783,8 +96774,7 @@ declare namespace Word {
96783
96774
  To highlight the text permanently, set the range's Font.HighlightColor.
96784
96775
  *
96785
96776
  * @remarks
96786
- * [Api set: WordApi BETA (PREVIEW ONLY)]
96787
- * @beta
96777
+ * [Api set: WordApi 1.8]
96788
96778
  */
96789
96779
  highlight(): void;
96790
96780
  /**
@@ -96825,10 +96815,11 @@ declare namespace Word {
96825
96815
  * [Api set: WordApi 1.1]
96826
96816
  *
96827
96817
  * Note: The `contentControlType` parameter was introduced in WordApi 1.5. `PlainText` support was added in WordApi 1.5. `CheckBox` support was added in WordApi 1.7.
96818
+ * `DropDownList` support is currently in preview.
96828
96819
  *
96829
- * @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', or 'CheckBox'. The default is 'RichText'.
96820
+ * @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', or 'DropDownList'. The default is 'RichText'.
96830
96821
  */
96831
- insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | "RichText" | "PlainText" | "CheckBox"): Word.ContentControl;
96822
+ insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | Word.ContentControlType.dropDownList | "RichText" | "PlainText" | "CheckBox" | "DropDownList"): Word.ContentControl;
96832
96823
  /**
96833
96824
  * Inserts an endnote. The endnote reference is placed after the range.
96834
96825
  *
@@ -96995,8 +96986,7 @@ declare namespace Word {
96995
96986
  * Removes the highlight added by the Highlight function if any.
96996
96987
  *
96997
96988
  * @remarks
96998
- * [Api set: WordApi BETA (PREVIEW ONLY)]
96999
- * @beta
96989
+ * [Api set: WordApi 1.8]
97000
96990
  */
97001
96991
  removeHighlight(): void;
97002
96992
  /**
@@ -99944,8 +99934,7 @@ declare namespace Word {
99944
99934
  /**
99945
99935
  * Represents an action in the annotation pop-up.
99946
99936
  * @remarks
99947
- * [Api set: WordApi BETA (PREVIEW ONLY)]
99948
- * @beta
99937
+ * [Api set: WordApi 1.8]
99949
99938
  */
99950
99939
  annotationPopupAction = "AnnotationPopupAction",
99951
99940
  }
@@ -99967,47 +99956,6 @@ declare namespace Word {
99967
99956
  */
99968
99957
  remote = "Remote",
99969
99958
  }
99970
- /**
99971
- * Provides information about the content control that raised an event.
99972
- *
99973
- * @remarks
99974
- * [Api set: WordApi BETA (PREVIEW ONLY)]
99975
- * @beta
99976
- */
99977
- interface ContentControlEventArgs {
99978
- /**
99979
- * The object that raised the event. Load this object to get its properties.
99980
- *
99981
- * @remarks
99982
- * [Api set: WordApi BETA (PREVIEW ONLY)]
99983
- * @beta
99984
- */
99985
- contentControl: Word.ContentControl;
99986
- /**
99987
- * The event type. See Word.EventType for details.
99988
- *
99989
- * @remarks
99990
- * [Api set: WordApi BETA (PREVIEW ONLY)]
99991
- * @beta
99992
- */
99993
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
99994
- /**
99995
- * Gets the content control IDs.
99996
- *
99997
- * @remarks
99998
- * [Api set: WordApi BETA (PREVIEW ONLY)]
99999
- * @beta
100000
- */
100001
- ids: number[];
100002
- /**
100003
- * The source of the event. It can be local or remote (through coauthoring).
100004
- *
100005
- * @remarks
100006
- * [Api set: WordApi BETA (PREVIEW ONLY)]
100007
- * @beta
100008
- */
100009
- source: Word.EventSource | "Local" | "Remote";
100010
- }
100011
99959
  /**
100012
99960
  * Provides information about the content control that raised contentControlAdded event.
100013
99961
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.476",
3
+ "version": "1.0.477",
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": "ced4e49bf900a0f2bf0b7060f3890add325755da221296fc6453a798c34cd04c",
48
+ "typesPublisherContentHash": "701b1495adaafdb8da7ffd9d600dd594ea8999dacb9ec27580935889caf20f1d",
49
49
  "typeScriptVersion": "4.7",
50
50
  "nonNpm": true
51
51
  }