@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.
@@ -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-CSjQRlxq.js';
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-CSjQRlxq.js';
2
- export { C as Cases, f as CrossCase, g as CrossCases } from '../index-CSjQRlxq.js';
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 {