@treeviz/gedcom-parser 1.0.4 → 1.0.6
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/dist/classes/common.d.ts +3 -4
- package/dist/classes/common.d.ts.map +1 -1
- package/dist/classes/date.d.ts +1 -1
- package/dist/classes/date.d.ts.map +1 -1
- package/dist/classes/date.js +1 -1
- package/dist/classes/fam.d.ts +3 -3
- package/dist/classes/fam.d.ts.map +1 -1
- package/dist/classes/fams.d.ts +3 -3
- package/dist/classes/fams.d.ts.map +1 -1
- package/dist/classes/gedcom.d.ts +14 -14
- package/dist/classes/gedcom.d.ts.map +1 -1
- package/dist/classes/gedcom.js +44 -23
- package/dist/classes/indis.d.ts +5 -4
- package/dist/classes/indis.d.ts.map +1 -1
- package/dist/classes/indis.js +1 -1
- package/dist/classes/list.d.ts +4 -4
- package/dist/classes/list.d.ts.map +1 -1
- package/dist/classes/name.d.ts +1 -1
- package/dist/classes/name.d.ts.map +1 -1
- package/dist/classes/note.d.ts +1 -1
- package/dist/classes/note.d.ts.map +1 -1
- package/dist/classes/obje.d.ts +3 -3
- package/dist/classes/obje.d.ts.map +1 -1
- package/dist/classes/objes.d.ts +2 -2
- package/dist/classes/objes.d.ts.map +1 -1
- package/dist/classes/repo.d.ts +3 -3
- package/dist/classes/repo.d.ts.map +1 -1
- package/dist/classes/repos.d.ts +2 -2
- package/dist/classes/repos.d.ts.map +1 -1
- package/dist/classes/sour.d.ts +3 -3
- package/dist/classes/sour.d.ts.map +1 -1
- package/dist/classes/sours.d.ts +2 -2
- package/dist/classes/sours.d.ts.map +1 -1
- package/dist/classes/subm.d.ts +2 -2
- package/dist/classes/subm.d.ts.map +1 -1
- package/dist/classes/subms.d.ts +2 -2
- package/dist/classes/subms.d.ts.map +1 -1
- package/dist/cli/commands/convert.d.ts +1 -1
- package/dist/cli/commands/convert.d.ts.map +1 -1
- package/dist/cli/commands/extract.d.ts +1 -1
- package/dist/cli/commands/extract.d.ts.map +1 -1
- package/dist/cli/commands/extract.js +1 -1
- package/dist/cli/commands/find.d.ts +1 -1
- package/dist/cli/commands/find.d.ts.map +1 -1
- package/dist/cli/commands/info.d.ts +1 -1
- package/dist/cli/commands/info.d.ts.map +1 -1
- package/dist/cli/commands/merge.d.ts +1 -1
- package/dist/cli/commands/merge.d.ts.map +1 -1
- package/dist/cli/commands/merge.js +2 -2
- package/dist/cli/commands/relatives.d.ts +1 -1
- package/dist/cli/commands/relatives.d.ts.map +1 -1
- package/dist/cli/commands/show.d.ts +1 -1
- package/dist/cli/commands/show.d.ts.map +1 -1
- package/dist/cli/commands/stats.d.ts +1 -1
- package/dist/cli/commands/stats.d.ts.map +1 -1
- package/dist/cli/commands/stats.js +1 -1
- package/dist/cli/commands/validate.d.ts +1 -1
- package/dist/cli/commands/validate.d.ts.map +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/constants/filters.d.ts +2 -1
- package/dist/constants/filters.d.ts.map +1 -1
- package/dist/constants/filters.js +1 -1
- package/dist/constants/orders.d.ts +2 -2
- package/dist/constants/orders.d.ts.map +1 -1
- package/dist/init.d.ts +91 -0
- package/dist/init.d.ts.map +1 -0
- package/dist/init.js +94 -0
- package/dist/interfaces/common.d.ts +3 -3
- package/dist/interfaces/common.d.ts.map +1 -1
- package/dist/interfaces/fam.d.ts +3 -3
- package/dist/interfaces/fam.d.ts.map +1 -1
- package/dist/interfaces/fams.d.ts +4 -4
- package/dist/interfaces/fams.d.ts.map +1 -1
- package/dist/interfaces/gedcom.d.ts +14 -14
- package/dist/interfaces/gedcom.d.ts.map +1 -1
- package/dist/interfaces/indi.d.ts +6 -6
- package/dist/interfaces/indi.d.ts.map +1 -1
- package/dist/interfaces/indis.d.ts +5 -5
- package/dist/interfaces/indis.d.ts.map +1 -1
- package/dist/interfaces/list.d.ts +4 -4
- package/dist/interfaces/list.d.ts.map +1 -1
- package/dist/interfaces/obje.d.ts +2 -2
- package/dist/interfaces/obje.d.ts.map +1 -1
- package/dist/interfaces/repo.d.ts +2 -2
- package/dist/interfaces/repo.d.ts.map +1 -1
- package/dist/interfaces/sour.d.ts +2 -2
- package/dist/interfaces/sour.d.ts.map +1 -1
- package/dist/interfaces/subm.d.ts +2 -2
- package/dist/interfaces/subm.d.ts.map +1 -1
- package/dist/kinship-translator/kinship-translator.basic.d.ts +1 -1
- package/dist/kinship-translator/kinship-translator.basic.d.ts.map +1 -1
- package/dist/kinship-translator/kinship-translator.d.ts +2 -2
- package/dist/kinship-translator/kinship-translator.d.ts.map +1 -1
- package/dist/kinship-translator/patterns.hu.d.ts +2 -2
- package/dist/kinship-translator/patterns.hu.d.ts.map +1 -1
- package/dist/structures/address.d.ts +1 -1
- package/dist/structures/address.d.ts.map +1 -1
- package/dist/structures/association.d.ts +1 -1
- package/dist/structures/association.d.ts.map +1 -1
- package/dist/structures/change-date.d.ts +1 -1
- package/dist/structures/change-date.d.ts.map +1 -1
- package/dist/structures/creation-date.d.ts +1 -1
- package/dist/structures/creation-date.d.ts.map +1 -1
- package/dist/structures/date.d.ts +2 -2
- package/dist/structures/date.d.ts.map +1 -1
- package/dist/structures/family.d.ts +1 -1
- package/dist/structures/family.d.ts.map +1 -1
- package/dist/structures/gedcom.d.ts +2 -3
- package/dist/structures/gedcom.d.ts.map +1 -1
- package/dist/structures/index.d.ts +24 -24
- package/dist/structures/index.d.ts.map +1 -1
- package/dist/structures/individual-event-detail-structure.d.ts +1 -1
- package/dist/structures/individual-event-detail-structure.d.ts.map +1 -1
- package/dist/structures/individual-event-structure.d.ts +1 -1
- package/dist/structures/individual-event-structure.d.ts.map +1 -1
- package/dist/structures/individual.d.ts +3 -3
- package/dist/structures/individual.d.ts.map +1 -1
- package/dist/structures/lds-ordinance-detail.d.ts +1 -1
- package/dist/structures/lds-ordinance-detail.d.ts.map +1 -1
- package/dist/structures/lds-spouse-sealing.d.ts +1 -1
- package/dist/structures/lds-spouse-sealing.d.ts.map +1 -1
- package/dist/structures/marriage-date.d.ts +1 -1
- package/dist/structures/marriage-date.d.ts.map +1 -1
- package/dist/structures/multimedia-link.d.ts +1 -1
- package/dist/structures/multimedia-link.d.ts.map +1 -1
- package/dist/structures/non-event.d.ts +1 -1
- package/dist/structures/non-event.d.ts.map +1 -1
- package/dist/structures/note.d.ts +2 -2
- package/dist/structures/note.d.ts.map +1 -1
- package/dist/structures/personal-name-pieces.d.ts +1 -1
- package/dist/structures/personal-name-pieces.d.ts.map +1 -1
- package/dist/structures/personal-name.d.ts +1 -1
- package/dist/structures/personal-name.d.ts.map +1 -1
- package/dist/structures/place.d.ts +1 -1
- package/dist/structures/place.d.ts.map +1 -1
- package/dist/structures/repository.d.ts +1 -1
- package/dist/structures/repository.d.ts.map +1 -1
- package/dist/structures/source-citation.d.ts +1 -1
- package/dist/structures/source-citation.d.ts.map +1 -1
- package/dist/structures/source-repository-citation.d.ts +1 -1
- package/dist/structures/source-repository-citation.d.ts.map +1 -1
- package/dist/structures/source.d.ts +1 -1
- package/dist/structures/source.d.ts.map +1 -1
- package/dist/types/types.d.ts +2 -2
- package/dist/types/types.d.ts.map +1 -1
- package/dist/utils/cache.d.ts +3 -3
- package/dist/utils/cache.d.ts.map +1 -1
- package/dist/utils/date-formatter.d.ts +2 -2
- package/dist/utils/date-formatter.d.ts.map +1 -1
- package/dist/utils/get-family-with.d.ts +3 -3
- package/dist/utils/get-family-with.d.ts.map +1 -1
- package/dist/utils/name-formatter.d.ts +1 -1
- package/dist/utils/name-formatter.d.ts.map +1 -1
- package/dist/utils/parser.d.ts +1 -1
- package/dist/utils/parser.d.ts.map +1 -1
- package/dist/utils/parser.js +0 -1
- package/package.json +1 -1
package/dist/classes/common.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { ListTag } from "../types/types";
|
|
3
|
-
import { type ConvertOptions } from "../interfaces/common";
|
|
1
|
+
import type { ConvertOptions } from "../interfaces/common";
|
|
4
2
|
import type ICommon from "../interfaces/common";
|
|
5
|
-
import {
|
|
3
|
+
import type { IdType, MultiTag, ListTag } from "../types/types";
|
|
4
|
+
import type { GedComType } from "./gedcom";
|
|
6
5
|
import { List } from "./list";
|
|
7
6
|
export declare class Common<T = string, I extends IdType = IdType> implements ICommon<T, I> {
|
|
8
7
|
protected _gedcom?: GedComType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/classes/common.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/classes/common.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAEhD,OAAO,KAAK,EAAM,MAAM,EAAE,QAAQ,EAAW,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE7E,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAI9B,qBAAa,MAAM,CAAC,CAAC,GAAG,MAAM,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,CAAE,YAAW,OAAO,CAC5E,CAAC,EACD,CAAC,CACD;IACA,SAAS,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC;IAC/B,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACrB,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAClB,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,SAAS,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC;IAC3B,SAAS,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC;IAEvB,UAAU,UAAQ;IAClB,OAAO,CAAC,EAAE,OAA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/date.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { IdType, MultiTag } from "../types/types";
|
|
|
2
2
|
import type { Range } from "../utils/range";
|
|
3
3
|
import { Common } from "./common";
|
|
4
4
|
import type { ProxyOriginal } from "./common";
|
|
5
|
-
import {
|
|
5
|
+
import type { GedComType } from "./gedcom";
|
|
6
6
|
import type { List } from "./list";
|
|
7
7
|
export declare class CommonDate extends Common<string> {
|
|
8
8
|
private _date?;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/classes/date.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/classes/date.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAGvD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,MAAM,EAA6B,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AACzC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAiDnC,qBAAa,UAAW,SAAQ,MAAM,CAAC,MAAM,CAAC;IAC7C,OAAO,CAAC,KAAK,CAAC,CAAO;IAErB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;gBAGb,MAAM,CAAC,EAAE,UAAU,EACnB,EAAE,CAAC,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,MAAM;IAOhB,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EA0ElC;IAED,IAAI,KAAK,IA5EQ,MAAM,GAAG,SAAS,CA+FlC;IAED,IAAI,QAAQ,SAEX;IAED,MAAM,CAAC,CAAC,SAAS,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,EAC7C,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE,CAAC,EACR,MAAM,UAAQ;IAUf,OAAO,CAAC,iBAAiB;IAgBzB,MAAM,CAAC,KAAK,UAAO,GAAG,MAAM,GAAG,SAAS;IAUxC,OAAO,CAAC,UAAU,SAAgB,GAAG,MAAM,GAAG,SAAS;IAsBvD,WAAW;IAIX,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,YAAY,UAAQ;CAG1C;AAED,eAAO,MAAM,gBAAgB,GAC5B,SAAS,UAAU,EACnB,KAAK,MAAM,EACX,OAAO,MAAM,EACb,SAAS,MAAM,KACb,aAAa,CAAC,UAAU,CAI1B,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,QAAQ,OAAO,KAAG,KAAK,IAAI,UAOvD,CAAC"}
|
package/dist/classes/date.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { format, isValid, parse } from "date-fns";
|
|
2
|
+
import { getDateLocale } from "../factories/index.js";
|
|
2
3
|
import { ACCEPTED_DATE_FORMATS } from "../utils/date-formatter.js";
|
|
3
4
|
import { inRange } from "../utils/range.js";
|
|
4
5
|
import { Common, createCommon, createProxy } from "./common.js";
|
|
5
|
-
import { getDateLocale } from "../factories/index.js";
|
|
6
6
|
const LONG_NOTES = {
|
|
7
7
|
"Abt.": "About",
|
|
8
8
|
"Bef.": "Before",
|
package/dist/classes/fam.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type IFamilyStructure from "../structures/family";
|
|
2
|
-
import { type FamKey } from "../types/types";
|
|
3
1
|
import type IFam from "../interfaces/fam";
|
|
2
|
+
import type IFamilyStructure from "../structures/family";
|
|
3
|
+
import type { FamKey } from "../types/types";
|
|
4
4
|
import { Common } from "./common";
|
|
5
5
|
import type { ProxyOriginal } from "./common";
|
|
6
6
|
import { Families } from "./fams";
|
|
7
|
-
import {
|
|
7
|
+
import type { GedComType } from "./gedcom";
|
|
8
8
|
import { Individuals } from "./indis";
|
|
9
9
|
export declare class Fam extends Common<string, FamKey> implements IFam {
|
|
10
10
|
private getFamilyMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fam.d.ts","sourceRoot":"","sources":["../../src/classes/fam.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"fam.d.ts","sourceRoot":"","sources":["../../src/classes/fam.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,KAAK,gBAAgB,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAW,MAAM,gBAAgB,CAAC;AAEtD,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,qBAAa,GAAI,SAAQ,MAAM,CAAC,MAAM,EAAE,MAAM,CAAE,YAAW,IAAI;IAC9D,OAAO,CAAC,gBAAgB;IAexB,WAAW;IAIX,UAAU;IAIV,OAAO;IAIP,UAAU,IAAI,WAAW;IAIzB,MAAM;CAMN;AAED,MAAM,MAAM,OAAO,GAAG,GAAG,GAAG,gBAAgB,CAAC;AAC7C,eAAO,MAAM,SAAS,GACrB,QAAQ,UAAU,EAClB,IAAI,MAAM,EACV,OAAO,MAAM,EACb,SAAS,MAAM,KACb,aAAa,CAAC,OAAO,CAIvB,CAAC"}
|
package/dist/classes/fams.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { IFamilies } from "../interfaces/fams";
|
|
2
|
+
import type { FamKey, Filter, Order, FilterIterator, OrderIterator } from "../types/types";
|
|
3
|
+
import type { FamType } from "./fam";
|
|
4
4
|
import { Individuals } from "./indis";
|
|
5
5
|
import { List } from "./list";
|
|
6
6
|
export declare class Families extends List<FamKey, FamType> implements IFamilies {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fams.d.ts","sourceRoot":"","sources":["../../src/classes/fams.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"fams.d.ts","sourceRoot":"","sources":["../../src/classes/fams.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAGzF,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,qBAAa,QAAS,SAAQ,IAAI,CAAC,MAAM,EAAE,OAAO,CAAE,YAAW,SAAS;IACvE,IAAI,IAAI,QAAQ;IAIhB,MAAM,CAAC,IAAI,EAAE,OAAO,GAAG,QAAQ;IAI/B,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,GAAG,QAAQ;IAInE,IAAI,CACH,OAAO,EAAE,MAAM,GAAG,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,GAC/C,OAAO,GAAG,SAAS;IAItB,OAAO,CAAC,MAAM,EAAE,KAAK,GAAG,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,GAAG,QAAQ;IAIjE,UAAU,IAAI,WAAW;IAYzB,WAAW,IAAI,WAAW;IAY1B,MAAM;CAGN"}
|
package/dist/classes/gedcom.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ConvertOptions } from "../interfaces/common";
|
|
2
2
|
import type IGedcom from "../interfaces/gedcom";
|
|
3
3
|
import type IGedComStructure from "../structures/gedcom";
|
|
4
|
-
import {
|
|
4
|
+
import type { IdType, IndiKey, FamKey, ObjeKey, SourKey, RepoKey, SubmKey, MultiTag } from "../types/types";
|
|
5
5
|
import { Common } from "./common";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import type { FamType } from "./fam";
|
|
7
|
+
import type { Families } from "./fams";
|
|
8
|
+
import type { IndiType } from "./indi";
|
|
9
|
+
import type { Individuals } from "./indis";
|
|
10
10
|
import { List } from "./list";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
11
|
+
import type { ObjeType } from "./obje";
|
|
12
|
+
import type { Objects } from "./objes";
|
|
13
|
+
import type { RepoType } from "./repo";
|
|
14
|
+
import type { Repositories } from "./repos";
|
|
15
|
+
import type { SourType } from "./sour";
|
|
16
|
+
import type { Sources } from "./sours";
|
|
17
|
+
import type { SubmType } from "./subm";
|
|
18
|
+
import type { Submitters } from "./subms";
|
|
19
19
|
export declare class GedCom extends Common implements IGedcom {
|
|
20
20
|
tagMembers: Record<string, {
|
|
21
21
|
tag: Common;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gedcom.d.ts","sourceRoot":"","sources":["../../src/classes/gedcom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"gedcom.d.ts","sourceRoot":"","sources":["../../src/classes/gedcom.ts"],"names":[],"mappings":"AAAA,OAAO,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AG;QAClB,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC;KACjB,CAAC,GACF,SAAS,GACV,MAAM;IAiBT,QAAQ,CACP,GAAG,CAAC,EAAE,QAAQ,GAAG,SAAS,EAC1B,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EACL,CAAC,cAAc,GAAG;QAClB,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC;KACjB,CAAC,GACF,SAAS,GACV,MAAM;IAwBT,MAAM,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM;IAY5B,kBAAkB;IAIlB,gBAAgB;IAIhB,mBAAmB;IAInB,mBAAmB;IAInB,iBAAiB;IAIjB,cAAc;IAId;;;OAGG;IACH,YAAY;IAkBZ;;;;OAIG;IACH,qBAAqB,CAAC,SAAS,GAAE,OAAO,EAAO;IA0B/C;;;;OAIG;IACH,KAAK,CAAC,WAAW,CAAC,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;CAwM/B;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,gBAAgB,CAAC;AACnD,eAAO,MAAM,YAAY,QAAO,UAE/B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,eAAe,MAAM,YASnD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GACjC,UAAU,MAAM,KACd;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAqDlC,CAAC;AAgBF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,YAAY,GACxB,cAAc,UAAU,EACxB,cAAc,UAAU,EACxB,WAAU,QAAQ,GAAG,IAAW,KAC9B,UAoVF,CAAC"}
|
package/dist/classes/gedcom.js
CHANGED
|
@@ -603,7 +603,8 @@ const MERGE_ID_INCREMENT_MULTIPLIER = 1000;
|
|
|
603
603
|
const valueToString = (value) => {
|
|
604
604
|
if (!value)
|
|
605
605
|
return "";
|
|
606
|
-
return value.toString?.() ||
|
|
606
|
+
return (value.toString?.() ||
|
|
607
|
+
String(value?.toValue?.() || ""));
|
|
607
608
|
};
|
|
608
609
|
/**
|
|
609
610
|
* Merge two GEDCOM objects into a single result using a configurable matching strategy
|
|
@@ -655,7 +656,7 @@ export const mergeGedcoms = (targetGedcom, sourceGedcom, strategy = "id") => {
|
|
|
655
656
|
matchedTargetIndi = targetIndis?.find((targetIndi) => {
|
|
656
657
|
const targetValueRaw = targetIndi.get(strategy);
|
|
657
658
|
const targetValue = valueToString(targetValueRaw);
|
|
658
|
-
return targetValue && targetValue === sourceValue;
|
|
659
|
+
return Boolean(targetValue && targetValue === sourceValue);
|
|
659
660
|
});
|
|
660
661
|
}
|
|
661
662
|
}
|
|
@@ -676,7 +677,8 @@ export const mergeGedcoms = (targetGedcom, sourceGedcom, strategy = "id") => {
|
|
|
676
677
|
const numMatch = baseId.match(/\d+/);
|
|
677
678
|
const prefix = baseId.match(/^@[A-Z]+/)?.[0] || "@I";
|
|
678
679
|
const baseNum = numMatch ? parseInt(numMatch[0]) : 1;
|
|
679
|
-
newId =
|
|
680
|
+
newId =
|
|
681
|
+
`${prefix}${baseNum + counter * MERGE_ID_INCREMENT_MULTIPLIER}@`;
|
|
680
682
|
counter++;
|
|
681
683
|
}
|
|
682
684
|
idMap.set(sourceIndi.id, newId);
|
|
@@ -690,11 +692,19 @@ export const mergeGedcoms = (targetGedcom, sourceGedcom, strategy = "id") => {
|
|
|
690
692
|
// Get the member IDs for this source family
|
|
691
693
|
const sourceHusbId = sourceFam.HUSB?.value;
|
|
692
694
|
const sourceWifeId = sourceFam.WIFE?.value;
|
|
693
|
-
const sourceChildIds = sourceFam.CHIL?.toList()
|
|
695
|
+
const sourceChildIds = sourceFam.CHIL?.toList()
|
|
696
|
+
?.map((c) => c.value)
|
|
697
|
+
.filter(Boolean) || [];
|
|
694
698
|
// Map to their final IDs (after individual matching by strategy)
|
|
695
|
-
const finalHusbId = sourceHusbId
|
|
696
|
-
|
|
697
|
-
|
|
699
|
+
const finalHusbId = sourceHusbId
|
|
700
|
+
? idMap.get(sourceHusbId)
|
|
701
|
+
: undefined;
|
|
702
|
+
const finalWifeId = sourceWifeId
|
|
703
|
+
? idMap.get(sourceWifeId)
|
|
704
|
+
: undefined;
|
|
705
|
+
const finalChildIds = sourceChildIds
|
|
706
|
+
.map((id) => idMap.get(id))
|
|
707
|
+
.filter(Boolean);
|
|
698
708
|
// Try to find a matching family in target that has the same members (after remapping)
|
|
699
709
|
let matchedTargetFam;
|
|
700
710
|
targetFams?.forEach((targetFam) => {
|
|
@@ -702,25 +712,33 @@ export const mergeGedcoms = (targetGedcom, sourceGedcom, strategy = "id") => {
|
|
|
702
712
|
return; // Already found a match
|
|
703
713
|
const targetHusbId = targetFam.HUSB?.value;
|
|
704
714
|
const targetWifeId = targetFam.WIFE?.value;
|
|
705
|
-
const targetChildIds = targetFam.CHIL?.toList()
|
|
715
|
+
const targetChildIds = targetFam.CHIL?.toList()
|
|
716
|
+
?.map((c) => c.value)
|
|
717
|
+
.filter(Boolean) || [];
|
|
706
718
|
// Check if husband matches (either both undefined or same final ID)
|
|
707
|
-
const husbMatch = (!finalHusbId && !targetHusbId) ||
|
|
719
|
+
const husbMatch = (!finalHusbId && !targetHusbId) || finalHusbId === targetHusbId;
|
|
708
720
|
// Check if wife matches (either both undefined or same final ID)
|
|
709
|
-
const wifeMatch = (!finalWifeId && !targetWifeId) ||
|
|
721
|
+
const wifeMatch = (!finalWifeId && !targetWifeId) || finalWifeId === targetWifeId;
|
|
710
722
|
// For a family to match, both husband and wife must match
|
|
711
723
|
// (if one is undefined in both, that's also a match)
|
|
712
724
|
if (husbMatch && wifeMatch) {
|
|
713
725
|
// Also check children overlap
|
|
714
|
-
const childOverlap = finalChildIds.filter(id => targetChildIds.includes(id)).length;
|
|
715
|
-
const totalUniqueChildren = new Set([
|
|
726
|
+
const childOverlap = finalChildIds.filter((id) => id && targetChildIds.includes(id)).length;
|
|
727
|
+
const totalUniqueChildren = new Set([
|
|
728
|
+
...finalChildIds,
|
|
729
|
+
...targetChildIds,
|
|
730
|
+
]).size;
|
|
716
731
|
// Match if:
|
|
717
|
-
// 1.
|
|
732
|
+
// 1. At least one spouse is present (to avoid matching empty families), OR
|
|
718
733
|
// 2. At least 50% of children overlap
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
734
|
+
const hasSpouses = finalHusbId ||
|
|
735
|
+
finalWifeId ||
|
|
736
|
+
targetHusbId ||
|
|
737
|
+
targetWifeId;
|
|
738
|
+
const hasMatchingChildren = totalUniqueChildren > 0 &&
|
|
739
|
+
childOverlap / totalUniqueChildren >= 0.5;
|
|
740
|
+
if (hasSpouses || hasMatchingChildren) {
|
|
741
|
+
matchedTargetFam = targetFam;
|
|
724
742
|
}
|
|
725
743
|
}
|
|
726
744
|
});
|
|
@@ -739,7 +757,8 @@ export const mergeGedcoms = (targetGedcom, sourceGedcom, strategy = "id") => {
|
|
|
739
757
|
const numMatch = baseId.match(/\d+/);
|
|
740
758
|
const prefix = baseId.match(/^@[A-Z]+/)?.[0] || "@F";
|
|
741
759
|
const baseNum = numMatch ? parseInt(numMatch[0]) : 1;
|
|
742
|
-
newId =
|
|
760
|
+
newId =
|
|
761
|
+
`${prefix}${baseNum + counter * MERGE_ID_INCREMENT_MULTIPLIER}@`;
|
|
743
762
|
counter++;
|
|
744
763
|
}
|
|
745
764
|
idMap.set(sourceFam.id, newId);
|
|
@@ -779,7 +798,7 @@ export const mergeGedcoms = (targetGedcom, sourceGedcom, strategy = "id") => {
|
|
|
779
798
|
if (!sourceIndi)
|
|
780
799
|
return;
|
|
781
800
|
// Clear and rebuild FAMS references with remapped IDs
|
|
782
|
-
clonedIndi.
|
|
801
|
+
clonedIndi.remove("FAMS");
|
|
783
802
|
const sourceFAMS = sourceIndi.FAMS?.toList();
|
|
784
803
|
sourceFAMS?.forEach((famRef) => {
|
|
785
804
|
const oldFamId = famRef.value;
|
|
@@ -793,7 +812,7 @@ export const mergeGedcoms = (targetGedcom, sourceGedcom, strategy = "id") => {
|
|
|
793
812
|
}
|
|
794
813
|
});
|
|
795
814
|
// Clear and rebuild FAMC references with remapped IDs
|
|
796
|
-
clonedIndi.
|
|
815
|
+
clonedIndi.remove("FAMC");
|
|
797
816
|
const sourceFAMC = sourceIndi.FAMC?.toList();
|
|
798
817
|
sourceFAMC?.forEach((famRef) => {
|
|
799
818
|
const oldFamId = famRef.value;
|
|
@@ -833,7 +852,7 @@ export const mergeGedcoms = (targetGedcom, sourceGedcom, strategy = "id") => {
|
|
|
833
852
|
}
|
|
834
853
|
}
|
|
835
854
|
// Update CHIL references
|
|
836
|
-
clonedFam.
|
|
855
|
+
clonedFam.remove("CHIL");
|
|
837
856
|
const sourceChildren = sourceFam.CHIL?.toList();
|
|
838
857
|
sourceChildren?.forEach((childRef) => {
|
|
839
858
|
const oldChildId = childRef.value;
|
|
@@ -855,7 +874,9 @@ export const mergeGedcoms = (targetGedcom, sourceGedcom, strategy = "id") => {
|
|
|
855
874
|
const targetIndi = mergedGedcom.indis()?.item(matchedTargetId);
|
|
856
875
|
if (targetIndi) {
|
|
857
876
|
// Merge without overriding existing data
|
|
858
|
-
|
|
877
|
+
// If using a strategy field (not "id"), avoid merging that field since it's already the same
|
|
878
|
+
const avoidKeys = strategy !== "id" ? [strategy] : [];
|
|
879
|
+
targetIndi.merge(clonedIndi, false, avoidKeys);
|
|
859
880
|
}
|
|
860
881
|
}
|
|
861
882
|
else {
|
package/dist/classes/indis.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { IIndividuals } from "../interfaces/indis";
|
|
2
|
+
import type { Settings } from "../types/settings";
|
|
3
|
+
import { Range } from "../types/types";
|
|
4
|
+
import type { IndiKey, Filter, OrderIterator, NestedGroup, Order, FilterIterator, GroupIterator, Group } from "../types/types";
|
|
5
|
+
import type { IndiType } from "./indi";
|
|
5
6
|
import { List } from "./list";
|
|
6
7
|
export declare class Individuals extends List<IndiKey, IndiType> implements IIndividuals {
|
|
7
8
|
copy(): Individuals;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indis.d.ts","sourceRoot":"","sources":["../../src/classes/indis.ts"],"names":[],"mappings":"AAUA,OAAO,
|
|
1
|
+
{"version":3,"file":"indis.d.ts","sourceRoot":"","sources":["../../src/classes/indis.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC;AAEtD,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAMN,KAAK,EAML,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAC,OAAO,EAAE,MAAM,EAAU,aAAa,EAAY,WAAW,EAAE,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,KAAK,EAAe,MAAM,gBAAgB,CAAC;AAO7J,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,qBAAa,WACZ,SAAQ,IAAI,CAAC,OAAO,EAAE,QAAQ,CAC9B,YAAW,YAAY;IAEvB,IAAI,IAAI,WAAW;IAInB,MAAM,CAAC,IAAI,EAAE,QAAQ,GAAG,WAAW;IAInC,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,WAAW;IAIxE,IAAI,CACH,OAAO,EAAE,MAAM,GAAG,cAAc,CAAC,QAAQ,EAAE,OAAO,CAAC,GACjD,QAAQ,GAAG,SAAS;IAIvB,gBAAgB,CAAC,aAAa,EAAE,OAAO;IAQvC,OAAO,CAAC,MAAM,EAAE,KAAK,GAAG,aAAa,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,WAAW;IAItE,aAAa;IA8Bb,YAAY;IA8BZ,aAAa;IAcb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AU;IAYV,YAAY;IAYZ,UAAU;IAYV,MAAM;IAIN,MAAM;CAGN"}
|
package/dist/classes/indis.js
CHANGED
|
@@ -2,7 +2,7 @@ import difference from "lodash-es/difference.js";
|
|
|
2
2
|
import { BIRTH_ASC, BIRTH_DESC, DEATH_ASC, DEATH_DESC, } from "../constants/orders.js";
|
|
3
3
|
import { getPlaceParserProvider } from "../factories/place-parser-provider.js";
|
|
4
4
|
import { getPlaceTranslatorProvider } from "../factories/place-translator-provider.js";
|
|
5
|
-
import { Range
|
|
5
|
+
import { Range } from "../types/types.js";
|
|
6
6
|
import { nameFormatter } from "../utils/name-formatter.js";
|
|
7
7
|
import { setNestedGroup } from "../utils/nested-group.js";
|
|
8
8
|
import { getPlaceParts } from "../utils/place-parser.js";
|
package/dist/classes/list.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { ConvertOptions } from "../interfaces/common";
|
|
2
|
+
import type { IList } from "../interfaces/list";
|
|
3
|
+
import type { IdType, Filter, FilterIterator, MultiTag, Order, OrderIterator, Group, GroupIterator } from "../types/types";
|
|
4
|
+
import type { Common } from "./common";
|
|
5
5
|
export declare class List<K extends IdType = IdType, T extends Common = Common> implements IList<K, T> {
|
|
6
6
|
private items;
|
|
7
7
|
isListable: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/classes/list.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/classes/list.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,EAAkB,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,QAAQ,E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AM,EAAE,KAAK,GAAG,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,EACnC,SAAS,GAAE,OAAO,IAAI,CAAC,CAAC,EAAE,CAAC,CAAc;IAyD1C,OAAO,CACN,MAAM,EAAE,KAAK,GAAG,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,EACnC,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,EAC7D,YAAY,SAAK,EACjB,kBAAkB,SAAgC,EAClD,SAAS,GAAE,OAAO,IAAI,CAAC,CAAC,EAAE,CAAC,CAAc;IAgG1C,SAAS,CAAC,IAAI,EAAE,CAAC;IAQjB,QAAQ;IAIR,MAAM,CAAC,GAAG,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,cAAc;IAM9C,QAAQ,CAAC,GAAG,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,cAAc;gBAKjC,MAAM;;gBAIJ,MAAM;;IAyBvB,QAAQ,CAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,SAAI,EAAE,OAAO,CAAC,EAAE,cAAc;IAM3D,aAAa,CAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,SAAI,EAAE,OAAO,CAAC,EAAE,cAAc;IAwBhE,OAAO;IAUP,MAAM,CAAC,GAAG,EAAE,QAAQ;IAIpB,MAAM;IAIN,WAAW;CASX"}
|
package/dist/classes/name.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IdType } from "../types/types";
|
|
2
2
|
import { Common } from "./common";
|
|
3
3
|
import type { ProxyOriginal } from "./common";
|
|
4
|
-
import {
|
|
4
|
+
import type { GedComType } from "./gedcom";
|
|
5
5
|
export declare class CommonName extends Common<string> {
|
|
6
6
|
NPFX?: Common;
|
|
7
7
|
GIVN?: Common;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"name.d.ts","sourceRoot":"","sources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CAAC,UAAU,CAI1B,CAAC"}
|
package/dist/classes/note.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IdType } from "../types/types";
|
|
2
2
|
import { Common } from "./common";
|
|
3
3
|
import type { ProxyOriginal } from "./common";
|
|
4
|
-
import {
|
|
4
|
+
import type { GedComType } from "./gedcom";
|
|
5
5
|
export declare class CommonNote extends Common<string> {
|
|
6
6
|
constructor(gedcom?: GedComType, id?: IdType, main?: Common, parent?: Common);
|
|
7
7
|
set value(value: string | undefined);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note.d.ts","sourceRoot":"","sources":["../../src/classes/note.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,MAAM,EAA6B,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,
|
|
1
|
+
{"version":3,"file":"note.d.ts","sourceRoot":"","sources":["../../src/classes/note.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,MAAM,EAA6B,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AAGzC,qBAAa,UAAW,SAAQ,MAAM,CAAC,MAAM,CAAC;gBAE5C,MAAM,CAAC,EAAE,UAAU,EACnB,EAAE,CAAC,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,MAAM;IAOhB,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EA4BlC;IAED,IAAI,KAAK,IA9BQ,MAAM,GAAG,SAAS,CAyClC;IAED,WAAW;CAGX;AAED,eAAO,MAAM,gBAAgB,GAC5B,SAAS,UAAU,EACnB,KAAK,MAAM,EACX,OAAO,MAAM,EACb,SAAS,MAAM,KACb,aAAa,CAAC,UAAU,CAI1B,CAAC"}
|
package/dist/classes/obje.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type IMultimediaLinkStructure from "../structures/multimedia-link";
|
|
2
|
-
import { type ObjeKey } from "../types/types";
|
|
3
1
|
import type IObje from "../interfaces/obje";
|
|
2
|
+
import type IMultimediaLinkStructure from "../structures/multimedia-link";
|
|
3
|
+
import type { ObjeKey } from "../types/types";
|
|
4
4
|
import { Common } from "./common";
|
|
5
5
|
import type { ProxyOriginal } from "./common";
|
|
6
|
-
import {
|
|
6
|
+
import type { GedComType } from "./gedcom";
|
|
7
7
|
export declare class Obje extends Common<string, ObjeKey> implements IObje {
|
|
8
8
|
standardizeMedia(namespace?: string | number, override?: boolean, urlGetter?: (namespace?: string | number, imgId?: string) => string | undefined): this | ProxyOriginal<ObjeType>;
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"obje.d.ts","sourceRoot":"","sources":["../../src/classes/obje.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"obje.d.ts","sourceRoot":"","sources":["../../src/classes/obje.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAC5C,OAAO,KAAK,wBAAwB,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,MAAM,EAA6B,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AAEzC,qBAAa,IAAK,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAE,YAAW,KAAK;IACjE,gBAAgB,CACf,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAC3B,QAAQ,UAAO,EACf,SAAS,CAAC,EAAE,CACX,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAC3B,KAAK,CAAC,EAAE,MAAM,KACV,MAAM,GAAG,SAAS;CAsGxB;AAED,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,wBAAwB,CAAC;AACvD,eAAO,MAAM,UAAU,GACtB,QAAQ,UAAU,EAClB,KAAK,OAAO,EACZ,OAAO,MAAM,EACb,SAAS,MAAM,KACb,aAAa,CAAC,QAAQ,CAIxB,CAAC"}
|
package/dist/classes/objes.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ObjeKey } from "../types/types";
|
|
2
2
|
import { List } from "./list";
|
|
3
|
-
import {
|
|
3
|
+
import type { ObjeType } from "./obje";
|
|
4
4
|
export declare class Objects extends List<ObjeKey, ObjeType> {
|
|
5
5
|
copy(): Objects;
|
|
6
6
|
except(item: ObjeType): Objects;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objes.d.ts","sourceRoot":"","sources":["../../src/classes/objes.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"objes.d.ts","sourceRoot":"","sources":["../../src/classes/objes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,QAAQ,CAAC;AAErC,qBAAa,OAAQ,SAAQ,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC;IACnD,IAAI;IAUJ,MAAM,CAAC,IAAI,EAAE,QAAQ;CAGrB"}
|
package/dist/classes/repo.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type IRepositoryStructure from "../structures/repository";
|
|
2
|
-
import { type RepoKey } from "../types/types";
|
|
3
1
|
import type IRepo from "../interfaces/repo";
|
|
2
|
+
import type IRepositoryStructure from "../structures/repository";
|
|
3
|
+
import type { RepoKey } from "../types/types";
|
|
4
4
|
import { Common } from "./common";
|
|
5
5
|
import type { ProxyOriginal } from "./common";
|
|
6
|
-
import {
|
|
6
|
+
import type { GedComType } from "./gedcom";
|
|
7
7
|
export declare class Repo extends Common<string, RepoKey> implements IRepo {
|
|
8
8
|
}
|
|
9
9
|
export type RepoType = Repo & IRepositoryStructure;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repo.d.ts","sourceRoot":"","sources":["../../src/classes/repo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"repo.d.ts","sourceRoot":"","sources":["../../src/classes/repo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAC5C,OAAO,KAAK,oBAAoB,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AAEzC,qBAAa,IAAK,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAE,YAAW,KAAK;CAAG;AAErE,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,oBAAoB,CAAC;AACnD,eAAO,MAAM,UAAU,GACtB,QAAQ,UAAU,EAClB,KAAK,OAAO,EACZ,OAAO,MAAM,EACb,SAAS,MAAM,KACb,aAAa,CAAC,QAAQ,CAIxB,CAAC"}
|
package/dist/classes/repos.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { RepoKey } from "../types/types";
|
|
2
2
|
import { List } from "./list";
|
|
3
|
-
import {
|
|
3
|
+
import type { RepoType } from "./repo";
|
|
4
4
|
export declare class Repositories extends List<RepoKey, RepoType> {
|
|
5
5
|
copy(): Repositories;
|
|
6
6
|
except(item: RepoType): Repositories;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repos.d.ts","sourceRoot":"","sources":["../../src/classes/repos.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"repos.d.ts","sourceRoot":"","sources":["../../src/classes/repos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,QAAQ,CAAC;AAErC,qBAAa,YAAa,SAAQ,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC;IACxD,IAAI;IAUJ,MAAM,CAAC,IAAI,EAAE,QAAQ;CAGrB"}
|
package/dist/classes/sour.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type ISourceStructure from "../structures/source";
|
|
2
|
-
import { type SourKey } from "../types/types";
|
|
3
1
|
import type ISour from "../interfaces/sour";
|
|
2
|
+
import type ISourceStructure from "../structures/source";
|
|
3
|
+
import type { SourKey } from "../types/types";
|
|
4
4
|
import { Common } from "./common";
|
|
5
5
|
import type { ProxyOriginal } from "./common";
|
|
6
|
-
import {
|
|
6
|
+
import type { GedComType } from "./gedcom";
|
|
7
7
|
export declare class Sour extends Common<string, SourKey> implements ISour {
|
|
8
8
|
}
|
|
9
9
|
export type SourType = Sour & ISourceStructure;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sour.d.ts","sourceRoot":"","sources":["../../src/classes/sour.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"sour.d.ts","sourceRoot":"","sources":["../../src/classes/sour.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAC5C,OAAO,KAAK,gBAAgB,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AAEzC,qBAAa,IAAK,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAE,YAAW,KAAK;CAAG;AAErE,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,gBAAgB,CAAC;AAC/C,eAAO,MAAM,UAAU,GACtB,QAAQ,UAAU,EAClB,KAAK,OAAO,EACZ,OAAO,MAAM,EACb,SAAS,MAAM,KACb,aAAa,CAAC,QAAQ,CAIxB,CAAC"}
|
package/dist/classes/sours.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SourKey } from "../types/types";
|
|
2
2
|
import { List } from "./list";
|
|
3
|
-
import {
|
|
3
|
+
import type { SourType } from "./sour";
|
|
4
4
|
export declare class Sources extends List<SourKey, SourType> {
|
|
5
5
|
copy(): Sources;
|
|
6
6
|
except(item: SourType): Sources;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sours.d.ts","sourceRoot":"","sources":["../../src/classes/sours.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"sours.d.ts","sourceRoot":"","sources":["../../src/classes/sours.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,QAAQ,CAAC;AAErC,qBAAa,OAAQ,SAAQ,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC;IACnD,IAAI;IAUJ,MAAM,CAAC,IAAI,EAAE,QAAQ;CAGrB"}
|
package/dist/classes/subm.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type SubmKey } from "../types/types";
|
|
2
1
|
import type ISubm from "../interfaces/subm";
|
|
2
|
+
import type { SubmKey } from "../types/types";
|
|
3
3
|
import { Common } from "./common";
|
|
4
4
|
import type { ProxyOriginal } from "./common";
|
|
5
|
-
import {
|
|
5
|
+
import type { GedComType } from "./gedcom";
|
|
6
6
|
export declare class Subm extends Common<string, SubmKey> implements ISubm {
|
|
7
7
|
}
|
|
8
8
|
export type SubmType = Subm & ISubm;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subm.d.ts","sourceRoot":"","sources":["../../src/classes/subm.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"subm.d.ts","sourceRoot":"","sources":["../../src/classes/subm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAC5C,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AAEzC,qBAAa,IAAK,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAE,YAAW,KAAK;CAAG;AAErE,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,KAAK,CAAC;AACpC,eAAO,MAAM,UAAU,GACtB,QAAQ,UAAU,EAClB,KAAK,OAAO,EACZ,OAAO,MAAM,EACb,SAAS,MAAM,KACb,aAAa,CAAC,QAAQ,CAIxB,CAAC"}
|
package/dist/classes/subms.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SubmKey } from "../types/types";
|
|
2
2
|
import { List } from "./list";
|
|
3
|
-
import {
|
|
3
|
+
import type { SubmType } from "./subm";
|
|
4
4
|
export declare class Submitters extends List<SubmKey, SubmType> {
|
|
5
5
|
copy(): Submitters;
|
|
6
6
|
except(item: SubmType): Submitters;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subms.d.ts","sourceRoot":"","sources":["../../src/classes/subms.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"subms.d.ts","sourceRoot":"","sources":["../../src/classes/subms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,QAAQ,CAAC;AAErC,qBAAa,UAAW,SAAQ,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC;IACtD,IAAI;IAUJ,MAAM,CAAC,IAAI,EAAE,QAAQ;CAGrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/convert.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/convert.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAUzC,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAiF7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extract.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/extract.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extract.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/extract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAczC,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA4F7D"}
|