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
+17
View File
@@ -0,0 +1,17 @@
import { XmlComponent } from '../../xml-components';
export declare const AlignmentType: {
readonly START: "start";
readonly CENTER: "center";
readonly END: "end";
readonly BOTH: "both";
readonly MEDIUM_KASHIDA: "mediumKashida";
readonly DISTRIBUTE: "distribute";
readonly NUM_TAB: "numTab";
readonly HIGH_KASHIDA: "highKashida";
readonly LOW_KASHIDA: "lowKashida";
readonly THAI_DISTRIBUTE: "thaiDistribute";
readonly LEFT: "left";
readonly RIGHT: "right";
readonly JUSTIFIED: "both";
};
export declare const createAlignment: (type: (typeof AlignmentType)[keyof typeof AlignmentType]) => XmlComponent;
+1
View File
@@ -0,0 +1 @@
export {};
+15
View File
@@ -0,0 +1,15 @@
import { IBorderOptions } from '../../border';
import { IgnoreIfEmptyXmlComponent, XmlComponent } from '../../xml-components';
export type IBordersOptions = {
readonly top?: IBorderOptions;
readonly bottom?: IBorderOptions;
readonly left?: IBorderOptions;
readonly right?: IBorderOptions;
readonly between?: IBorderOptions;
};
export declare class Border extends IgnoreIfEmptyXmlComponent {
constructor(options: IBordersOptions);
}
export declare class ThematicBreak extends XmlComponent {
constructor();
}
+1
View File
@@ -0,0 +1 @@
export {};
+11
View File
@@ -0,0 +1,11 @@
import { XmlComponent } from '../../xml-components';
import { Run } from '../run';
export declare class PageBreak extends Run {
constructor();
}
export declare class ColumnBreak extends Run {
constructor();
}
export declare class PageBreakBefore extends XmlComponent {
constructor();
}
+1
View File
@@ -0,0 +1 @@
export {};
+12
View File
@@ -0,0 +1,12 @@
import { XmlComponent } from '../../xml-components';
import { PositiveUniversalMeasure, UniversalMeasure } from '../../../util/values';
export type IIndentAttributesProperties = {
readonly start?: number | UniversalMeasure;
readonly end?: number | UniversalMeasure;
readonly left?: number | UniversalMeasure;
readonly right?: number | UniversalMeasure;
readonly hanging?: number | PositiveUniversalMeasure;
readonly firstLine?: number | PositiveUniversalMeasure;
readonly firstLineChars?: number;
};
export declare const createIndent: ({ start, end, left, right, hanging, firstLine, firstLineChars }: IIndentAttributesProperties) => XmlComponent;
+1
View File
@@ -0,0 +1 @@
export {};
+8
View File
@@ -0,0 +1,8 @@
export * from './alignment';
export * from './border';
export * from './indent';
export * from './break';
export * from './spacing';
export * from './style';
export * from './tab-stop';
export * from './unordered-list';
+16
View File
@@ -0,0 +1,16 @@
import { XmlComponent } from '../../xml-components';
export declare const LineRuleType: {
readonly AT_LEAST: "atLeast";
readonly EXACTLY: "exactly";
readonly EXACT: "exact";
readonly AUTO: "auto";
};
export type ISpacingProperties = {
readonly after?: number;
readonly before?: number;
readonly line?: number;
readonly lineRule?: (typeof LineRuleType)[keyof typeof LineRuleType];
readonly beforeAutoSpacing?: boolean;
readonly afterAutoSpacing?: boolean;
};
export declare const createSpacing: ({ after, before, line, lineRule, beforeAutoSpacing, afterAutoSpacing }: ISpacingProperties) => XmlComponent;
+1
View File
@@ -0,0 +1 @@
export {};
+11
View File
@@ -0,0 +1,11 @@
import { XmlComponent } from '../../xml-components';
export declare const HeadingLevel: {
readonly HEADING_1: "Heading1";
readonly HEADING_2: "Heading2";
readonly HEADING_3: "Heading3";
readonly HEADING_4: "Heading4";
readonly HEADING_5: "Heading5";
readonly HEADING_6: "Heading6";
readonly TITLE: "Title";
};
export declare const createParagraphStyle: (styleId: string) => XmlComponent;
+1
View File
@@ -0,0 +1 @@
export {};
+29
View File
@@ -0,0 +1,29 @@
import { XmlComponent } from '../../xml-components';
export type TabStopDefinition = {
readonly type: (typeof TabStopType)[keyof typeof TabStopType];
readonly position: number | (typeof TabStopPosition)[keyof typeof TabStopPosition];
readonly leader?: (typeof LeaderType)[keyof typeof LeaderType];
};
export declare const TabStopType: {
readonly LEFT: "left";
readonly RIGHT: "right";
readonly CENTER: "center";
readonly BAR: "bar";
readonly CLEAR: "clear";
readonly DECIMAL: "decimal";
readonly END: "end";
readonly NUM: "num";
readonly START: "start";
};
export declare const LeaderType: {
readonly DOT: "dot";
readonly HYPHEN: "hyphen";
readonly MIDDLE_DOT: "middleDot";
readonly NONE: "none";
readonly UNDERSCORE: "underscore";
};
export declare const TabStopPosition: {
readonly MAX: 9026;
};
export declare const createTabStopItem: ({ type, position, leader }: TabStopDefinition) => XmlComponent;
export declare const createTabStop: (tabDefinitions: readonly TabStopDefinition[]) => XmlComponent;
+1
View File
@@ -0,0 +1 @@
export {};
+4
View File
@@ -0,0 +1,4 @@
import { XmlComponent } from '../../xml-components';
export declare class NumberProperties extends XmlComponent {
constructor(numberId: number | string, indentLevel: number);
}
@@ -0,0 +1 @@
export {};
+2
View File
@@ -0,0 +1,2 @@
import { XmlComponent } from '../../xml-components';
export declare const createWordWrap: () => XmlComponent;
+1
View File
@@ -0,0 +1 @@
export {};
+55
View File
@@ -0,0 +1,55 @@
import { HorizontalPositionAlign, VerticalPositionAlign } from '../../shared/alignment';
import { HeightRule } from '../../table';
import { XmlComponent } from '../../xml-components';
export declare const DropCapType: {
readonly NONE: "none";
readonly DROP: "drop";
readonly MARGIN: "margin";
};
export declare const FrameAnchorType: {
readonly MARGIN: "margin";
readonly PAGE: "page";
readonly TEXT: "text";
};
export declare const FrameWrap: {
readonly AROUND: "around";
readonly AUTO: "auto";
readonly NONE: "none";
readonly NOT_BESIDE: "notBeside";
readonly THROUGH: "through";
readonly TIGHT: "tight";
};
type IBaseFrameOptions = {
readonly anchorLock?: boolean;
readonly dropCap?: (typeof DropCapType)[keyof typeof DropCapType];
readonly width: number;
readonly height: number;
readonly wrap?: (typeof FrameWrap)[keyof typeof FrameWrap];
readonly lines?: number;
readonly anchor: {
readonly horizontal: (typeof FrameAnchorType)[keyof typeof FrameAnchorType];
readonly vertical: (typeof FrameAnchorType)[keyof typeof FrameAnchorType];
};
readonly space?: {
readonly horizontal: number;
readonly vertical: number;
};
readonly rule?: (typeof HeightRule)[keyof typeof HeightRule];
};
export type IXYFrameOptions = {
readonly type: "absolute";
readonly position: {
readonly x: number;
readonly y: number;
};
} & IBaseFrameOptions;
export type IAlignmentFrameOptions = {
readonly type: "alignment";
readonly alignment: {
readonly x: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
readonly y: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
};
} & IBaseFrameOptions;
export type IFrameOptions = IXYFrameOptions | IAlignmentFrameOptions;
export declare const createFrameProperties: (options: IFrameOptions) => XmlComponent;
export {};
@@ -0,0 +1 @@
export {};
+1
View File
@@ -0,0 +1 @@
export * from './frame-properties';
+7
View File
@@ -0,0 +1,7 @@
export * from './formatting';
export * from './paragraph';
export * from './properties';
export * from './run';
export * from './links';
export * from './math';
export * from './frame';
+17
View File
@@ -0,0 +1,17 @@
import { XmlAttributeComponent } from '../../xml-components';
export declare class BookmarkStartAttributes extends XmlAttributeComponent<{
readonly id: number;
readonly name: string;
}> {
protected readonly xmlKeys: {
id: string;
name: string;
};
}
export declare class BookmarkEndAttributes extends XmlAttributeComponent<{
readonly id: number;
}> {
protected readonly xmlKeys: {
id: string;
};
}
+19
View File
@@ -0,0 +1,19 @@
import { XmlComponent } from '../../xml-components';
import { ParagraphChild } from '../paragraph';
export type IBookmarkOptions = {
readonly id: string;
readonly children: readonly ParagraphChild[];
};
export declare class Bookmark {
private readonly bookmarkUniqueNumericId;
readonly start: BookmarkStart;
readonly children: readonly ParagraphChild[];
readonly end: BookmarkEnd;
constructor(options: IBookmarkOptions);
}
export declare class BookmarkStart extends XmlComponent {
constructor(id: string, linkId: number);
}
export declare class BookmarkEnd extends XmlComponent {
constructor(linkId: number);
}
+1
View File
@@ -0,0 +1 @@
export {};
+13
View File
@@ -0,0 +1,13 @@
import { XmlAttributeComponent } from '../../xml-components';
export type IHyperlinkAttributesProperties = {
readonly id?: string;
readonly anchor?: string;
readonly history: number;
};
export declare class HyperlinkAttributes extends XmlAttributeComponent<IHyperlinkAttributesProperties> {
protected readonly xmlKeys: {
id: string;
history: string;
anchor: string;
};
}
+25
View File
@@ -0,0 +1,25 @@
import { XmlComponent } from '../../xml-components';
import { ParagraphChild } from '../paragraph';
export declare const HyperlinkType: {
readonly INTERNAL: "INTERNAL";
readonly EXTERNAL: "EXTERNAL";
};
export type IInternalHyperlinkOptions = {
readonly children: readonly ParagraphChild[];
readonly anchor: string;
};
export type IExternalHyperlinkOptions = {
readonly children: readonly ParagraphChild[];
readonly link: string;
};
export declare class ConcreteHyperlink extends XmlComponent {
readonly linkId: string;
constructor(children: readonly ParagraphChild[], relationshipId: string, anchor?: string);
}
export declare class InternalHyperlink extends ConcreteHyperlink {
constructor(options: IInternalHyperlinkOptions);
}
export declare class ExternalHyperlink extends XmlComponent {
readonly options: IExternalHyperlinkOptions;
constructor(options: IExternalHyperlinkOptions);
}
+1
View File
@@ -0,0 +1 @@
export {};
+5
View File
@@ -0,0 +1,5 @@
export * from './hyperlink';
export * from './bookmark';
export * from './numbered-item-ref';
export * from './outline-level';
export * from './pageref';
+14
View File
@@ -0,0 +1,14 @@
import { SimpleField } from '../run/simple-field';
export declare enum NumberedItemReferenceFormat {
NONE = "none",
RELATIVE = "relative",
NO_CONTEXT = "no_context",
FULL_CONTEXT = "full_context"
}
export type INumberedItemReferenceOptions = {
readonly hyperlink?: boolean;
readonly referenceFormat?: NumberedItemReferenceFormat;
};
export declare class NumberedItemReference extends SimpleField {
constructor(bookmarkId: string, cachedValue?: string, options?: INumberedItemReferenceOptions);
}
@@ -0,0 +1 @@
export {};
+2
View File
@@ -0,0 +1,2 @@
import { XmlComponent } from '../../xml-components';
export declare const createOutlineLevel: (level: number) => XmlComponent;
+1
View File
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,5 @@
import { XmlComponent } from '../../xml-components';
import { IPageReferenceOptions } from './pageref';
export declare class PageReferenceFieldInstruction extends XmlComponent {
constructor(bookmarkId: string, options?: IPageReferenceOptions);
}
@@ -0,0 +1 @@
export {};
+8
View File
@@ -0,0 +1,8 @@
import { Run } from '../run';
export type IPageReferenceOptions = {
readonly hyperlink?: boolean;
readonly useRelativePosition?: boolean;
};
export declare class PageReference extends Run {
constructor(bookmarkId: string, options?: IPageReferenceOptions);
}
+1
View File
@@ -0,0 +1 @@
export {};
+2
View File
@@ -0,0 +1,2 @@
export * from './math-bar';
export * from './math-bar-properties';
+6
View File
@@ -0,0 +1,6 @@
import { XmlComponent } from '../../../xml-components';
type MathBarPosOptions = {
readonly val: string;
};
export declare const createMathBarPos: ({ val }: MathBarPosOptions) => XmlComponent;
export {};
@@ -0,0 +1,4 @@
import { XmlComponent } from '../../../xml-components';
export declare const createMathBarProperties: ({ type }: {
readonly type: string;
}) => XmlComponent;
@@ -0,0 +1 @@
export {};
+8
View File
@@ -0,0 +1,8 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
type MathBarOptions = {
readonly type: "top" | "bot";
readonly children: readonly MathComponent[];
};
export declare const createMathBar: ({ type, children }: MathBarOptions) => XmlComponent;
export {};
+1
View File
@@ -0,0 +1 @@
export {};
+4
View File
@@ -0,0 +1,4 @@
export * from './math-round-brackets';
export * from './math-square-brackets';
export * from './math-curly-brackets';
export * from './math-angled-brackets';
@@ -0,0 +1,9 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
type MathAngledBracketsOptions = {
readonly children: readonly MathComponent[];
};
export declare class MathAngledBrackets extends XmlComponent {
constructor(options: MathAngledBracketsOptions);
}
export {};
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,6 @@
import { XmlComponent } from '../../../xml-components';
type MathBeginningCharacterOptions = {
readonly character: string;
};
export declare const createMathBeginningCharacter: ({ character }: MathBeginningCharacterOptions) => XmlComponent;
export {};
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,9 @@
import { XmlComponent } from '../../../xml-components';
type MathBracketPropertiesOptions = {
readonly characters?: {
readonly beginningCharacter: string;
readonly endingCharacter: string;
};
};
export declare const createMathBracketProperties: ({ characters }: MathBracketPropertiesOptions) => XmlComponent;
export {};
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,7 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
export declare class MathCurlyBrackets extends XmlComponent {
constructor(options: {
readonly children: readonly MathComponent[];
});
}
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,6 @@
import { XmlComponent } from '../../../xml-components';
type MathEndingCharacterOptions = {
readonly character: string;
};
export declare const createMathEndingCharacter: ({ character }: MathEndingCharacterOptions) => XmlComponent;
export {};
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,7 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
export declare class MathRoundBrackets extends XmlComponent {
constructor(options: {
readonly children: readonly MathComponent[];
});
}
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,7 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
export declare class MathSquareBrackets extends XmlComponent {
constructor(options: {
readonly children: readonly MathComponent[];
});
}
@@ -0,0 +1 @@
export {};
+3
View File
@@ -0,0 +1,3 @@
export * from './math-fraction';
export * from './math-denominator';
export * from './math-numerator';
@@ -0,0 +1,5 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
export declare class MathDenominator extends XmlComponent {
constructor(children: readonly MathComponent[]);
}
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,9 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
export type IMathFractionOptions = {
readonly numerator: readonly MathComponent[];
readonly denominator: readonly MathComponent[];
};
export declare class MathFraction extends XmlComponent {
constructor(options: IMathFractionOptions);
}
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,5 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
export declare class MathNumerator extends XmlComponent {
constructor(children: readonly MathComponent[]);
}
@@ -0,0 +1 @@
export {};
+3
View File
@@ -0,0 +1,3 @@
export * from './math-function';
export * from './math-function-name';
export * from './math-function-properties';
@@ -0,0 +1,5 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
export declare class MathFunctionName extends XmlComponent {
constructor(children: readonly MathComponent[]);
}
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,4 @@
import { XmlComponent } from '../../../xml-components';
export declare class MathFunctionProperties extends XmlComponent {
constructor();
}
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,9 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
export type IMathFunctionOptions = {
readonly children: readonly MathComponent[];
readonly name: readonly MathComponent[];
};
export declare class MathFunction extends XmlComponent {
constructor(options: IMathFunctionOptions);
}
@@ -0,0 +1 @@
export {};
+9
View File
@@ -0,0 +1,9 @@
export * from './math';
export * from './math-run';
export * from './fraction';
export * from './n-ary';
export * from './script';
export * from './math-component';
export * from './radical';
export * from './function';
export * from './brackets';
+9
View File
@@ -0,0 +1,9 @@
import { MathAngledBrackets, MathCurlyBrackets, MathRoundBrackets, MathSquareBrackets } from './brackets';
import { MathFraction } from './fraction';
import { MathFunction } from './function';
import { MathRun } from './math-run';
import { MathIntegral, MathSum } from './n-ary';
import { MathRadical } from './radical';
import { MathSubScript, MathSubSuperScript, MathSuperScript } from './script';
export type MathComponent = MathRun | MathFraction | MathSum | MathIntegral | MathSuperScript | MathSubScript | MathSubSuperScript | MathRadical | MathFunction | MathRoundBrackets | MathCurlyBrackets | MathAngledBrackets | MathSquareBrackets;
export declare const WORKAROUND4 = "";
+4
View File
@@ -0,0 +1,4 @@
import { XmlComponent } from '../../xml-components';
export declare class MathRun extends XmlComponent {
constructor(text: string);
}
+1
View File
@@ -0,0 +1 @@
export {};
+4
View File
@@ -0,0 +1,4 @@
import { XmlComponent } from '../../xml-components';
export declare class MathText extends XmlComponent {
constructor(text: string);
}
+1
View File
@@ -0,0 +1 @@
export {};
+8
View File
@@ -0,0 +1,8 @@
import { XmlComponent } from '../../xml-components';
import { MathComponent } from './math-component';
export type IMathOptions = {
readonly children: readonly MathComponent[];
};
export declare class Math extends XmlComponent {
constructor(options: IMathOptions);
}
+1
View File
@@ -0,0 +1 @@
export {};
+11
View File
@@ -0,0 +1,11 @@
export * from './math-accent-character';
export * from './math-base';
export * from './math-limit-location';
export * from './math-n-ary-properties';
export * from './math-sub-script';
export * from './math-sum';
export * from './math-integral';
export * from './math-super-script';
export * from './math-limit';
export * from './math-limit-upper';
export * from './math-limit-lower';
@@ -0,0 +1,6 @@
import { XmlComponent } from '../../../xml-components';
type MathAccentCharacterOptions = {
readonly accent: string;
};
export declare const createMathAccentCharacter: ({ accent }: MathAccentCharacterOptions) => XmlComponent;
export {};
@@ -0,0 +1 @@
export {};
+7
View File
@@ -0,0 +1,7 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
type MathBaseOptions = {
readonly children: readonly MathComponent[];
};
export declare const createMathBase: ({ children }: MathBaseOptions) => XmlComponent;
export {};
+1
View File
@@ -0,0 +1 @@
export {};
+10
View File
@@ -0,0 +1,10 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
export type IMathIntegralOptions = {
readonly children: readonly MathComponent[];
readonly subScript?: readonly MathComponent[];
readonly superScript?: readonly MathComponent[];
};
export declare class MathIntegral extends XmlComponent {
constructor(options: IMathIntegralOptions);
}
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,6 @@
import { XmlComponent } from '../../../xml-components';
type MathLimitLocationOptions = {
readonly value?: string;
};
export declare const createMathLimitLocation: ({ value }: MathLimitLocationOptions) => XmlComponent;
export {};
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,9 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
export type IMathLimitLowerOptions = {
readonly children: readonly MathComponent[];
readonly limit: readonly MathComponent[];
};
export declare class MathLimitLower extends XmlComponent {
constructor(options: IMathLimitLowerOptions);
}
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,9 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
export type IMathLimitUpperOptions = {
readonly children: readonly MathComponent[];
readonly limit: readonly MathComponent[];
};
export declare class MathLimitUpper extends XmlComponent {
constructor(options: IMathLimitUpperOptions);
}
@@ -0,0 +1 @@
export {};
+5
View File
@@ -0,0 +1,5 @@
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
export declare class MathLimit extends XmlComponent {
constructor(children: readonly MathComponent[]);
}
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,9 @@
import { XmlComponent } from '../../../xml-components';
type MathNAryPropertiesOptions = {
readonly accent: string;
readonly hasSuperScript: boolean;
readonly hasSubScript: boolean;
readonly limitLocationVal?: string;
};
export declare const createMathNAryProperties: ({ accent, hasSuperScript, hasSubScript, limitLocationVal, }: MathNAryPropertiesOptions) => XmlComponent;
export {};
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,2 @@
import { XmlComponent } from '../../../xml-components';
export declare const createMathSubScriptHide: () => XmlComponent;
@@ -0,0 +1 @@
export {};

Some files were not shown because too many files have changed in this diff Show More