modern-idoc 0.2.0 → 0.2.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/dist/index.d.cts +21 -2
- package/dist/index.d.mts +21 -2
- package/dist/index.d.ts +21 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,26 @@
|
|
|
1
|
+
interface FillRect {
|
|
2
|
+
left?: number;
|
|
3
|
+
top?: number;
|
|
4
|
+
bottom?: number;
|
|
5
|
+
right?: number;
|
|
6
|
+
}
|
|
7
|
+
interface FillTile {
|
|
8
|
+
alignment?: string;
|
|
9
|
+
scaleX?: number;
|
|
10
|
+
scaleY?: number;
|
|
11
|
+
translateX?: number;
|
|
12
|
+
translateY?: number;
|
|
13
|
+
flip?: string;
|
|
14
|
+
}
|
|
1
15
|
interface FillDeclaration {
|
|
16
|
+
opacity?: number;
|
|
2
17
|
image?: string;
|
|
18
|
+
dpi?: number;
|
|
19
|
+
rotateWithShape?: boolean;
|
|
20
|
+
srcRect?: FillRect;
|
|
21
|
+
fillRect?: FillRect;
|
|
22
|
+
tile?: FillTile;
|
|
3
23
|
color?: string;
|
|
4
|
-
opacity?: number;
|
|
5
24
|
}
|
|
6
25
|
|
|
7
26
|
type SVGPathData = string;
|
|
@@ -331,4 +350,4 @@ declare function normalizeTextContent(content?: TextContent): TextContentDeclara
|
|
|
331
350
|
|
|
332
351
|
declare function normalizeVideo(video?: VideoProp): VideoDeclaration | undefined;
|
|
333
352
|
|
|
334
|
-
export { type ElementDeclaration, type ElementStyleDeclaration, type FillDeclaration, type FillProp, type FillRule, type FragmentContent, type GeometryDeclaration, type GeometryProp, type HighlightDeclaration, type HighlightStyleDeclaration, type IDOCDocument, type IDOCElement, type IDOCNode, type ImageDeclaration, type ImageProp, type LayoutStyleDeclaration, type ListStyleDeclaration, type ListStyleStyleDeclaration, type MetaProp, type ParagraphContent, type Path2DDeclaration, type Path2DStyle, type SVGPathData, type ShadowDeclaration, type ShadowStyleDeclaration, type StrokeDeclaration, type StrokeLinecap, type StrokeLinejoin, type StrokeProp, type StyleDeclaration, type StyleProp, type TextContent, type TextContentDeclaration, type TextContentFlat, type TextDeclaration, type TextDrawStyleDeclaration, type TextInlineStyleDeclaration, type TextLineStyleDeclaration, type TextProp, type TextStyleDeclaration, type TransformStyleDeclaration, type VideoDeclaration, type VideoProp, getDefaultElementStyle, getDefaultShadowStyle, getDefaultStyle, getDefaultTextStyle, getDefaultTransformStyle, normalizeElement, normalizeFill, normalizeGeometry, normalizeImage, normalizeStroke, normalizeText, normalizeTextContent, normalizeVideo };
|
|
353
|
+
export { type ElementDeclaration, type ElementStyleDeclaration, type FillDeclaration, type FillProp, type FillRect, type FillRule, type FillTile, type FragmentContent, type GeometryDeclaration, type GeometryProp, type HighlightDeclaration, type HighlightStyleDeclaration, type IDOCDocument, type IDOCElement, type IDOCNode, type ImageDeclaration, type ImageProp, type LayoutStyleDeclaration, type ListStyleDeclaration, type ListStyleStyleDeclaration, type MetaProp, type ParagraphContent, type Path2DDeclaration, type Path2DStyle, type SVGPathData, type ShadowDeclaration, type ShadowStyleDeclaration, type StrokeDeclaration, type StrokeLinecap, type StrokeLinejoin, type StrokeProp, type StyleDeclaration, type StyleProp, type TextContent, type TextContentDeclaration, type TextContentFlat, type TextDeclaration, type TextDrawStyleDeclaration, type TextInlineStyleDeclaration, type TextLineStyleDeclaration, type TextProp, type TextStyleDeclaration, type TransformStyleDeclaration, type VideoDeclaration, type VideoProp, getDefaultElementStyle, getDefaultShadowStyle, getDefaultStyle, getDefaultTextStyle, getDefaultTransformStyle, normalizeElement, normalizeFill, normalizeGeometry, normalizeImage, normalizeStroke, normalizeText, normalizeTextContent, normalizeVideo };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,26 @@
|
|
|
1
|
+
interface FillRect {
|
|
2
|
+
left?: number;
|
|
3
|
+
top?: number;
|
|
4
|
+
bottom?: number;
|
|
5
|
+
right?: number;
|
|
6
|
+
}
|
|
7
|
+
interface FillTile {
|
|
8
|
+
alignment?: string;
|
|
9
|
+
scaleX?: number;
|
|
10
|
+
scaleY?: number;
|
|
11
|
+
translateX?: number;
|
|
12
|
+
translateY?: number;
|
|
13
|
+
flip?: string;
|
|
14
|
+
}
|
|
1
15
|
interface FillDeclaration {
|
|
16
|
+
opacity?: number;
|
|
2
17
|
image?: string;
|
|
18
|
+
dpi?: number;
|
|
19
|
+
rotateWithShape?: boolean;
|
|
20
|
+
srcRect?: FillRect;
|
|
21
|
+
fillRect?: FillRect;
|
|
22
|
+
tile?: FillTile;
|
|
3
23
|
color?: string;
|
|
4
|
-
opacity?: number;
|
|
5
24
|
}
|
|
6
25
|
|
|
7
26
|
type SVGPathData = string;
|
|
@@ -331,4 +350,4 @@ declare function normalizeTextContent(content?: TextContent): TextContentDeclara
|
|
|
331
350
|
|
|
332
351
|
declare function normalizeVideo(video?: VideoProp): VideoDeclaration | undefined;
|
|
333
352
|
|
|
334
|
-
export { type ElementDeclaration, type ElementStyleDeclaration, type FillDeclaration, type FillProp, type FillRule, type FragmentContent, type GeometryDeclaration, type GeometryProp, type HighlightDeclaration, type HighlightStyleDeclaration, type IDOCDocument, type IDOCElement, type IDOCNode, type ImageDeclaration, type ImageProp, type LayoutStyleDeclaration, type ListStyleDeclaration, type ListStyleStyleDeclaration, type MetaProp, type ParagraphContent, type Path2DDeclaration, type Path2DStyle, type SVGPathData, type ShadowDeclaration, type ShadowStyleDeclaration, type StrokeDeclaration, type StrokeLinecap, type StrokeLinejoin, type StrokeProp, type StyleDeclaration, type StyleProp, type TextContent, type TextContentDeclaration, type TextContentFlat, type TextDeclaration, type TextDrawStyleDeclaration, type TextInlineStyleDeclaration, type TextLineStyleDeclaration, type TextProp, type TextStyleDeclaration, type TransformStyleDeclaration, type VideoDeclaration, type VideoProp, getDefaultElementStyle, getDefaultShadowStyle, getDefaultStyle, getDefaultTextStyle, getDefaultTransformStyle, normalizeElement, normalizeFill, normalizeGeometry, normalizeImage, normalizeStroke, normalizeText, normalizeTextContent, normalizeVideo };
|
|
353
|
+
export { type ElementDeclaration, type ElementStyleDeclaration, type FillDeclaration, type FillProp, type FillRect, type FillRule, type FillTile, type FragmentContent, type GeometryDeclaration, type GeometryProp, type HighlightDeclaration, type HighlightStyleDeclaration, type IDOCDocument, type IDOCElement, type IDOCNode, type ImageDeclaration, type ImageProp, type LayoutStyleDeclaration, type ListStyleDeclaration, type ListStyleStyleDeclaration, type MetaProp, type ParagraphContent, type Path2DDeclaration, type Path2DStyle, type SVGPathData, type ShadowDeclaration, type ShadowStyleDeclaration, type StrokeDeclaration, type StrokeLinecap, type StrokeLinejoin, type StrokeProp, type StyleDeclaration, type StyleProp, type TextContent, type TextContentDeclaration, type TextContentFlat, type TextDeclaration, type TextDrawStyleDeclaration, type TextInlineStyleDeclaration, type TextLineStyleDeclaration, type TextProp, type TextStyleDeclaration, type TransformStyleDeclaration, type VideoDeclaration, type VideoProp, getDefaultElementStyle, getDefaultShadowStyle, getDefaultStyle, getDefaultTextStyle, getDefaultTransformStyle, normalizeElement, normalizeFill, normalizeGeometry, normalizeImage, normalizeStroke, normalizeText, normalizeTextContent, normalizeVideo };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,26 @@
|
|
|
1
|
+
interface FillRect {
|
|
2
|
+
left?: number;
|
|
3
|
+
top?: number;
|
|
4
|
+
bottom?: number;
|
|
5
|
+
right?: number;
|
|
6
|
+
}
|
|
7
|
+
interface FillTile {
|
|
8
|
+
alignment?: string;
|
|
9
|
+
scaleX?: number;
|
|
10
|
+
scaleY?: number;
|
|
11
|
+
translateX?: number;
|
|
12
|
+
translateY?: number;
|
|
13
|
+
flip?: string;
|
|
14
|
+
}
|
|
1
15
|
interface FillDeclaration {
|
|
16
|
+
opacity?: number;
|
|
2
17
|
image?: string;
|
|
18
|
+
dpi?: number;
|
|
19
|
+
rotateWithShape?: boolean;
|
|
20
|
+
srcRect?: FillRect;
|
|
21
|
+
fillRect?: FillRect;
|
|
22
|
+
tile?: FillTile;
|
|
3
23
|
color?: string;
|
|
4
|
-
opacity?: number;
|
|
5
24
|
}
|
|
6
25
|
|
|
7
26
|
type SVGPathData = string;
|
|
@@ -331,4 +350,4 @@ declare function normalizeTextContent(content?: TextContent): TextContentDeclara
|
|
|
331
350
|
|
|
332
351
|
declare function normalizeVideo(video?: VideoProp): VideoDeclaration | undefined;
|
|
333
352
|
|
|
334
|
-
export { type ElementDeclaration, type ElementStyleDeclaration, type FillDeclaration, type FillProp, type FillRule, type FragmentContent, type GeometryDeclaration, type GeometryProp, type HighlightDeclaration, type HighlightStyleDeclaration, type IDOCDocument, type IDOCElement, type IDOCNode, type ImageDeclaration, type ImageProp, type LayoutStyleDeclaration, type ListStyleDeclaration, type ListStyleStyleDeclaration, type MetaProp, type ParagraphContent, type Path2DDeclaration, type Path2DStyle, type SVGPathData, type ShadowDeclaration, type ShadowStyleDeclaration, type StrokeDeclaration, type StrokeLinecap, type StrokeLinejoin, type StrokeProp, type StyleDeclaration, type StyleProp, type TextContent, type TextContentDeclaration, type TextContentFlat, type TextDeclaration, type TextDrawStyleDeclaration, type TextInlineStyleDeclaration, type TextLineStyleDeclaration, type TextProp, type TextStyleDeclaration, type TransformStyleDeclaration, type VideoDeclaration, type VideoProp, getDefaultElementStyle, getDefaultShadowStyle, getDefaultStyle, getDefaultTextStyle, getDefaultTransformStyle, normalizeElement, normalizeFill, normalizeGeometry, normalizeImage, normalizeStroke, normalizeText, normalizeTextContent, normalizeVideo };
|
|
353
|
+
export { type ElementDeclaration, type ElementStyleDeclaration, type FillDeclaration, type FillProp, type FillRect, type FillRule, type FillTile, type FragmentContent, type GeometryDeclaration, type GeometryProp, type HighlightDeclaration, type HighlightStyleDeclaration, type IDOCDocument, type IDOCElement, type IDOCNode, type ImageDeclaration, type ImageProp, type LayoutStyleDeclaration, type ListStyleDeclaration, type ListStyleStyleDeclaration, type MetaProp, type ParagraphContent, type Path2DDeclaration, type Path2DStyle, type SVGPathData, type ShadowDeclaration, type ShadowStyleDeclaration, type StrokeDeclaration, type StrokeLinecap, type StrokeLinejoin, type StrokeProp, type StyleDeclaration, type StyleProp, type TextContent, type TextContentDeclaration, type TextContentFlat, type TextDeclaration, type TextDrawStyleDeclaration, type TextInlineStyleDeclaration, type TextLineStyleDeclaration, type TextProp, type TextStyleDeclaration, type TransformStyleDeclaration, type VideoDeclaration, type VideoProp, getDefaultElementStyle, getDefaultShadowStyle, getDefaultStyle, getDefaultTextStyle, getDefaultTransformStyle, normalizeElement, normalizeFill, normalizeGeometry, normalizeImage, normalizeStroke, normalizeText, normalizeTextContent, normalizeVideo };
|