@types/office-js-preview 1.0.522 → 1.0.524
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 +102 -9
- office-js-preview/package.json +3 -2
office-js-preview/README.md
CHANGED
|
@@ -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: Thu,
|
|
11
|
+
* Last updated: Thu, 24 Oct 2024 23:02:30 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -3578,7 +3578,8 @@ declare namespace Office {
|
|
|
3578
3578
|
*
|
|
3579
3579
|
* - In Outlook, this API isn't supported if you load an add-in in an Outlook.com or Gmail mailbox.
|
|
3580
3580
|
*
|
|
3581
|
-
* - In Outlook on the web, this API isn't supported if you use
|
|
3581
|
+
* - In Outlook on the web, this API isn't supported if you use Firefox with Enhanced Tracking Protection turned on.
|
|
3582
|
+
* This results in error 13001 ("The user is not signed into Office").
|
|
3582
3583
|
*
|
|
3583
3584
|
* - In Outlook on the web and {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows}, if you use the
|
|
3584
3585
|
* {@link https://learn.microsoft.com/javascript/api/office/office.ui#office-office-ui-displaydialogasync-member(1) | displayDialogAsync}
|
|
@@ -125344,35 +125345,127 @@ declare namespace PowerPoint {
|
|
|
125344
125345
|
*/
|
|
125345
125346
|
unsupported = "Unsupported",
|
|
125346
125347
|
/**
|
|
125347
|
-
* The shape is an image
|
|
125348
|
+
* The shape is an image.
|
|
125348
125349
|
* @remarks
|
|
125349
125350
|
* [Api set: PowerPointApi 1.4]
|
|
125350
125351
|
*/
|
|
125351
125352
|
image = "Image",
|
|
125352
125353
|
/**
|
|
125353
|
-
* The shape is a geometric shape such as rectangle
|
|
125354
|
+
* The shape is a geometric shape such as rectangle.
|
|
125354
125355
|
* @remarks
|
|
125355
125356
|
* [Api set: PowerPointApi 1.4]
|
|
125356
125357
|
*/
|
|
125357
125358
|
geometricShape = "GeometricShape",
|
|
125358
125359
|
/**
|
|
125359
|
-
* The shape is a group shape which contains sub-shapes
|
|
125360
|
+
* The shape is a group shape which contains sub-shapes.
|
|
125360
125361
|
* @remarks
|
|
125361
125362
|
* [Api set: PowerPointApi 1.4]
|
|
125362
125363
|
*/
|
|
125363
125364
|
group = "Group",
|
|
125364
125365
|
/**
|
|
125365
|
-
* The shape is a line
|
|
125366
|
+
* The shape is a line.
|
|
125366
125367
|
* @remarks
|
|
125367
125368
|
* [Api set: PowerPointApi 1.4]
|
|
125368
125369
|
*/
|
|
125369
125370
|
line = "Line",
|
|
125370
125371
|
/**
|
|
125371
|
-
* The shape is a table
|
|
125372
|
+
* The shape is a table.
|
|
125372
125373
|
* @remarks
|
|
125373
|
-
* [Api set: PowerPointApi
|
|
125374
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
125375
|
+
* @beta
|
|
125374
125376
|
*/
|
|
125375
125377
|
table = "Table",
|
|
125378
|
+
/**
|
|
125379
|
+
* The shape is a callout.
|
|
125380
|
+
* @remarks
|
|
125381
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
125382
|
+
* @beta
|
|
125383
|
+
*/
|
|
125384
|
+
callout = "Callout",
|
|
125385
|
+
/**
|
|
125386
|
+
* The shape is a chart.
|
|
125387
|
+
* @remarks
|
|
125388
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
125389
|
+
* @beta
|
|
125390
|
+
*/
|
|
125391
|
+
chart = "Chart",
|
|
125392
|
+
/**
|
|
125393
|
+
* The shape is a content Office Add-in.
|
|
125394
|
+
* @remarks
|
|
125395
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
125396
|
+
* @beta
|
|
125397
|
+
*/
|
|
125398
|
+
contentApp = "ContentApp",
|
|
125399
|
+
/**
|
|
125400
|
+
* The shape is a diagram.
|
|
125401
|
+
* @remarks
|
|
125402
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
125403
|
+
* @beta
|
|
125404
|
+
*/
|
|
125405
|
+
diagram = "Diagram",
|
|
125406
|
+
/**
|
|
125407
|
+
* The shape is a freeform object.
|
|
125408
|
+
* @remarks
|
|
125409
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
125410
|
+
* @beta
|
|
125411
|
+
*/
|
|
125412
|
+
freeform = "Freeform",
|
|
125413
|
+
/**
|
|
125414
|
+
* The shape is a graphic.
|
|
125415
|
+
* @remarks
|
|
125416
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
125417
|
+
* @beta
|
|
125418
|
+
*/
|
|
125419
|
+
graphic = "Graphic",
|
|
125420
|
+
/**
|
|
125421
|
+
* The shape is an ink object.
|
|
125422
|
+
* @remarks
|
|
125423
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
125424
|
+
* @beta
|
|
125425
|
+
*/
|
|
125426
|
+
ink = "Ink",
|
|
125427
|
+
/**
|
|
125428
|
+
* The shape is a media object.
|
|
125429
|
+
* @remarks
|
|
125430
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
125431
|
+
* @beta
|
|
125432
|
+
*/
|
|
125433
|
+
media = "Media",
|
|
125434
|
+
/**
|
|
125435
|
+
* The shape is a 3D model.
|
|
125436
|
+
* @remarks
|
|
125437
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
125438
|
+
* @beta
|
|
125439
|
+
*/
|
|
125440
|
+
model3D = "Model3D",
|
|
125441
|
+
/**
|
|
125442
|
+
* The shape is an OLE (Object Linking and Embedding) object.
|
|
125443
|
+
* @remarks
|
|
125444
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
125445
|
+
* @beta
|
|
125446
|
+
*/
|
|
125447
|
+
ole = "Ole",
|
|
125448
|
+
/**
|
|
125449
|
+
* The shape is a placeholder.
|
|
125450
|
+
* @remarks
|
|
125451
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
125452
|
+
* @beta
|
|
125453
|
+
*/
|
|
125454
|
+
placeholder = "Placeholder",
|
|
125455
|
+
/**
|
|
125456
|
+
* The shape is a SmartArt graphic.
|
|
125457
|
+
* @remarks
|
|
125458
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
125459
|
+
* @beta
|
|
125460
|
+
*/
|
|
125461
|
+
smartArt = "SmartArt",
|
|
125462
|
+
/**
|
|
125463
|
+
* The shape is a text box.
|
|
125464
|
+
* @remarks
|
|
125465
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
125466
|
+
* @beta
|
|
125467
|
+
*/
|
|
125468
|
+
textBox = "TextBox",
|
|
125376
125469
|
}
|
|
125377
125470
|
/**
|
|
125378
125471
|
* Determines the type of automatic sizing allowed.
|
|
@@ -125873,7 +125966,7 @@ declare namespace PowerPoint {
|
|
|
125873
125966
|
* @remarks
|
|
125874
125967
|
* [Api set: PowerPointApi 1.4]
|
|
125875
125968
|
*/
|
|
125876
|
-
readonly type: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table";
|
|
125969
|
+
readonly type: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table" | "Callout" | "Chart" | "ContentApp" | "Diagram" | "Freeform" | "Graphic" | "Ink" | "Media" | "Model3D" | "Ole" | "Placeholder" | "SmartArt" | "TextBox";
|
|
125877
125970
|
/**
|
|
125878
125971
|
* Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
|
|
125879
125972
|
*
|
|
@@ -127465,7 +127558,7 @@ declare namespace PowerPoint {
|
|
|
127465
127558
|
* @remarks
|
|
127466
127559
|
* [Api set: PowerPointApi 1.4]
|
|
127467
127560
|
*/
|
|
127468
|
-
type?: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table";
|
|
127561
|
+
type?: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table" | "Callout" | "Chart" | "ContentApp" | "Diagram" | "Freeform" | "Graphic" | "Ink" | "Media" | "Model3D" | "Ole" | "Placeholder" | "SmartArt" | "TextBox";
|
|
127469
127562
|
/**
|
|
127470
127563
|
* Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
|
|
127471
127564
|
*
|
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.524",
|
|
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,8 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"
|
|
48
|
+
"peerDependencies": {},
|
|
49
|
+
"typesPublisherContentHash": "53f0c07fdd80d03a9ce7d62e0e3d853b867ad765e0757893a4185e551adde445",
|
|
49
50
|
"typeScriptVersion": "4.8",
|
|
50
51
|
"nonNpm": true
|
|
51
52
|
}
|