@treeviz/gedcom-parser 1.0.23 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -0
- package/dist/classes/index.d.ts +1 -1
- package/dist/classes/index.js +424 -61
- package/dist/cli/index.js +1825 -449
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +423 -60
- package/dist/factories/index.d.ts +2 -2
- package/dist/factories/index.js +423 -60
- package/dist/{index-CSjQRlxq.d.ts → index-B3Po1Kaw.d.ts} +145 -107
- package/dist/index.d.ts +3 -3
- package/dist/index.js +461 -65
- package/dist/interfaces/index.d.ts +1 -1
- package/dist/kinship-translator/index.d.ts +19 -19
- package/dist/kinship-translator/index.js +423 -60
- package/dist/place-parser-BLwBjtXS.d.ts +40 -0
- package/dist/{place-translator-BYX8180A.d.ts → place-translator-DPMyrsnu.d.ts} +24 -19
- package/dist/structures/index.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +459 -63
- package/package.json +1 -1
- package/dist/cli/index.d.ts +0 -1
- package/dist/place-parser-Dl5iva3h.d.ts +0 -37
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { r as GeneratedIndiMethods, A as ICommon, J as IFam, K as IFamilies, M as IGedCom, O as IIndi, S as IIndividuals, V as IList, _ as IObje, a0 as IRepo, a2 as ISour, a6 as ISubm } from '../index-
|
|
1
|
+
export { r as GeneratedIndiMethods, A as ICommon, J as IFam, K as IFamilies, M as IGedCom, O as IIndi, S as IIndividuals, V as IList, _ as IObje, a0 as IRepo, a2 as ISour, a6 as ISubm } from '../index-B3Po1Kaw.js';
|
|
2
2
|
import 'date-fns';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ah as IKinshipTranslator, aB as Path, aC as PathItem, af as IndiType, ac as IndiKey, ai as Language } from '../index-
|
|
2
|
-
export { C as Cases, f as CrossCase, g as CrossCases } from '../index-
|
|
1
|
+
import { ah as IKinshipTranslator, aB as Path, aC as PathItem, af as IndiType, ac as IndiKey, ai as Language } from '../index-B3Po1Kaw.js';
|
|
2
|
+
export { C as Cases, f as CrossCase, g as CrossCases } from '../index-B3Po1Kaw.js';
|
|
3
3
|
import 'date-fns';
|
|
4
4
|
|
|
5
5
|
declare class KinshipTranslatorBasic implements IKinshipTranslator {
|
|
@@ -8,15 +8,15 @@ declare class KinshipTranslatorBasic implements IKinshipTranslator {
|
|
|
8
8
|
displayName: "none" | "givenname" | "surname" | "all";
|
|
9
9
|
private readonly _path?;
|
|
10
10
|
constructor(path: Path, displayName?: "none" | "givenname" | "surname" | "all");
|
|
11
|
-
protected get path(): Path;
|
|
12
|
-
get path0(): PathItem;
|
|
13
|
-
get path1(): PathItem;
|
|
14
|
-
get pathM(): PathItem;
|
|
15
|
-
get pathN(): PathItem;
|
|
16
|
-
get person1(): IndiType;
|
|
17
|
-
get person2(): IndiType;
|
|
18
|
-
get personM(): IndiType;
|
|
19
|
-
get personN(): IndiType;
|
|
11
|
+
protected get path(): Path | undefined;
|
|
12
|
+
get path0(): PathItem | undefined;
|
|
13
|
+
get path1(): PathItem | undefined;
|
|
14
|
+
get pathM(): PathItem | undefined;
|
|
15
|
+
get pathN(): PathItem | undefined;
|
|
16
|
+
get person1(): IndiType | undefined;
|
|
17
|
+
get person2(): IndiType | undefined;
|
|
18
|
+
get personM(): IndiType | undefined;
|
|
19
|
+
get personN(): IndiType | undefined;
|
|
20
20
|
indirect(): string;
|
|
21
21
|
removal(): string;
|
|
22
22
|
parent(): string;
|
|
@@ -125,18 +125,18 @@ declare class KinshipTranslator<T extends boolean | undefined> {
|
|
|
125
125
|
private readonly lang;
|
|
126
126
|
private readonly displayName;
|
|
127
127
|
constructor(person1: IndiType, person2?: IndiType | IndiKey, lang?: Language, entirePath?: T, displayName?: "none" | "givenname" | "surname" | "all");
|
|
128
|
-
get path0(): PathItem;
|
|
129
|
-
get path1(): PathItem;
|
|
130
|
-
get pathM(): PathItem;
|
|
131
|
-
get pathN(): PathItem;
|
|
132
|
-
direct(): string;
|
|
133
|
-
indirect(): string;
|
|
134
|
-
removal(): string;
|
|
128
|
+
get path0(): PathItem | undefined;
|
|
129
|
+
get path1(): PathItem | undefined;
|
|
130
|
+
get pathM(): PathItem | undefined;
|
|
131
|
+
get pathN(): PathItem | undefined;
|
|
132
|
+
direct(): string | undefined;
|
|
133
|
+
indirect(): string | undefined;
|
|
134
|
+
removal(): string | undefined;
|
|
135
135
|
translate(showMainPerson?: boolean): string | {
|
|
136
136
|
id?: IndiKey;
|
|
137
137
|
absolute?: string;
|
|
138
138
|
relative?: string;
|
|
139
|
-
}[];
|
|
139
|
+
}[] | undefined;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
declare namespace translators {
|