@types/office-js 1.0.520 → 1.0.521
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 +18 -13
- 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: Mon,
|
|
11
|
+
* Last updated: Mon, 04 Aug 2025 23:02:18 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -92459,14 +92459,14 @@ declare namespace Word {
|
|
|
92459
92459
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
92460
92460
|
context: RequestContext;
|
|
92461
92461
|
/**
|
|
92462
|
-
* Gets the data of the content control when its type is
|
|
92462
|
+
* Gets the data of the content control when its type is `CheckBox`. It's `null` otherwise.
|
|
92463
92463
|
*
|
|
92464
92464
|
* @remarks
|
|
92465
92465
|
* [Api set: WordApi 1.7]
|
|
92466
92466
|
*/
|
|
92467
92467
|
readonly checkboxContentControl: Word.CheckboxContentControl;
|
|
92468
92468
|
/**
|
|
92469
|
-
* Gets the data of the content control when its type is
|
|
92469
|
+
* Gets the data of the content control when its type is `ComboBox`. It's `null` otherwise.
|
|
92470
92470
|
*
|
|
92471
92471
|
* @remarks
|
|
92472
92472
|
* [Api set: WordApi 1.9]
|
|
@@ -92480,7 +92480,7 @@ declare namespace Word {
|
|
|
92480
92480
|
*/
|
|
92481
92481
|
readonly contentControls: Word.ContentControlCollection;
|
|
92482
92482
|
/**
|
|
92483
|
-
* Gets the data of the content control when its type is
|
|
92483
|
+
* Gets the data of the content control when its type is `DropDownList`. It's `null` otherwise.
|
|
92484
92484
|
*
|
|
92485
92485
|
* @remarks
|
|
92486
92486
|
* [Api set: WordApi 1.9]
|
|
@@ -92662,7 +92662,7 @@ declare namespace Word {
|
|
|
92662
92662
|
* @remarks
|
|
92663
92663
|
* [Api set: WordApi 1.3]
|
|
92664
92664
|
*/
|
|
92665
|
-
readonly subtype: Word.ContentControlType | "Unknown" | "RichTextInline" | "RichTextParagraphs" | "RichTextTableCell" | "RichTextTableRow" | "RichTextTable" | "PlainTextInline" | "PlainTextParagraph" | "Picture" | "BuildingBlockGallery" | "CheckBox" | "ComboBox" | "DropDownList" | "DatePicker" | "RepeatingSection" | "RichText" | "PlainText";
|
|
92665
|
+
readonly subtype: Word.ContentControlType | "Unknown" | "RichTextInline" | "RichTextParagraphs" | "RichTextTableCell" | "RichTextTableRow" | "RichTextTable" | "PlainTextInline" | "PlainTextParagraph" | "Picture" | "BuildingBlockGallery" | "CheckBox" | "ComboBox" | "DropDownList" | "DatePicker" | "RepeatingSection" | "RichText" | "PlainText" | "Group";
|
|
92666
92666
|
/**
|
|
92667
92667
|
* Specifies a tag to identify a content control.
|
|
92668
92668
|
*
|
|
@@ -92690,7 +92690,7 @@ declare namespace Word {
|
|
|
92690
92690
|
* @remarks
|
|
92691
92691
|
* [Api set: WordApi 1.1]
|
|
92692
92692
|
*/
|
|
92693
|
-
readonly type: Word.ContentControlType | "Unknown" | "RichTextInline" | "RichTextParagraphs" | "RichTextTableCell" | "RichTextTableRow" | "RichTextTable" | "PlainTextInline" | "PlainTextParagraph" | "Picture" | "BuildingBlockGallery" | "CheckBox" | "ComboBox" | "DropDownList" | "DatePicker" | "RepeatingSection" | "RichText" | "PlainText";
|
|
92693
|
+
readonly type: Word.ContentControlType | "Unknown" | "RichTextInline" | "RichTextParagraphs" | "RichTextTableCell" | "RichTextTableRow" | "RichTextTable" | "PlainTextInline" | "PlainTextParagraph" | "Picture" | "BuildingBlockGallery" | "CheckBox" | "ComboBox" | "DropDownList" | "DatePicker" | "RepeatingSection" | "RichText" | "PlainText" | "Group";
|
|
92694
92694
|
/**
|
|
92695
92695
|
* Sets multiple properties of an object at the same time. You can pass either a plain object with the appropriate properties, or another API object of the same type.
|
|
92696
92696
|
* @param properties A JavaScript object with properties that are structured isomorphically to the properties of the object on which the method is called.
|
|
@@ -102429,6 +102429,11 @@ declare namespace Word {
|
|
|
102429
102429
|
* [Api set: WordApi 1.1]
|
|
102430
102430
|
*/
|
|
102431
102431
|
plainText = "PlainText",
|
|
102432
|
+
/**
|
|
102433
|
+
* @remarks
|
|
102434
|
+
* [Api set: WordApi 1.1]
|
|
102435
|
+
*/
|
|
102436
|
+
group = "Group",
|
|
102432
102437
|
}
|
|
102433
102438
|
/**
|
|
102434
102439
|
* ContentControl appearance.
|
|
@@ -107407,7 +107412,7 @@ declare namespace Word {
|
|
|
107407
107412
|
/** An interface for updating data on the `ContentControl` object, for use in `contentControl.set({ ... })`. */
|
|
107408
107413
|
interface ContentControlUpdateData {
|
|
107409
107414
|
/**
|
|
107410
|
-
* Gets the data of the content control when its type is
|
|
107415
|
+
* Gets the data of the content control when its type is `CheckBox`. It's `null` otherwise.
|
|
107411
107416
|
*
|
|
107412
107417
|
* @remarks
|
|
107413
107418
|
* [Api set: WordApi 1.7]
|
|
@@ -109407,14 +109412,14 @@ declare namespace Word {
|
|
|
109407
109412
|
/** An interface describing the data returned by calling `contentControl.toJSON()`. */
|
|
109408
109413
|
interface ContentControlData {
|
|
109409
109414
|
/**
|
|
109410
|
-
* Gets the data of the content control when its type is
|
|
109415
|
+
* Gets the data of the content control when its type is `CheckBox`. It's `null` otherwise.
|
|
109411
109416
|
*
|
|
109412
109417
|
* @remarks
|
|
109413
109418
|
* [Api set: WordApi 1.7]
|
|
109414
109419
|
*/
|
|
109415
109420
|
checkboxContentControl?: Word.Interfaces.CheckboxContentControlData;
|
|
109416
109421
|
/**
|
|
109417
|
-
|
|
109422
|
+
* Gets the data of the content control when its type is `ComboBox`. It's `null` otherwise.
|
|
109418
109423
|
*
|
|
109419
109424
|
* @remarks
|
|
109420
109425
|
* [Api set: WordApi 1.9]
|
|
@@ -109428,7 +109433,7 @@ declare namespace Word {
|
|
|
109428
109433
|
*/
|
|
109429
109434
|
contentControls?: Word.Interfaces.ContentControlData[];
|
|
109430
109435
|
/**
|
|
109431
|
-
* Gets the data of the content control when its type is
|
|
109436
|
+
* Gets the data of the content control when its type is `DropDownList`. It's `null` otherwise.
|
|
109432
109437
|
*
|
|
109433
109438
|
* @remarks
|
|
109434
109439
|
* [Api set: WordApi 1.9]
|
|
@@ -109547,7 +109552,7 @@ declare namespace Word {
|
|
|
109547
109552
|
* @remarks
|
|
109548
109553
|
* [Api set: WordApi 1.3]
|
|
109549
109554
|
*/
|
|
109550
|
-
subtype?: Word.ContentControlType | "Unknown" | "RichTextInline" | "RichTextParagraphs" | "RichTextTableCell" | "RichTextTableRow" | "RichTextTable" | "PlainTextInline" | "PlainTextParagraph" | "Picture" | "BuildingBlockGallery" | "CheckBox" | "ComboBox" | "DropDownList" | "DatePicker" | "RepeatingSection" | "RichText" | "PlainText";
|
|
109555
|
+
subtype?: Word.ContentControlType | "Unknown" | "RichTextInline" | "RichTextParagraphs" | "RichTextTableCell" | "RichTextTableRow" | "RichTextTable" | "PlainTextInline" | "PlainTextParagraph" | "Picture" | "BuildingBlockGallery" | "CheckBox" | "ComboBox" | "DropDownList" | "DatePicker" | "RepeatingSection" | "RichText" | "PlainText" | "Group";
|
|
109551
109556
|
/**
|
|
109552
109557
|
* Specifies a tag to identify a content control.
|
|
109553
109558
|
*
|
|
@@ -109575,7 +109580,7 @@ declare namespace Word {
|
|
|
109575
109580
|
* @remarks
|
|
109576
109581
|
* [Api set: WordApi 1.1]
|
|
109577
109582
|
*/
|
|
109578
|
-
type?: Word.ContentControlType | "Unknown" | "RichTextInline" | "RichTextParagraphs" | "RichTextTableCell" | "RichTextTableRow" | "RichTextTable" | "PlainTextInline" | "PlainTextParagraph" | "Picture" | "BuildingBlockGallery" | "CheckBox" | "ComboBox" | "DropDownList" | "DatePicker" | "RepeatingSection" | "RichText" | "PlainText";
|
|
109583
|
+
type?: Word.ContentControlType | "Unknown" | "RichTextInline" | "RichTextParagraphs" | "RichTextTableCell" | "RichTextTableRow" | "RichTextTable" | "PlainTextInline" | "PlainTextParagraph" | "Picture" | "BuildingBlockGallery" | "CheckBox" | "ComboBox" | "DropDownList" | "DatePicker" | "RepeatingSection" | "RichText" | "PlainText" | "Group";
|
|
109579
109584
|
}
|
|
109580
109585
|
/** An interface describing the data returned by calling `contentControlCollection.toJSON()`. */
|
|
109581
109586
|
interface ContentControlCollectionData {
|
|
@@ -112396,7 +112401,7 @@ declare namespace Word {
|
|
|
112396
112401
|
*/
|
|
112397
112402
|
$all?: boolean;
|
|
112398
112403
|
/**
|
|
112399
|
-
* Gets the data of the content control when its type is
|
|
112404
|
+
* Gets the data of the content control when its type is `CheckBox`. It's `null` otherwise.
|
|
112400
112405
|
*
|
|
112401
112406
|
* @remarks
|
|
112402
112407
|
* [Api set: WordApi 1.7]
|
|
@@ -112569,7 +112574,7 @@ declare namespace Word {
|
|
|
112569
112574
|
*/
|
|
112570
112575
|
$all?: boolean;
|
|
112571
112576
|
/**
|
|
112572
|
-
|
|
112577
|
+
* For EACH ITEM in the collection: Gets the data of the content control when its type is `CheckBox`. It's `null` otherwise.
|
|
112573
112578
|
*
|
|
112574
112579
|
* @remarks
|
|
112575
112580
|
* [Api set: WordApi 1.7]
|
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.521",
|
|
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": "3f658806bee7d044b8a98c6fd6166c479beaab8b68034bf34b06b5b87c1335c1",
|
|
50
|
+
"typeScriptVersion": "5.2"
|
|
51
51
|
}
|