Fix App.jsx two-page workflow JSX render and update study app layout

This commit is contained in:
nmemmert
2026-05-26 17:14:30 -04:00
commit f47a41ce6f
4459 changed files with 1059845 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
import { XmlComponent } from '../../xml-components';
export declare const createBreak: () => XmlComponent;
+1
View File
@@ -0,0 +1 @@
export {};
+42
View File
@@ -0,0 +1,42 @@
import { FileChild } from '../../file-child';
import { Relationships } from '../../relationships';
import { IContext, IXmlableObject, XmlComponent } from '../../xml-components';
export type ICommentOptions = {
readonly id: number;
readonly children: readonly FileChild[];
readonly initials?: string;
readonly author?: string;
readonly date?: Date;
readonly parentId?: number;
readonly resolved?: boolean;
};
export type ICommentsOptions = {
readonly children: readonly ICommentOptions[];
};
export declare class CommentRangeStart extends XmlComponent {
constructor(id: number);
}
export declare class CommentRangeEnd extends XmlComponent {
constructor(id: number);
}
export declare class CommentReference extends XmlComponent {
constructor(id: number);
}
export declare class Comment extends XmlComponent {
private readonly paraId?;
constructor({ id, initials, author, date, children }: ICommentOptions, paraId?: string);
prepForXml(context: IContext): IXmlableObject | undefined;
}
export type ICommentThreadData = {
readonly paraId: string;
readonly parentParaId?: string;
readonly done?: boolean;
};
export declare const commentIdToParaId: (id: number) => string;
export declare class Comments extends XmlComponent {
private readonly relationships;
private readonly threadData?;
constructor({ children }: ICommentsOptions);
get Relationships(): Relationships;
get ThreadData(): readonly ICommentThreadData[] | undefined;
}
+1
View File
@@ -0,0 +1 @@
export {};
+5
View File
@@ -0,0 +1,5 @@
import { XmlComponent } from '../../xml-components';
import { ICommentThreadData } from './comment-run';
export declare class CommentsExtended extends XmlComponent {
constructor(threadData: readonly ICommentThreadData[]);
}
@@ -0,0 +1 @@
export {};
+6
View File
@@ -0,0 +1,6 @@
import { XmlComponent } from '../../xml-components';
export declare const EmphasisMarkType: {
readonly DOT: "dot";
};
export declare const createEmphasisMark: (emphasisMarkType?: (typeof EmphasisMarkType)[keyof typeof EmphasisMarkType]) => XmlComponent;
export declare const createDotEmphasisMark: () => XmlComponent;
+1
View File
@@ -0,0 +1 @@
export {};
+52
View File
@@ -0,0 +1,52 @@
import { EmptyElement } from '../../xml-components';
export declare class NoBreakHyphen extends EmptyElement {
constructor();
}
export declare class SoftHyphen extends EmptyElement {
constructor();
}
export declare class DayShort extends EmptyElement {
constructor();
}
export declare class MonthShort extends EmptyElement {
constructor();
}
export declare class YearShort extends EmptyElement {
constructor();
}
export declare class DayLong extends EmptyElement {
constructor();
}
export declare class MonthLong extends EmptyElement {
constructor();
}
export declare class YearLong extends EmptyElement {
constructor();
}
export declare class AnnotationReference extends EmptyElement {
constructor();
}
export declare class FootnoteReferenceElement extends EmptyElement {
constructor();
}
export declare class EndnoteReference extends EmptyElement {
constructor();
}
export declare class Separator extends EmptyElement {
constructor();
}
export declare class ContinuationSeparator extends EmptyElement {
constructor();
}
export declare class PageNumberElement extends EmptyElement {
constructor();
}
export declare class CarriageReturn extends EmptyElement {
constructor();
}
export declare class Tab extends EmptyElement {
constructor();
}
export declare class LastRenderedPageBreak extends EmptyElement {
constructor();
}
+1
View File
@@ -0,0 +1 @@
export {};
+4
View File
@@ -0,0 +1,4 @@
import { XmlComponent } from '../../xml-components';
export declare const createBegin: (dirty?: boolean) => XmlComponent;
export declare const createSeparate: (dirty?: boolean) => XmlComponent;
export declare const createEnd: (dirty?: boolean) => XmlComponent;
+14
View File
@@ -0,0 +1,14 @@
import { XmlComponent } from '../../xml-components';
import { UniversalMeasure } from '../../../util/values';
export declare class CharacterSpacing extends XmlComponent {
constructor(value: number | UniversalMeasure);
}
export declare class Color extends XmlComponent {
constructor(color: string);
}
export declare class Highlight extends XmlComponent {
constructor(color: string);
}
export declare class HighlightComplexScript extends XmlComponent {
constructor(color: string);
}
+1
View File
@@ -0,0 +1 @@
export {};
+33
View File
@@ -0,0 +1,33 @@
import { DocPropertiesOptions } from '../../drawing/doc-properties/doc-properties';
import { IChangedAttributesProperties } from '../../track-revision/track-revision';
import { IContext, IXmlableObject, XmlComponent } from '../../xml-components';
import { IFloating } from '../../drawing';
import { OutlineOptions } from '../../drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline';
import { SolidFillOptions } from '../../drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill';
import { IMediaTransformation } from '../../media';
type CoreImageOptions = {
readonly transformation: IMediaTransformation;
readonly floating?: IFloating;
readonly altText?: DocPropertiesOptions;
readonly outline?: OutlineOptions;
readonly solidFill?: SolidFillOptions;
readonly insertion?: IChangedAttributesProperties;
readonly deletion?: IChangedAttributesProperties;
};
type RegularImageOptions = {
readonly type: "jpg" | "png" | "gif" | "bmp";
readonly data: Buffer | string | Uint8Array | ArrayBuffer;
};
type SvgMediaOptions = {
readonly type: "svg";
readonly data: Buffer | string | Uint8Array | ArrayBuffer;
readonly fallback: RegularImageOptions;
};
export type IImageOptions = (RegularImageOptions | SvgMediaOptions) & CoreImageOptions;
export declare const standardizeData: (data: string | Buffer | Uint8Array | ArrayBuffer) => Buffer | Uint8Array | ArrayBuffer;
export declare class ImageRun extends XmlComponent {
private readonly imageData;
constructor(options: IImageOptions);
prepForXml(context: IContext): IXmlableObject | undefined;
}
export {};
+1
View File
@@ -0,0 +1 @@
export {};
+16
View File
@@ -0,0 +1,16 @@
export * from './run';
export * from './properties';
export * from './text-run';
export * from './symbol-run';
export * from './image-run';
export * from './wps-shape-run';
export * from './wpg-group-run';
export * from './run-fonts';
export * from './sequential-identifier';
export * from './underline';
export * from './emphasis-mark';
export * from './simple-field';
export * from './comment-run';
export * from './comments-extended';
export * from './empty-children';
export * from './positional-tab';
+7
View File
@@ -0,0 +1,7 @@
import { XmlComponent } from '../../xml-components';
export type ILanguageOptions = {
readonly value?: string;
readonly eastAsia?: string;
readonly bidirectional?: string;
};
export declare const createLanguageComponent: (options: ILanguageOptions) => XmlComponent;
+1
View File
@@ -0,0 +1 @@
export {};
+13
View File
@@ -0,0 +1,13 @@
import { XmlComponent } from '../../xml-components';
export declare class Page extends XmlComponent {
constructor();
}
export declare class NumberOfPages extends XmlComponent {
constructor();
}
export declare class NumberOfPagesSection extends XmlComponent {
constructor();
}
export declare class CurrentSection extends XmlComponent {
constructor();
}
+1
View File
@@ -0,0 +1 @@
export {};
+25
View File
@@ -0,0 +1,25 @@
import { XmlComponent } from '../../xml-components';
export declare const PositionalTabAlignment: {
readonly LEFT: "left";
readonly CENTER: "center";
readonly RIGHT: "right";
};
export declare const PositionalTabRelativeTo: {
readonly MARGIN: "margin";
readonly INDENT: "indent";
};
export declare const PositionalTabLeader: {
readonly NONE: "none";
readonly DOT: "dot";
readonly HYPHEN: "hyphen";
readonly UNDERSCORE: "underscore";
readonly MIDDLE_DOT: "middleDot";
};
export type PositionalTabOptions = {
readonly alignment: (typeof PositionalTabAlignment)[keyof typeof PositionalTabAlignment];
readonly relativeTo: (typeof PositionalTabRelativeTo)[keyof typeof PositionalTabRelativeTo];
readonly leader: (typeof PositionalTabLeader)[keyof typeof PositionalTabLeader];
};
export declare class PositionalTab extends XmlComponent {
constructor(options: PositionalTabOptions);
}
+1
View File
@@ -0,0 +1 @@
export {};
+102
View File
@@ -0,0 +1,102 @@
import { IBorderOptions } from '../../border';
import { IShadingAttributesProperties } from '../../shading';
import { IChangedAttributesProperties } from '../../track-revision/track-revision';
import { IgnoreIfEmptyXmlComponent, XmlComponent } from '../../xml-components';
import { PositiveUniversalMeasure, UniversalMeasure } from '../../../util/values';
import { EmphasisMarkType } from './emphasis-mark';
import { ILanguageOptions } from './language';
import { IFontAttributesProperties } from './run-fonts';
import { UnderlineType } from './underline';
type IFontOptions = {
readonly name: string;
readonly hint?: string;
};
export declare const TextEffect: {
readonly BLINK_BACKGROUND: "blinkBackground";
readonly LIGHTS: "lights";
readonly ANTS_BLACK: "antsBlack";
readonly ANTS_RED: "antsRed";
readonly SHIMMER: "shimmer";
readonly SPARKLE: "sparkle";
readonly NONE: "none";
};
export declare const HighlightColor: {
readonly BLACK: "black";
readonly BLUE: "blue";
readonly CYAN: "cyan";
readonly DARK_BLUE: "darkBlue";
readonly DARK_CYAN: "darkCyan";
readonly DARK_GRAY: "darkGray";
readonly DARK_GREEN: "darkGreen";
readonly DARK_MAGENTA: "darkMagenta";
readonly DARK_RED: "darkRed";
readonly DARK_YELLOW: "darkYellow";
readonly GREEN: "green";
readonly LIGHT_GRAY: "lightGray";
readonly MAGENTA: "magenta";
readonly NONE: "none";
readonly RED: "red";
readonly WHITE: "white";
readonly YELLOW: "yellow";
};
export type IRunStylePropertiesOptions = {
readonly noProof?: boolean;
readonly bold?: boolean;
readonly boldComplexScript?: boolean;
readonly italics?: boolean;
readonly italicsComplexScript?: boolean;
readonly underline?: {
readonly color?: string;
readonly type?: (typeof UnderlineType)[keyof typeof UnderlineType];
};
readonly effect?: (typeof TextEffect)[keyof typeof TextEffect];
readonly emphasisMark?: {
readonly type?: (typeof EmphasisMarkType)[keyof typeof EmphasisMarkType];
};
readonly color?: string;
readonly kern?: number | PositiveUniversalMeasure;
readonly position?: UniversalMeasure;
readonly size?: number | PositiveUniversalMeasure;
readonly sizeComplexScript?: boolean | number | PositiveUniversalMeasure;
readonly rightToLeft?: boolean;
readonly smallCaps?: boolean;
readonly allCaps?: boolean;
readonly strike?: boolean;
readonly doubleStrike?: boolean;
readonly subScript?: boolean;
readonly superScript?: boolean;
readonly font?: string | IFontOptions | IFontAttributesProperties;
readonly highlight?: (typeof HighlightColor)[keyof typeof HighlightColor];
readonly highlightComplexScript?: boolean | string;
readonly characterSpacing?: number;
readonly shading?: IShadingAttributesProperties;
readonly emboss?: boolean;
readonly imprint?: boolean;
readonly revision?: IRunPropertiesChangeOptions;
readonly language?: ILanguageOptions;
readonly border?: IBorderOptions;
readonly snapToGrid?: boolean;
readonly vanish?: boolean;
readonly specVanish?: boolean;
readonly scale?: number;
readonly math?: boolean;
};
export type IRunPropertiesOptions = {
readonly style?: string;
} & IRunStylePropertiesOptions;
export type IRunPropertiesChangeOptions = {} & IRunPropertiesOptions & IChangedAttributesProperties;
export type IParagraphRunPropertiesOptions = {
readonly insertion?: IChangedAttributesProperties;
readonly deletion?: IChangedAttributesProperties;
} & IRunPropertiesOptions;
export declare class RunProperties extends IgnoreIfEmptyXmlComponent {
constructor(options?: IRunPropertiesOptions);
push(item: XmlComponent): void;
}
export declare class ParagraphRunProperties extends RunProperties {
constructor(options?: IParagraphRunPropertiesOptions);
}
export declare class RunPropertiesChange extends XmlComponent {
constructor(options: IRunPropertiesChangeOptions);
}
export {};
+4
View File
@@ -0,0 +1,4 @@
import { XmlComponent } from '../../../xml-components';
export declare class Symbol extends XmlComponent {
constructor(char?: string, symbolfont?: string);
}
@@ -0,0 +1 @@
export {};
+10
View File
@@ -0,0 +1,10 @@
import { SpaceType } from '../../../shared';
import { XmlComponent } from '../../../xml-components';
type ITextOptions = {
readonly space?: (typeof SpaceType)[keyof typeof SpaceType];
readonly text?: string;
};
export declare class Text extends XmlComponent {
constructor(options: string | ITextOptions);
}
export {};
@@ -0,0 +1 @@
export {};
+9
View File
@@ -0,0 +1,9 @@
import { XmlComponent } from '../../xml-components';
export type IFontAttributesProperties = {
readonly ascii?: string;
readonly cs?: string;
readonly eastAsia?: string;
readonly hAnsi?: string;
readonly hint?: string;
};
export declare const createRunFonts: (nameOrAttrs: string | IFontAttributesProperties, hint?: string) => XmlComponent;
+1
View File
@@ -0,0 +1 @@
export {};
+23
View File
@@ -0,0 +1,23 @@
import { FootnoteReferenceRun } from '../../footnotes/footnote/run/reference-run';
import { FieldInstruction } from '../../table-of-contents/field-instruction';
import { XmlComponent } from '../../xml-components';
import { AnnotationReference, CarriageReturn, ContinuationSeparator, DayLong, DayShort, EndnoteReference, FootnoteReferenceElement, LastRenderedPageBreak, MonthLong, MonthShort, NoBreakHyphen, PageNumberElement, Separator, SoftHyphen, Tab, YearLong, YearShort } from './empty-children';
import { IParagraphRunPropertiesOptions, IRunPropertiesOptions, RunProperties } from './properties';
type IRunOptionsBase = {
readonly children?: readonly (FieldInstruction | (typeof PageNumber)[keyof typeof PageNumber] | FootnoteReferenceRun | AnnotationReference | CarriageReturn | ContinuationSeparator | DayLong | DayShort | EndnoteReference | FootnoteReferenceElement | LastRenderedPageBreak | MonthLong | MonthShort | NoBreakHyphen | PageNumberElement | Separator | SoftHyphen | Tab | YearLong | YearShort | XmlComponent | string)[];
readonly break?: number;
readonly text?: string;
};
export type IRunOptions = IRunOptionsBase & IRunPropertiesOptions;
export type IParagraphRunOptions = IRunOptionsBase & IParagraphRunPropertiesOptions;
export declare const PageNumber: {
readonly CURRENT: "CURRENT";
readonly TOTAL_PAGES: "TOTAL_PAGES";
readonly TOTAL_PAGES_IN_SECTION: "TOTAL_PAGES_IN_SECTION";
readonly CURRENT_SECTION: "SECTION";
};
export declare class Run extends XmlComponent {
protected readonly properties: RunProperties;
constructor(options: IRunOptions);
}
export {};
+1
View File
@@ -0,0 +1 @@
export {};
+3
View File
@@ -0,0 +1,3 @@
import { XmlComponent } from '../../xml-components';
export declare const createSuperScript: () => XmlComponent;
export declare const createSubScript: () => XmlComponent;
+1
View File
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,4 @@
import { XmlComponent } from '../../xml-components';
export declare class SequentialIdentifierInstruction extends XmlComponent {
constructor(identifier: string);
}
+4
View File
@@ -0,0 +1,4 @@
import { Run } from '.';
export declare class SequentialIdentifier extends Run {
constructor(identifier: string);
}
@@ -0,0 +1 @@
export {};
+7
View File
@@ -0,0 +1,7 @@
import { XmlComponent } from '../../xml-components';
export declare class SimpleField extends XmlComponent {
constructor(instruction: string, cachedValue?: string);
}
export declare class SimpleMailMergeField extends SimpleField {
constructor(fieldName: string);
}
+1
View File
@@ -0,0 +1 @@
export {};
+8
View File
@@ -0,0 +1,8 @@
import { IRunOptions, Run } from './run';
export type ISymbolRunOptions = {
readonly char: string;
readonly symbolfont?: string;
} & IRunOptions;
export declare class SymbolRun extends Run {
constructor(options: ISymbolRunOptions | string);
}
+1
View File
@@ -0,0 +1 @@
export {};
+9
View File
@@ -0,0 +1,9 @@
import { SpaceType } from '../../shared';
import { XmlAttributeComponent } from '../../xml-components';
export declare class TextAttributes extends XmlAttributeComponent<{
readonly space: (typeof SpaceType)[keyof typeof SpaceType];
}> {
protected readonly xmlKeys: {
space: string;
};
}
+4
View File
@@ -0,0 +1,4 @@
import { IRunOptions, Run } from './run';
export declare class TextRun extends Run {
constructor(options: IRunOptions | string);
}
+1
View File
@@ -0,0 +1 @@
export {};
+22
View File
@@ -0,0 +1,22 @@
import { XmlComponent } from '../../xml-components';
export declare const UnderlineType: {
readonly SINGLE: "single";
readonly WORDS: "words";
readonly DOUBLE: "double";
readonly THICK: "thick";
readonly DOTTED: "dotted";
readonly DOTTEDHEAVY: "dottedHeavy";
readonly DASH: "dash";
readonly DASHEDHEAVY: "dashedHeavy";
readonly DASHLONG: "dashLong";
readonly DASHLONGHEAVY: "dashLongHeavy";
readonly DOTDASH: "dotDash";
readonly DASHDOTHEAVY: "dashDotHeavy";
readonly DOTDOTDASH: "dotDotDash";
readonly DASHDOTDOTHEAVY: "dashDotDotHeavy";
readonly WAVE: "wave";
readonly WAVYHEAVY: "wavyHeavy";
readonly WAVYDOUBLE: "wavyDouble";
readonly NONE: "none";
};
export declare const createUnderline: (underlineType?: (typeof UnderlineType)[keyof typeof UnderlineType], color?: string) => XmlComponent;
+1
View File
@@ -0,0 +1 @@
export {};
+21
View File
@@ -0,0 +1,21 @@
import { DocPropertiesOptions } from '../../drawing/doc-properties/doc-properties';
import { IContext, IXmlableObject } from '../../xml-components';
import { Run } from '.';
import { IFloating } from '../../drawing';
import { IGroupChildMediaData, IMediaTransformation } from '../../media';
export * from '../../drawing/inline/graphic/graphic-data/wps/body-properties';
type CoreGroupOptions = {
readonly children: readonly IGroupChildMediaData[];
readonly transformation: IMediaTransformation;
readonly floating?: IFloating;
readonly altText?: DocPropertiesOptions;
};
export type IWpgGroupOptions = {
readonly type: "wpg";
} & CoreGroupOptions;
export declare class WpgGroupRun extends Run {
private readonly wpgGroupData;
private readonly mediaDatas;
constructor(options: IWpgGroupOptions);
prepForXml(context: IContext): IXmlableObject | undefined;
}
+1
View File
@@ -0,0 +1 @@
export {};
+23
View File
@@ -0,0 +1,23 @@
import { DocPropertiesOptions } from '../../drawing/doc-properties/doc-properties';
import { WpsShapeCoreOptions } from '../../drawing/inline/graphic/graphic-data/wps';
import { IFloating } from '../../drawing';
import { OutlineOptions } from '../../drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline';
import { SolidFillOptions } from '../../drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill';
import { IMediaDataTransformation, IMediaTransformation } from '../../media';
import { Run } from '../run';
export * from '../../drawing/inline/graphic/graphic-data/wps/body-properties';
type CoreShapeOptions = {
readonly transformation: IMediaTransformation;
readonly floating?: IFloating;
readonly altText?: DocPropertiesOptions;
readonly outline?: OutlineOptions;
readonly solidFill?: SolidFillOptions;
};
export type IWpsShapeOptions = WpsShapeCoreOptions & {
readonly type: "wps";
} & CoreShapeOptions;
export declare const createTransformation: (options: IMediaTransformation) => IMediaDataTransformation;
export declare class WpsShapeRun extends Run {
private readonly wpsShapeData;
constructor(options: IWpsShapeOptions);
}
+1
View File
@@ -0,0 +1 @@
export {};