@nmshd/content 2.0.0-beta.9 → 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/dist/attributes/AbstractAttribute.js.map +1 -1
- package/dist/attributes/AbstractAttributeQuery.d.ts +0 -3
- package/dist/attributes/AbstractAttributeQuery.js +0 -7
- package/dist/attributes/AbstractAttributeQuery.js.map +1 -1
- package/dist/attributes/AbstractAttributeValue.d.ts +1 -2
- package/dist/attributes/AbstractAttributeValue.js +0 -3
- package/dist/attributes/AbstractAttributeValue.js.map +1 -1
- package/dist/attributes/AttributeValueTypes.d.ts +46 -0
- package/dist/attributes/AttributeValueTypes.js +148 -0
- package/dist/attributes/AttributeValueTypes.js.map +1 -0
- package/dist/attributes/IdentityAttribute.d.ts +7 -6
- package/dist/attributes/IdentityAttribute.js +4 -4
- package/dist/attributes/IdentityAttribute.js.map +1 -1
- package/dist/attributes/IdentityAttributeQuery.d.ts +7 -2
- package/dist/attributes/IdentityAttributeQuery.js +12 -2
- package/dist/attributes/IdentityAttributeQuery.js.map +1 -1
- package/dist/attributes/RelationshipAttribute.d.ts +8 -36
- package/dist/attributes/RelationshipAttribute.js +8 -38
- package/dist/attributes/RelationshipAttribute.js.map +1 -1
- package/dist/attributes/RelationshipAttributeConfidentiality.d.ts +30 -0
- package/dist/attributes/RelationshipAttributeConfidentiality.js +35 -0
- package/dist/attributes/RelationshipAttributeConfidentiality.js.map +1 -0
- package/dist/attributes/RelationshipAttributeQuery.d.ts +35 -6
- package/dist/attributes/RelationshipAttributeQuery.js +59 -10
- package/dist/attributes/RelationshipAttributeQuery.js.map +1 -1
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.d.ts +20 -0
- package/dist/{forms/FormItem.js → attributes/ThirdPartyRelationshipAttributeQuery.js} +21 -31
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js.map +1 -0
- package/dist/attributes/constants/AttributeValueTypeQueryMapping.d.ts +1 -0
- package/dist/attributes/constants/AttributeValueTypeQueryMapping.js +7 -0
- package/dist/attributes/constants/AttributeValueTypeQueryMapping.js.map +1 -0
- package/dist/attributes/constants/index.d.ts +1 -0
- package/dist/attributes/constants/index.js +1 -0
- package/dist/attributes/constants/index.js.map +1 -1
- package/dist/attributes/hints/RenderHints.d.ts +3 -2
- package/dist/attributes/hints/RenderHints.js.map +1 -1
- package/dist/attributes/hints/ValueHints.d.ts +3 -2
- package/dist/attributes/hints/ValueHints.js.map +1 -1
- package/dist/attributes/hints/ValueHintsValue.d.ts +1 -1
- package/dist/attributes/hints/ValueHintsValue.js.map +1 -1
- package/dist/attributes/hints/index.d.ts +0 -1
- package/dist/attributes/hints/index.js +0 -1
- package/dist/attributes/hints/index.js.map +1 -1
- package/dist/attributes/index.d.ts +3 -1
- package/dist/attributes/index.js +3 -1
- package/dist/attributes/index.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/AbstractInteger.d.ts +1 -3
- package/dist/attributes/types/AbstractInteger.js +0 -3
- package/dist/attributes/types/AbstractInteger.js.map +1 -1
- package/dist/attributes/types/AbstractString.d.ts +1 -2
- package/dist/attributes/types/AbstractString.js +2 -2
- package/dist/attributes/types/AbstractString.js.map +1 -1
- package/dist/attributes/types/address/AbstractAddress.js.map +1 -1
- package/dist/attributes/types/address/City.d.ts +8 -2
- package/dist/attributes/types/address/City.js +3 -0
- package/dist/attributes/types/address/City.js.map +1 -1
- package/dist/attributes/types/address/Country.d.ts +9 -2
- package/dist/attributes/types/address/Country.js +5 -2
- package/dist/attributes/types/address/Country.js.map +1 -1
- package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +40 -39
- 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 +9 -2
- package/dist/attributes/types/address/HouseNumber.js +6 -0
- package/dist/attributes/types/address/HouseNumber.js.map +1 -1
- package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +30 -29
- 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 +8 -2
- package/dist/attributes/types/address/State.js +3 -0
- package/dist/attributes/types/address/State.js.map +1 -1
- package/dist/attributes/types/address/Street.d.ts +9 -2
- package/dist/attributes/types/address/Street.js +6 -0
- package/dist/attributes/types/address/Street.js.map +1 -1
- package/dist/attributes/types/address/StreetAddress.d.ts +49 -48
- 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 +9 -2
- package/dist/attributes/types/address/ZipCode.js +6 -0
- package/dist/attributes/types/address/ZipCode.js.map +1 -1
- package/dist/attributes/types/{name/LegalNameDE.d.ts → affiliation/Affiliation.d.ts} +43 -612
- package/dist/attributes/types/affiliation/Affiliation.js +80 -0
- package/dist/attributes/types/affiliation/Affiliation.js.map +1 -0
- package/dist/attributes/types/affiliation/AffiliationOrganization.d.ts +10 -0
- package/dist/attributes/types/affiliation/AffiliationOrganization.js +24 -0
- package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -0
- package/dist/attributes/types/affiliation/AffiliationRole.d.ts +10 -0
- package/dist/attributes/types/affiliation/AffiliationRole.js +24 -0
- package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -0
- package/dist/attributes/types/affiliation/AffiliationUnit.d.ts +10 -0
- package/dist/attributes/types/affiliation/AffiliationUnit.js +24 -0
- package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -0
- package/dist/attributes/types/affiliation/index.d.ts +4 -0
- package/dist/{forms → attributes/types/affiliation}/index.js +4 -8
- package/dist/attributes/types/affiliation/index.js.map +1 -0
- package/dist/attributes/types/birth/BirthCity.d.ts +9 -2
- package/dist/attributes/types/birth/BirthCity.js +8 -2
- package/dist/attributes/types/birth/BirthCity.js.map +1 -1
- package/dist/attributes/types/birth/BirthCountry.d.ts +9 -2
- package/dist/attributes/types/birth/BirthCountry.js +8 -2
- package/dist/attributes/types/birth/BirthCountry.js.map +1 -1
- package/dist/attributes/types/birth/BirthDate.d.ts +40 -39
- package/dist/attributes/types/birth/BirthDate.js +3 -0
- package/dist/attributes/types/birth/BirthDate.js.map +1 -1
- package/dist/attributes/types/birth/BirthDay.d.ts +9 -2
- package/dist/attributes/types/birth/BirthDay.js +8 -2
- package/dist/attributes/types/birth/BirthDay.js.map +1 -1
- package/dist/attributes/types/birth/BirthMonth.d.ts +9 -2
- package/dist/attributes/types/birth/BirthMonth.js +6 -0
- package/dist/attributes/types/birth/BirthMonth.js.map +1 -1
- package/dist/attributes/types/birth/BirthPlace.d.ts +40 -39
- package/dist/attributes/types/birth/BirthPlace.js +3 -0
- package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
- package/dist/attributes/types/birth/BirthState.d.ts +9 -2
- package/dist/attributes/types/birth/BirthState.js +8 -2
- package/dist/attributes/types/birth/BirthState.js.map +1 -1
- package/dist/attributes/types/birth/BirthYear.d.ts +9 -2
- package/dist/attributes/types/birth/BirthYear.js +8 -2
- package/dist/attributes/types/birth/BirthYear.js.map +1 -1
- package/dist/attributes/types/communication/CommunicationLanguage.d.ts +9 -1
- package/dist/attributes/types/communication/CommunicationLanguage.js +6 -0
- package/dist/attributes/types/communication/CommunicationLanguage.js.map +1 -1
- package/dist/attributes/types/communication/EMailAddress.d.ts +9 -1
- package/dist/attributes/types/communication/EMailAddress.js +6 -0
- package/dist/attributes/types/communication/EMailAddress.js.map +1 -1
- package/dist/attributes/types/communication/FaxNumber.d.ts +11 -0
- package/dist/attributes/types/communication/{Fax.js → FaxNumber.js} +14 -8
- 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/{Phone.js → PhoneNumber.js} +14 -8
- package/dist/attributes/types/communication/PhoneNumber.js.map +1 -0
- package/dist/attributes/types/communication/Website.d.ts +9 -1
- package/dist/attributes/types/communication/Website.js +6 -0
- package/dist/attributes/types/communication/Website.js.map +1 -1
- 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/dates/AbstractDateString.js.map +1 -1
- package/dist/attributes/types/dates/AbstractDay.d.ts +8 -2
- package/dist/attributes/types/dates/AbstractDay.js.map +1 -1
- package/dist/attributes/types/dates/AbstractMonth.d.ts +8 -2
- package/dist/attributes/types/dates/AbstractMonth.js.map +1 -1
- package/dist/attributes/types/dates/AbstractYear.d.ts +7 -1
- package/dist/attributes/types/dates/AbstractYear.js.map +1 -1
- package/dist/attributes/types/identity/DisplayName.d.ts +10 -0
- package/dist/attributes/types/{name → identity}/DisplayName.js +6 -0
- package/dist/attributes/types/identity/DisplayName.js.map +1 -0
- package/dist/attributes/types/identity/FileReference.d.ts +11 -0
- package/dist/attributes/types/{files → identity}/FileReference.js +6 -0
- package/dist/attributes/types/identity/FileReference.js.map +1 -0
- package/dist/attributes/types/{files → identity}/index.d.ts +1 -0
- package/dist/attributes/types/{files → identity}/index.js +1 -0
- package/dist/attributes/types/identity/index.js.map +1 -0
- package/dist/attributes/types/index.d.ts +3 -3
- package/dist/attributes/types/index.js +3 -3
- package/dist/attributes/types/index.js.map +1 -1
- package/dist/attributes/types/measurements/AbstractLengthMeasurement.js.map +1 -1
- package/dist/attributes/types/measurements/AbstractMeasurement.js.map +1 -1
- package/dist/attributes/types/name/BirthName.d.ts +9 -2
- package/dist/attributes/types/name/BirthName.js +6 -0
- package/dist/attributes/types/name/BirthName.js.map +1 -1
- package/dist/attributes/types/name/GivenName.d.ts +9 -2
- package/dist/attributes/types/name/GivenName.js +6 -0
- package/dist/attributes/types/name/GivenName.js.map +1 -1
- package/dist/attributes/types/name/HonorificPrefix.d.ts +9 -2
- package/dist/attributes/types/name/HonorificPrefix.js +6 -0
- package/dist/attributes/types/name/HonorificPrefix.js.map +1 -1
- package/dist/attributes/types/name/HonorificSuffix.d.ts +9 -2
- package/dist/attributes/types/name/HonorificSuffix.js +6 -0
- package/dist/attributes/types/name/HonorificSuffix.js.map +1 -1
- package/dist/attributes/types/name/MiddleName.d.ts +10 -0
- package/dist/attributes/types/name/MiddleName.js +24 -0
- package/dist/attributes/types/name/MiddleName.js.map +1 -0
- package/dist/attributes/types/name/{Salutation.d.ts → PersonName.d.ts} +68 -73
- package/dist/attributes/types/name/{Salutation.js → PersonName.js} +35 -23
- package/dist/attributes/types/name/PersonName.js.map +1 -0
- package/dist/attributes/types/name/Pseudonym.d.ts +9 -2
- package/dist/attributes/types/name/Pseudonym.js +6 -0
- package/dist/attributes/types/name/Pseudonym.js.map +1 -1
- package/dist/attributes/types/name/Surname.d.ts +9 -2
- package/dist/attributes/types/name/Surname.js +6 -0
- package/dist/attributes/types/name/Surname.js.map +1 -1
- package/dist/attributes/types/name/index.d.ts +2 -4
- package/dist/attributes/types/name/index.js +2 -4
- package/dist/attributes/types/name/index.js.map +1 -1
- package/dist/attributes/types/person/Citizenship.d.ts +10 -2
- package/dist/attributes/types/person/Citizenship.js +8 -2
- package/dist/attributes/types/person/Citizenship.js.map +1 -1
- package/dist/attributes/types/person/JobTitle.d.ts +10 -0
- package/dist/attributes/types/person/JobTitle.js +24 -0
- package/dist/attributes/types/person/JobTitle.js.map +1 -0
- package/dist/attributes/types/person/Nationality.d.ts +10 -2
- package/dist/attributes/types/person/Nationality.js +8 -2
- package/dist/attributes/types/person/Nationality.js.map +1 -1
- package/dist/attributes/types/person/Sex.d.ts +10 -3
- package/dist/attributes/types/person/Sex.js +8 -2
- package/dist/attributes/types/person/Sex.js.map +1 -1
- package/dist/attributes/types/person/index.d.ts +1 -2
- package/dist/attributes/types/person/index.js +1 -2
- package/dist/attributes/types/person/index.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryBoolean.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryCountry.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryCountry.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryCountry.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryFileReference.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryFloat.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryFloat.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryInteger.d.ts +5 -4
- package/dist/attributes/types/proprietary/ProprietaryInteger.js +3 -0
- package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryJSON.d.ts +19 -0
- package/dist/attributes/types/proprietary/ProprietaryJSON.js +57 -0
- package/dist/attributes/types/proprietary/ProprietaryJSON.js.map +1 -0
- package/dist/attributes/types/proprietary/ProprietaryLanguage.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryString.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryString.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryURL.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -1
- package/dist/attributes/types/proprietary/index.d.ts +1 -1
- package/dist/attributes/types/proprietary/index.js +1 -1
- package/dist/attributes/types/proprietary/index.js.map +1 -1
- package/dist/attributes/types/relationship/Consent.d.ts +18 -0
- package/dist/attributes/types/relationship/Consent.js +73 -0
- package/dist/attributes/types/relationship/Consent.js.map +1 -0
- package/dist/attributes/types/relationship/index.d.ts +1 -0
- package/dist/attributes/types/relationship/index.js +18 -0
- package/dist/attributes/types/relationship/index.js.map +1 -0
- package/dist/attributes/types/strings/AbstractCountry.js.map +1 -1
- package/dist/attributes/types/strings/AbstractEMailAddress.js +2 -2
- package/dist/attributes/types/strings/AbstractEMailAddress.js.map +1 -1
- package/dist/attributes/types/strings/AbstractFileReference.js.map +1 -1
- package/dist/attributes/types/strings/AbstractHEXColor.js.map +1 -1
- package/dist/attributes/types/strings/AbstractLanguage.js.map +1 -1
- package/dist/attributes/types/strings/AbstractPhoneNumber.js.map +1 -1
- package/dist/attributes/types/strings/AbstractURL.js.map +1 -1
- package/dist/attributes/types/strings/index.d.ts +0 -1
- package/dist/attributes/types/strings/index.js +0 -1
- package/dist/attributes/types/strings/index.js.map +1 -1
- package/dist/buildInformation.js +5 -5
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/messages/Mail.d.ts +3 -2
- package/dist/messages/Mail.js +2 -8
- package/dist/messages/Mail.js.map +1 -1
- package/dist/relationships/RelationshipCreationChangeRequestContent.d.ts +15 -0
- package/dist/relationships/{RelationshipCreationChangeRequestBody.js → RelationshipCreationChangeRequestContent.js} +11 -13
- package/dist/relationships/RelationshipCreationChangeRequestContent.js.map +1 -0
- package/dist/relationships/RelationshipTemplateContent.d.ts +24 -0
- package/dist/relationships/{RelationshipTemplateBody.js → RelationshipTemplateContent.js} +14 -11
- package/dist/relationships/RelationshipTemplateContent.js.map +1 -0
- package/dist/relationships/index.d.ts +2 -2
- package/dist/relationships/index.js +2 -2
- package/dist/relationships/index.js.map +1 -1
- package/dist/requests/Request.d.ts +3 -2
- package/dist/requests/Request.js +2 -2
- package/dist/requests/Request.js.map +1 -1
- package/dist/requests/RequestItem.d.ts +17 -6
- package/dist/requests/RequestItem.js +7 -2
- package/dist/requests/RequestItem.js.map +1 -1
- package/dist/requests/RequestItemGroup.d.ts +5 -4
- package/dist/requests/RequestItemGroup.js +2 -2
- package/dist/requests/RequestItemGroup.js.map +1 -1
- package/dist/requests/index.d.ts +0 -3
- package/dist/requests/index.js +0 -3
- package/dist/requests/index.js.map +1 -1
- package/dist/requests/items/authentication/AuthenticationRequestItem.d.ts +10 -0
- package/dist/requests/items/authentication/AuthenticationRequestItem.js +24 -0
- package/dist/requests/items/authentication/AuthenticationRequestItem.js.map +1 -0
- package/dist/requests/items/consent/ConsentRequestItem.d.ts +3 -4
- package/dist/requests/items/consent/ConsentRequestItem.js +8 -7
- package/dist/requests/items/consent/ConsentRequestItem.js.map +1 -1
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.d.ts +14 -0
- package/dist/requests/items/createRelationshipAttribute/{CreateRelationshipAttributeAcceptResponseItem.js → CreateAttributeAcceptResponseItem.js} +11 -8
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.js.map +1 -0
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.d.ts +15 -0
- package/dist/requests/items/createRelationshipAttribute/{CreateRelationshipAttributeRequestItem.js → CreateAttributeRequestItem.js} +13 -9
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.js.map +1 -0
- package/dist/requests/items/index.d.ts +5 -2
- package/dist/requests/items/index.js +5 -2
- package/dist/requests/items/index.js.map +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.d.ts +2 -0
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js +3 -0
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.d.ts +3 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js +9 -4
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.d.ts +2 -0
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js +3 -0
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.d.ts +6 -5
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js +5 -3
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.d.ts +13 -0
- package/dist/{forms/items/FormItemSelect.js → requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js} +16 -16
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js.map +1 -0
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.d.ts +14 -0
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js +35 -0
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js.map +1 -0
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.d.ts +2 -0
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js +3 -0
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +3 -1
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +3 -0
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
- package/dist/requests/response/AcceptResponseItem.d.ts +6 -6
- package/dist/requests/response/AcceptResponseItem.js +2 -2
- package/dist/requests/response/AcceptResponseItem.js.map +1 -1
- package/dist/requests/response/ErrorResponseItem.d.ts +3 -2
- package/dist/requests/response/ErrorResponseItem.js +2 -2
- package/dist/requests/response/ErrorResponseItem.js.map +1 -1
- package/dist/requests/response/RejectResponseItem.d.ts +3 -2
- package/dist/requests/response/RejectResponseItem.js +2 -2
- package/dist/requests/response/RejectResponseItem.js.map +1 -1
- package/dist/requests/response/Response.d.ts +3 -2
- package/dist/requests/response/Response.js +2 -2
- package/dist/requests/response/Response.js.map +1 -1
- package/dist/requests/response/ResponseItem.d.ts +1 -1
- package/dist/requests/response/ResponseItem.js +2 -2
- package/dist/requests/response/ResponseItem.js.map +1 -1
- package/dist/requests/response/ResponseItemGroup.d.ts +3 -2
- package/dist/requests/response/ResponseItemGroup.js +2 -2
- package/dist/requests/response/ResponseItemGroup.js.map +1 -1
- package/lib-web/nmshd.content.js +4371 -5375
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +18 -17
- package/dist/attributes/Attribute.d.ts +0 -24
- package/dist/attributes/Attribute.js +0 -66
- package/dist/attributes/Attribute.js.map +0 -1
- package/dist/attributes/hints/RelationshipAttributeCreationHints.d.ts +0 -31
- package/dist/attributes/hints/RelationshipAttributeCreationHints.js +0 -64
- package/dist/attributes/hints/RelationshipAttributeCreationHints.js.map +0 -1
- package/dist/attributes/types/AttributeList.d.ts +0 -1
- package/dist/attributes/types/AttributeList.js +0 -37
- package/dist/attributes/types/AttributeList.js.map +0 -1
- package/dist/attributes/types/AttributeTypeMapping.d.ts +0 -1
- package/dist/attributes/types/AttributeTypeMapping.js +0 -9
- package/dist/attributes/types/AttributeTypeMapping.js.map +0 -1
- package/dist/attributes/types/communication/Fax.d.ts +0 -3
- package/dist/attributes/types/communication/Fax.js.map +0 -1
- package/dist/attributes/types/communication/Phone.d.ts +0 -3
- package/dist/attributes/types/communication/Phone.js.map +0 -1
- package/dist/attributes/types/files/FileReference.d.ts +0 -3
- package/dist/attributes/types/files/FileReference.js.map +0 -1
- package/dist/attributes/types/files/index.js.map +0 -1
- package/dist/attributes/types/name/AbstractLegalName.d.ts +0 -3
- package/dist/attributes/types/name/AbstractLegalName.js +0 -8
- package/dist/attributes/types/name/AbstractLegalName.js.map +0 -1
- package/dist/attributes/types/name/DisplayName.d.ts +0 -3
- package/dist/attributes/types/name/DisplayName.js.map +0 -1
- package/dist/attributes/types/name/LegalNameDE.js +0 -92
- package/dist/attributes/types/name/LegalNameDE.js.map +0 -1
- package/dist/attributes/types/name/Salutation.js.map +0 -1
- package/dist/attributes/types/person/Age.d.ts +0 -6
- package/dist/attributes/types/person/Age.js +0 -34
- package/dist/attributes/types/person/Age.js.map +0 -1
- package/dist/attributes/types/person/Picture.d.ts +0 -3
- package/dist/attributes/types/person/Picture.js +0 -18
- package/dist/attributes/types/person/Picture.js.map +0 -1
- package/dist/attributes/types/proprietary/ProprietaryDataURL.d.ts +0 -14
- package/dist/attributes/types/proprietary/ProprietaryDataURL.js +0 -31
- package/dist/attributes/types/proprietary/ProprietaryDataURL.js.map +0 -1
- package/dist/attributes/types/strings/AbstractDataURL.d.ts +0 -7
- package/dist/attributes/types/strings/AbstractDataURL.js +0 -40
- package/dist/attributes/types/strings/AbstractDataURL.js.map +0 -1
- package/dist/forms/Form.d.ts +0 -18
- package/dist/forms/Form.js +0 -36
- package/dist/forms/Form.js.map +0 -1
- package/dist/forms/FormItem.d.ts +0 -35
- package/dist/forms/FormItem.js.map +0 -1
- package/dist/forms/index.d.ts +0 -8
- package/dist/forms/index.js.map +0 -1
- package/dist/forms/items/FormItemBoolean.d.ts +0 -7
- package/dist/forms/items/FormItemBoolean.js +0 -26
- package/dist/forms/items/FormItemBoolean.js.map +0 -1
- package/dist/forms/items/FormItemDate.d.ts +0 -15
- package/dist/forms/items/FormItemDate.js +0 -46
- package/dist/forms/items/FormItemDate.js.map +0 -1
- package/dist/forms/items/FormItemInvisible.d.ts +0 -7
- package/dist/forms/items/FormItemInvisible.js +0 -26
- package/dist/forms/items/FormItemInvisible.js.map +0 -1
- package/dist/forms/items/FormItemMultipleChoice.d.ts +0 -10
- package/dist/forms/items/FormItemMultipleChoice.js +0 -32
- package/dist/forms/items/FormItemMultipleChoice.js.map +0 -1
- package/dist/forms/items/FormItemMultipleChoiceItem.d.ts +0 -10
- package/dist/forms/items/FormItemMultipleChoiceItem.js +0 -30
- package/dist/forms/items/FormItemMultipleChoiceItem.js.map +0 -1
- package/dist/forms/items/FormItemSelect.d.ts +0 -10
- package/dist/forms/items/FormItemSelect.js.map +0 -1
- package/dist/forms/items/FormItemSelectItem.d.ts +0 -10
- package/dist/forms/items/FormItemSelectItem.js +0 -30
- package/dist/forms/items/FormItemSelectItem.js.map +0 -1
- package/dist/forms/items/FormItemString.d.ts +0 -15
- package/dist/forms/items/FormItemString.js +0 -46
- package/dist/forms/items/FormItemString.js.map +0 -1
- package/dist/forms/items/FormItemText.d.ts +0 -15
- package/dist/forms/items/FormItemText.js +0 -46
- package/dist/forms/items/FormItemText.js.map +0 -1
- package/dist/messages/RequestMail.d.ts +0 -14
- package/dist/messages/RequestMail.js +0 -51
- package/dist/messages/RequestMail.js.map +0 -1
- package/dist/relationships/RelationshipCreationChangeRequestBody.d.ts +0 -16
- package/dist/relationships/RelationshipCreationChangeRequestBody.js.map +0 -1
- package/dist/relationships/RelationshipTemplateBody.d.ts +0 -22
- package/dist/relationships/RelationshipTemplateBody.js.map +0 -1
- package/dist/requests/items/createRelationshipAttribute/CreateRelationshipAttributeAcceptResponseItem.d.ts +0 -12
- package/dist/requests/items/createRelationshipAttribute/CreateRelationshipAttributeAcceptResponseItem.js.map +0 -1
- package/dist/requests/items/createRelationshipAttribute/CreateRelationshipAttributeRequestItem.d.ts +0 -13
- package/dist/requests/items/createRelationshipAttribute/CreateRelationshipAttributeRequestItem.js.map +0 -1
- package/dist/requests/old/AttributesChangeRequest.d.ts +0 -54
- package/dist/requests/old/AttributesChangeRequest.js +0 -71
- package/dist/requests/old/AttributesChangeRequest.js.map +0 -1
- package/dist/requests/old/AttributesRequest.d.ts +0 -49
- package/dist/requests/old/AttributesRequest.js +0 -64
- package/dist/requests/old/AttributesRequest.js.map +0 -1
- package/dist/requests/old/AttributesShareRequest.d.ts +0 -52
- package/dist/requests/old/AttributesShareRequest.js +0 -59
- package/dist/requests/old/AttributesShareRequest.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileReference.js","sourceRoot":"","sources":["../../../../src/attributes/types/identity/FileReference.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,wCAAkD;AAS3C,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,+BAAqB;IAC7C,MAAM,CAAC,IAAI,CAAC,KAAiE;QAChF,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,CAAsB,CAAA;IACxE,CAAC;CACJ,CAAA;AARY,aAAa;IADzB,IAAA,gBAAI,EAAC,eAAe,CAAC;GACT,aAAa,CAQzB;AARY,sCAAa"}
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./DisplayName"), exports);
|
|
17
18
|
__exportStar(require("./FileReference"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/identity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,kDAA+B"}
|
|
@@ -3,14 +3,14 @@ export * from "./AbstractFloat";
|
|
|
3
3
|
export * from "./AbstractInteger";
|
|
4
4
|
export * from "./AbstractString";
|
|
5
5
|
export * from "./address";
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./AttributeTypeMapping";
|
|
6
|
+
export * from "./affiliation";
|
|
8
7
|
export * from "./birth";
|
|
9
8
|
export * from "./communication";
|
|
10
9
|
export * from "./dates";
|
|
11
|
-
export * from "./
|
|
10
|
+
export * from "./identity";
|
|
12
11
|
export * from "./measurements";
|
|
13
12
|
export * from "./name";
|
|
14
13
|
export * from "./person";
|
|
15
14
|
export * from "./proprietary";
|
|
15
|
+
export * from "./relationship";
|
|
16
16
|
export * from "./strings";
|
|
@@ -19,15 +19,15 @@ __exportStar(require("./AbstractFloat"), exports);
|
|
|
19
19
|
__exportStar(require("./AbstractInteger"), exports);
|
|
20
20
|
__exportStar(require("./AbstractString"), exports);
|
|
21
21
|
__exportStar(require("./address"), exports);
|
|
22
|
-
__exportStar(require("./
|
|
23
|
-
__exportStar(require("./AttributeTypeMapping"), exports);
|
|
22
|
+
__exportStar(require("./affiliation"), exports);
|
|
24
23
|
__exportStar(require("./birth"), exports);
|
|
25
24
|
__exportStar(require("./communication"), exports);
|
|
26
25
|
__exportStar(require("./dates"), exports);
|
|
27
|
-
__exportStar(require("./
|
|
26
|
+
__exportStar(require("./identity"), exports);
|
|
28
27
|
__exportStar(require("./measurements"), exports);
|
|
29
28
|
__exportStar(require("./name"), exports);
|
|
30
29
|
__exportStar(require("./person"), exports);
|
|
31
30
|
__exportStar(require("./proprietary"), exports);
|
|
31
|
+
__exportStar(require("./relationship"), exports);
|
|
32
32
|
__exportStar(require("./strings"), exports);
|
|
33
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,kDAA+B;AAC/B,oDAAiC;AACjC,mDAAgC;AAChC,4CAAyB;AACzB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,kDAA+B;AAC/B,oDAAiC;AACjC,mDAAgC;AAChC,4CAAyB;AACzB,gDAA6B;AAC7B,0CAAuB;AACvB,kDAA+B;AAC/B,0CAAuB;AACvB,6CAA0B;AAC1B,iDAA8B;AAC9B,yCAAsB;AACtB,2CAAwB;AACxB,gDAA6B;AAC7B,iDAA8B;AAC9B,4CAAyB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractLengthMeasurement.js","sourceRoot":"","sources":["../../../../src/attributes/types/measurements/AbstractLengthMeasurement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,uCAAyD;AACzD,+DAA2D;AAE3D,IAAY,UAaX;AAbD,WAAY,UAAU;IAClB,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,qBAAO,CAAA;IACP,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;AACb,CAAC,EAbW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAarB;AAED,MAAa,yBAA0B,SAAQ,yCAAmB;IAQvD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC;oBAC7C,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACzC,uBAAe,CAAC,IAAI,CAAC;wBACjB,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC;wBACjB,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;qBACZ,CAAC,CACL;iBACJ,CAAC;aACL;SACJ,CAAC,CAAA;IACN,CAAC;CACJ;
|
|
1
|
+
{"version":3,"file":"AbstractLengthMeasurement.js","sourceRoot":"","sources":["../../../../src/attributes/types/measurements/AbstractLengthMeasurement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,uCAAyD;AACzD,+DAA2D;AAE3D,IAAY,UAaX;AAbD,WAAY,UAAU;IAClB,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,qBAAO,CAAA;IACP,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;AACb,CAAC,EAbW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAarB;AAED,MAAa,yBAA0B,SAAQ,yCAAmB;IAQvD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC;oBAC7C,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACzC,uBAAe,CAAC,IAAI,CAAC;wBACjB,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC;wBACjB,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;qBACZ,CAAC,CACL;iBACJ,CAAC;aACL;SACJ,CAAC,CAAA;IACN,CAAC;CACJ;AArBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;KAC1G,CAAC;;uDAC8B;AANpC,8DAsBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractMeasurement.js","sourceRoot":"","sources":["../../../../src/attributes/types/measurements/AbstractMeasurement.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAAwD;AACxD,kEAAkC;AAClC,qEAAkH;AAClH,uCAAoG;AAYpG;;GAEG;AACH,MAAsB,mBAAoB,SAAQ,2CAAoB;IAW3D,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC;gBACpD,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC;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,IAAI,CAAC,KAAK,CAAC,EAAE,mBAAW,CAAC,IAAI,CAAC;oBAC9C,QAAQ,EAAE,2BAAmB,CAAC,SAAS;oBACvC,aAAa,EAAE,gCAAwB,CAAC,MAAM;iBACjD,CAAC;gBACF,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,mBAAW,CAAC,IAAI,CAAC;oBAC/C,QAAQ,EAAE,2BAAmB,CAAC,SAAS;oBACvC,aAAa,EAAE,gCAAwB,CAAC,OAAO;iBAClD,CAAC;aACL;SACJ,CAAC,CAAA;IACN,CAAC;IACe,QAAQ;QACpB,OAAO,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,EAAE,CAAA;IACvC,CAAC;;AAnCsB,iCAAa,GAAG,IAAA,uBAAM,GAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"AbstractMeasurement.js","sourceRoot":"","sources":["../../../../src/attributes/types/measurements/AbstractMeasurement.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAAwD;AACxD,kEAAkC;AAClC,qEAAkH;AAClH,uCAAoG;AAYpG;;GAEG;AACH,MAAsB,mBAAoB,SAAQ,2CAAoB;IAW3D,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC;gBACpD,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC;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,IAAI,CAAC,KAAK,CAAC,EAAE,mBAAW,CAAC,IAAI,CAAC;oBAC9C,QAAQ,EAAE,2BAAmB,CAAC,SAAS;oBACvC,aAAa,EAAE,gCAAwB,CAAC,MAAM;iBACjD,CAAC;gBACF,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,mBAAW,CAAC,IAAI,CAAC;oBAC/C,QAAQ,EAAE,2BAAmB,CAAC,SAAS;oBACvC,aAAa,EAAE,gCAAwB,CAAC,OAAO;iBAClD,CAAC;aACL;SACJ,CAAC,CAAA;IACN,CAAC;IACe,QAAQ;QACpB,OAAO,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,EAAE,CAAA;IACvC,CAAC;;AAnCsB,iCAAa,GAAG,IAAA,uBAAM,GAA8B,CAAA;AAE3E;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iDACQ;AAEnB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;kDACS;AATxB,kDAqCC"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
import { AbstractString } from "../AbstractString";
|
|
2
|
-
export
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface BirthNameJSON extends AbstractStringJSON {
|
|
3
|
+
"@type": "BirthName";
|
|
4
|
+
}
|
|
5
|
+
export interface IBirthName extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class BirthName extends AbstractString implements IBirthName {
|
|
8
|
+
static from(value: IBirthName | Omit<BirthNameJSON, "@type"> | string): BirthName;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthNameJSON;
|
|
3
10
|
}
|
|
@@ -10,6 +10,12 @@ exports.BirthName = void 0;
|
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const AbstractString_1 = require("../AbstractString");
|
|
12
12
|
let BirthName = class BirthName extends AbstractString_1.AbstractString {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
16
|
+
toJSON(verbose, serializeAsString) {
|
|
17
|
+
return super.toJSON(verbose, serializeAsString);
|
|
18
|
+
}
|
|
13
19
|
};
|
|
14
20
|
BirthName = __decorate([
|
|
15
21
|
(0, ts_serval_1.type)("BirthName")
|
|
@@ -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,3 +1,10 @@
|
|
|
1
|
-
import { AbstractString } from "../AbstractString";
|
|
2
|
-
export
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface GivenNameJSON extends AbstractStringJSON {
|
|
3
|
+
"@type": "GivenName";
|
|
4
|
+
}
|
|
5
|
+
export interface IGivenName extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class GivenName extends AbstractString implements IGivenName {
|
|
8
|
+
static from(value: IGivenName | Omit<GivenNameJSON, "@type"> | string): GivenName;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): GivenNameJSON;
|
|
3
10
|
}
|
|
@@ -10,6 +10,12 @@ exports.GivenName = void 0;
|
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const AbstractString_1 = require("../AbstractString");
|
|
12
12
|
let GivenName = class GivenName extends AbstractString_1.AbstractString {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
16
|
+
toJSON(verbose, serializeAsString) {
|
|
17
|
+
return super.toJSON(verbose, serializeAsString);
|
|
18
|
+
}
|
|
13
19
|
};
|
|
14
20
|
GivenName = __decorate([
|
|
15
21
|
(0, ts_serval_1.type)("GivenName")
|
|
@@ -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,3 +1,10 @@
|
|
|
1
|
-
import { AbstractString } from "../AbstractString";
|
|
2
|
-
export
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface HonorificPrefixJSON extends AbstractStringJSON {
|
|
3
|
+
"@type": "HonorificPrefix";
|
|
4
|
+
}
|
|
5
|
+
export interface IHonorificPrefix extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class HonorificPrefix extends AbstractString implements HonorificPrefix {
|
|
8
|
+
static from(value: HonorificPrefix | Omit<HonorificPrefixJSON, "@type"> | string): HonorificPrefix;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): HonorificPrefixJSON;
|
|
3
10
|
}
|
|
@@ -10,6 +10,12 @@ exports.HonorificPrefix = void 0;
|
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const AbstractString_1 = require("../AbstractString");
|
|
12
12
|
let HonorificPrefix = class HonorificPrefix extends AbstractString_1.AbstractString {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
16
|
+
toJSON(verbose, serializeAsString) {
|
|
17
|
+
return super.toJSON(verbose, serializeAsString);
|
|
18
|
+
}
|
|
13
19
|
};
|
|
14
20
|
HonorificPrefix = __decorate([
|
|
15
21
|
(0, ts_serval_1.type)("HonorificPrefix")
|
|
@@ -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,3 +1,10 @@
|
|
|
1
|
-
import { AbstractString } from "../AbstractString";
|
|
2
|
-
export
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface HonorificSuffixJSON extends AbstractStringJSON {
|
|
3
|
+
"@type": "HonorificSuffix";
|
|
4
|
+
}
|
|
5
|
+
export interface IHonorificSuffix extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class HonorificSuffix extends AbstractString implements IHonorificSuffix {
|
|
8
|
+
static from(value: IHonorificSuffix | Omit<HonorificSuffixJSON, "@type"> | string): HonorificSuffix;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): HonorificSuffixJSON;
|
|
3
10
|
}
|
|
@@ -10,6 +10,12 @@ exports.HonorificSuffix = void 0;
|
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const AbstractString_1 = require("../AbstractString");
|
|
12
12
|
let HonorificSuffix = class HonorificSuffix extends AbstractString_1.AbstractString {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
16
|
+
toJSON(verbose, serializeAsString) {
|
|
17
|
+
return super.toJSON(verbose, serializeAsString);
|
|
18
|
+
}
|
|
13
19
|
};
|
|
14
20
|
HonorificSuffix = __decorate([
|
|
15
21
|
(0, ts_serval_1.type)("HonorificSuffix")
|
|
@@ -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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface MiddleNameJSON extends AbstractStringJSON {
|
|
3
|
+
"@type": "MiddleName";
|
|
4
|
+
}
|
|
5
|
+
export interface IMiddleName extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class MiddleName extends AbstractString implements IMiddleName {
|
|
8
|
+
static from(value: IMiddleName | Omit<MiddleNameJSON, "@type"> | string): MiddleName;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): MiddleNameJSON;
|
|
10
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.MiddleName = void 0;
|
|
10
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
|
+
const AbstractString_1 = require("../AbstractString");
|
|
12
|
+
let MiddleName = class MiddleName extends AbstractString_1.AbstractString {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
16
|
+
toJSON(verbose, serializeAsString) {
|
|
17
|
+
return super.toJSON(verbose, serializeAsString);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
MiddleName = __decorate([
|
|
21
|
+
(0, ts_serval_1.type)("MiddleName")
|
|
22
|
+
], MiddleName);
|
|
23
|
+
exports.MiddleName = MiddleName;
|
|
24
|
+
//# sourceMappingURL=MiddleName.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -1,28 +1,35 @@
|
|
|
1
1
|
import { AbstractComplexValue, AbstractComplexValueJSON, IAbstractComplexValue } from "../../AbstractComplexValue";
|
|
2
2
|
import { RenderHints, ValueHints } from "../../hints";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
surname
|
|
13
|
-
honorificSuffix?:
|
|
14
|
-
honorificPrefix?:
|
|
3
|
+
import { GivenName, IGivenName } from "./GivenName";
|
|
4
|
+
import { HonorificPrefix, IHonorificPrefix } from "./HonorificPrefix";
|
|
5
|
+
import { HonorificSuffix, IHonorificSuffix } from "./HonorificSuffix";
|
|
6
|
+
import { IMiddleName, MiddleName } from "./MiddleName";
|
|
7
|
+
import { ISurname, Surname } from "./Surname";
|
|
8
|
+
export interface PersonNameJSON extends AbstractComplexValueJSON {
|
|
9
|
+
"@type": "PersonName";
|
|
10
|
+
givenName: string;
|
|
11
|
+
middleName?: string;
|
|
12
|
+
surname: string;
|
|
13
|
+
honorificSuffix?: string;
|
|
14
|
+
honorificPrefix?: string;
|
|
15
15
|
}
|
|
16
|
-
export interface
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
surname
|
|
20
|
-
honorificSuffix?:
|
|
21
|
-
honorificPrefix?:
|
|
16
|
+
export interface IPersonName extends IAbstractComplexValue {
|
|
17
|
+
givenName: IGivenName | string;
|
|
18
|
+
middleName?: IMiddleName | string;
|
|
19
|
+
surname: ISurname | string;
|
|
20
|
+
honorificSuffix?: IHonorificSuffix | string;
|
|
21
|
+
honorificPrefix?: IHonorificPrefix | string;
|
|
22
22
|
}
|
|
23
|
-
export declare class
|
|
23
|
+
export declare class PersonName extends AbstractComplexValue implements IPersonName {
|
|
24
24
|
static readonly propertyNames: {
|
|
25
|
-
|
|
25
|
+
givenName: {
|
|
26
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
27
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
28
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
29
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
30
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
31
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
32
|
+
}>;
|
|
26
33
|
value: import("easy-tsnameof").PathHandlers<{
|
|
27
34
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
28
35
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -286,13 +293,6 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
|
|
|
286
293
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
287
294
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
288
295
|
}>;
|
|
289
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
290
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
291
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
292
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
293
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
294
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
295
|
-
}>;
|
|
296
296
|
} & import("easy-tsnameof").PathHandlers<{
|
|
297
297
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
298
298
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -300,7 +300,14 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
|
|
|
300
300
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
301
301
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
302
302
|
}>;
|
|
303
|
-
|
|
303
|
+
middleName: {
|
|
304
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
305
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
306
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
307
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
308
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
309
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
310
|
+
}>;
|
|
304
311
|
value: import("easy-tsnameof").PathHandlers<{
|
|
305
312
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
306
313
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -564,27 +571,21 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
|
|
|
564
571
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
565
572
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
566
573
|
}>;
|
|
567
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
568
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
569
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
570
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
571
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
572
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
573
|
-
}>;
|
|
574
574
|
} & import("easy-tsnameof").PathHandlers<{
|
|
575
575
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
576
576
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
577
577
|
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
578
578
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
579
579
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
580
|
-
}>)[] & import("easy-tsnameof").PathHandlers<{
|
|
581
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
582
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
583
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
584
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
585
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
586
580
|
}>;
|
|
587
581
|
surname: {
|
|
582
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
583
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
584
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
585
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
586
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
587
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
588
|
+
}>;
|
|
588
589
|
value: import("easy-tsnameof").PathHandlers<{
|
|
589
590
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
590
591
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -848,13 +849,6 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
|
|
|
848
849
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
849
850
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
850
851
|
}>;
|
|
851
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
852
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
853
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
854
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
855
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
856
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
857
|
-
}>;
|
|
858
852
|
} & import("easy-tsnameof").PathHandlers<{
|
|
859
853
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
860
854
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -863,6 +857,13 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
|
|
|
863
857
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
864
858
|
}>;
|
|
865
859
|
honorificSuffix: {
|
|
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
|
+
}>;
|
|
866
867
|
value: import("easy-tsnameof").PathHandlers<{
|
|
867
868
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
868
869
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1126,13 +1127,6 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
|
|
|
1126
1127
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1127
1128
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1128
1129
|
}>;
|
|
1129
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1130
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1131
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1132
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1133
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1134
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1135
|
-
}>;
|
|
1136
1130
|
} & import("easy-tsnameof").PathHandlers<{
|
|
1137
1131
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1138
1132
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1141,6 +1135,13 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
|
|
|
1141
1135
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1142
1136
|
}>;
|
|
1143
1137
|
honorificPrefix: {
|
|
1138
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1139
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1140
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1141
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1142
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1143
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1144
|
+
}>;
|
|
1144
1145
|
value: import("easy-tsnameof").PathHandlers<{
|
|
1145
1146
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1146
1147
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1404,13 +1405,6 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
|
|
|
1404
1405
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1405
1406
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1406
1407
|
}>;
|
|
1407
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1408
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1409
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1410
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1411
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1412
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1413
|
-
}>;
|
|
1414
1408
|
} & import("easy-tsnameof").PathHandlers<{
|
|
1415
1409
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1416
1410
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1425,6 +1419,13 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
|
|
|
1425
1419
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1426
1420
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1427
1421
|
}>;
|
|
1422
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1423
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1424
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1425
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1426
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1427
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1428
|
+
}>;
|
|
1428
1429
|
readonly valueHints: {
|
|
1429
1430
|
editHelp: import("easy-tsnameof").PathHandlers<{
|
|
1430
1431
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
@@ -1674,13 +1675,6 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
|
|
|
1674
1675
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1675
1676
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1676
1677
|
}>;
|
|
1677
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1678
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1679
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1680
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1681
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1682
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1683
|
-
}>;
|
|
1684
1678
|
} & import("easy-tsnameof").PathHandlers<{
|
|
1685
1679
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1686
1680
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1688,13 +1682,14 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
|
|
|
1688
1682
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1689
1683
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1690
1684
|
}>;
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
surname
|
|
1685
|
+
givenName: GivenName;
|
|
1686
|
+
middleName?: MiddleName;
|
|
1687
|
+
surname: Surname;
|
|
1694
1688
|
honorificSuffix?: HonorificSuffix;
|
|
1695
1689
|
honorificPrefix?: HonorificPrefix;
|
|
1696
1690
|
static get valueHints(): ValueHints;
|
|
1697
1691
|
static get renderHints(): RenderHints;
|
|
1698
|
-
static from(value:
|
|
1692
|
+
static from(value: IPersonName | Omit<PersonNameJSON, "@type">): PersonName;
|
|
1699
1693
|
toString(): string;
|
|
1694
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): PersonNameJSON;
|
|
1700
1695
|
}
|
|
@@ -12,23 +12,23 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.
|
|
15
|
+
exports.PersonName = void 0;
|
|
16
16
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
17
17
|
const easy_tsnameof_1 = __importDefault(require("easy-tsnameof"));
|
|
18
18
|
const AbstractAttributeValue_1 = require("../../AbstractAttributeValue");
|
|
19
19
|
const AbstractComplexValue_1 = require("../../AbstractComplexValue");
|
|
20
20
|
const hints_1 = require("../../hints");
|
|
21
|
-
const DisplayName_1 = require("./DisplayName");
|
|
22
21
|
const GivenName_1 = require("./GivenName");
|
|
23
22
|
const HonorificPrefix_1 = require("./HonorificPrefix");
|
|
24
23
|
const HonorificSuffix_1 = require("./HonorificSuffix");
|
|
24
|
+
const MiddleName_1 = require("./MiddleName");
|
|
25
25
|
const Surname_1 = require("./Surname");
|
|
26
|
-
let
|
|
26
|
+
let PersonName = class PersonName extends AbstractComplexValue_1.AbstractComplexValue {
|
|
27
27
|
static get valueHints() {
|
|
28
28
|
return hints_1.ValueHints.from({
|
|
29
29
|
propertyHints: {
|
|
30
|
-
[this.propertyNames.
|
|
31
|
-
[this.propertyNames.
|
|
30
|
+
[this.propertyNames.givenName.$path]: GivenName_1.GivenName.valueHints,
|
|
31
|
+
[this.propertyNames.middleName.$path]: MiddleName_1.MiddleName.valueHints,
|
|
32
32
|
[this.propertyNames.surname.$path]: Surname_1.Surname.valueHints,
|
|
33
33
|
[this.propertyNames.honorificSuffix.$path]: HonorificSuffix_1.HonorificSuffix.valueHints,
|
|
34
34
|
[this.propertyNames.honorificPrefix.$path]: HonorificPrefix_1.HonorificPrefix.valueHints
|
|
@@ -38,8 +38,8 @@ let Salutation = class Salutation extends AbstractComplexValue_1.AbstractComplex
|
|
|
38
38
|
static get renderHints() {
|
|
39
39
|
return super.renderHints.copyWith({
|
|
40
40
|
propertyHints: {
|
|
41
|
-
[this.propertyNames.
|
|
42
|
-
[this.propertyNames.
|
|
41
|
+
[this.propertyNames.givenName.$path]: GivenName_1.GivenName.renderHints,
|
|
42
|
+
[this.propertyNames.middleName.$path]: MiddleName_1.MiddleName.renderHints,
|
|
43
43
|
[this.propertyNames.surname.$path]: Surname_1.Surname.renderHints,
|
|
44
44
|
[this.propertyNames.honorificSuffix.$path]: HonorificSuffix_1.HonorificSuffix.renderHints,
|
|
45
45
|
[this.propertyNames.honorificPrefix.$path]: HonorificPrefix_1.HonorificPrefix.renderHints
|
|
@@ -50,37 +50,49 @@ let Salutation = class Salutation extends AbstractComplexValue_1.AbstractComplex
|
|
|
50
50
|
return this.fromAny(value);
|
|
51
51
|
}
|
|
52
52
|
toString() {
|
|
53
|
-
|
|
53
|
+
const names = [];
|
|
54
|
+
if (this.honorificPrefix)
|
|
55
|
+
names.push(this.honorificPrefix.value);
|
|
56
|
+
names.push(this.givenName.value);
|
|
57
|
+
if (this.middleName)
|
|
58
|
+
names.push(this.middleName.value);
|
|
59
|
+
names.push(this.surname.value);
|
|
60
|
+
if (this.honorificSuffix)
|
|
61
|
+
names.push(this.honorificSuffix.value);
|
|
62
|
+
return names.join(" ");
|
|
63
|
+
}
|
|
64
|
+
toJSON(verbose, serializeAsString) {
|
|
65
|
+
return super.toJSON(verbose, serializeAsString);
|
|
54
66
|
}
|
|
55
67
|
};
|
|
56
|
-
|
|
68
|
+
PersonName.propertyNames = (0, easy_tsnameof_1.default)();
|
|
57
69
|
__decorate([
|
|
58
70
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
59
71
|
(0, ts_serval_1.validate)(),
|
|
60
|
-
__metadata("design:type",
|
|
61
|
-
],
|
|
72
|
+
__metadata("design:type", GivenName_1.GivenName)
|
|
73
|
+
], PersonName.prototype, "givenName", void 0);
|
|
62
74
|
__decorate([
|
|
63
|
-
(0, ts_serval_1.serialize)({
|
|
75
|
+
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
64
76
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
65
|
-
__metadata("design:type",
|
|
66
|
-
],
|
|
77
|
+
__metadata("design:type", MiddleName_1.MiddleName)
|
|
78
|
+
], PersonName.prototype, "middleName", void 0);
|
|
67
79
|
__decorate([
|
|
68
80
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
69
|
-
(0, ts_serval_1.validate)(
|
|
81
|
+
(0, ts_serval_1.validate)(),
|
|
70
82
|
__metadata("design:type", Surname_1.Surname)
|
|
71
|
-
],
|
|
83
|
+
], PersonName.prototype, "surname", void 0);
|
|
72
84
|
__decorate([
|
|
73
85
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
74
86
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
75
87
|
__metadata("design:type", HonorificSuffix_1.HonorificSuffix)
|
|
76
|
-
],
|
|
88
|
+
], PersonName.prototype, "honorificSuffix", void 0);
|
|
77
89
|
__decorate([
|
|
78
90
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
79
91
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
80
92
|
__metadata("design:type", HonorificPrefix_1.HonorificPrefix)
|
|
81
|
-
],
|
|
82
|
-
|
|
83
|
-
(0, ts_serval_1.type)("
|
|
84
|
-
],
|
|
85
|
-
exports.
|
|
86
|
-
//# sourceMappingURL=
|
|
93
|
+
], PersonName.prototype, "honorificPrefix", void 0);
|
|
94
|
+
PersonName = __decorate([
|
|
95
|
+
(0, ts_serval_1.type)("PersonName")
|
|
96
|
+
], PersonName);
|
|
97
|
+
exports.PersonName = PersonName;
|
|
98
|
+
//# sourceMappingURL=PersonName.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PersonName.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/PersonName.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,kEAAkC;AAClC,yEAAqE;AACrE,qEAAkH;AAClH,uCAAqD;AACrD,2CAAmD;AACnD,uDAAqE;AACrE,uDAAqE;AACrE,6CAAsD;AACtD,uCAA6C;AAoBtC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,2CAAoB;IAuBzC,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,qBAAS,CAAC,UAAU;gBAC1D,CAAC,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,uBAAU,CAAC,UAAU;gBAC5D,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,iBAAO,CAAC,UAAU;gBACtD,CAAC,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,iCAAe,CAAC,UAAU;gBACtE,CAAC,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,iCAAe,CAAC,UAAU;aACzE;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,SAAS,CAAC,KAAK,CAAC,EAAE,qBAAS,CAAC,WAAW;gBAC3D,CAAC,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,uBAAU,CAAC,WAAW;gBAC7D,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,iBAAO,CAAC,WAAW;gBACvD,CAAC,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,iCAAe,CAAC,WAAW;gBACvE,CAAC,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,iCAAe,CAAC,WAAW;aAC1E;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAkD;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,QAAQ;QACpB,MAAM,KAAK,GAAG,EAAE,CAAA;QAChB,IAAI,IAAI,CAAC,eAAe;YAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAA;QAChE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;QAChC,IAAI,IAAI,CAAC,UAAU;YAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;QACtD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QAC9B,IAAI,IAAI,CAAC,eAAe;YAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAA;QAChE,OAAO,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAC1B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAmB,CAAA;IACrE,CAAC;;AA9DsB,wBAAa,GAAG,IAAA,uBAAM,GAAqB,CAAA;AAElE;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACO,qBAAS;6CAAA;AAE3B;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACT,uBAAU;8CAAA;AAE9B;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACK,iBAAO;2CAAA;AAEvB;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACJ,iCAAe;mDAAA;AAExC;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACJ,iCAAe;mDAAA;AArB/B,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAgEtB;AAhEY,gCAAU"}
|