Fix App.jsx two-page workflow JSX render and update study app layout
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import { IParagraphStylePropertiesOptions } from '../../paragraph/properties';
|
||||
import { IRunStylePropertiesOptions } from '../../paragraph/run/properties';
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export type IDocumentDefaultsOptions = {
|
||||
readonly paragraph?: IParagraphStylePropertiesOptions;
|
||||
readonly run?: IRunStylePropertiesOptions;
|
||||
};
|
||||
export declare class DocumentDefaults extends XmlComponent {
|
||||
private readonly runPropertiesDefaults;
|
||||
private readonly paragraphPropertiesDefaults;
|
||||
constructor(options: IDocumentDefaultsOptions);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
export * from './paragraph-properties';
|
||||
export * from './run-properties';
|
||||
export * from './document-defaults';
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
import { IParagraphStylePropertiesOptions } from '../../paragraph/properties';
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export declare class ParagraphPropertiesDefaults extends XmlComponent {
|
||||
constructor(options?: IParagraphStylePropertiesOptions);
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
import { IRunStylePropertiesOptions } from '../../paragraph/run/properties';
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export declare class RunPropertiesDefaults extends XmlComponent {
|
||||
constructor(options?: IRunStylePropertiesOptions);
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import { IStylesOptions } from './styles';
|
||||
export declare class ExternalStylesFactory {
|
||||
newInstance(xmlData: string): IStylesOptions;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
import { IDocumentDefaultsOptions } from './defaults';
|
||||
import { IBaseCharacterStyleOptions, IBaseParagraphStyleOptions } from './style';
|
||||
import { IStylesOptions } from './styles';
|
||||
export type IDefaultStylesOptions = {
|
||||
readonly document?: IDocumentDefaultsOptions;
|
||||
readonly title?: IBaseParagraphStyleOptions;
|
||||
readonly heading1?: IBaseParagraphStyleOptions;
|
||||
readonly heading2?: IBaseParagraphStyleOptions;
|
||||
readonly heading3?: IBaseParagraphStyleOptions;
|
||||
readonly heading4?: IBaseParagraphStyleOptions;
|
||||
readonly heading5?: IBaseParagraphStyleOptions;
|
||||
readonly heading6?: IBaseParagraphStyleOptions;
|
||||
readonly strong?: IBaseParagraphStyleOptions;
|
||||
readonly listParagraph?: IBaseParagraphStyleOptions;
|
||||
readonly hyperlink?: IBaseCharacterStyleOptions;
|
||||
readonly footnoteReference?: IBaseCharacterStyleOptions;
|
||||
readonly footnoteText?: IBaseParagraphStyleOptions;
|
||||
readonly footnoteTextChar?: IBaseCharacterStyleOptions;
|
||||
readonly endnoteReference?: IBaseCharacterStyleOptions;
|
||||
readonly endnoteText?: IBaseParagraphStyleOptions;
|
||||
readonly endnoteTextChar?: IBaseCharacterStyleOptions;
|
||||
};
|
||||
export declare class DefaultStylesFactory {
|
||||
newInstance(options?: IDefaultStylesOptions): IStylesOptions;
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
export * from './styles';
|
||||
export * from './style/character-style';
|
||||
export * from './style/paragraph-style';
|
||||
export * from './defaults';
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
import { XmlAttributeComponent, XmlComponent } from '../../xml-components';
|
||||
export type ILatentStyleExceptionAttributesProperties = {
|
||||
readonly name?: string;
|
||||
readonly uiPriority?: string;
|
||||
readonly qFormat?: string;
|
||||
readonly semiHidden?: string;
|
||||
readonly unhideWhenUsed?: string;
|
||||
};
|
||||
export declare class LatentStyleExceptionAttributes extends XmlAttributeComponent<ILatentStyleExceptionAttributesProperties> {
|
||||
protected readonly xmlKeys: {
|
||||
name: string;
|
||||
uiPriority: string;
|
||||
qFormat: string;
|
||||
semiHidden: string;
|
||||
unhideWhenUsed: string;
|
||||
};
|
||||
}
|
||||
export declare class LatentStyleException extends XmlComponent {
|
||||
constructor(attributes: ILatentStyleExceptionAttributesProperties);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+1
@@ -0,0 +1 @@
|
||||
export * from './latent-styles';
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
import { LatentStyleException } from './exceptions';
|
||||
export declare class LatentStyles extends XmlComponent {
|
||||
constructor(latentException?: LatentStyleException);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+1
@@ -0,0 +1 @@
|
||||
export declare const DefaultStyle: () => Record<string, any>;
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+1
@@ -0,0 +1 @@
|
||||
export * from './default-style';
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import { IRunStylePropertiesOptions } from '../../paragraph/run/properties';
|
||||
import { IStyleOptions, Style } from './style';
|
||||
export type IBaseCharacterStyleOptions = {
|
||||
readonly run?: IRunStylePropertiesOptions;
|
||||
} & IStyleOptions;
|
||||
export type ICharacterStyleOptions = {
|
||||
readonly id: string;
|
||||
} & IBaseCharacterStyleOptions;
|
||||
export declare class StyleForCharacter extends Style {
|
||||
private readonly runProperties;
|
||||
constructor(options: ICharacterStyleOptions);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export declare class Name extends XmlComponent {
|
||||
constructor(value: string);
|
||||
}
|
||||
export declare class UiPriority extends XmlComponent {
|
||||
constructor(value: number);
|
||||
}
|
||||
export declare class TableProperties extends XmlComponent {
|
||||
}
|
||||
export declare class RsId extends XmlComponent {
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
import { IBaseCharacterStyleOptions, StyleForCharacter } from './character-style';
|
||||
import { IBaseParagraphStyleOptions, IParagraphStyleOptions, StyleForParagraph } from './paragraph-style';
|
||||
export declare class HeadingStyle extends StyleForParagraph {
|
||||
constructor(options: IParagraphStyleOptions);
|
||||
}
|
||||
export declare class TitleStyle extends HeadingStyle {
|
||||
constructor(options: IBaseParagraphStyleOptions);
|
||||
}
|
||||
export declare class Heading1Style extends HeadingStyle {
|
||||
constructor(options: IBaseParagraphStyleOptions);
|
||||
}
|
||||
export declare class Heading2Style extends HeadingStyle {
|
||||
constructor(options: IBaseParagraphStyleOptions);
|
||||
}
|
||||
export declare class Heading3Style extends HeadingStyle {
|
||||
constructor(options: IBaseParagraphStyleOptions);
|
||||
}
|
||||
export declare class Heading4Style extends HeadingStyle {
|
||||
constructor(options: IBaseParagraphStyleOptions);
|
||||
}
|
||||
export declare class Heading5Style extends HeadingStyle {
|
||||
constructor(options: IBaseParagraphStyleOptions);
|
||||
}
|
||||
export declare class Heading6Style extends HeadingStyle {
|
||||
constructor(options: IBaseParagraphStyleOptions);
|
||||
}
|
||||
export declare class StrongStyle extends HeadingStyle {
|
||||
constructor(options: IBaseParagraphStyleOptions);
|
||||
}
|
||||
export declare class ListParagraph extends StyleForParagraph {
|
||||
constructor(options: IBaseParagraphStyleOptions);
|
||||
}
|
||||
export declare class FootnoteText extends StyleForParagraph {
|
||||
constructor(options: IBaseParagraphStyleOptions);
|
||||
}
|
||||
export declare class FootnoteReferenceStyle extends StyleForCharacter {
|
||||
constructor(options: IBaseCharacterStyleOptions);
|
||||
}
|
||||
export declare class FootnoteTextChar extends StyleForCharacter {
|
||||
constructor(options: IBaseCharacterStyleOptions);
|
||||
}
|
||||
export declare class EndnoteText extends StyleForParagraph {
|
||||
constructor(options: IBaseParagraphStyleOptions);
|
||||
}
|
||||
export declare class EndnoteReferenceStyle extends StyleForCharacter {
|
||||
constructor(options: IBaseCharacterStyleOptions);
|
||||
}
|
||||
export declare class EndnoteTextChar extends StyleForCharacter {
|
||||
constructor(options: IBaseCharacterStyleOptions);
|
||||
}
|
||||
export declare class HyperlinkStyle extends StyleForCharacter {
|
||||
constructor(options: IBaseCharacterStyleOptions);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
export * from './style';
|
||||
export * from './paragraph-style';
|
||||
export * from './character-style';
|
||||
export * from './default-styles';
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
import { IParagraphStylePropertiesOptions, IRunStylePropertiesOptions } from '../../paragraph';
|
||||
import { IStyleOptions, Style } from './style';
|
||||
export type IBaseParagraphStyleOptions = {
|
||||
readonly paragraph?: IParagraphStylePropertiesOptions;
|
||||
readonly run?: IRunStylePropertiesOptions;
|
||||
} & IStyleOptions;
|
||||
export type IParagraphStyleOptions = {
|
||||
readonly id: string;
|
||||
} & IBaseParagraphStyleOptions;
|
||||
export declare class StyleForParagraph extends Style {
|
||||
private readonly paragraphProperties;
|
||||
private readonly runProperties;
|
||||
constructor(options: IParagraphStyleOptions);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export type IStyleAttributes = {
|
||||
readonly type?: string;
|
||||
readonly styleId?: string;
|
||||
readonly default?: boolean;
|
||||
readonly customStyle?: string;
|
||||
};
|
||||
export type IStyleOptions = {
|
||||
readonly name?: string;
|
||||
readonly basedOn?: string;
|
||||
readonly next?: string;
|
||||
readonly link?: string;
|
||||
readonly uiPriority?: number;
|
||||
readonly semiHidden?: boolean;
|
||||
readonly unhideWhenUsed?: boolean;
|
||||
readonly quickFormat?: boolean;
|
||||
};
|
||||
export declare class Style extends XmlComponent {
|
||||
constructor(attributes: IStyleAttributes, options: IStyleOptions);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
import { IDefaultStylesOptions } from './factory';
|
||||
import { BaseXmlComponent, ImportedXmlComponent, XmlComponent } from '../xml-components';
|
||||
import { StyleForCharacter, StyleForParagraph } from './style';
|
||||
import { ICharacterStyleOptions } from './style/character-style';
|
||||
import { IParagraphStyleOptions } from './style/paragraph-style';
|
||||
export type IStylesOptions = {
|
||||
readonly default?: IDefaultStylesOptions;
|
||||
readonly initialStyles?: BaseXmlComponent;
|
||||
readonly paragraphStyles?: readonly IParagraphStyleOptions[];
|
||||
readonly characterStyles?: readonly ICharacterStyleOptions[];
|
||||
readonly importedStyles?: readonly (XmlComponent | StyleForParagraph | StyleForCharacter | ImportedXmlComponent)[];
|
||||
};
|
||||
export declare class Styles extends XmlComponent {
|
||||
constructor(options: IStylesOptions);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Reference in New Issue
Block a user