Fix App.jsx two-page workflow JSX render and update study app layout
This commit is contained in:
Generated
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
import { XmlComponent } from '../../../../xml-components';
|
||||
import { PositiveUniversalMeasure } from '../../../../../util/values';
|
||||
export type IColumnAttributes = {
|
||||
readonly width: number | PositiveUniversalMeasure;
|
||||
readonly space?: number | PositiveUniversalMeasure;
|
||||
};
|
||||
export declare class Column extends XmlComponent {
|
||||
constructor(options: IColumnAttributes);
|
||||
}
|
||||
Generated
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
import { XmlComponent } from '../../../../xml-components';
|
||||
import { PositiveUniversalMeasure } from '../../../../../util/values';
|
||||
import { Column } from './column';
|
||||
export type IColumnsAttributes = {
|
||||
readonly space?: number | PositiveUniversalMeasure;
|
||||
readonly count?: number;
|
||||
readonly separate?: boolean;
|
||||
readonly equalWidth?: boolean;
|
||||
readonly children?: readonly Column[];
|
||||
};
|
||||
export declare const createColumns: ({ space, count, separate, equalWidth, children }: IColumnsAttributes) => XmlComponent;
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Generated
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
import { XmlComponent } from '../../../../xml-components';
|
||||
export declare const DocumentGridType: {
|
||||
readonly DEFAULT: "default";
|
||||
readonly LINES: "lines";
|
||||
readonly LINES_AND_CHARS: "linesAndChars";
|
||||
readonly SNAP_TO_CHARS: "snapToChars";
|
||||
};
|
||||
export type IDocGridAttributesProperties = {
|
||||
readonly type?: (typeof DocumentGridType)[keyof typeof DocumentGridType];
|
||||
readonly linePitch: number;
|
||||
readonly charSpace?: number;
|
||||
};
|
||||
export declare const createDocumentGrid: ({ type, linePitch, charSpace }: IDocGridAttributesProperties) => XmlComponent;
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
node_modules/docx/dist/file/document/body/section-properties/properties/header-footer-reference.d.ts
Generated
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
import { XmlComponent } from '../../../../xml-components';
|
||||
export declare const HeaderFooterReferenceType: {
|
||||
readonly DEFAULT: "default";
|
||||
readonly FIRST: "first";
|
||||
readonly EVEN: "even";
|
||||
};
|
||||
export type IHeaderFooterOptions = {
|
||||
readonly type?: (typeof HeaderFooterReferenceType)[keyof typeof HeaderFooterReferenceType];
|
||||
readonly id?: number;
|
||||
};
|
||||
export declare const HeaderFooterType: {
|
||||
readonly HEADER: "w:headerReference";
|
||||
readonly FOOTER: "w:footerReference";
|
||||
};
|
||||
export declare const createHeaderFooterReference: (type: (typeof HeaderFooterType)[keyof typeof HeaderFooterType], options: IHeaderFooterOptions) => XmlComponent;
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Generated
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
export * from './column';
|
||||
export * from './columns';
|
||||
export * from './doc-grid';
|
||||
export * from './page-size';
|
||||
export * from './page-number';
|
||||
export * from './page-borders';
|
||||
export * from './page-margin';
|
||||
export * from './page-borders';
|
||||
export * from './page-text-direction';
|
||||
export * from './line-number';
|
||||
export * from './section-type';
|
||||
export * from './header-footer-reference';
|
||||
Generated
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
import { XmlComponent } from '../../../../xml-components';
|
||||
import { PositiveUniversalMeasure } from '../../../../../util/values';
|
||||
export declare const LineNumberRestartFormat: {
|
||||
readonly NEW_PAGE: "newPage";
|
||||
readonly NEW_SECTION: "newSection";
|
||||
readonly CONTINUOUS: "continuous";
|
||||
};
|
||||
export type ILineNumberAttributes = {
|
||||
readonly countBy?: number;
|
||||
readonly start?: number;
|
||||
readonly restart?: (typeof LineNumberRestartFormat)[keyof typeof LineNumberRestartFormat];
|
||||
readonly distance?: number | PositiveUniversalMeasure;
|
||||
};
|
||||
export declare const createLineNumberType: ({ countBy, start, restart, distance }: ILineNumberAttributes) => XmlComponent;
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Generated
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
import { IBorderOptions } from '../../../../border';
|
||||
import { IgnoreIfEmptyXmlComponent } from '../../../../xml-components';
|
||||
export declare const PageBorderDisplay: {
|
||||
readonly ALL_PAGES: "allPages";
|
||||
readonly FIRST_PAGE: "firstPage";
|
||||
readonly NOT_FIRST_PAGE: "notFirstPage";
|
||||
};
|
||||
export declare const PageBorderOffsetFrom: {
|
||||
readonly PAGE: "page";
|
||||
readonly TEXT: "text";
|
||||
};
|
||||
export declare const PageBorderZOrder: {
|
||||
readonly BACK: "back";
|
||||
readonly FRONT: "front";
|
||||
};
|
||||
export type IPageBorderAttributes = {
|
||||
readonly display?: (typeof PageBorderDisplay)[keyof typeof PageBorderDisplay];
|
||||
readonly offsetFrom?: (typeof PageBorderOffsetFrom)[keyof typeof PageBorderOffsetFrom];
|
||||
readonly zOrder?: (typeof PageBorderZOrder)[keyof typeof PageBorderZOrder];
|
||||
};
|
||||
export type IPageBordersOptions = {
|
||||
readonly pageBorders?: IPageBorderAttributes;
|
||||
readonly pageBorderTop?: IBorderOptions;
|
||||
readonly pageBorderRight?: IBorderOptions;
|
||||
readonly pageBorderBottom?: IBorderOptions;
|
||||
readonly pageBorderLeft?: IBorderOptions;
|
||||
};
|
||||
export declare class PageBorders extends IgnoreIfEmptyXmlComponent {
|
||||
constructor(options?: IPageBordersOptions);
|
||||
}
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Generated
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
import { XmlComponent } from '../../../../xml-components';
|
||||
import { PositiveUniversalMeasure, UniversalMeasure } from '../../../../../util/values';
|
||||
export type IPageMarginAttributes = {
|
||||
readonly top?: number | UniversalMeasure;
|
||||
readonly right?: number | PositiveUniversalMeasure;
|
||||
readonly bottom?: number | UniversalMeasure;
|
||||
readonly left?: number | PositiveUniversalMeasure;
|
||||
readonly header?: number | PositiveUniversalMeasure;
|
||||
readonly footer?: number | PositiveUniversalMeasure;
|
||||
readonly gutter?: number | PositiveUniversalMeasure;
|
||||
};
|
||||
export declare const createPageMargin: (top: number | UniversalMeasure, right: number | PositiveUniversalMeasure, bottom: number | UniversalMeasure, left: number | PositiveUniversalMeasure, header: number | PositiveUniversalMeasure, footer: number | PositiveUniversalMeasure, gutter: number | PositiveUniversalMeasure) => XmlComponent;
|
||||
Generated
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
import { NumberFormat } from '../../../../shared/number-format';
|
||||
import { XmlComponent } from '../../../../xml-components';
|
||||
export declare const PageNumberSeparator: {
|
||||
readonly HYPHEN: "hyphen";
|
||||
readonly PERIOD: "period";
|
||||
readonly COLON: "colon";
|
||||
readonly EM_DASH: "emDash";
|
||||
readonly EN_DASH: "endash";
|
||||
};
|
||||
export type IPageNumberTypeAttributes = {
|
||||
readonly start?: number;
|
||||
readonly formatType?: (typeof NumberFormat)[keyof typeof NumberFormat];
|
||||
readonly separator?: (typeof PageNumberSeparator)[keyof typeof PageNumberSeparator];
|
||||
};
|
||||
export declare const createPageNumberType: ({ start, formatType, separator }: IPageNumberTypeAttributes) => XmlComponent;
|
||||
Generated
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
import { XmlComponent } from '../../../../xml-components';
|
||||
import { PositiveUniversalMeasure } from '../../../../../util/values';
|
||||
export declare const PageOrientation: {
|
||||
readonly PORTRAIT: "portrait";
|
||||
readonly LANDSCAPE: "landscape";
|
||||
};
|
||||
export type IPageSizeAttributes = {
|
||||
readonly width: number | PositiveUniversalMeasure;
|
||||
readonly height: number | PositiveUniversalMeasure;
|
||||
readonly orientation?: (typeof PageOrientation)[keyof typeof PageOrientation];
|
||||
readonly code?: number;
|
||||
};
|
||||
export declare const createPageSize: ({ width, height, orientation, code }: IPageSizeAttributes) => XmlComponent;
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Generated
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
import { XmlComponent } from '../../../../xml-components';
|
||||
export declare const PageTextDirectionType: {
|
||||
readonly LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb";
|
||||
readonly TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl";
|
||||
};
|
||||
export declare class PageTextDirection extends XmlComponent {
|
||||
constructor(value: (typeof PageTextDirectionType)[keyof typeof PageTextDirectionType]);
|
||||
}
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Generated
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
import { XmlComponent } from '../../../../xml-components';
|
||||
export declare const SectionType: {
|
||||
readonly NEXT_PAGE: "nextPage";
|
||||
readonly NEXT_COLUMN: "nextColumn";
|
||||
readonly CONTINUOUS: "continuous";
|
||||
readonly EVEN_PAGE: "evenPage";
|
||||
readonly ODD_PAGE: "oddPage";
|
||||
};
|
||||
export declare const createSectionType: (value: (typeof SectionType)[keyof typeof SectionType]) => XmlComponent;
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Reference in New Issue
Block a user