@vivliostyle/core 2.24.0 → 2.24.3
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.
- package/lib/vivliostyle/adaptive-viewer.d.ts +3 -3
- package/lib/vivliostyle/assets.d.ts +1 -1
- package/lib/vivliostyle/base.d.ts +4 -4
- package/lib/vivliostyle/break-position.d.ts +1 -1
- package/lib/vivliostyle/break.d.ts +2 -2
- package/lib/vivliostyle/cfi.d.ts +1 -1
- package/lib/vivliostyle/columns.d.ts +2 -2
- package/lib/vivliostyle/core-viewer.d.ts +6 -6
- package/lib/vivliostyle/css-cascade.d.ts +5 -5
- package/lib/vivliostyle/css-page.d.ts +6 -5
- package/lib/vivliostyle/css-tokenizer.d.ts +1 -1
- package/lib/vivliostyle/css-validator.d.ts +1 -1
- package/lib/vivliostyle/diff.d.ts +1 -1
- package/lib/vivliostyle/epub.d.ts +4 -4
- package/lib/vivliostyle/exprs.d.ts +6 -6
- package/lib/vivliostyle/layout-util.d.ts +1 -1
- package/lib/vivliostyle/layout.d.ts +4 -4
- package/lib/vivliostyle/logging.d.ts +1 -1
- package/lib/vivliostyle/net.d.ts +2 -2
- package/lib/vivliostyle/ops.d.ts +2 -2
- package/lib/vivliostyle/page-floats.d.ts +3 -3
- package/lib/vivliostyle/plugin.d.ts +9 -9
- package/lib/vivliostyle/repetitive-element.d.ts +1 -1
- package/lib/vivliostyle/table.d.ts +1 -1
- package/lib/vivliostyle/toc.d.ts +1 -1
- package/lib/vivliostyle/types.d.ts +2 -2
- package/lib/vivliostyle/vgen.d.ts +1 -1
- package/lib/vivliostyle/vtree.d.ts +12 -12
- package/lib/vivliostyle/xml-doc.d.ts +1 -1
- package/lib/vivliostyle.js +1 -1
- package/lib/vivliostyle.js.map +1 -1
- package/package.json +2 -2
|
@@ -42,14 +42,14 @@ export declare class DelayedItem {
|
|
|
42
42
|
value: Css.Val;
|
|
43
43
|
constructor(target: Element, name: string, value: Css.Val);
|
|
44
44
|
}
|
|
45
|
-
export
|
|
45
|
+
export type PageHyperlinkEvent = {
|
|
46
46
|
type: string;
|
|
47
47
|
target: any;
|
|
48
48
|
currentTarget: any;
|
|
49
49
|
anchorElement: Element;
|
|
50
50
|
href: string;
|
|
51
51
|
};
|
|
52
|
-
export
|
|
52
|
+
export type Trigger = {
|
|
53
53
|
observer: string;
|
|
54
54
|
event: string;
|
|
55
55
|
action: string;
|
|
@@ -111,7 +111,7 @@ export declare class Page extends Base.SimpleEventTarget {
|
|
|
111
111
|
registerElementWithId(element: Element, id: string): void;
|
|
112
112
|
finish(triggers: Trigger[], clientLayout: ClientLayout): void;
|
|
113
113
|
}
|
|
114
|
-
export
|
|
114
|
+
export type Spread = {
|
|
115
115
|
left: Page;
|
|
116
116
|
right: Page;
|
|
117
117
|
};
|
|
@@ -120,7 +120,7 @@ export declare type Spread = {
|
|
|
120
120
|
*/
|
|
121
121
|
export declare const SPECIAL_ATTR = "data-adapt-spec";
|
|
122
122
|
export declare const Whitespace: typeof Vtree.Whitespace;
|
|
123
|
-
export
|
|
123
|
+
export type Whitespace = Vtree.Whitespace;
|
|
124
124
|
/**
|
|
125
125
|
* Resolves Whitespace value from a value of 'white-space' property
|
|
126
126
|
* @param whitespace The value of 'white-space' property
|
|
@@ -148,32 +148,32 @@ export declare class FlowChunk {
|
|
|
148
148
|
constructor(flowName: string, element: Element, startOffset: number, priority: number, linger: number, exclusive: boolean, repeated: boolean, last: boolean, breakBefore: string | null);
|
|
149
149
|
isBetter(other: FlowChunk): boolean;
|
|
150
150
|
}
|
|
151
|
-
export
|
|
151
|
+
export type ClientRect = Vtree.ClientRect;
|
|
152
152
|
export declare function clientrectIncreasingTop(r1: ClientRect, r2: ClientRect): number;
|
|
153
153
|
export declare function clientrectDecreasingRight(r1: ClientRect, r2: ClientRect): number;
|
|
154
154
|
/**
|
|
155
155
|
* Interface to read the position assigned to the elements and ranges by the
|
|
156
156
|
* browser.
|
|
157
157
|
*/
|
|
158
|
-
export
|
|
158
|
+
export type ClientLayout = Vtree.ClientLayout;
|
|
159
159
|
/**
|
|
160
160
|
* Styling, creating a single node's view, etc.
|
|
161
161
|
*/
|
|
162
|
-
export
|
|
162
|
+
export type LayoutContext = Vtree.LayoutContext;
|
|
163
163
|
/**
|
|
164
164
|
* Formatting context.
|
|
165
165
|
*/
|
|
166
|
-
export
|
|
166
|
+
export type FormattingContext = Vtree.FormattingContext;
|
|
167
167
|
export declare function eachAncestorFormattingContext(nodeContext: NodeContext, callback: (p1: FormattingContext) => any): void;
|
|
168
|
-
export
|
|
168
|
+
export type NodePositionStep = Vtree.NodePositionStep;
|
|
169
169
|
export declare function isSameNodePositionStep(nps1: NodePositionStep, nps2: NodePositionStep): boolean;
|
|
170
|
-
export
|
|
170
|
+
export type NodePosition = Vtree.NodePosition;
|
|
171
171
|
export declare function isSameNodePosition(np1: NodePosition | null, np2: NodePosition | null): boolean;
|
|
172
172
|
export declare function newNodePositionFromNode(node: Node): NodePosition;
|
|
173
173
|
export declare function newNodePositionFromNodeContext(nodeContext: Vtree.NodeContext, initialFragmentIndex: number | null): NodePosition;
|
|
174
174
|
export declare function makeNodeContextFromNodePositionStep(step: NodePositionStep, parent: Vtree.NodeContext): NodeContext;
|
|
175
175
|
export declare const ShadowType: typeof Vtree.ShadowType;
|
|
176
|
-
export
|
|
176
|
+
export type ShadowType = Vtree.ShadowType;
|
|
177
177
|
/**
|
|
178
178
|
* Data about shadow tree instance.
|
|
179
179
|
*/
|
|
@@ -376,7 +376,7 @@ export declare class Container implements Vtree.Container {
|
|
|
376
376
|
getOuterShape(outerShapeProp: Css.Val, context: Exprs.Context): GeometryUtil.Shape;
|
|
377
377
|
getOuterRect(): GeometryUtil.Rect;
|
|
378
378
|
}
|
|
379
|
-
export
|
|
379
|
+
export type ExprContentListener = Vtree.ExprContentListener;
|
|
380
380
|
export declare class ContentPropertyHandler extends Css.Visitor {
|
|
381
381
|
readonly elem: Element;
|
|
382
382
|
readonly context: Exprs.Context;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Net from "./net";
|
|
2
2
|
import * as Task from "./task";
|
|
3
3
|
import { XmlDoc } from "./types";
|
|
4
|
-
export
|
|
4
|
+
export type XMLDocStore = XmlDoc.XMLDocStore;
|
|
5
5
|
export declare class XMLDocHolder implements XmlDoc.XMLDocHolder {
|
|
6
6
|
readonly store: XMLDocStore;
|
|
7
7
|
readonly url: string;
|