@nmshd/content 2.0.0-beta.33 → 2.0.0-beta.35
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/attributes/AttributeValueTypes.d.ts +8 -8
- package/dist/attributes/AttributeValueTypes.js +4 -4
- package/dist/attributes/AttributeValueTypes.js.map +1 -1
- package/dist/attributes/IdentityAttribute.d.ts +1 -1
- package/dist/attributes/IdentityAttribute.js.map +1 -1
- package/dist/attributes/types/AbstractBoolean.d.ts +1 -2
- package/dist/attributes/types/AbstractBoolean.js.map +1 -1
- package/dist/attributes/types/AbstractFloat.d.ts +1 -2
- package/dist/attributes/types/AbstractFloat.js.map +1 -1
- package/dist/attributes/types/AbstractString.d.ts +1 -2
- package/dist/attributes/types/AbstractString.js.map +1 -1
- package/dist/attributes/types/address/City.d.ts +2 -2
- package/dist/attributes/types/address/City.js.map +1 -1
- package/dist/attributes/types/address/Country.d.ts +2 -2
- package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +24 -24
- package/dist/attributes/types/address/DeliveryBoxAddress.js +6 -3
- package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/HouseNumber.d.ts +2 -2
- package/dist/attributes/types/address/HouseNumber.js.map +1 -1
- package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +22 -21
- package/dist/attributes/types/address/PostOfficeBoxAddress.js +3 -0
- package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/State.d.ts +2 -2
- package/dist/attributes/types/address/State.js.map +1 -1
- package/dist/attributes/types/address/Street.d.ts +2 -2
- package/dist/attributes/types/address/Street.js.map +1 -1
- package/dist/attributes/types/address/StreetAddress.d.ts +26 -26
- package/dist/attributes/types/address/StreetAddress.js +3 -0
- package/dist/attributes/types/address/StreetAddress.js.map +1 -1
- package/dist/attributes/types/address/ZipCode.d.ts +2 -2
- package/dist/attributes/types/address/ZipCode.js.map +1 -1
- package/dist/attributes/types/affiliation/Affiliation.d.ts +17 -16
- package/dist/attributes/types/affiliation/Affiliation.js +3 -0
- package/dist/attributes/types/affiliation/Affiliation.js.map +1 -1
- package/dist/attributes/types/affiliation/AffiliationOrganization.d.ts +2 -2
- package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -1
- package/dist/attributes/types/affiliation/AffiliationRole.d.ts +2 -2
- package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -1
- package/dist/attributes/types/affiliation/AffiliationUnit.d.ts +2 -2
- package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -1
- package/dist/attributes/types/birth/BirthDate.d.ts +8 -7
- package/dist/attributes/types/birth/BirthDate.js +3 -0
- package/dist/attributes/types/birth/BirthDate.js.map +1 -1
- package/dist/attributes/types/birth/BirthPlace.d.ts +17 -17
- package/dist/attributes/types/birth/BirthPlace.js +3 -0
- package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
- package/dist/attributes/types/communication/CommunicationLanguage.d.ts +2 -2
- package/dist/attributes/types/communication/EMailAddress.d.ts +2 -2
- package/dist/attributes/types/communication/FaxNumber.d.ts +11 -0
- package/dist/attributes/types/communication/{Phone.js → FaxNumber.js} +7 -7
- package/dist/attributes/types/communication/FaxNumber.js.map +1 -0
- package/dist/attributes/types/communication/PhoneNumber.d.ts +11 -0
- package/dist/attributes/types/communication/{Fax.js → PhoneNumber.js} +7 -7
- package/dist/attributes/types/communication/PhoneNumber.js.map +1 -0
- package/dist/attributes/types/communication/Website.d.ts +2 -2
- package/dist/attributes/types/communication/index.d.ts +2 -2
- package/dist/attributes/types/communication/index.js +2 -2
- package/dist/attributes/types/communication/index.js.map +1 -1
- package/dist/attributes/types/identity/DisplayName.d.ts +2 -2
- package/dist/attributes/types/identity/DisplayName.js.map +1 -1
- package/dist/attributes/types/identity/FileReference.d.ts +2 -2
- package/dist/attributes/types/name/BirthName.d.ts +2 -2
- package/dist/attributes/types/name/BirthName.js.map +1 -1
- package/dist/attributes/types/name/GivenName.d.ts +2 -2
- package/dist/attributes/types/name/GivenName.js.map +1 -1
- package/dist/attributes/types/name/HonorificPrefix.d.ts +2 -2
- package/dist/attributes/types/name/HonorificPrefix.js.map +1 -1
- package/dist/attributes/types/name/HonorificSuffix.d.ts +2 -2
- package/dist/attributes/types/name/HonorificSuffix.js.map +1 -1
- package/dist/attributes/types/name/MiddleName.d.ts +2 -2
- package/dist/attributes/types/name/MiddleName.js.map +1 -1
- package/dist/attributes/types/name/PersonName.d.ts +23 -23
- package/dist/attributes/types/name/PersonName.js +3 -0
- package/dist/attributes/types/name/PersonName.js.map +1 -1
- package/dist/attributes/types/name/Pseudonym.d.ts +2 -2
- package/dist/attributes/types/name/Pseudonym.js.map +1 -1
- package/dist/attributes/types/name/Surname.d.ts +2 -2
- package/dist/attributes/types/name/Surname.js.map +1 -1
- package/dist/attributes/types/person/Citizenship.d.ts +2 -2
- package/dist/attributes/types/person/JobTitle.d.ts +2 -2
- package/dist/attributes/types/person/JobTitle.js.map +1 -1
- package/dist/attributes/types/person/Nationality.d.ts +2 -2
- package/dist/attributes/types/person/Sex.d.ts +2 -2
- package/dist/attributes/types/person/Sex.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryBoolean.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryCountry.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryFileReference.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryFloat.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryLanguage.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryString.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +2 -2
- package/dist/buildInformation.js +4 -4
- package/lib-web/nmshd.content.js +56 -35
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +1 -1
- package/dist/attributes/types/communication/Fax.d.ts +0 -11
- package/dist/attributes/types/communication/Fax.js.map +0 -1
- package/dist/attributes/types/communication/Phone.d.ts +0 -11
- package/dist/attributes/types/communication/Phone.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractString,
|
|
2
|
-
export interface ZipCodeJSON extends
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface ZipCodeJSON extends AbstractStringJSON {
|
|
3
3
|
"@type": "ZipCode";
|
|
4
4
|
}
|
|
5
5
|
export interface IZipCode extends IAbstractString {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZipCode.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/ZipCode.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"ZipCode.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/ZipCode.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,+BAAc;IAChC,MAAM,CAAC,IAAI,CAAC,KAAqD;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAgB,CAAA;IAClE,CAAC;CACJ,CAAA;AARY,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAQnB;AARY,0BAAO"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { AbstractComplexValue, AbstractComplexValueJSON, IAbstractComplexValue } from "../../AbstractComplexValue";
|
|
2
2
|
import { RenderHints, ValueHints } from "../../hints";
|
|
3
|
-
import {
|
|
4
|
-
import { AffiliationOrganization } from "./AffiliationOrganization";
|
|
5
|
-
import { AffiliationRole } from "./AffiliationRole";
|
|
6
|
-
import { AffiliationUnit } from "./AffiliationUnit";
|
|
3
|
+
import { IAbstractString } from "../AbstractString";
|
|
4
|
+
import { AffiliationOrganization, AffiliationOrganizationJSON } from "./AffiliationOrganization";
|
|
5
|
+
import { AffiliationRole, AffiliationRoleJSON, IAffiliationRole } from "./AffiliationRole";
|
|
6
|
+
import { AffiliationUnit, AffiliationUnitJSON, IAffiliationUnit } from "./AffiliationUnit";
|
|
7
7
|
export interface AffiliationJSON extends AbstractComplexValueJSON {
|
|
8
8
|
"@type": "Affiliation";
|
|
9
|
-
organization:
|
|
10
|
-
role?:
|
|
11
|
-
unit?:
|
|
9
|
+
organization: AffiliationOrganizationJSON;
|
|
10
|
+
role?: AffiliationRoleJSON;
|
|
11
|
+
unit?: AffiliationUnitJSON;
|
|
12
12
|
}
|
|
13
13
|
export interface IAffiliation extends IAbstractComplexValue {
|
|
14
14
|
organization: AffiliationOrganization | IAbstractString | number;
|
|
15
|
-
role?:
|
|
16
|
-
unit?:
|
|
15
|
+
role?: IAffiliationRole | number;
|
|
16
|
+
unit?: IAffiliationUnit | number;
|
|
17
17
|
}
|
|
18
18
|
export declare class Affiliation extends AbstractComplexValue implements IAffiliation {
|
|
19
19
|
static readonly propertyNames: {
|
|
@@ -858,6 +858,13 @@ export declare class Affiliation extends AbstractComplexValue implements IAffili
|
|
|
858
858
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
859
859
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
860
860
|
}>;
|
|
861
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
862
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
863
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
864
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
865
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
866
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
867
|
+
}>;
|
|
861
868
|
readonly valueHints: {
|
|
862
869
|
editHelp: import("easy-tsnameof").PathHandlers<{
|
|
863
870
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
@@ -1107,13 +1114,6 @@ export declare class Affiliation extends AbstractComplexValue implements IAffili
|
|
|
1107
1114
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1108
1115
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1109
1116
|
}>;
|
|
1110
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1111
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1112
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1113
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1114
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1115
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1116
|
-
}>;
|
|
1117
1117
|
} & import("easy-tsnameof").PathHandlers<{
|
|
1118
1118
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1119
1119
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1128,4 +1128,5 @@ export declare class Affiliation extends AbstractComplexValue implements IAffili
|
|
|
1128
1128
|
static get renderHints(): RenderHints;
|
|
1129
1129
|
static from(value: IAffiliation | Omit<AffiliationJSON, "@type">): Affiliation;
|
|
1130
1130
|
toString(): string;
|
|
1131
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): AffiliationJSON;
|
|
1131
1132
|
}
|
|
@@ -53,6 +53,9 @@ let Affiliation = class Affiliation extends AbstractComplexValue_1.AbstractCompl
|
|
|
53
53
|
}
|
|
54
54
|
return value.join(", ");
|
|
55
55
|
}
|
|
56
|
+
toJSON(verbose, serializeAsString) {
|
|
57
|
+
return super.toJSON(verbose, serializeAsString);
|
|
58
|
+
}
|
|
56
59
|
};
|
|
57
60
|
Affiliation.propertyNames = (0, easy_tsnameof_1.default)();
|
|
58
61
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Affiliation.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/Affiliation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,kEAAkC;AAClC,yEAAqE;AACrE,qEAAkH;AAClH,uCAAqD;AAErD,
|
|
1
|
+
{"version":3,"file":"Affiliation.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/Affiliation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,kEAAkC;AAClC,yEAAqE;AACrE,qEAAkH;AAClH,uCAAqD;AAErD,uEAAgG;AAChG,uDAA0F;AAC1F,uDAA0F;AAgBnF,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,2CAAoB;IAe1C,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,iCAAe,CAAC,UAAU;gBAC3D,CAAC,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,iDAAuB,CAAC,UAAU;gBAC3E,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,iCAAe,CAAC,UAAU;aAC9D;SACJ,CAAC,CAA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AAe;yCAAA;AAE7B;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACU,iDAAuB;iDAAA;AAE5C;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACf,iCAAe;yCAAA;AAbpB,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CAsDvB;AAtDY,kCAAW"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractString,
|
|
2
|
-
export interface AffiliationOrganizationJSON extends
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface AffiliationOrganizationJSON extends AbstractStringJSON {
|
|
3
3
|
"@type": "AffiliationOrganization";
|
|
4
4
|
}
|
|
5
5
|
export interface IAffiliationOrganization extends IAbstractString {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AffiliationOrganization.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationOrganization.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"AffiliationOrganization.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationOrganization.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,+BAAc;IAChD,MAAM,CAAC,IAAI,CACd,KAAqF;QAErF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAgC,CAAA;IAClF,CAAC;CACJ,CAAA;AAbY,uBAAuB;IADnC,IAAA,gBAAI,EAAC,yBAAyB,CAAC;GACnB,uBAAuB,CAanC;AAbY,0DAAuB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractString,
|
|
2
|
-
export interface AffiliationRoleJSON extends
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface AffiliationRoleJSON extends AbstractStringJSON {
|
|
3
3
|
"@type": "AffiliationRole";
|
|
4
4
|
}
|
|
5
5
|
export interface IAffiliationRole extends IAbstractString {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AffiliationRole.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationRole.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"AffiliationRole.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationRole.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,+BAAc;IACxC,MAAM,CAAC,IAAI,CAAC,KAAqE;QACpF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAwB,CAAA;IAC1E,CAAC;CACJ,CAAA;AAXY,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAW3B;AAXY,0CAAe"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractString,
|
|
2
|
-
export interface AffiliationUnitJSON extends
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface AffiliationUnitJSON extends AbstractStringJSON {
|
|
3
3
|
"@type": "AffiliationUnit";
|
|
4
4
|
}
|
|
5
5
|
export interface IAffiliationUnit extends IAbstractString {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AffiliationUnit.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationUnit.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"AffiliationUnit.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationUnit.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,+BAAc;IACxC,MAAM,CAAC,IAAI,CAAC,KAAqE;QACpF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAwB,CAAA;IAC1E,CAAC;CACJ,CAAA;AAXY,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAW3B;AAXY,0CAAe"}
|
|
@@ -857,6 +857,13 @@ export declare class BirthDate extends AbstractComplexValue implements IBirthDat
|
|
|
857
857
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
858
858
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
859
859
|
}>;
|
|
860
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
861
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
862
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
863
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
864
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
865
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
866
|
+
}>;
|
|
860
867
|
readonly valueHints: {
|
|
861
868
|
editHelp: import("easy-tsnameof").PathHandlers<{
|
|
862
869
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
@@ -1106,13 +1113,6 @@ export declare class BirthDate extends AbstractComplexValue implements IBirthDat
|
|
|
1106
1113
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1107
1114
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1108
1115
|
}>;
|
|
1109
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1110
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1111
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1112
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1113
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1114
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1115
|
-
}>;
|
|
1116
1116
|
} & import("easy-tsnameof").PathHandlers<{
|
|
1117
1117
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1118
1118
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1127,4 +1127,5 @@ export declare class BirthDate extends AbstractComplexValue implements IBirthDat
|
|
|
1127
1127
|
static get renderHints(): RenderHints;
|
|
1128
1128
|
static from(value: IBirthDate | Omit<BirthDateJSON, "@type">): BirthDate;
|
|
1129
1129
|
toString(): string;
|
|
1130
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthDateJSON;
|
|
1130
1131
|
}
|
|
@@ -51,6 +51,9 @@ let BirthDate = class BirthDate extends AbstractComplexValue_1.AbstractComplexVa
|
|
|
51
51
|
year: this.year.value
|
|
52
52
|
}).toFormat("yyyy-MM-dd");
|
|
53
53
|
}
|
|
54
|
+
toJSON(verbose, serializeAsString) {
|
|
55
|
+
return super.toJSON(verbose, serializeAsString);
|
|
56
|
+
}
|
|
54
57
|
};
|
|
55
58
|
BirthDate.propertyNames = (0, easy_tsnameof_1.default)();
|
|
56
59
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BirthDate.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthDate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,kEAAkC;AAClC,iCAAgC;AAChC,yEAAqE;AACrE,qEAAkH;AAClH,uCAAqD;AACrD,yCAA8D;AAC9D,6CAAsE;AACtE,2CAAkE;AAgB3D,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,2CAAoB;IAexC,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,mBAAQ,CAAC,UAAU;gBACnD,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,uBAAU,CAAC,UAAU;gBACvD,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,qBAAS,CAAC,UAAU;aACxD;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,mBAAQ,CAAC,WAAW;gBACpD,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,uBAAU,CAAC,WAAW;gBACxD,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,qBAAS,CAAC,WAAW;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AS"}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { AbstractComplexValue, AbstractComplexValueJSON, IAbstractComplexValue } from "../../AbstractComplexValue";
|
|
2
2
|
import { RenderHints, ValueHints } from "../../hints";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { BirthState } from "./BirthState";
|
|
3
|
+
import { BirthCity, BirthCityJSON, IBirthCity } from "./BirthCity";
|
|
4
|
+
import { BirthCountry, BirthCountryJSON, IBirthCountry } from "./BirthCountry";
|
|
5
|
+
import { BirthState, BirthStateJSON, IBirthState } from "./BirthState";
|
|
7
6
|
export interface BirthPlaceJSON extends AbstractComplexValueJSON {
|
|
8
7
|
"@type": "BirthPlace";
|
|
9
|
-
city:
|
|
10
|
-
country:
|
|
11
|
-
state?:
|
|
8
|
+
city: BirthCityJSON;
|
|
9
|
+
country: BirthCountryJSON;
|
|
10
|
+
state?: BirthStateJSON;
|
|
12
11
|
}
|
|
13
12
|
export interface IBirthPlace extends IAbstractComplexValue {
|
|
14
|
-
city:
|
|
15
|
-
country:
|
|
16
|
-
state?:
|
|
13
|
+
city: IBirthCity | number;
|
|
14
|
+
country: IBirthCountry | number;
|
|
15
|
+
state?: IBirthState | number;
|
|
17
16
|
}
|
|
18
17
|
export declare class BirthPlace extends AbstractComplexValue implements IBirthPlace {
|
|
19
18
|
static readonly propertyNames: {
|
|
@@ -858,6 +857,13 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
|
|
|
858
857
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
859
858
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
860
859
|
}>;
|
|
860
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
861
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
862
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
863
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
864
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
865
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
866
|
+
}>;
|
|
861
867
|
readonly valueHints: {
|
|
862
868
|
editHelp: import("easy-tsnameof").PathHandlers<{
|
|
863
869
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
@@ -1107,13 +1113,6 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
|
|
|
1107
1113
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1108
1114
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1109
1115
|
}>;
|
|
1110
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1111
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1112
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1113
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1114
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1115
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1116
|
-
}>;
|
|
1117
1116
|
} & import("easy-tsnameof").PathHandlers<{
|
|
1118
1117
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1119
1118
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1128,4 +1127,5 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
|
|
|
1128
1127
|
static get renderHints(): RenderHints;
|
|
1129
1128
|
static from(value: IBirthPlace | Omit<BirthPlaceJSON, "@type">): BirthPlace;
|
|
1130
1129
|
toString(): string;
|
|
1130
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthPlaceJSON;
|
|
1131
1131
|
}
|
|
@@ -51,6 +51,9 @@ let BirthPlace = class BirthPlace extends AbstractComplexValue_1.AbstractComplex
|
|
|
51
51
|
value.push(this.country.toString());
|
|
52
52
|
return value.join(", ");
|
|
53
53
|
}
|
|
54
|
+
toJSON(verbose, serializeAsString) {
|
|
55
|
+
return super.toJSON(verbose, serializeAsString);
|
|
56
|
+
}
|
|
54
57
|
};
|
|
55
58
|
BirthPlace.propertyNames = (0, easy_tsnameof_1.default)();
|
|
56
59
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BirthPlace.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthPlace.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,kEAAkC;AAClC,yEAAqE;AACrE,qEAAkH;AAClH,uCAAqD;
|
|
1
|
+
{"version":3,"file":"BirthPlace.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthPlace.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,kEAAkC;AAClC,yEAAqE;AACrE,qEAAkH;AAClH,uCAAqD;AACrD,2CAAkE;AAClE,iDAA8E;AAC9E,6CAAsE;AAgB/D,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,2CAAoB;IAezC,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,qBAAS,CAAC,UAAU;gBACrD,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,2BAAY,CAAC,UAAU;gBAC3D,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,uBAAU,CAAC,UAAU;aAC1D;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC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qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACd,uBAAU;yCAAA;AAbhB,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAoDtB;AApDY,gCAAU"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
2
|
import { AbstractLanguage } from "../strings/AbstractLanguage";
|
|
3
|
-
export interface CommunicationLanguageJSON extends
|
|
3
|
+
export interface CommunicationLanguageJSON extends AbstractStringJSON {
|
|
4
4
|
"@type": "CommunicationLanguage";
|
|
5
5
|
}
|
|
6
6
|
export interface ICommunicationLanguage extends IAbstractString {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
2
|
import { AbstractEMailAddress } from "../strings/AbstractEMailAddress";
|
|
3
|
-
export interface EMailAddressJSON extends
|
|
3
|
+
export interface EMailAddressJSON extends AbstractStringJSON {
|
|
4
4
|
"@type": "EMailAddress";
|
|
5
5
|
}
|
|
6
6
|
export interface IEMailAddress extends IAbstractString {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
import { AbstractPhoneNumber } from "../strings";
|
|
3
|
+
export interface FaxNumberJSON extends AbstractStringJSON {
|
|
4
|
+
"@type": "FaxNumber";
|
|
5
|
+
}
|
|
6
|
+
export interface IFaxNumber extends IAbstractString {
|
|
7
|
+
}
|
|
8
|
+
export declare class FaxNumber extends AbstractPhoneNumber implements IFaxNumber {
|
|
9
|
+
static from(value: IFaxNumber | Omit<FaxNumberJSON, "@type"> | string): FaxNumber;
|
|
10
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): FaxNumberJSON;
|
|
11
|
+
}
|
|
@@ -6,10 +6,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.
|
|
9
|
+
exports.FaxNumber = void 0;
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const strings_1 = require("../strings");
|
|
12
|
-
let
|
|
12
|
+
let FaxNumber = class FaxNumber extends strings_1.AbstractPhoneNumber {
|
|
13
13
|
static from(value) {
|
|
14
14
|
return this.fromAny(value);
|
|
15
15
|
}
|
|
@@ -17,8 +17,8 @@ let Phone = class Phone extends strings_1.AbstractPhoneNumber {
|
|
|
17
17
|
return super.toJSON(verbose, serializeAsString);
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
|
-
|
|
21
|
-
(0, ts_serval_1.type)("
|
|
22
|
-
],
|
|
23
|
-
exports.
|
|
24
|
-
//# sourceMappingURL=
|
|
20
|
+
FaxNumber = __decorate([
|
|
21
|
+
(0, ts_serval_1.type)("FaxNumber")
|
|
22
|
+
], FaxNumber);
|
|
23
|
+
exports.FaxNumber = FaxNumber;
|
|
24
|
+
//# sourceMappingURL=FaxNumber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FaxNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/communication/FaxNumber.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,wCAAgD;AASzC,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,6BAAmB;IACvC,MAAM,CAAC,IAAI,CAAC,KAAyD;QACxE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAkB,CAAA;IACpE,CAAC;CACJ,CAAA;AARY,SAAS;IADrB,IAAA,gBAAI,EAAC,WAAW,CAAC;GACL,SAAS,CAQrB;AARY,8BAAS"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
import { AbstractPhoneNumber } from "../strings";
|
|
3
|
+
export interface PhoneNumberJSON extends AbstractStringJSON {
|
|
4
|
+
"@type": "PhoneNumber";
|
|
5
|
+
}
|
|
6
|
+
export interface IPhoneNumber extends IAbstractString {
|
|
7
|
+
}
|
|
8
|
+
export declare class PhoneNumber extends AbstractPhoneNumber implements IPhoneNumber {
|
|
9
|
+
static from(value: IPhoneNumber | Omit<PhoneNumberJSON, "@type"> | string): PhoneNumber;
|
|
10
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): PhoneNumberJSON;
|
|
11
|
+
}
|
|
@@ -6,10 +6,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.
|
|
9
|
+
exports.PhoneNumber = void 0;
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const strings_1 = require("../strings");
|
|
12
|
-
let
|
|
12
|
+
let PhoneNumber = class PhoneNumber extends strings_1.AbstractPhoneNumber {
|
|
13
13
|
static from(value) {
|
|
14
14
|
return this.fromAny(value);
|
|
15
15
|
}
|
|
@@ -17,8 +17,8 @@ let Fax = class Fax extends strings_1.AbstractPhoneNumber {
|
|
|
17
17
|
return super.toJSON(verbose, serializeAsString);
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
|
-
|
|
21
|
-
(0, ts_serval_1.type)("
|
|
22
|
-
],
|
|
23
|
-
exports.
|
|
24
|
-
//# sourceMappingURL=
|
|
20
|
+
PhoneNumber = __decorate([
|
|
21
|
+
(0, ts_serval_1.type)("PhoneNumber")
|
|
22
|
+
], PhoneNumber);
|
|
23
|
+
exports.PhoneNumber = PhoneNumber;
|
|
24
|
+
//# sourceMappingURL=PhoneNumber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PhoneNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/communication/PhoneNumber.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,wCAAgD;AASzC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,6BAAmB;IACzC,MAAM,CAAC,IAAI,CAAC,KAA6D;QAC5E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAoB,CAAA;IACtE,CAAC;CACJ,CAAA;AARY,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CAQvB;AARY,kCAAW"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
2
|
import { AbstractURL } from "../strings";
|
|
3
|
-
export interface WebsiteJSON extends
|
|
3
|
+
export interface WebsiteJSON extends AbstractStringJSON {
|
|
4
4
|
"@type": "Website";
|
|
5
5
|
}
|
|
6
6
|
export interface IWebsite extends IAbstractString {
|
|
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./CommunicationLanguage"), exports);
|
|
18
18
|
__exportStar(require("./EMailAddress"), exports);
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
19
|
+
__exportStar(require("./FaxNumber"), exports);
|
|
20
|
+
__exportStar(require("./PhoneNumber"), exports);
|
|
21
21
|
__exportStar(require("./Website"), exports);
|
|
22
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/communication/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAuC;AACvC,iDAA8B;AAC9B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/communication/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAuC;AACvC,iDAA8B;AAC9B,8CAA2B;AAC3B,gDAA6B;AAC7B,4CAAyB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractString,
|
|
2
|
-
export interface DisplayNameJSON extends
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface DisplayNameJSON extends AbstractStringJSON {
|
|
3
3
|
"@type": "DisplayName";
|
|
4
4
|
}
|
|
5
5
|
export interface IDisplayName extends IAbstractString {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DisplayName.js","sourceRoot":"","sources":["../../../../src/attributes/types/identity/DisplayName.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"DisplayName.js","sourceRoot":"","sources":["../../../../src/attributes/types/identity/DisplayName.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,+BAAc;IACpC,MAAM,CAAC,IAAI,CAAC,KAA6D;QAC5E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAoB,CAAA;IACtE,CAAC;CACJ,CAAA;AARY,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CAQvB;AARY,kCAAW"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
2
|
import { AbstractFileReference } from "../strings";
|
|
3
|
-
export interface FileReferenceJSON extends
|
|
3
|
+
export interface FileReferenceJSON extends AbstractStringJSON {
|
|
4
4
|
"@type": "FileReference";
|
|
5
5
|
}
|
|
6
6
|
export interface IFileReference extends IAbstractString {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractString,
|
|
2
|
-
export interface BirthNameJSON extends
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface BirthNameJSON extends AbstractStringJSON {
|
|
3
3
|
"@type": "BirthName";
|
|
4
4
|
}
|
|
5
5
|
export interface IBirthName extends IAbstractString {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BirthName.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/BirthName.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"BirthName.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/BirthName.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,+BAAc;IAClC,MAAM,CAAC,IAAI,CAAC,KAAyD;QACxE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAkB,CAAA;IACpE,CAAC;CACJ,CAAA;AARY,SAAS;IADrB,IAAA,gBAAI,EAAC,WAAW,CAAC;GACL,SAAS,CAQrB;AARY,8BAAS"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractString,
|
|
2
|
-
export interface GivenNameJSON extends
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface GivenNameJSON extends AbstractStringJSON {
|
|
3
3
|
"@type": "GivenName";
|
|
4
4
|
}
|
|
5
5
|
export interface IGivenName extends IAbstractString {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GivenName.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/GivenName.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"GivenName.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/GivenName.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,+BAAc;IAClC,MAAM,CAAC,IAAI,CAAC,KAAyD;QACxE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAkB,CAAA;IACpE,CAAC;CACJ,CAAA;AARY,SAAS;IADrB,IAAA,gBAAI,EAAC,WAAW,CAAC;GACL,SAAS,CAQrB;AARY,8BAAS"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractString,
|
|
2
|
-
export interface HonorificPrefixJSON extends
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface HonorificPrefixJSON extends AbstractStringJSON {
|
|
3
3
|
"@type": "HonorificPrefix";
|
|
4
4
|
}
|
|
5
5
|
export interface IHonorificPrefix extends IAbstractString {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HonorificPrefix.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/HonorificPrefix.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"HonorificPrefix.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/HonorificPrefix.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,+BAAc;IACxC,MAAM,CAAC,IAAI,CAAC,KAAoE;QACnF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAwB,CAAA;IAC1E,CAAC;CACJ,CAAA;AAXY,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAW3B;AAXY,0CAAe"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractString,
|
|
2
|
-
export interface HonorificSuffixJSON extends
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface HonorificSuffixJSON extends AbstractStringJSON {
|
|
3
3
|
"@type": "HonorificSuffix";
|
|
4
4
|
}
|
|
5
5
|
export interface IHonorificSuffix extends IAbstractString {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HonorificSuffix.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/HonorificSuffix.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"HonorificSuffix.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/HonorificSuffix.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,+BAAc;IACxC,MAAM,CAAC,IAAI,CAAC,KAAqE;QACpF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAwB,CAAA;IAC1E,CAAC;CACJ,CAAA;AAXY,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAW3B;AAXY,0CAAe"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractString,
|
|
2
|
-
export interface MiddleNameJSON extends
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface MiddleNameJSON extends AbstractStringJSON {
|
|
3
3
|
"@type": "MiddleName";
|
|
4
4
|
}
|
|
5
5
|
export interface IMiddleName extends IAbstractString {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MiddleName.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/MiddleName.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"MiddleName.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/MiddleName.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,+BAAc;IACnC,MAAM,CAAC,IAAI,CAAC,KAA2D;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAmB,CAAA;IACrE,CAAC;CACJ,CAAA;AARY,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAQtB;AARY,gCAAU"}
|