@vivliostyle/core 2.17.0 → 2.17.1
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/base.d.ts +2 -7
- package/lib/vivliostyle/break-position.d.ts +1 -10
- package/lib/vivliostyle/cfi.d.ts +4 -12
- package/lib/vivliostyle/columns.d.ts +0 -21
- package/lib/vivliostyle/css-cascade.d.ts +37 -368
- package/lib/vivliostyle/css-page.d.ts +3 -141
- package/lib/vivliostyle/css-parser.d.ts +0 -169
- package/lib/vivliostyle/css-prop.d.ts +0 -25
- package/lib/vivliostyle/css-styler.d.ts +3 -10
- package/lib/vivliostyle/css-validator.d.ts +0 -186
- package/lib/vivliostyle/css.d.ts +1 -168
- package/lib/vivliostyle/diff.d.ts +2 -8
- package/lib/vivliostyle/epub.d.ts +1 -6
- package/lib/vivliostyle/exprs.d.ts +1 -225
- package/lib/vivliostyle/footnotes.d.ts +7 -30
- package/lib/vivliostyle/layout-processor.d.ts +8 -24
- package/lib/vivliostyle/layout-util.d.ts +0 -9
- package/lib/vivliostyle/layout.d.ts +4 -37
- package/lib/vivliostyle/net.d.ts +2 -8
- package/lib/vivliostyle/ops.d.ts +5 -52
- package/lib/vivliostyle/page-floats.d.ts +7 -21
- package/lib/vivliostyle/page-master.d.ts +3 -54
- package/lib/vivliostyle/pseudo-element.d.ts +2 -6
- package/lib/vivliostyle/repetitive-element.d.ts +9 -54
- package/lib/vivliostyle/table.d.ts +11 -92
- package/lib/vivliostyle/task.d.ts +16 -49
- package/lib/vivliostyle/toc.d.ts +1 -3
- package/lib/vivliostyle/types.d.ts +1 -1
- package/lib/vivliostyle/vgen.d.ts +13 -42
- package/lib/vivliostyle/vtree.d.ts +0 -4
- package/lib/vivliostyle.js +1 -1
- package/lib/vivliostyle.js.map +1 -1
- package/package.json +2 -2
|
@@ -67,10 +67,7 @@ export declare function getURLParam(name: string, opt_url?: string): string | nu
|
|
|
67
67
|
* @return new url
|
|
68
68
|
*/
|
|
69
69
|
export declare function setURLParam(url: string, name: string, value: string): string;
|
|
70
|
-
|
|
71
|
-
* @return ?string
|
|
72
|
-
*/
|
|
73
|
-
export declare function asString(v: any): any;
|
|
70
|
+
export declare function asString(v: any): string | null;
|
|
74
71
|
export interface Comparable {
|
|
75
72
|
/**
|
|
76
73
|
* @return -1 when this less then other, 0 when this equals other
|
|
@@ -107,9 +104,7 @@ export declare class StringBuffer {
|
|
|
107
104
|
list: string[];
|
|
108
105
|
append(str: string): StringBuffer;
|
|
109
106
|
clear(): void;
|
|
110
|
-
/**
|
|
111
|
-
* @override
|
|
112
|
-
*/
|
|
107
|
+
/** @override */
|
|
113
108
|
toString(): string;
|
|
114
109
|
}
|
|
115
110
|
export declare function escapeChar(str: string): string;
|
|
@@ -10,9 +10,7 @@ export declare abstract class AbstractBreakPosition implements Layout.AbstractBr
|
|
|
10
10
|
current: number;
|
|
11
11
|
minimum: number;
|
|
12
12
|
};
|
|
13
|
-
/**
|
|
14
|
-
* @override
|
|
15
|
-
*/
|
|
13
|
+
/** @override */
|
|
16
14
|
breakPositionChosen(column: Layout.Column): void;
|
|
17
15
|
getNodeContext(): Vtree.NodeContext;
|
|
18
16
|
}
|
|
@@ -32,17 +30,10 @@ export declare class EdgeBreakPosition extends AbstractBreakPosition implements
|
|
|
32
30
|
protected isEdgeUpdated: boolean;
|
|
33
31
|
private edge;
|
|
34
32
|
constructor(position: Vtree.NodeContext, breakOnEdge: string | null, overflows: boolean, computedBlockSize: number);
|
|
35
|
-
/**
|
|
36
|
-
* @override
|
|
37
|
-
*/
|
|
38
33
|
findAcceptableBreak(column: Layout.Column, penalty: number): Vtree.NodeContext;
|
|
39
|
-
/**
|
|
40
|
-
* @override
|
|
41
|
-
*/
|
|
42
34
|
getMinBreakPenalty(): number;
|
|
43
35
|
private updateEdge;
|
|
44
36
|
private updateOverflows;
|
|
45
|
-
/** @override */
|
|
46
37
|
getNodeContext(): Vtree.NodeContext;
|
|
47
38
|
private isFirstContentOfRepetitiveElementsOwner;
|
|
48
39
|
}
|
package/lib/vivliostyle/cfi.d.ts
CHANGED
|
@@ -41,9 +41,7 @@ export interface Step {
|
|
|
41
41
|
}
|
|
42
42
|
export declare class RefStep implements Step {
|
|
43
43
|
appendTo(sb: Base.StringBuffer): void;
|
|
44
|
-
/**
|
|
45
|
-
* @override
|
|
46
|
-
*/
|
|
44
|
+
/** @override */
|
|
47
45
|
applyTo(pos: Position): boolean;
|
|
48
46
|
}
|
|
49
47
|
export declare class ChildStep implements Step {
|
|
@@ -51,13 +49,9 @@ export declare class ChildStep implements Step {
|
|
|
51
49
|
readonly id: string | null;
|
|
52
50
|
readonly sideBias: string | null;
|
|
53
51
|
constructor(index: number, id: string | null, sideBias: string | null);
|
|
54
|
-
/**
|
|
55
|
-
* @override
|
|
56
|
-
*/
|
|
52
|
+
/** @override */
|
|
57
53
|
appendTo(sb: Base.StringBuffer): void;
|
|
58
|
-
/**
|
|
59
|
-
* @override
|
|
60
|
-
*/
|
|
54
|
+
/** @override */
|
|
61
55
|
applyTo(pos: Position): boolean;
|
|
62
56
|
}
|
|
63
57
|
export declare class OffsetStep implements Step {
|
|
@@ -67,9 +61,7 @@ export declare class OffsetStep implements Step {
|
|
|
67
61
|
readonly sideBias: string | null;
|
|
68
62
|
constructor(offset: number, textBefore: string | null, textAfter: string | null, sideBias: string | null);
|
|
69
63
|
applyTo(pos: Position): boolean;
|
|
70
|
-
/**
|
|
71
|
-
* @override
|
|
72
|
-
*/
|
|
64
|
+
/** @override */
|
|
73
65
|
appendTo(sb: Base.StringBuffer): void;
|
|
74
66
|
}
|
|
75
67
|
export declare class Fragment {
|
|
@@ -37,37 +37,16 @@ export declare class BalanceLastColumnBalancer extends ColumnBalancer {
|
|
|
37
37
|
originalPosition: Vtree.LayoutPosition | null;
|
|
38
38
|
foundUpperBound: boolean;
|
|
39
39
|
constructor(columnGenerator: ColumnGenerator, regionPageFloatLayoutContext: any, layoutContainer: Vtree.Container, columnCount: number);
|
|
40
|
-
/**
|
|
41
|
-
* @override
|
|
42
|
-
*/
|
|
43
40
|
preBalance(layoutResult: ColumnLayoutResult): void;
|
|
44
41
|
private checkPosition;
|
|
45
|
-
/**
|
|
46
|
-
* @override
|
|
47
|
-
*/
|
|
48
42
|
calculatePenalty(layoutResult: ColumnLayoutResult): number;
|
|
49
|
-
/**
|
|
50
|
-
* @override
|
|
51
|
-
*/
|
|
52
43
|
hasNextCandidate(candidates: ColumnBalancingTrialResult[]): boolean;
|
|
53
|
-
/**
|
|
54
|
-
* @override
|
|
55
|
-
*/
|
|
56
44
|
updateCondition(candidates: ColumnBalancingTrialResult[]): void;
|
|
57
45
|
}
|
|
58
46
|
export declare class BalanceNonLastColumnBalancer extends ColumnBalancer {
|
|
59
47
|
constructor(columnGenerator: ColumnGenerator, regionPageFloatLayoutContext: any, layoutContainer: Vtree.Container);
|
|
60
|
-
/**
|
|
61
|
-
* @override
|
|
62
|
-
*/
|
|
63
48
|
calculatePenalty(layoutResult: ColumnLayoutResult): number;
|
|
64
|
-
/**
|
|
65
|
-
* @override
|
|
66
|
-
*/
|
|
67
49
|
hasNextCandidate(candidates: ColumnBalancingTrialResult[]): boolean;
|
|
68
|
-
/**
|
|
69
|
-
* @override
|
|
70
|
-
*/
|
|
71
50
|
updateCondition(candidates: ColumnBalancingTrialResult[]): void;
|
|
72
51
|
}
|
|
73
52
|
export declare function createColumnBalancer(columnCount: number, columnFill: Css.Ident, columnGenerator: ColumnGenerator, regionPageFloatLayoutContext: PageFloats.PageFloatLayoutContext, layoutContainer: Vtree.Container, columns: Layout.Column[], flowPosition: Vtree.FlowPosition): ColumnBalancer | null;
|