@nmshd/content 2.0.0-beta.4 → 2.0.0-beta.40
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 +146 -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/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 +0 -1
- package/dist/attributes/types/proprietary/index.js +0 -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 +18 -7
- 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/{createOwnRelationshipAttribute/CreateOwnRelationshipAttributeAcceptResponseItem.js → createRelationshipAttribute/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/{createOwnRelationshipAttribute/CreateOwnRelationshipAttributeRequestItem.js → createRelationshipAttribute/CreateAttributeRequestItem.js} +13 -9
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.js.map +1 -0
- package/dist/requests/items/index.d.ts +6 -4
- package/dist/requests/items/index.js +6 -4
- 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/{shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem.js → registerAttributeListener/RegisterAttributeListenerRequestItem.js} +14 -15
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js.map +1 -0
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.d.ts +14 -0
- package/dist/requests/items/{shareOwnIdentityAttribute/ShareOwnIdentityAttributeAcceptResponseItem.js → shareAttribute/ShareAttributeAcceptResponseItem.js} +11 -8
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js.map +1 -0
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +13 -9
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +9 -5
- 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 +4918 -6036
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +17 -16
- 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/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeAcceptResponseItem.d.ts +0 -12
- package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeAcceptResponseItem.js.map +0 -1
- package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeRequestItem.d.ts +0 -13
- package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeRequestItem.js.map +0 -1
- package/dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeAcceptResponseItem.d.ts +0 -12
- package/dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeAcceptResponseItem.js.map +0 -1
- package/dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem.d.ts +0 -17
- package/dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem.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,80 @@
|
|
|
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
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.Affiliation = void 0;
|
|
16
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
17
|
+
const easy_tsnameof_1 = __importDefault(require("easy-tsnameof"));
|
|
18
|
+
const AbstractAttributeValue_1 = require("../../AbstractAttributeValue");
|
|
19
|
+
const AbstractComplexValue_1 = require("../../AbstractComplexValue");
|
|
20
|
+
const hints_1 = require("../../hints");
|
|
21
|
+
const AffiliationOrganization_1 = require("./AffiliationOrganization");
|
|
22
|
+
const AffiliationRole_1 = require("./AffiliationRole");
|
|
23
|
+
const AffiliationUnit_1 = require("./AffiliationUnit");
|
|
24
|
+
let Affiliation = class Affiliation extends AbstractComplexValue_1.AbstractComplexValue {
|
|
25
|
+
static get valueHints() {
|
|
26
|
+
return hints_1.ValueHints.from({
|
|
27
|
+
propertyHints: {
|
|
28
|
+
[this.propertyNames.role.$path]: AffiliationRole_1.AffiliationRole.valueHints,
|
|
29
|
+
[this.propertyNames.organization.$path]: AffiliationOrganization_1.AffiliationOrganization.valueHints,
|
|
30
|
+
[this.propertyNames.unit.$path]: AffiliationUnit_1.AffiliationUnit.valueHints
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
static get renderHints() {
|
|
35
|
+
return super.renderHints.copyWith({
|
|
36
|
+
propertyHints: {
|
|
37
|
+
[this.propertyNames.role.$path]: AffiliationRole_1.AffiliationRole.renderHints,
|
|
38
|
+
[this.propertyNames.organization.$path]: AffiliationOrganization_1.AffiliationOrganization.renderHints,
|
|
39
|
+
[this.propertyNames.unit.$path]: AffiliationUnit_1.AffiliationUnit.renderHints
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
static from(value) {
|
|
44
|
+
return this.fromAny(value);
|
|
45
|
+
}
|
|
46
|
+
toString() {
|
|
47
|
+
const value = [this.organization.toString()];
|
|
48
|
+
if (this.unit) {
|
|
49
|
+
value.push(this.unit.toString());
|
|
50
|
+
}
|
|
51
|
+
if (this.role) {
|
|
52
|
+
value.push(this.role.toString());
|
|
53
|
+
}
|
|
54
|
+
return value.join(", ");
|
|
55
|
+
}
|
|
56
|
+
toJSON(verbose, serializeAsString) {
|
|
57
|
+
return super.toJSON(verbose, serializeAsString);
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
Affiliation.propertyNames = (0, easy_tsnameof_1.default)();
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
63
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
64
|
+
__metadata("design:type", AffiliationRole_1.AffiliationRole)
|
|
65
|
+
], Affiliation.prototype, "role", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
68
|
+
(0, ts_serval_1.validate)(),
|
|
69
|
+
__metadata("design:type", AffiliationOrganization_1.AffiliationOrganization)
|
|
70
|
+
], Affiliation.prototype, "organization", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
73
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
74
|
+
__metadata("design:type", AffiliationUnit_1.AffiliationUnit)
|
|
75
|
+
], Affiliation.prototype, "unit", void 0);
|
|
76
|
+
Affiliation = __decorate([
|
|
77
|
+
(0, ts_serval_1.type)("Affiliation")
|
|
78
|
+
], Affiliation);
|
|
79
|
+
exports.Affiliation = Affiliation;
|
|
80
|
+
//# sourceMappingURL=Affiliation.js.map
|
|
@@ -0,0 +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;AACrD,uEAAmE;AACnE,uDAAqE;AACrE,uDAAqE;AAgB9D,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,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,iCAAe,CAAC,WAAW;gBAC5D,CAAC,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,iDAAuB,CAAC,WAAW;gBAC5E,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,iCAAe,CAAC,WAAW;aAC/D;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAoD;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,QAAQ;QACpB,MAAM,KAAK,GAAa,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,CAAA;QACtD,IAAI,IAAI,CAAC,IAAI,EAAE;YACX,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;SACnC;QACD,IAAI,IAAI,CAAC,IAAI,EAAE;YACX,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;SACnC;QAED,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC3B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAoB,CAAA;IACtE,CAAC;;AApDsB,yBAAa,GAAG,IAAA,uBAAM,GAAsB,CAAA;AAEnE;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;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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface AffiliationOrganizationJSON extends AbstractStringJSON {
|
|
3
|
+
"@type": "AffiliationOrganization";
|
|
4
|
+
}
|
|
5
|
+
export interface IAffiliationOrganization extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class AffiliationOrganization extends AbstractString implements IAffiliationOrganization {
|
|
8
|
+
static from(value: IAffiliationOrganization | Omit<AffiliationOrganizationJSON, "@type"> | string): AffiliationOrganization;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): AffiliationOrganizationJSON;
|
|
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.AffiliationOrganization = void 0;
|
|
10
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
|
+
const AbstractString_1 = require("../AbstractString");
|
|
12
|
+
let AffiliationOrganization = class AffiliationOrganization 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
|
+
AffiliationOrganization = __decorate([
|
|
21
|
+
(0, ts_serval_1.type)("AffiliationOrganization")
|
|
22
|
+
], AffiliationOrganization);
|
|
23
|
+
exports.AffiliationOrganization = AffiliationOrganization;
|
|
24
|
+
//# sourceMappingURL=AffiliationOrganization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface AffiliationRoleJSON extends AbstractStringJSON {
|
|
3
|
+
"@type": "AffiliationRole";
|
|
4
|
+
}
|
|
5
|
+
export interface IAffiliationRole extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class AffiliationRole extends AbstractString implements IAffiliationRole {
|
|
8
|
+
static from(value: IAffiliationRole | Omit<AffiliationRoleJSON, "@type"> | string): AffiliationRole;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): AffiliationRoleJSON;
|
|
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.AffiliationRole = void 0;
|
|
10
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
|
+
const AbstractString_1 = require("../AbstractString");
|
|
12
|
+
let AffiliationRole = class AffiliationRole 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
|
+
AffiliationRole = __decorate([
|
|
21
|
+
(0, ts_serval_1.type)("AffiliationRole")
|
|
22
|
+
], AffiliationRole);
|
|
23
|
+
exports.AffiliationRole = AffiliationRole;
|
|
24
|
+
//# sourceMappingURL=AffiliationRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface AffiliationUnitJSON extends AbstractStringJSON {
|
|
3
|
+
"@type": "AffiliationUnit";
|
|
4
|
+
}
|
|
5
|
+
export interface IAffiliationUnit extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class AffiliationUnit extends AbstractString implements IAffiliationUnit {
|
|
8
|
+
static from(value: IAffiliationUnit | Omit<AffiliationUnitJSON, "@type"> | string): AffiliationUnit;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): AffiliationUnitJSON;
|
|
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.AffiliationUnit = void 0;
|
|
10
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
|
+
const AbstractString_1 = require("../AbstractString");
|
|
12
|
+
let AffiliationUnit = class AffiliationUnit 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
|
+
AffiliationUnit = __decorate([
|
|
21
|
+
(0, ts_serval_1.type)("AffiliationUnit")
|
|
22
|
+
], AffiliationUnit);
|
|
23
|
+
exports.AffiliationUnit = AffiliationUnit;
|
|
24
|
+
//# sourceMappingURL=AffiliationUnit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -14,12 +14,8 @@ 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("./
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./items/FormItemSelect"), exports);
|
|
22
|
-
__exportStar(require("./items/FormItemSelectItem"), exports);
|
|
23
|
-
__exportStar(require("./items/FormItemString"), exports);
|
|
24
|
-
__exportStar(require("./items/FormItemText"), exports);
|
|
17
|
+
__exportStar(require("./Affiliation"), exports);
|
|
18
|
+
__exportStar(require("./AffiliationOrganization"), exports);
|
|
19
|
+
__exportStar(require("./AffiliationRole"), exports);
|
|
20
|
+
__exportStar(require("./AffiliationUnit"), exports);
|
|
25
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,4DAAyC;AACzC,oDAAiC;AACjC,oDAAiC"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
import { City } from "../address
|
|
2
|
-
export
|
|
1
|
+
import { City, CityJSON, ICity } from "../address";
|
|
2
|
+
export interface BirthCityJSON extends Omit<CityJSON, "@type"> {
|
|
3
|
+
"@type": "BirthCity";
|
|
4
|
+
}
|
|
5
|
+
export interface IBirthCity extends ICity {
|
|
6
|
+
}
|
|
7
|
+
export declare class BirthCity extends City implements IBirthCity {
|
|
8
|
+
static from(value: IBirthCity | Omit<BirthCityJSON, "@type"> | string): BirthCity;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthCityJSON;
|
|
3
10
|
}
|
|
@@ -8,8 +8,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.BirthCity = void 0;
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
|
-
const
|
|
12
|
-
let BirthCity = class BirthCity extends
|
|
11
|
+
const address_1 = require("../address");
|
|
12
|
+
let BirthCity = class BirthCity extends address_1.City {
|
|
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
|
BirthCity = __decorate([
|
|
15
21
|
(0, ts_serval_1.type)("BirthCity")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BirthCity.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthCity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"BirthCity.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthCity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,wCAAkD;AAS3C,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,cAAI;IACxB,MAAM,CAAU,IAAI,CAAC,KAAyD;QACjF,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 { Country } from "../address
|
|
2
|
-
export
|
|
1
|
+
import { Country, CountryJSON, ICountry } from "../address";
|
|
2
|
+
export interface BirthCountryJSON extends Omit<CountryJSON, "@type"> {
|
|
3
|
+
"@type": "BirthCountry";
|
|
4
|
+
}
|
|
5
|
+
export interface IBirthCountry extends ICountry {
|
|
6
|
+
}
|
|
7
|
+
export declare class BirthCountry extends Country implements IBirthCountry {
|
|
8
|
+
static from(value: IBirthCountry | Omit<BirthCountryJSON, "@type"> | string): BirthCountry;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthCountryJSON;
|
|
3
10
|
}
|
|
@@ -8,8 +8,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.BirthCountry = void 0;
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
|
-
const
|
|
12
|
-
let BirthCountry = class BirthCountry extends
|
|
11
|
+
const address_1 = require("../address");
|
|
12
|
+
let BirthCountry = class BirthCountry extends address_1.Country {
|
|
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
|
BirthCountry = __decorate([
|
|
15
21
|
(0, ts_serval_1.type)("BirthCountry")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BirthCountry.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthCountry.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"BirthCountry.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthCountry.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,wCAA2D;AASpD,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,iBAAO;IAC9B,MAAM,CAAU,IAAI,CAAC,KAA+D;QACvF,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,CAAqB,CAAA;IACvE,CAAC;CACJ,CAAA;AARY,YAAY;IADxB,IAAA,gBAAI,EAAC,cAAc,CAAC;GACR,YAAY,CAQxB;AARY,oCAAY"}
|
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
import { AbstractComplexValue, AbstractComplexValueJSON, IAbstractComplexValue } from "../../AbstractComplexValue";
|
|
2
2
|
import { RenderHints, ValueHints } from "../../hints";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { BirthYear } from "./BirthYear";
|
|
3
|
+
import { BirthDay, IBirthDay } from "./BirthDay";
|
|
4
|
+
import { BirthMonth, IBirthMonth } from "./BirthMonth";
|
|
5
|
+
import { BirthYear, IBirthYear } from "./BirthYear";
|
|
7
6
|
export interface BirthDateJSON extends AbstractComplexValueJSON {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
"@type": "BirthDate";
|
|
8
|
+
day: number;
|
|
9
|
+
month: number;
|
|
10
|
+
year: number;
|
|
11
11
|
}
|
|
12
12
|
export interface IBirthDate extends IAbstractComplexValue {
|
|
13
|
-
day:
|
|
14
|
-
month:
|
|
15
|
-
year:
|
|
13
|
+
day: IBirthDay | number;
|
|
14
|
+
month: IBirthMonth | number;
|
|
15
|
+
year: IBirthYear | number;
|
|
16
16
|
}
|
|
17
17
|
export declare class BirthDate extends AbstractComplexValue implements IBirthDate {
|
|
18
18
|
static readonly propertyNames: {
|
|
19
19
|
day: {
|
|
20
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
21
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
22
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
23
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
24
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
25
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
26
|
+
}>;
|
|
20
27
|
value: import("easy-tsnameof").PathHandlers<{
|
|
21
28
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
22
29
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -280,13 +287,6 @@ export declare class BirthDate extends AbstractComplexValue implements IBirthDat
|
|
|
280
287
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
281
288
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
282
289
|
}>;
|
|
283
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
284
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
285
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
286
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
287
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
288
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
289
|
-
}>;
|
|
290
290
|
} & import("easy-tsnameof").PathHandlers<{
|
|
291
291
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
292
292
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -295,6 +295,13 @@ export declare class BirthDate extends AbstractComplexValue implements IBirthDat
|
|
|
295
295
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
296
296
|
}>;
|
|
297
297
|
month: {
|
|
298
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
299
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
300
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
301
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
302
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
303
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
304
|
+
}>;
|
|
298
305
|
value: import("easy-tsnameof").PathHandlers<{
|
|
299
306
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
300
307
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -558,13 +565,6 @@ export declare class BirthDate extends AbstractComplexValue implements IBirthDat
|
|
|
558
565
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
559
566
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
560
567
|
}>;
|
|
561
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
562
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
563
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
564
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
565
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
566
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
567
|
-
}>;
|
|
568
568
|
} & import("easy-tsnameof").PathHandlers<{
|
|
569
569
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
570
570
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -573,6 +573,13 @@ export declare class BirthDate extends AbstractComplexValue implements IBirthDat
|
|
|
573
573
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
574
574
|
}>;
|
|
575
575
|
year: {
|
|
576
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
577
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
578
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
579
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
580
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
581
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
582
|
+
}>;
|
|
576
583
|
value: import("easy-tsnameof").PathHandlers<{
|
|
577
584
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
578
585
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -836,13 +843,6 @@ export declare class BirthDate extends AbstractComplexValue implements IBirthDat
|
|
|
836
843
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
837
844
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
838
845
|
}>;
|
|
839
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
840
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
841
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
842
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
843
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
844
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
845
|
-
}>;
|
|
846
846
|
} & import("easy-tsnameof").PathHandlers<{
|
|
847
847
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
848
848
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -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[];
|
|
@@ -1125,6 +1125,7 @@ export declare class BirthDate extends AbstractComplexValue implements IBirthDat
|
|
|
1125
1125
|
year: BirthYear;
|
|
1126
1126
|
static get valueHints(): ValueHints;
|
|
1127
1127
|
static get renderHints(): RenderHints;
|
|
1128
|
-
static from(value: IBirthDate | BirthDateJSON): BirthDate;
|
|
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;
|
|
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,yCAAgD;AAChD,6CAAsD;AACtD,2CAAmD;AAgB5C,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;aACzD;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAgD;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,QAAQ;QACpB,OAAO,gBAAQ,CAAC,UAAU,CAAC;YACvB,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK;YACnB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK;YACvB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK;SACxB,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAA;IAC7B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAkB,CAAA;IACpE,CAAC;;AAhDsB,uBAAa,GAAG,IAAA,uBAAM,GAAoB,CAAA;AAEjE;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACC,mBAAQ;sCAAA;AAEpB;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACG,uBAAU;wCAAA;AAExB;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACE,qBAAS;uCAAA;AAbb,SAAS;IADrB,IAAA,gBAAI,EAAC,WAAW,CAAC;GACL,SAAS,CAkDrB;AAlDY,8BAAS"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
import { AbstractDay } from "../dates
|
|
2
|
-
export
|
|
1
|
+
import { AbstractDay, AbstractDayJSON, IAbstractDay } from "../dates";
|
|
2
|
+
export interface BirthDayJSON extends AbstractDayJSON {
|
|
3
|
+
"@type": "BirthDay";
|
|
4
|
+
}
|
|
5
|
+
export interface IBirthDay extends IAbstractDay {
|
|
6
|
+
}
|
|
7
|
+
export declare class BirthDay extends AbstractDay implements IBirthDay {
|
|
8
|
+
static from(value: IBirthDay | Omit<BirthDayJSON, "@type"> | number): BirthDay;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthDayJSON;
|
|
3
10
|
}
|
|
@@ -8,8 +8,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.BirthDay = void 0;
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
|
-
const
|
|
12
|
-
let BirthDay = class BirthDay extends
|
|
11
|
+
const dates_1 = require("../dates");
|
|
12
|
+
let BirthDay = class BirthDay extends dates_1.AbstractDay {
|
|
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
|
BirthDay = __decorate([
|
|
15
21
|
(0, ts_serval_1.type)("BirthDay")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BirthDay.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthDay.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"BirthDay.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthDay.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,oCAAqE;AAS9D,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,mBAAW;IAC9B,MAAM,CAAC,IAAI,CAAC,KAAuD;QACtE,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,CAAiB,CAAA;IACnE,CAAC;CACJ,CAAA;AARY,QAAQ;IADpB,IAAA,gBAAI,EAAC,UAAU,CAAC;GACJ,QAAQ,CAQpB;AARY,4BAAQ"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { ValueHints } from "../../hints/ValueHints";
|
|
2
|
-
import { AbstractMonth } from "../dates/AbstractMonth";
|
|
3
|
-
export
|
|
2
|
+
import { AbstractMonth, AbstractMonthJSON, IAbstractMonth } from "../dates/AbstractMonth";
|
|
3
|
+
export interface BirthMonthJSON extends AbstractMonthJSON {
|
|
4
|
+
"@type": "BirthMonth";
|
|
5
|
+
}
|
|
6
|
+
export interface IBirthMonth extends IAbstractMonth {
|
|
7
|
+
}
|
|
8
|
+
export declare class BirthMonth extends AbstractMonth implements IAbstractMonth {
|
|
4
9
|
static get valueHints(): ValueHints;
|
|
10
|
+
static from(value: IBirthMonth | Omit<BirthMonthJSON, "@type"> | number): BirthMonth;
|
|
11
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthMonthJSON;
|
|
5
12
|
}
|
|
@@ -15,6 +15,12 @@ let BirthMonth = class BirthMonth extends AbstractMonth_1.AbstractMonth {
|
|
|
15
15
|
editHelp: "i18n://yourBirthMonth"
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
+
static from(value) {
|
|
19
|
+
return this.fromAny(value);
|
|
20
|
+
}
|
|
21
|
+
toJSON(verbose, serializeAsString) {
|
|
22
|
+
return super.toJSON(verbose, serializeAsString);
|
|
23
|
+
}
|
|
18
24
|
};
|
|
19
25
|
BirthMonth = __decorate([
|
|
20
26
|
(0, ts_serval_1.type)("BirthMonth")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BirthMonth.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthMonth.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,
|
|
1
|
+
{"version":3,"file":"BirthMonth.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthMonth.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,0DAAyF;AASlF,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,6BAAa;IAClC,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,QAAQ,EAAE,uBAAuB;SACpC,CAAC,CAAA;IACN,CAAC;IAEM,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;AAdY,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CActB;AAdY,gCAAU"}
|