Skip to content

Commit 3031593

Browse files
committed
fix: include all d.ts files for types pkg to detect change
1 parent cedd68d commit 3031593

32 files changed

+1152
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!dist
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
import { XMLDOM } from '../XMLDOM';
2+
/**
3+
*
4+
* @param {Object} config
5+
* @param {Number} config.x X offset in EMU's
6+
* @param {Number} config.y Y offset in EMU's
7+
* @param {Number} config.width Width in EMU's
8+
* @param {Number} config.height Height in EMU's
9+
* @constructor
10+
*/
11+
export declare class AbsoluteAnchor {
12+
x: number | null;
13+
y: number | null;
14+
width: number | null;
15+
height: number | null;
16+
constructor(config: any);
17+
/**
18+
* Sets the X and Y offsets.
19+
*
20+
* @param {Number} x
21+
* @param {Number} y
22+
* @returns {undefined}
23+
*/
24+
setPos(x: number, y: number): void;
25+
/**
26+
* Sets the width and height of the image.
27+
*
28+
* @param {Number} width
29+
* @param {Number} height
30+
* @returns {undefined}
31+
*/
32+
setDimensions(width: number, height: number): void;
33+
toXML(xmlDoc: XMLDOM, content: any): import('../XMLDOM').XMLNode;
34+
}
35+
//# sourceMappingURL=AbsoluteAnchor.d.ts.map
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export declare class Chart {
2+
}
3+
//# sourceMappingURL=Chart.d.ts.map
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { AbsoluteAnchor } from './AbsoluteAnchor';
2+
import { Chart } from './Chart';
3+
import { OneCellAnchor } from './OneCellAnchor';
4+
import { TwoCellAnchor } from './TwoCellAnchor';
5+
/**
6+
* This is mostly a global spot where all of the relationship managers can get and set
7+
* path information from/to.
8+
* @module Excel/Drawing
9+
*/
10+
export declare class Drawing {
11+
anchor: any;
12+
id: string;
13+
get AbsoluteAnchor(): typeof AbsoluteAnchor;
14+
get Chart(): typeof Chart;
15+
get OneCellAnchor(): typeof OneCellAnchor;
16+
get TwoCellAnchor(): typeof TwoCellAnchor;
17+
/**
18+
*
19+
* @param {String} type Can be 'absoluteAnchor', 'oneCellAnchor', or 'twoCellAnchor'.
20+
* @param {Object} config Shorthand - pass the created anchor coords that can normally be used to construct it.
21+
* @returns {Anchor}
22+
*/
23+
createAnchor(type: string, config: any): any;
24+
}
25+
//# sourceMappingURL=Drawing.d.ts.map
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { XMLDOM } from '../XMLDOM';
2+
/**
3+
*
4+
* @param {Object} config
5+
* @param {Number} config.x The cell column number that the top left of the picture will start in
6+
* @param {Number} config.y The cell row number that the top left of the picture will start in
7+
* @param {Number} config.width Width in EMU's
8+
* @param {Number} config.height Height in EMU's
9+
* @constructor
10+
*/
11+
export declare class OneCellAnchor {
12+
x: number | null;
13+
y: number | null;
14+
xOff: boolean | null;
15+
yOff: boolean | null;
16+
width: number | null;
17+
height: number | null;
18+
constructor(config: any);
19+
setPos(x: number, y: number, xOff?: boolean, yOff?: boolean): void;
20+
setDimensions(width: number, height: number): void;
21+
toXML(xmlDoc: XMLDOM, content: any): import('../XMLDOM').XMLNode;
22+
}
23+
//# sourceMappingURL=OneCellAnchor.d.ts.map
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import { Util } from '../Util';
2+
import { XMLDOM } from '../XMLDOM';
3+
import { Drawing } from './Drawing';
4+
export declare class Picture extends Drawing {
5+
media: any;
6+
id: string;
7+
pictureId: number;
8+
fill: any;
9+
mediaData: any;
10+
description: string;
11+
constructor();
12+
setMedia(mediaRef: any): void;
13+
setDescription(description: string): void;
14+
setFillType(type: string): void;
15+
setFillConfig(config: any): void;
16+
getMediaType(): keyof typeof Util.schemas;
17+
getMediaData(): any;
18+
setRelationshipId(rId: string): void;
19+
toXML(xmlDoc: XMLDOM): any;
20+
}
21+
//# sourceMappingURL=Picture.d.ts.map
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { XMLDOM } from '../XMLDOM';
2+
export declare class TwoCellAnchor {
3+
from: any;
4+
to: any;
5+
constructor(config: any);
6+
setFrom(x: number, y: number, xOff?: boolean, yOff?: boolean): void;
7+
setTo(x: number, y: number, xOff?: boolean, yOff?: boolean): void;
8+
toXML(xmlDoc: XMLDOM, content: any): import('../XMLDOM').XMLNode;
9+
}
10+
//# sourceMappingURL=TwoCellAnchor.d.ts.map
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export * from './AbsoluteAnchor';
2+
export * from './Chart';
3+
export * from './Drawing';
4+
export * from './OneCellAnchor';
5+
export * from './Picture';
6+
export * from './TwoCellAnchor';
7+
//# sourceMappingURL=index.d.ts.map
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import { Drawing } from './Drawing/Drawing';
2+
import { Picture } from './Drawing/Picture';
3+
import { RelationshipManager } from './RelationshipManager';
4+
/**
5+
* @module Excel/Drawings
6+
*/
7+
export declare class Drawings {
8+
drawings: (Drawing | Picture)[];
9+
relations: RelationshipManager;
10+
id: string;
11+
/**
12+
* Adds a drawing (more likely a subclass of a Drawing) to the 'Drawings' for a particular worksheet.
13+
*
14+
* @param {Drawing} drawing
15+
* @returns {undefined}
16+
*/
17+
addDrawing(drawing: Drawing): void;
18+
getCount(): number;
19+
toXML(): import('./XMLDOM').XMLDOM;
20+
}
21+
//# sourceMappingURL=Drawings.d.ts.map
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { XMLDOM } from './XMLDOM';
2+
export declare class Pane {
3+
state: null | 'split' | 'frozen' | 'frozenSplit';
4+
xSplit: number | null;
5+
ySplit: number | null;
6+
activePane: string;
7+
topLeftCell: number | string | null;
8+
_freezePane: {
9+
xSplit: number;
10+
ySplit: number;
11+
cell: string;
12+
};
13+
freezePane(column: number, row: number, cell: string): void;
14+
exportXML(doc: XMLDOM): import('./XMLDOM').XMLNode;
15+
}
16+
//# sourceMappingURL=Pane.d.ts.map

0 commit comments

Comments
 (0)