Fix App.jsx two-page workflow JSX render and update study app layout
This commit is contained in:
+2
@@ -0,0 +1,2 @@
|
||||
export * from './table-cell';
|
||||
export * from './table-cell-components';
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
import { IBorderOptions } from '../../border';
|
||||
import { IgnoreIfEmptyXmlComponent, XmlComponent } from '../../xml-components';
|
||||
export type ITableCellBorders = {
|
||||
readonly top?: IBorderOptions;
|
||||
readonly start?: IBorderOptions;
|
||||
readonly left?: IBorderOptions;
|
||||
readonly bottom?: IBorderOptions;
|
||||
readonly end?: IBorderOptions;
|
||||
readonly right?: IBorderOptions;
|
||||
};
|
||||
export declare class TableCellBorders extends IgnoreIfEmptyXmlComponent {
|
||||
constructor(options: ITableCellBorders);
|
||||
}
|
||||
export declare class GridSpan extends XmlComponent {
|
||||
constructor(value: number);
|
||||
}
|
||||
export declare const VerticalMergeType: {
|
||||
readonly CONTINUE: "continue";
|
||||
readonly RESTART: "restart";
|
||||
};
|
||||
export declare class VerticalMerge extends XmlComponent {
|
||||
constructor(value: (typeof VerticalMergeType)[keyof typeof VerticalMergeType]);
|
||||
}
|
||||
export declare const TextDirection: {
|
||||
readonly BOTTOM_TO_TOP_LEFT_TO_RIGHT: "btLr";
|
||||
readonly LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb";
|
||||
readonly TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl";
|
||||
};
|
||||
export declare class TDirection extends XmlComponent {
|
||||
constructor(value: (typeof TextDirection)[keyof typeof TextDirection]);
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
import { ICellMergeAttributes } from '../../track-revision';
|
||||
import { IChangedAttributesProperties } from '../../track-revision/track-revision';
|
||||
import { TableVerticalAlign } from '../../vertical-align';
|
||||
import { IgnoreIfEmptyXmlComponent, XmlComponent } from '../../xml-components';
|
||||
import { IShadingAttributesProperties } from '../../shading';
|
||||
import { ITableCellMarginOptions } from '../table-properties/table-cell-margin';
|
||||
import { ITableWidthProperties } from '../table-width';
|
||||
import { ITableCellBorders, TextDirection, VerticalMergeType } from './table-cell-components';
|
||||
export type ITableCellPropertiesOptionsBase = {
|
||||
readonly shading?: IShadingAttributesProperties;
|
||||
readonly margins?: ITableCellMarginOptions;
|
||||
readonly verticalAlign?: TableVerticalAlign;
|
||||
readonly textDirection?: (typeof TextDirection)[keyof typeof TextDirection];
|
||||
readonly verticalMerge?: (typeof VerticalMergeType)[keyof typeof VerticalMergeType];
|
||||
readonly width?: ITableWidthProperties;
|
||||
readonly columnSpan?: number;
|
||||
readonly rowSpan?: number;
|
||||
readonly borders?: ITableCellBorders;
|
||||
readonly insertion?: IChangedAttributesProperties;
|
||||
readonly deletion?: IChangedAttributesProperties;
|
||||
readonly cellMerge?: ICellMergeAttributes;
|
||||
};
|
||||
export type ITableCellPropertiesOptions = {
|
||||
readonly revision?: ITableCellPropertiesChangeOptions;
|
||||
readonly includeIfEmpty?: boolean;
|
||||
} & ITableCellPropertiesOptionsBase;
|
||||
export type ITableCellPropertiesChangeOptions = ITableCellPropertiesOptionsBase & IChangedAttributesProperties;
|
||||
export declare class TableCellProperties extends IgnoreIfEmptyXmlComponent {
|
||||
constructor(options: ITableCellPropertiesOptions);
|
||||
}
|
||||
export declare class TableCellPropertiesChange extends XmlComponent {
|
||||
constructor(options: ITableCellPropertiesChangeOptions);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import { Paragraph } from '../../paragraph';
|
||||
import { IContext, IXmlableObject, XmlComponent } from '../../xml-components';
|
||||
import { Table } from '../table';
|
||||
import { ITableCellPropertiesOptions } from './table-cell-properties';
|
||||
export type ITableCellOptions = {
|
||||
readonly children: readonly (Paragraph | Table)[];
|
||||
} & ITableCellPropertiesOptions;
|
||||
export declare class TableCell extends XmlComponent {
|
||||
readonly options: ITableCellOptions;
|
||||
constructor(options: ITableCellOptions);
|
||||
prepForXml(context: IContext): IXmlableObject | undefined;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Reference in New Issue
Block a user