@types/office-js-preview 1.0.333 → 1.0.335
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 +107 -1
- 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: Thu, 15 Sep 2022 20:32:52 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
|
@@ -1616,8 +1616,14 @@ declare namespace Office {
|
|
|
1616
1616
|
asyncContext?: any;
|
|
1617
1617
|
/**
|
|
1618
1618
|
* Causes Office to return a descriptive error when the add-in wants to access Microsoft Graph and the user/admin has not granted consent to Graph scopes. Default value is `false`.
|
|
1619
|
-
* Office only supports consent to Graph scopes when the add-in has been deployed by a tenant admin.
|
|
1619
|
+
* Office only supports consent to Graph scopes when the add-in has been deployed by a tenant admin.
|
|
1620
1620
|
* Setting this option to `true` will cause Office to inform your add-in beforehand (by returning a descriptive error) if Graph access will fail.
|
|
1621
|
+
*
|
|
1622
|
+
* @remarks
|
|
1623
|
+
*
|
|
1624
|
+
* **Note**: If you're developing an Outlook add-in that uses single sign-on (SSO), comment out the `forMSGraphAccess` option before sideloading the add-in for testing.
|
|
1625
|
+
* Otherwise, you'll receive {@link https://docs.microsoft.com/office/dev/add-ins/develop/troubleshoot-sso-in-office-add-ins#13012 | error 13012}. For additional guidance, see
|
|
1626
|
+
* {@link https://docs.microsoft.com/office/dev/add-ins/develop/authorize-to-microsoft-graph#details-on-sso-with-an-outlook-add-in | Details on SSO with an Outlook add-in}.
|
|
1621
1627
|
*/
|
|
1622
1628
|
forMSGraphAccess?: boolean;
|
|
1623
1629
|
}
|
|
@@ -38258,6 +38264,14 @@ declare namespace Excel {
|
|
|
38258
38264
|
* [Api set: ExcelApi 1.1]
|
|
38259
38265
|
*/
|
|
38260
38266
|
clear(): void;
|
|
38267
|
+
/**
|
|
38268
|
+
* Gets the uniform color fill formatting of a chart element.
|
|
38269
|
+
*
|
|
38270
|
+
* @remarks
|
|
38271
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
38272
|
+
* @beta
|
|
38273
|
+
*/
|
|
38274
|
+
getSolidColor(): OfficeExtension.ClientResult<string>;
|
|
38261
38275
|
/**
|
|
38262
38276
|
* Sets the fill formatting of a chart element to a uniform color.
|
|
38263
38277
|
*
|
|
@@ -42965,6 +42979,80 @@ declare namespace Excel {
|
|
|
42965
42979
|
set(properties: Interfaces.ConditionalFormatUpdateData, options?: OfficeExtension.UpdateOptions): void;
|
|
42966
42980
|
/** Sets multiple properties on the object at the same time, based on an existing loaded object. */
|
|
42967
42981
|
set(properties: Excel.ConditionalFormat): void;
|
|
42982
|
+
/**
|
|
42983
|
+
* Change the conditional format rule type to cell value.
|
|
42984
|
+
*
|
|
42985
|
+
* @remarks
|
|
42986
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
42987
|
+
* @beta
|
|
42988
|
+
*
|
|
42989
|
+
* @param properties The properties to set for the cell value conditional format rule.
|
|
42990
|
+
*/
|
|
42991
|
+
changeRuleToCellValue(properties: Excel.ConditionalCellValueRule): void;
|
|
42992
|
+
/**
|
|
42993
|
+
* Change the conditional format rule type to color scale.
|
|
42994
|
+
*
|
|
42995
|
+
* @remarks
|
|
42996
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
42997
|
+
* @beta
|
|
42998
|
+
*/
|
|
42999
|
+
changeRuleToColorScale(): void;
|
|
43000
|
+
/**
|
|
43001
|
+
* Change the conditional format rule type to text comparison.
|
|
43002
|
+
*
|
|
43003
|
+
* @remarks
|
|
43004
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
43005
|
+
* @beta
|
|
43006
|
+
*
|
|
43007
|
+
* @param properties The properties to set for the text comparison conditional format rule.
|
|
43008
|
+
*/
|
|
43009
|
+
changeRuleToContainsText(properties: Excel.ConditionalTextComparisonRule): void;
|
|
43010
|
+
/**
|
|
43011
|
+
* Change the conditional format rule type to custom.
|
|
43012
|
+
*
|
|
43013
|
+
* @remarks
|
|
43014
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
43015
|
+
* @beta
|
|
43016
|
+
*
|
|
43017
|
+
* @param formula The formula to set for the custom conditional format rule.
|
|
43018
|
+
*/
|
|
43019
|
+
changeRuleToCustom(formula: string): void;
|
|
43020
|
+
/**
|
|
43021
|
+
* Change the conditional format rule type to data bar.
|
|
43022
|
+
*
|
|
43023
|
+
* @remarks
|
|
43024
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
43025
|
+
* @beta
|
|
43026
|
+
*/
|
|
43027
|
+
changeRuleToDataBar(): void;
|
|
43028
|
+
/**
|
|
43029
|
+
* Change the conditional format rule type to icon set.
|
|
43030
|
+
*
|
|
43031
|
+
* @remarks
|
|
43032
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
43033
|
+
* @beta
|
|
43034
|
+
*/
|
|
43035
|
+
changeRuleToIconSet(): void;
|
|
43036
|
+
/**
|
|
43037
|
+
* Change the conditional format rule type to preset criteria.
|
|
43038
|
+
*
|
|
43039
|
+
* @remarks
|
|
43040
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
43041
|
+
* @beta
|
|
43042
|
+
*
|
|
43043
|
+
* @param properties The properties to set for the preset criteria conditional format rule.
|
|
43044
|
+
*/
|
|
43045
|
+
changeRuleToPresetCriteria(properties: Excel.ConditionalPresetCriteriaRule): void;
|
|
43046
|
+
/**
|
|
43047
|
+
* Change the conditional format rule type to top/bottom.
|
|
43048
|
+
*
|
|
43049
|
+
* @remarks
|
|
43050
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
43051
|
+
* @beta
|
|
43052
|
+
*
|
|
43053
|
+
* @param properties The properties to set for the top/bottom conditional format rule.
|
|
43054
|
+
*/
|
|
43055
|
+
changeRuleToTopBottom(properties: Excel.ConditionalTopBottomRule): void;
|
|
42968
43056
|
/**
|
|
42969
43057
|
* Deletes this conditional format.
|
|
42970
43058
|
*
|
|
@@ -42994,6 +43082,16 @@ declare namespace Excel {
|
|
|
42994
43082
|
* [Api set: ExcelApi 1.9]
|
|
42995
43083
|
*/
|
|
42996
43084
|
getRanges(): Excel.RangeAreas;
|
|
43085
|
+
/**
|
|
43086
|
+
* Set the ranges that the conditonal format rule is applied to.
|
|
43087
|
+
*
|
|
43088
|
+
* @remarks
|
|
43089
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
43090
|
+
* @beta
|
|
43091
|
+
*
|
|
43092
|
+
* @param ranges Collection of one or more ranges for this rule to be applied to.
|
|
43093
|
+
*/
|
|
43094
|
+
setRanges(ranges: Range | RangeAreas | string): void;
|
|
42997
43095
|
/**
|
|
42998
43096
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
42999
43097
|
*
|
|
@@ -43998,6 +44096,14 @@ declare namespace Excel {
|
|
|
43998
44096
|
set(properties: Interfaces.ConditionalRangeFormatUpdateData, options?: OfficeExtension.UpdateOptions): void;
|
|
43999
44097
|
/** Sets multiple properties on the object at the same time, based on an existing loaded object. */
|
|
44000
44098
|
set(properties: Excel.ConditionalRangeFormat): void;
|
|
44099
|
+
/**
|
|
44100
|
+
* Remove the format properties from a conditional format rule. This creates a rule with no format settings.
|
|
44101
|
+
*
|
|
44102
|
+
* @remarks
|
|
44103
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
44104
|
+
* @beta
|
|
44105
|
+
*/
|
|
44106
|
+
clearFormat(): void;
|
|
44001
44107
|
/**
|
|
44002
44108
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
44003
44109
|
*
|
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.335",
|
|
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": "e6454c73b10ff169858c598c9b40546958dc1ee0f9144322dfc7e7865572dc8f",
|
|
49
49
|
"typeScriptVersion": "4.1"
|
|
50
50
|
}
|