@types/office-js-preview 1.0.297 → 1.0.298
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 +1 -1
- office-js-preview/index.d.ts +38 -12
- office-js-preview/package.json +2 -2
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: Wed, 20 Apr 2022 22:01:15 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
|
@@ -20032,7 +20032,7 @@ declare namespace Excel {
|
|
|
20032
20032
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20033
20033
|
* @beta
|
|
20034
20034
|
*/
|
|
20035
|
-
type CellValue = ArrayCellValue | BooleanCellValue | DoubleCellValue | EntityCellValue | EmptyCellValue | ErrorCellValue | FormattedNumberCellValue | LinkedEntityCellValue | ReferenceCellValue | StringCellValue | ValueTypeNotAvailableCellValue | WebImageCellValue & CellValueExtraProperties;
|
|
20035
|
+
type CellValue = (ArrayCellValue | BooleanCellValue | DoubleCellValue | EntityCellValue | EmptyCellValue | ErrorCellValue | FormattedNumberCellValue | LinkedEntityCellValue | ReferenceCellValue | StringCellValue | ValueTypeNotAvailableCellValue | WebImageCellValue) & CellValueExtraProperties;
|
|
20036
20036
|
/**
|
|
20037
20037
|
* These extra properties may appear on a `CellValue` and provide information about that `CellValue`, but the extra properties are not part of the value in the cell.
|
|
20038
20038
|
*
|
|
@@ -20068,7 +20068,7 @@ declare namespace Excel {
|
|
|
20068
20068
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20069
20069
|
* @beta
|
|
20070
20070
|
*/
|
|
20071
|
-
type CellValueAndPropertyMetadata = CellValue & EntityPropertyExtraProperties;
|
|
20071
|
+
type CellValueAndPropertyMetadata = (CellValue) & EntityPropertyExtraProperties;
|
|
20072
20072
|
/**
|
|
20073
20073
|
* The attribution attributes object represents the set of details that can be used to describe where information came from, if the information comes from a public source.
|
|
20074
20074
|
*
|
|
@@ -21522,7 +21522,7 @@ declare namespace Excel {
|
|
|
21522
21522
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
21523
21523
|
* @beta
|
|
21524
21524
|
*/
|
|
21525
|
-
|
|
21525
|
+
rowCount?: number;
|
|
21526
21526
|
/**
|
|
21527
21527
|
* Represents the number of columns that would spill if there were no #SPILL! error.
|
|
21528
21528
|
*
|
|
@@ -21530,7 +21530,7 @@ declare namespace Excel {
|
|
|
21530
21530
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
21531
21531
|
* @beta
|
|
21532
21532
|
*/
|
|
21533
|
-
|
|
21533
|
+
columnCount?: number;
|
|
21534
21534
|
}
|
|
21535
21535
|
/**
|
|
21536
21536
|
* Represents the value of a cell containing a string.
|
|
@@ -31859,7 +31859,7 @@ declare namespace Excel {
|
|
|
31859
31859
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
31860
31860
|
* @beta
|
|
31861
31861
|
*/
|
|
31862
|
-
readonly valueAsJson: CellValue;
|
|
31862
|
+
readonly valueAsJson: CellValue | string;
|
|
31863
31863
|
/**
|
|
31864
31864
|
* A JSON representation of the values in this named item.
|
|
31865
31865
|
Unlike `NamedItem.value`, `NamedItem.valueAsJsonLocal` supports all data types which can be in a cell. Examples include formatted number values and web images, in addition to the standard boolean, number, and string values.
|
|
@@ -31869,7 +31869,7 @@ declare namespace Excel {
|
|
|
31869
31869
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
31870
31870
|
* @beta
|
|
31871
31871
|
*/
|
|
31872
|
-
readonly valueAsJsonLocal: CellValue
|
|
31872
|
+
readonly valueAsJsonLocal: CellValue | string;
|
|
31873
31873
|
/**
|
|
31874
31874
|
* Specifies if the object is visible.
|
|
31875
31875
|
*
|
|
@@ -37683,13 +37683,32 @@ declare namespace Excel {
|
|
|
37683
37683
|
* @param color HTML color code representing the color of the background, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
|
|
37684
37684
|
*/
|
|
37685
37685
|
setSolidColor(color: string): void;
|
|
37686
|
+
/**
|
|
37687
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
37688
|
+
*
|
|
37689
|
+
* @param options Provides options for which properties of the object to load.
|
|
37690
|
+
*/
|
|
37691
|
+
load(options?: Excel.Interfaces.ChartFillLoadOptions): Excel.ChartFill;
|
|
37692
|
+
/**
|
|
37693
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
37694
|
+
*
|
|
37695
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
37696
|
+
*/
|
|
37697
|
+
load(propertyNames?: string | string[]): Excel.ChartFill;
|
|
37698
|
+
/**
|
|
37699
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
37700
|
+
*
|
|
37701
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
37702
|
+
*/
|
|
37703
|
+
load(propertyNamesAndPaths?: {
|
|
37704
|
+
select?: string;
|
|
37705
|
+
expand?: string;
|
|
37706
|
+
}): Excel.ChartFill;
|
|
37686
37707
|
/**
|
|
37687
37708
|
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
|
|
37688
37709
|
* Whereas the original Excel.ChartFill object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `Excel.Interfaces.ChartFillData`) that contains shallow copies of any loaded child properties from the original object.
|
|
37689
37710
|
*/
|
|
37690
|
-
toJSON():
|
|
37691
|
-
[key: string]: string;
|
|
37692
|
-
};
|
|
37711
|
+
toJSON(): Excel.Interfaces.ChartFillData;
|
|
37693
37712
|
}
|
|
37694
37713
|
/**
|
|
37695
37714
|
* Represents the border formatting of a chart element.
|
|
@@ -52595,7 +52614,14 @@ declare namespace Excel {
|
|
|
52595
52614
|
* @remarks
|
|
52596
52615
|
* [Api set: ExcelApi 1.7]
|
|
52597
52616
|
*/
|
|
52598
|
-
|
|
52617
|
+
workbookNavigationObjectChanged = "WorkbookNavigationObjectChanged",
|
|
52618
|
+
/**
|
|
52619
|
+
* WorksheetRowHeightChanged represents the type of event registered when the height of a worksheet row is changed.
|
|
52620
|
+
* @remarks
|
|
52621
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
52622
|
+
* @beta
|
|
52623
|
+
*/
|
|
52624
|
+
worksheetRowHeightChanged = "WorksheetRowHeightChanged"
|
|
52599
52625
|
}
|
|
52600
52626
|
/**
|
|
52601
52627
|
* @remarks
|
|
@@ -65800,7 +65826,7 @@ declare namespace Excel {
|
|
|
65800
65826
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
65801
65827
|
* @beta
|
|
65802
65828
|
*/
|
|
65803
|
-
valueAsJson?: CellValue;
|
|
65829
|
+
valueAsJson?: CellValue | string;
|
|
65804
65830
|
/**
|
|
65805
65831
|
* A JSON representation of the values in this named item.
|
|
65806
65832
|
Unlike `NamedItem.value`, `NamedItem.valueAsJsonLocal` supports all data types which can be in a cell. Examples include formatted number values and web images, in addition to the standard boolean, number, and string values.
|
|
@@ -65810,7 +65836,7 @@ declare namespace Excel {
|
|
|
65810
65836
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
65811
65837
|
* @beta
|
|
65812
65838
|
*/
|
|
65813
|
-
valueAsJsonLocal?: CellValue
|
|
65839
|
+
valueAsJsonLocal?: CellValue | string;
|
|
65814
65840
|
/**
|
|
65815
65841
|
* Specifies if the object is visible.
|
|
65816
65842
|
*
|
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.298",
|
|
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": "c8fb29b6307b8b6c1961e6583f9d415d217b931d43a0793bc97f230d93ec9fdf",
|
|
49
49
|
"typeScriptVersion": "3.9"
|
|
50
50
|
}
|