modified git ignore

This commit is contained in:
ilmar
2018-04-02 14:37:54 +03:00
parent ee721ffbec
commit 80f09ac10b
149 changed files with 83578 additions and 1 deletions

View File

@ -0,0 +1,45 @@
import { XmlAttributeComponent } from "./default-attributes";
export interface IAttributesProperties {
val?: string | number | boolean;
color?: string;
space?: string;
sz?: string;
type?: string;
rsidR?: string;
rsidRPr?: string;
rsidSect?: string;
w?: string;
h?: string;
top?: string;
right?: string;
bottom?: string;
left?: string;
header?: string;
footer?: string;
gutter?: string;
linePitch?: string;
pos?: string | number;
}
export declare class Attributes extends XmlAttributeComponent<IAttributesProperties> {
protected xmlKeys: {
val: string;
color: string;
space: string;
sz: string;
type: string;
rsidR: string;
rsidRPr: string;
rsidSect: string;
w: string;
h: string;
top: string;
right: string;
bottom: string;
left: string;
header: string;
footer: string;
gutter: string;
linePitch: string;
pos: string;
};
}

6
build/file/xml-components/base.d.ts vendored Normal file
View File

@ -0,0 +1,6 @@
import { IXmlableObject } from "./xmlable-object";
export declare abstract class BaseXmlComponent {
protected rootKey: string;
constructor(rootKey: string);
abstract prepForXml(): IXmlableObject;
}

View File

@ -0,0 +1,12 @@
import { BaseXmlComponent } from "./base";
import { IXmlableObject } from "./xmlable-object";
export declare type AttributeMap<T> = {
[P in keyof T]: string;
};
export declare abstract class XmlAttributeComponent<T> extends BaseXmlComponent {
protected root: T;
protected xmlKeys: AttributeMap<T>;
constructor(properties: T);
prepForXml(): IXmlableObject;
set(properties: T): void;
}

4
build/file/xml-components/index.d.ts vendored Normal file
View File

@ -0,0 +1,4 @@
export * from "./xml-component";
export * from "./attributes";
export * from "./default-attributes";
export * from "./xmlable-object";

View File

@ -0,0 +1,8 @@
import { BaseXmlComponent } from "./base";
import { IXmlableObject } from "./xmlable-object";
export { BaseXmlComponent };
export declare abstract class XmlComponent extends BaseXmlComponent {
protected root: Array<BaseXmlComponent | string>;
constructor(rootKey: string);
prepForXml(): IXmlableObject;
}

View File

@ -0,0 +1,6 @@
export interface IXmlableObject extends Object {
_attr?: {
[key: string]: string | number | boolean;
};
}
export declare const WORKAROUND3 = "workaround";