@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.
@@ -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 declare type PageHyperlinkEvent = {
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 declare type Trigger = {
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 declare type Spread = {
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 declare type Whitespace = Vtree.Whitespace;
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 declare type ClientRect = Vtree.ClientRect;
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 declare type ClientLayout = Vtree.ClientLayout;
158
+ export type ClientLayout = Vtree.ClientLayout;
159
159
  /**
160
160
  * Styling, creating a single node's view, etc.
161
161
  */
162
- export declare type LayoutContext = Vtree.LayoutContext;
162
+ export type LayoutContext = Vtree.LayoutContext;
163
163
  /**
164
164
  * Formatting context.
165
165
  */
166
- export declare type FormattingContext = Vtree.FormattingContext;
166
+ export type FormattingContext = Vtree.FormattingContext;
167
167
  export declare function eachAncestorFormattingContext(nodeContext: NodeContext, callback: (p1: FormattingContext) => any): void;
168
- export declare type NodePositionStep = Vtree.NodePositionStep;
168
+ export type NodePositionStep = Vtree.NodePositionStep;
169
169
  export declare function isSameNodePositionStep(nps1: NodePositionStep, nps2: NodePositionStep): boolean;
170
- export declare type NodePosition = Vtree.NodePosition;
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 declare type ShadowType = Vtree.ShadowType;
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 declare type ExprContentListener = Vtree.ExprContentListener;
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 declare type XMLDocStore = XmlDoc.XMLDocStore;
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;