Fix App.jsx two-page workflow JSX render and update study app layout
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
export * from './textbox';
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export type IPictElement = {
|
||||
readonly shape: XmlComponent;
|
||||
};
|
||||
export declare const createPictElement: ({ shape }: IPictElement) => XmlComponent;
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
import { ParagraphChild } from '../../paragraph';
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
import { LengthUnit } from '../types';
|
||||
export type VmlShapeStyle = {
|
||||
readonly flip?: "x" | "y" | "xy" | "yx";
|
||||
readonly height?: LengthUnit;
|
||||
readonly left?: LengthUnit;
|
||||
readonly marginBottom?: LengthUnit;
|
||||
readonly marginLeft?: LengthUnit;
|
||||
readonly marginRight?: LengthUnit;
|
||||
readonly marginTop?: LengthUnit;
|
||||
readonly positionHorizontal?: "absolute" | "left" | "center" | "right" | "inside" | "outside";
|
||||
readonly positionHorizontalRelative?: "margin" | "page" | "text" | "char";
|
||||
readonly positionVertical?: "absolute" | "left" | "center" | "right" | "inside" | "outside";
|
||||
readonly positionVerticalRelative?: "margin" | "page" | "text" | "char";
|
||||
readonly wrapDistanceBottom?: number;
|
||||
readonly wrapDistanceLeft?: number;
|
||||
readonly wrapDistanceRight?: number;
|
||||
readonly wrapDistanceTop?: number;
|
||||
readonly wrapEdited?: boolean;
|
||||
readonly wrapStyle?: "square" | "none";
|
||||
readonly position?: "static" | "absolute" | "relative";
|
||||
readonly rotation?: number;
|
||||
readonly top?: LengthUnit;
|
||||
readonly visibility?: "hidden" | "inherit";
|
||||
readonly width: LengthUnit;
|
||||
readonly zIndex?: "auto" | number;
|
||||
};
|
||||
type ShapeOptions = {
|
||||
readonly id: string;
|
||||
readonly children?: readonly ParagraphChild[];
|
||||
readonly type?: string;
|
||||
readonly style?: VmlShapeStyle;
|
||||
};
|
||||
export declare const createShape: ({ id, children, type, style }: ShapeOptions) => XmlComponent;
|
||||
export {};
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
import { ParagraphChild } from '../../paragraph';
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export declare const createTextboxContent: ({ children }: {
|
||||
readonly children?: readonly ParagraphChild[];
|
||||
}) => XmlComponent;
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import { FileChild } from '../file-child';
|
||||
import { IParagraphOptions } from '../paragraph';
|
||||
import { VmlShapeStyle } from './shape/shape';
|
||||
type ITextboxOptions = Omit<IParagraphOptions, "style"> & {
|
||||
readonly style?: VmlShapeStyle;
|
||||
};
|
||||
export declare class Textbox extends FileChild {
|
||||
constructor({ style, children, ...rest }: ITextboxOptions);
|
||||
}
|
||||
export {};
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import { Percentage, RelativeMeasure, UniversalMeasure } from '../../util/values';
|
||||
export type LengthUnit = "auto" | number | Percentage | UniversalMeasure | RelativeMeasure;
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
import { ParagraphChild } from '../../paragraph';
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
import { LengthUnit } from '../types';
|
||||
export type IVTextboxOptions = {
|
||||
readonly style?: string;
|
||||
readonly children?: readonly ParagraphChild[];
|
||||
readonly inset?: {
|
||||
readonly top: LengthUnit;
|
||||
readonly left: LengthUnit;
|
||||
readonly bottom: LengthUnit;
|
||||
readonly right: LengthUnit;
|
||||
};
|
||||
};
|
||||
export declare const createVmlTextbox: ({ style, children, inset }: IVTextboxOptions) => XmlComponent;
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Reference in New Issue
Block a user