Fix App.jsx two-page workflow JSX render and update study app layout
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
import { XmlComponent } from '../xml-components';
|
||||
import { ILevelsOptions } from './level';
|
||||
export declare class AbstractNumbering extends XmlComponent {
|
||||
readonly id: number;
|
||||
constructor(id: number, levelOptions: readonly ILevelsOptions[]);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
export * from './numbering';
|
||||
export * from './abstract-numbering';
|
||||
export * from './level';
|
||||
export * from './num';
|
||||
+97
@@ -0,0 +1,97 @@
|
||||
import { XmlComponent } from '../xml-components';
|
||||
import { AlignmentType } from '../paragraph/formatting';
|
||||
import { ILevelParagraphStylePropertiesOptions } from '../paragraph/properties';
|
||||
import { IRunStylePropertiesOptions } from '../paragraph/run/properties';
|
||||
export declare const LevelFormat: {
|
||||
readonly DECIMAL: "decimal";
|
||||
readonly UPPER_ROMAN: "upperRoman";
|
||||
readonly LOWER_ROMAN: "lowerRoman";
|
||||
readonly UPPER_LETTER: "upperLetter";
|
||||
readonly LOWER_LETTER: "lowerLetter";
|
||||
readonly ORDINAL: "ordinal";
|
||||
readonly CARDINAL_TEXT: "cardinalText";
|
||||
readonly ORDINAL_TEXT: "ordinalText";
|
||||
readonly HEX: "hex";
|
||||
readonly CHICAGO: "chicago";
|
||||
readonly IDEOGRAPH__DIGITAL: "ideographDigital";
|
||||
readonly JAPANESE_COUNTING: "japaneseCounting";
|
||||
readonly AIUEO: "aiueo";
|
||||
readonly IROHA: "iroha";
|
||||
readonly DECIMAL_FULL_WIDTH: "decimalFullWidth";
|
||||
readonly DECIMAL_HALF_WIDTH: "decimalHalfWidth";
|
||||
readonly JAPANESE_LEGAL: "japaneseLegal";
|
||||
readonly JAPANESE_DIGITAL_TEN_THOUSAND: "japaneseDigitalTenThousand";
|
||||
readonly DECIMAL_ENCLOSED_CIRCLE: "decimalEnclosedCircle";
|
||||
readonly DECIMAL_FULL_WIDTH2: "decimalFullWidth2";
|
||||
readonly AIUEO_FULL_WIDTH: "aiueoFullWidth";
|
||||
readonly IROHA_FULL_WIDTH: "irohaFullWidth";
|
||||
readonly DECIMAL_ZERO: "decimalZero";
|
||||
readonly BULLET: "bullet";
|
||||
readonly GANADA: "ganada";
|
||||
readonly CHOSUNG: "chosung";
|
||||
readonly DECIMAL_ENCLOSED_FULLSTOP: "decimalEnclosedFullstop";
|
||||
readonly DECIMAL_ENCLOSED_PARENTHESES: "decimalEnclosedParen";
|
||||
readonly DECIMAL_ENCLOSED_CIRCLE_CHINESE: "decimalEnclosedCircleChinese";
|
||||
readonly IDEOGRAPH_ENCLOSED_CIRCLE: "ideographEnclosedCircle";
|
||||
readonly IDEOGRAPH_TRADITIONAL: "ideographTraditional";
|
||||
readonly IDEOGRAPH_ZODIAC: "ideographZodiac";
|
||||
readonly IDEOGRAPH_ZODIAC_TRADITIONAL: "ideographZodiacTraditional";
|
||||
readonly TAIWANESE_COUNTING: "taiwaneseCounting";
|
||||
readonly IDEOGRAPH_LEGAL_TRADITIONAL: "ideographLegalTraditional";
|
||||
readonly TAIWANESE_COUNTING_THOUSAND: "taiwaneseCountingThousand";
|
||||
readonly TAIWANESE_DIGITAL: "taiwaneseDigital";
|
||||
readonly CHINESE_COUNTING: "chineseCounting";
|
||||
readonly CHINESE_LEGAL_SIMPLIFIED: "chineseLegalSimplified";
|
||||
readonly CHINESE_COUNTING_THOUSAND: "chineseCountingThousand";
|
||||
readonly KOREAN_DIGITAL: "koreanDigital";
|
||||
readonly KOREAN_COUNTING: "koreanCounting";
|
||||
readonly KOREAN_LEGAL: "koreanLegal";
|
||||
readonly KOREAN_DIGITAL2: "koreanDigital2";
|
||||
readonly VIETNAMESE_COUNTING: "vietnameseCounting";
|
||||
readonly RUSSIAN_LOWER: "russianLower";
|
||||
readonly RUSSIAN_UPPER: "russianUpper";
|
||||
readonly NONE: "none";
|
||||
readonly NUMBER_IN_DASH: "numberInDash";
|
||||
readonly HEBREW1: "hebrew1";
|
||||
readonly HEBREW2: "hebrew2";
|
||||
readonly ARABIC_ALPHA: "arabicAlpha";
|
||||
readonly ARABIC_ABJAD: "arabicAbjad";
|
||||
readonly HINDI_VOWELS: "hindiVowels";
|
||||
readonly HINDI_CONSONANTS: "hindiConsonants";
|
||||
readonly HINDI_NUMBERS: "hindiNumbers";
|
||||
readonly HINDI_COUNTING: "hindiCounting";
|
||||
readonly THAI_LETTERS: "thaiLetters";
|
||||
readonly THAI_NUMBERS: "thaiNumbers";
|
||||
readonly THAI_COUNTING: "thaiCounting";
|
||||
readonly BAHT_TEXT: "bahtText";
|
||||
readonly DOLLAR_TEXT: "dollarText";
|
||||
readonly CUSTOM: "custom";
|
||||
};
|
||||
export declare const LevelSuffix: {
|
||||
readonly NOTHING: "nothing";
|
||||
readonly SPACE: "space";
|
||||
readonly TAB: "tab";
|
||||
};
|
||||
export type ILevelsOptions = {
|
||||
readonly level: number;
|
||||
readonly format?: (typeof LevelFormat)[keyof typeof LevelFormat];
|
||||
readonly text?: string;
|
||||
readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
||||
readonly start?: number;
|
||||
readonly suffix?: (typeof LevelSuffix)[keyof typeof LevelSuffix];
|
||||
readonly isLegalNumberingStyle?: boolean;
|
||||
readonly style?: {
|
||||
readonly run?: IRunStylePropertiesOptions;
|
||||
readonly paragraph?: ILevelParagraphStylePropertiesOptions;
|
||||
readonly style?: string;
|
||||
};
|
||||
};
|
||||
export declare class LevelBase extends XmlComponent {
|
||||
private readonly paragraphProperties;
|
||||
private readonly runProperties;
|
||||
constructor({ level, format, text, alignment, start, style, suffix, isLegalNumberingStyle, }: ILevelsOptions);
|
||||
}
|
||||
export declare class Level extends LevelBase {
|
||||
}
|
||||
export declare class LevelForOverride extends LevelBase {
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import { XmlComponent } from '../xml-components';
|
||||
export declare class MultiLevelType extends XmlComponent {
|
||||
constructor(value: string);
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
import { XmlComponent } from '../xml-components';
|
||||
type IOverrideLevel = {
|
||||
readonly num: number;
|
||||
readonly start?: number;
|
||||
};
|
||||
export type IConcreteNumberingOptions = {
|
||||
readonly numId: number;
|
||||
readonly abstractNumId: number;
|
||||
readonly reference: string;
|
||||
readonly instance: number;
|
||||
readonly overrideLevels?: readonly IOverrideLevel[];
|
||||
};
|
||||
export declare class ConcreteNumbering extends XmlComponent {
|
||||
readonly numId: number;
|
||||
readonly reference: string;
|
||||
readonly instance: number;
|
||||
constructor(options: IConcreteNumberingOptions);
|
||||
}
|
||||
export declare class LevelOverride extends XmlComponent {
|
||||
constructor(levelNum: number, start?: number);
|
||||
}
|
||||
export {};
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
import { IContext, IXmlableObject, XmlComponent } from '../xml-components';
|
||||
import { ILevelsOptions } from './level';
|
||||
import { ConcreteNumbering } from './num';
|
||||
export type INumberingOptions = {
|
||||
readonly config: readonly {
|
||||
readonly levels: readonly ILevelsOptions[];
|
||||
readonly reference: string;
|
||||
}[];
|
||||
};
|
||||
export declare class Numbering extends XmlComponent {
|
||||
private readonly abstractNumberingMap;
|
||||
private readonly concreteNumberingMap;
|
||||
private readonly referenceConfigMap;
|
||||
private readonly abstractNumUniqueNumericId;
|
||||
private readonly concreteNumUniqueNumericId;
|
||||
constructor(options: INumberingOptions);
|
||||
prepForXml(context: IContext): IXmlableObject | undefined;
|
||||
createConcreteNumberingInstance(reference: string, instance: number): void;
|
||||
get ConcreteNumbering(): readonly ConcreteNumbering[];
|
||||
get ReferenceConfig(): readonly Record<string, any>[];
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Reference in New Issue
Block a user