@nmshd/content 2.5.2 → 2.7.0
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 +1 -1
- package/dist/attributes/AbstractAttribute.js.map +1 -1
- package/dist/attributes/AttributeValueTypes.d.ts +18 -18
- package/dist/attributes/AttributeValueTypes.js +5 -1
- package/dist/attributes/AttributeValueTypes.js.map +1 -1
- package/dist/attributes/IQLQuery.js +3 -3
- package/dist/attributes/IQLQuery.js.map +1 -1
- package/dist/attributes/IdentityAttribute.js +4 -5
- package/dist/attributes/IdentityAttribute.js.map +1 -1
- package/dist/attributes/IdentityAttributeQuery.js +4 -5
- package/dist/attributes/IdentityAttributeQuery.js.map +1 -1
- package/dist/attributes/RelationshipAttribute.js +2 -2
- package/dist/attributes/RelationshipAttribute.js.map +1 -1
- package/dist/attributes/RelationshipAttributeConfidentiality.js +1 -1
- package/dist/attributes/RelationshipAttributeConfidentiality.js.map +1 -1
- package/dist/attributes/RelationshipAttributeQuery.js +4 -4
- package/dist/attributes/RelationshipAttributeQuery.js.map +1 -1
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js +2 -2
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js.map +1 -1
- package/dist/attributes/constants/CountriesAlpha2.js +1 -1
- package/dist/attributes/constants/CountriesAlpha2.js.map +1 -1
- package/dist/attributes/constants/LanguagesISO639.js +1 -1
- package/dist/attributes/constants/LanguagesISO639.js.map +1 -1
- package/dist/attributes/hints/RenderHints.js +4 -4
- package/dist/attributes/hints/RenderHints.js.map +1 -1
- package/dist/attributes/hints/RenderHintsDataType.js +1 -1
- package/dist/attributes/hints/RenderHintsDataType.js.map +1 -1
- package/dist/attributes/hints/RenderHintsEditType.js +1 -1
- package/dist/attributes/hints/RenderHintsEditType.js.map +1 -1
- package/dist/attributes/hints/RenderHintsTechnicalType.js +1 -1
- package/dist/attributes/hints/RenderHintsTechnicalType.js.map +1 -1
- package/dist/attributes/hints/ValueHints.js +4 -4
- package/dist/attributes/hints/ValueHints.js.map +1 -1
- package/dist/attributes/hints/ValueHintsValue.js +4 -5
- package/dist/attributes/hints/ValueHintsValue.js.map +1 -1
- package/dist/attributes/types/AbstractBoolean.js +1 -1
- package/dist/attributes/types/AbstractBoolean.js.map +1 -1
- package/dist/attributes/types/AbstractFloat.js +1 -1
- package/dist/attributes/types/AbstractFloat.js.map +1 -1
- package/dist/attributes/types/AbstractInteger.js +1 -1
- package/dist/attributes/types/AbstractInteger.js.map +1 -1
- package/dist/attributes/types/AbstractString.js +1 -1
- package/dist/attributes/types/AbstractString.js.map +1 -1
- package/dist/attributes/types/address/AbstractAddress.js +1 -1
- package/dist/attributes/types/address/AbstractAddress.js.map +1 -1
- package/dist/attributes/types/address/City.js +2 -2
- package/dist/attributes/types/address/City.js.map +1 -1
- package/dist/attributes/types/address/Country.js +2 -2
- package/dist/attributes/types/address/Country.js.map +1 -1
- package/dist/attributes/types/address/DeliveryBoxAddress.js +2 -2
- package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/HouseNumber.js +2 -2
- package/dist/attributes/types/address/HouseNumber.js.map +1 -1
- package/dist/attributes/types/address/PostOfficeBoxAddress.js +2 -2
- package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/State.js +2 -2
- package/dist/attributes/types/address/State.js.map +1 -1
- package/dist/attributes/types/address/Street.js +2 -2
- package/dist/attributes/types/address/Street.js.map +1 -1
- package/dist/attributes/types/address/StreetAddress.js +2 -2
- package/dist/attributes/types/address/StreetAddress.js.map +1 -1
- package/dist/attributes/types/address/ZipCode.js +2 -2
- package/dist/attributes/types/address/ZipCode.js.map +1 -1
- package/dist/attributes/types/affiliation/Affiliation.js +2 -2
- package/dist/attributes/types/affiliation/Affiliation.js.map +1 -1
- package/dist/attributes/types/affiliation/AffiliationOrganization.js +2 -2
- package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -1
- package/dist/attributes/types/affiliation/AffiliationRole.js +2 -2
- package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -1
- package/dist/attributes/types/affiliation/AffiliationUnit.js +2 -2
- package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -1
- package/dist/attributes/types/birth/BirthCity.js +2 -2
- package/dist/attributes/types/birth/BirthCity.js.map +1 -1
- package/dist/attributes/types/birth/BirthCountry.js +2 -2
- package/dist/attributes/types/birth/BirthCountry.js.map +1 -1
- package/dist/attributes/types/birth/BirthDate.js +2 -2
- package/dist/attributes/types/birth/BirthDate.js.map +1 -1
- package/dist/attributes/types/birth/BirthDay.js +2 -2
- package/dist/attributes/types/birth/BirthDay.js.map +1 -1
- package/dist/attributes/types/birth/BirthMonth.js +2 -2
- package/dist/attributes/types/birth/BirthMonth.js.map +1 -1
- package/dist/attributes/types/birth/BirthPlace.js +2 -2
- package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
- package/dist/attributes/types/birth/BirthState.js +2 -2
- package/dist/attributes/types/birth/BirthState.js.map +1 -1
- package/dist/attributes/types/birth/BirthYear.js +2 -2
- package/dist/attributes/types/birth/BirthYear.js.map +1 -1
- package/dist/attributes/types/communication/CommunicationLanguage.js +2 -2
- package/dist/attributes/types/communication/CommunicationLanguage.js.map +1 -1
- package/dist/attributes/types/communication/EMailAddress.js +2 -2
- package/dist/attributes/types/communication/EMailAddress.js.map +1 -1
- package/dist/attributes/types/communication/FaxNumber.js +2 -2
- package/dist/attributes/types/communication/FaxNumber.js.map +1 -1
- package/dist/attributes/types/communication/PhoneNumber.js +2 -2
- package/dist/attributes/types/communication/PhoneNumber.js.map +1 -1
- package/dist/attributes/types/communication/Website.js +2 -2
- package/dist/attributes/types/communication/Website.js.map +1 -1
- package/dist/attributes/types/dates/AbstractDateString.js +1 -1
- package/dist/attributes/types/dates/AbstractDateString.js.map +1 -1
- package/dist/attributes/types/dates/AbstractDay.js +1 -1
- package/dist/attributes/types/dates/AbstractDay.js.map +1 -1
- package/dist/attributes/types/dates/AbstractMonth.js +1 -1
- package/dist/attributes/types/dates/AbstractMonth.js.map +1 -1
- package/dist/attributes/types/dates/AbstractYear.js +1 -1
- package/dist/attributes/types/dates/AbstractYear.js.map +1 -1
- package/dist/attributes/types/identity/DisplayName.js +2 -2
- package/dist/attributes/types/identity/DisplayName.js.map +1 -1
- package/dist/attributes/types/identity/IdentityFileReference.js +2 -2
- package/dist/attributes/types/identity/IdentityFileReference.js.map +1 -1
- package/dist/attributes/types/identity/SchematizedXML.js +2 -2
- package/dist/attributes/types/identity/SchematizedXML.js.map +1 -1
- package/dist/attributes/types/index.d.ts +1 -0
- package/dist/attributes/types/index.js +1 -0
- package/dist/attributes/types/index.js.map +1 -1
- package/dist/attributes/types/measurements/AbstractLengthMeasurement.js +2 -2
- package/dist/attributes/types/measurements/AbstractLengthMeasurement.js.map +1 -1
- package/dist/attributes/types/measurements/AbstractMeasurement.js +1 -1
- package/dist/attributes/types/measurements/AbstractMeasurement.js.map +1 -1
- package/dist/attributes/types/name/BirthName.js +2 -2
- package/dist/attributes/types/name/BirthName.js.map +1 -1
- package/dist/attributes/types/name/GivenName.js +2 -2
- package/dist/attributes/types/name/GivenName.js.map +1 -1
- package/dist/attributes/types/name/HonorificPrefix.js +2 -2
- package/dist/attributes/types/name/HonorificPrefix.js.map +1 -1
- package/dist/attributes/types/name/HonorificSuffix.js +2 -2
- package/dist/attributes/types/name/HonorificSuffix.js.map +1 -1
- package/dist/attributes/types/name/MiddleName.js +2 -2
- package/dist/attributes/types/name/MiddleName.js.map +1 -1
- package/dist/attributes/types/name/PersonName.js +2 -2
- package/dist/attributes/types/name/PersonName.js.map +1 -1
- package/dist/attributes/types/name/Pseudonym.js +2 -2
- package/dist/attributes/types/name/Pseudonym.js.map +1 -1
- package/dist/attributes/types/name/Surname.js +2 -2
- package/dist/attributes/types/name/Surname.js.map +1 -1
- package/dist/attributes/types/person/Citizenship.js +2 -2
- package/dist/attributes/types/person/Citizenship.js.map +1 -1
- package/dist/attributes/types/person/JobTitle.js +2 -2
- package/dist/attributes/types/person/JobTitle.js.map +1 -1
- package/dist/attributes/types/person/Nationality.js +2 -2
- package/dist/attributes/types/person/Nationality.js.map +1 -1
- package/dist/attributes/types/person/Sex.js +3 -3
- package/dist/attributes/types/person/Sex.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryCountry.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryCountry.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryFloat.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryInteger.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryJSON.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryJSON.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryString.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryURL.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryXML.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryXML.js.map +1 -1
- package/dist/attributes/types/relationship/Consent.js +2 -2
- package/dist/attributes/types/relationship/Consent.js.map +1 -1
- package/dist/attributes/types/statement/AbstractIdentityDescriptor.d.ts +15 -0
- package/dist/attributes/types/statement/AbstractIdentityDescriptor.js +46 -0
- package/dist/attributes/types/statement/AbstractIdentityDescriptor.js.map +1 -0
- package/dist/attributes/types/statement/AbstractStatement.d.ts +34 -0
- package/dist/attributes/types/statement/AbstractStatement.js +87 -0
- package/dist/attributes/types/statement/AbstractStatement.js.map +1 -0
- package/dist/attributes/types/statement/DigitalIdentityDescriptor.d.ts +18 -0
- package/dist/attributes/types/statement/DigitalIdentityDescriptor.js +56 -0
- package/dist/attributes/types/statement/DigitalIdentityDescriptor.js.map +1 -0
- package/dist/attributes/types/statement/Statement.d.ts +10 -0
- package/dist/attributes/types/statement/Statement.js +24 -0
- package/dist/attributes/types/statement/Statement.js.map +1 -0
- package/dist/attributes/types/statement/StatementAuthorityType.d.ts +25 -0
- package/dist/attributes/types/statement/StatementAuthorityType.js +60 -0
- package/dist/attributes/types/statement/StatementAuthorityType.js.map +1 -0
- package/dist/attributes/types/statement/StatementEvidence.d.ts +29 -0
- package/dist/attributes/types/statement/StatementEvidence.js +61 -0
- package/dist/attributes/types/statement/StatementEvidence.js.map +1 -0
- package/dist/attributes/types/statement/StatementIssuerConditions.d.ts +33 -0
- package/dist/attributes/types/statement/StatementIssuerConditions.js +90 -0
- package/dist/attributes/types/statement/StatementIssuerConditions.js.map +1 -0
- package/dist/attributes/types/statement/StatementObject.d.ts +18 -0
- package/dist/attributes/types/statement/StatementObject.js +56 -0
- package/dist/attributes/types/statement/StatementObject.js.map +1 -0
- package/dist/attributes/types/statement/StatementPredicate.d.ts +25 -0
- package/dist/attributes/types/statement/StatementPredicate.js +67 -0
- package/dist/attributes/types/statement/StatementPredicate.js.map +1 -0
- package/dist/attributes/types/statement/StatementSubject.d.ts +18 -0
- package/dist/attributes/types/statement/StatementSubject.js +56 -0
- package/dist/attributes/types/statement/StatementSubject.js.map +1 -0
- package/dist/attributes/types/statement/index.d.ts +10 -0
- package/dist/attributes/types/statement/index.js +27 -0
- package/dist/attributes/types/statement/index.js.map +1 -0
- package/dist/attributes/types/strings/AbstractCountry.js +1 -1
- package/dist/attributes/types/strings/AbstractCountry.js.map +1 -1
- package/dist/attributes/types/strings/AbstractEMailAddress.js +1 -1
- package/dist/attributes/types/strings/AbstractEMailAddress.js.map +1 -1
- package/dist/attributes/types/strings/AbstractFileReference.js +1 -1
- package/dist/attributes/types/strings/AbstractFileReference.js.map +1 -1
- package/dist/attributes/types/strings/AbstractHEXColor.js +1 -1
- package/dist/attributes/types/strings/AbstractHEXColor.js.map +1 -1
- package/dist/attributes/types/strings/AbstractLanguage.js +1 -1
- package/dist/attributes/types/strings/AbstractLanguage.js.map +1 -1
- package/dist/attributes/types/strings/AbstractPhoneNumber.js +1 -1
- package/dist/attributes/types/strings/AbstractPhoneNumber.js.map +1 -1
- package/dist/attributes/types/strings/AbstractURL.js +1 -1
- package/dist/attributes/types/strings/AbstractURL.js.map +1 -1
- package/dist/attributes/types/strings/AbstractXML.js +1 -1
- package/dist/attributes/types/strings/AbstractXML.js.map +1 -1
- package/dist/buildInformation.js +5 -5
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/messages/Mail.js +2 -2
- package/dist/messages/Mail.js.map +1 -1
- package/dist/notifications/Notification.d.ts +23 -0
- package/dist/{requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.js → notifications/Notification.js} +14 -12
- package/dist/notifications/Notification.js.map +1 -0
- package/dist/notifications/NotificationItem.d.ts +8 -0
- package/dist/notifications/NotificationItem.js +11 -0
- package/dist/notifications/NotificationItem.js.map +1 -0
- package/dist/notifications/index.d.ts +3 -0
- package/dist/notifications/index.js +20 -0
- package/dist/notifications/index.js.map +1 -0
- package/dist/notifications/items/AttributeSucceededNotificationItem.d.ts +20 -0
- package/dist/{requests/items/succeedAttribute/SucceedAttributeRequestItem.js → notifications/items/AttributeSucceededNotificationItem.js} +16 -14
- package/dist/notifications/items/AttributeSucceededNotificationItem.js.map +1 -0
- package/dist/notifications/items/index.d.ts +1 -0
- package/dist/notifications/items/index.js +18 -0
- package/dist/notifications/items/index.js.map +1 -0
- package/dist/relationships/RelationshipCreationChangeRequestContent.js +2 -2
- package/dist/relationships/RelationshipCreationChangeRequestContent.js.map +1 -1
- package/dist/relationships/RelationshipTemplateContent.js +2 -2
- package/dist/relationships/RelationshipTemplateContent.js.map +1 -1
- package/dist/requests/Request.js +2 -2
- package/dist/requests/Request.js.map +1 -1
- package/dist/requests/RequestItem.d.ts +4 -4
- package/dist/requests/RequestItem.js +1 -1
- package/dist/requests/RequestItem.js.map +1 -1
- package/dist/requests/RequestItemGroup.js +2 -2
- package/dist/requests/RequestItemGroup.js.map +1 -1
- package/dist/requests/ResponseWrapper.js +2 -2
- package/dist/requests/ResponseWrapper.js.map +1 -1
- package/dist/requests/items/authentication/AuthenticationRequestItem.js +2 -2
- package/dist/requests/items/authentication/AuthenticationRequestItem.js.map +1 -1
- package/dist/requests/items/consent/ConsentRequestItem.js +2 -2
- package/dist/requests/items/consent/ConsentRequestItem.js.map +1 -1
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.js +2 -2
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.js +2 -2
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/freeText/FreeTextAcceptResponseItem.js +2 -2
- package/dist/requests/items/freeText/FreeTextAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/freeText/FreeTextRequestItem.js +2 -2
- package/dist/requests/items/freeText/FreeTextRequestItem.js.map +1 -1
- package/dist/requests/items/index.d.ts +0 -2
- package/dist/requests/items/index.js +0 -2
- package/dist/requests/items/index.js.map +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js +2 -2
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js +2 -2
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js +2 -2
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js +2 -2
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js +2 -2
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js +2 -2
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js.map +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js +2 -2
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +2 -2
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
- package/dist/requests/response/AcceptResponseItem.d.ts +4 -4
- package/dist/requests/response/AcceptResponseItem.js +2 -2
- package/dist/requests/response/AcceptResponseItem.js.map +1 -1
- package/dist/requests/response/ErrorResponseItem.js +2 -2
- package/dist/requests/response/ErrorResponseItem.js.map +1 -1
- package/dist/requests/response/RejectResponseItem.js +2 -2
- package/dist/requests/response/RejectResponseItem.js.map +1 -1
- package/dist/requests/response/Response.js +3 -3
- package/dist/requests/response/Response.js.map +1 -1
- package/dist/requests/response/ResponseItem.js +1 -1
- package/dist/requests/response/ResponseItem.js.map +1 -1
- package/dist/requests/response/ResponseItemGroup.js +2 -2
- package/dist/requests/response/ResponseItemGroup.js.map +1 -1
- package/dist/requests/response/ResponseItemResult.js +1 -1
- package/dist/requests/response/ResponseItemResult.js.map +1 -1
- package/lib-web/nmshd.content.js +1430 -507
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +12 -12
- package/dist/requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.d.ts +0 -14
- package/dist/requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.js.map +0 -1
- package/dist/requests/items/succeedAttribute/SucceedAttributeRequestItem.d.ts +0 -29
- package/dist/requests/items/succeedAttribute/SucceedAttributeRequestItem.js.map +0 -1
package/lib-web/nmshd.content.js
CHANGED
|
@@ -37,6 +37,7 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
37
37
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
38
38
|
class AbstractAttribute extends transport_1.CoreSerializable {
|
|
39
39
|
}
|
|
40
|
+
exports.AbstractAttribute = AbstractAttribute;
|
|
40
41
|
__decorate([
|
|
41
42
|
(0, ts_serval_1.validate)(),
|
|
42
43
|
(0, ts_serval_1.serialize)(),
|
|
@@ -52,7 +53,6 @@ __decorate([
|
|
|
52
53
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
53
54
|
__metadata("design:type", transport_1.CoreDate)
|
|
54
55
|
], AbstractAttribute.prototype, "validTo", void 0);
|
|
55
|
-
exports.AbstractAttribute = AbstractAttribute;
|
|
56
56
|
//# sourceMappingURL=AbstractAttribute.js.map
|
|
57
57
|
|
|
58
58
|
/***/ }),
|
|
@@ -208,7 +208,9 @@ var AttributeValues;
|
|
|
208
208
|
types_1.HonorificSuffix,
|
|
209
209
|
types_1.HouseNumber,
|
|
210
210
|
types_1.MiddleName,
|
|
211
|
+
types_1.SchematizedXML,
|
|
211
212
|
types_1.State,
|
|
213
|
+
types_1.Statement,
|
|
212
214
|
types_1.Street,
|
|
213
215
|
types_1.Surname,
|
|
214
216
|
types_1.ZipCode
|
|
@@ -230,7 +232,9 @@ var AttributeValues;
|
|
|
230
232
|
"HonorificSuffix",
|
|
231
233
|
"HouseNumber",
|
|
232
234
|
"MiddleName",
|
|
235
|
+
"SchematizedXML",
|
|
233
236
|
"State",
|
|
237
|
+
"Statement",
|
|
234
238
|
"Street",
|
|
235
239
|
"Surname",
|
|
236
240
|
"ZipCode"
|
|
@@ -280,7 +284,7 @@ var AttributeValues;
|
|
|
280
284
|
AttributeValues.CLASSES = [...Identity.CLASSES, ...Relationship.CLASSES];
|
|
281
285
|
AttributeValues.TYPE_NAMES = [...Identity.TYPE_NAMES, ...Relationship.TYPE_NAMES];
|
|
282
286
|
AttributeValues.TYPE_NAMES_STRINGIFIED = JSON.stringify(AttributeValues.TYPE_NAMES);
|
|
283
|
-
})(AttributeValues
|
|
287
|
+
})(AttributeValues || (exports.AttributeValues = AttributeValues = {}));
|
|
284
288
|
//# sourceMappingURL=AttributeValueTypes.js.map
|
|
285
289
|
|
|
286
290
|
/***/ }),
|
|
@@ -337,6 +341,7 @@ let IQLQuery = class IQLQuery extends AbstractAttributeQuery_1.AbstractAttribute
|
|
|
337
341
|
return super.toJSON(verbose, serializeAsString);
|
|
338
342
|
}
|
|
339
343
|
};
|
|
344
|
+
exports.IQLQuery = IQLQuery;
|
|
340
345
|
__decorate([
|
|
341
346
|
(0, ts_serval_1.serialize)(),
|
|
342
347
|
(0, ts_serval_1.validate)({
|
|
@@ -344,16 +349,15 @@ __decorate([
|
|
|
344
349
|
customValidator: (v) => {
|
|
345
350
|
const result = Iql.validate(v);
|
|
346
351
|
return !result.isValid
|
|
347
|
-
? `invalid IQL query at character offset ${result.error
|
|
352
|
+
? `invalid IQL query at character offset ${result.error.location.start.column}`
|
|
348
353
|
: undefined;
|
|
349
354
|
}
|
|
350
355
|
}),
|
|
351
356
|
__metadata("design:type", String)
|
|
352
357
|
], IQLQuery.prototype, "queryString", void 0);
|
|
353
|
-
IQLQuery = __decorate([
|
|
358
|
+
exports.IQLQuery = IQLQuery = __decorate([
|
|
354
359
|
(0, ts_serval_1.type)("IQLQuery")
|
|
355
360
|
], IQLQuery);
|
|
356
|
-
exports.IQLQuery = IQLQuery;
|
|
357
361
|
//# sourceMappingURL=IQLQuery.js.map
|
|
358
362
|
|
|
359
363
|
/***/ }),
|
|
@@ -374,13 +378,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
374
378
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
375
379
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
376
380
|
};
|
|
377
|
-
var IdentityAttribute_1;
|
|
378
381
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
379
382
|
exports.IdentityAttribute = void 0;
|
|
380
383
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
381
384
|
const AbstractAttribute_1 = __webpack_require__(/*! ./AbstractAttribute */ "./dist/attributes/AbstractAttribute.js");
|
|
382
385
|
const AttributeValueTypes_1 = __webpack_require__(/*! ./AttributeValueTypes */ "./dist/attributes/AttributeValueTypes.js");
|
|
383
|
-
let IdentityAttribute =
|
|
386
|
+
let IdentityAttribute = class IdentityAttribute extends AbstractAttribute_1.AbstractAttribute {
|
|
384
387
|
static from(value) {
|
|
385
388
|
return this.fromAny(value);
|
|
386
389
|
}
|
|
@@ -397,6 +400,7 @@ let IdentityAttribute = IdentityAttribute_1 = class IdentityAttribute extends Ab
|
|
|
397
400
|
return undefined;
|
|
398
401
|
}
|
|
399
402
|
};
|
|
403
|
+
exports.IdentityAttribute = IdentityAttribute;
|
|
400
404
|
__decorate([
|
|
401
405
|
(0, ts_serval_1.serialize)({ unionTypes: AttributeValueTypes_1.AttributeValues.Identity.CLASSES }),
|
|
402
406
|
(0, ts_serval_1.validate)(),
|
|
@@ -404,13 +408,12 @@ __decorate([
|
|
|
404
408
|
], IdentityAttribute.prototype, "value", void 0);
|
|
405
409
|
__decorate([
|
|
406
410
|
(0, ts_serval_1.serialize)({ type: String }),
|
|
407
|
-
(0, ts_serval_1.validate)({ nullable: true, customValidator:
|
|
411
|
+
(0, ts_serval_1.validate)({ nullable: true, customValidator: IdentityAttribute.validateTags }),
|
|
408
412
|
__metadata("design:type", Array)
|
|
409
413
|
], IdentityAttribute.prototype, "tags", void 0);
|
|
410
|
-
IdentityAttribute =
|
|
414
|
+
exports.IdentityAttribute = IdentityAttribute = __decorate([
|
|
411
415
|
(0, ts_serval_1.type)("IdentityAttribute")
|
|
412
416
|
], IdentityAttribute);
|
|
413
|
-
exports.IdentityAttribute = IdentityAttribute;
|
|
414
417
|
//# sourceMappingURL=IdentityAttribute.js.map
|
|
415
418
|
|
|
416
419
|
/***/ }),
|
|
@@ -431,14 +434,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
431
434
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
432
435
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
433
436
|
};
|
|
434
|
-
var IdentityAttributeQuery_1;
|
|
435
437
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
436
438
|
exports.IdentityAttributeQuery = void 0;
|
|
437
439
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
438
440
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
439
441
|
const AbstractAttributeQuery_1 = __webpack_require__(/*! ./AbstractAttributeQuery */ "./dist/attributes/AbstractAttributeQuery.js");
|
|
440
442
|
const AttributeValueTypes_1 = __webpack_require__(/*! ./AttributeValueTypes */ "./dist/attributes/AttributeValueTypes.js");
|
|
441
|
-
let IdentityAttributeQuery =
|
|
443
|
+
let IdentityAttributeQuery = class IdentityAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
|
|
442
444
|
static from(value) {
|
|
443
445
|
return this.fromAny(value);
|
|
444
446
|
}
|
|
@@ -455,6 +457,7 @@ let IdentityAttributeQuery = IdentityAttributeQuery_1 = class IdentityAttributeQ
|
|
|
455
457
|
return undefined;
|
|
456
458
|
}
|
|
457
459
|
};
|
|
460
|
+
exports.IdentityAttributeQuery = IdentityAttributeQuery;
|
|
458
461
|
__decorate([
|
|
459
462
|
(0, ts_serval_1.serialize)(),
|
|
460
463
|
(0, ts_serval_1.validate)({
|
|
@@ -466,7 +469,7 @@ __decorate([
|
|
|
466
469
|
], IdentityAttributeQuery.prototype, "valueType", void 0);
|
|
467
470
|
__decorate([
|
|
468
471
|
(0, ts_serval_1.serialize)({ type: String }),
|
|
469
|
-
(0, ts_serval_1.validate)({ nullable: true, customValidator:
|
|
472
|
+
(0, ts_serval_1.validate)({ nullable: true, customValidator: IdentityAttributeQuery.validateTags }),
|
|
470
473
|
__metadata("design:type", Array)
|
|
471
474
|
], IdentityAttributeQuery.prototype, "tags", void 0);
|
|
472
475
|
__decorate([
|
|
@@ -479,10 +482,9 @@ __decorate([
|
|
|
479
482
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
480
483
|
__metadata("design:type", transport_1.CoreDate)
|
|
481
484
|
], IdentityAttributeQuery.prototype, "validTo", void 0);
|
|
482
|
-
IdentityAttributeQuery =
|
|
485
|
+
exports.IdentityAttributeQuery = IdentityAttributeQuery = __decorate([
|
|
483
486
|
(0, ts_serval_1.type)("IdentityAttributeQuery")
|
|
484
487
|
], IdentityAttributeQuery);
|
|
485
|
-
exports.IdentityAttributeQuery = IdentityAttributeQuery;
|
|
486
488
|
//# sourceMappingURL=IdentityAttributeQuery.js.map
|
|
487
489
|
|
|
488
490
|
/***/ }),
|
|
@@ -522,6 +524,7 @@ let RelationshipAttribute = class RelationshipAttribute extends AbstractAttribut
|
|
|
522
524
|
return super.toJSON(verbose, serializeAsString);
|
|
523
525
|
}
|
|
524
526
|
};
|
|
527
|
+
exports.RelationshipAttribute = RelationshipAttribute;
|
|
525
528
|
__decorate([
|
|
526
529
|
(0, ts_serval_1.serialize)({ unionTypes: AttributeValueTypes_1.AttributeValues.Relationship.CLASSES }),
|
|
527
530
|
(0, ts_serval_1.validate)(),
|
|
@@ -546,10 +549,9 @@ __decorate([
|
|
|
546
549
|
}),
|
|
547
550
|
__metadata("design:type", String)
|
|
548
551
|
], RelationshipAttribute.prototype, "confidentiality", void 0);
|
|
549
|
-
RelationshipAttribute = __decorate([
|
|
552
|
+
exports.RelationshipAttribute = RelationshipAttribute = __decorate([
|
|
550
553
|
(0, ts_serval_1.type)("RelationshipAttribute")
|
|
551
554
|
], RelationshipAttribute);
|
|
552
|
-
exports.RelationshipAttribute = RelationshipAttribute;
|
|
553
555
|
//# sourceMappingURL=RelationshipAttribute.js.map
|
|
554
556
|
|
|
555
557
|
/***/ }),
|
|
@@ -593,7 +595,7 @@ var RelationshipAttributeConfidentiality;
|
|
|
593
595
|
* other party once you had an accident.
|
|
594
596
|
*/
|
|
595
597
|
RelationshipAttributeConfidentiality["Protected"] = "protected";
|
|
596
|
-
})(RelationshipAttributeConfidentiality
|
|
598
|
+
})(RelationshipAttributeConfidentiality || (exports.RelationshipAttributeConfidentiality = RelationshipAttributeConfidentiality = {}));
|
|
597
599
|
//# sourceMappingURL=RelationshipAttributeConfidentiality.js.map
|
|
598
600
|
|
|
599
601
|
/***/ }),
|
|
@@ -638,6 +640,7 @@ let RelationshipAttributeCreationHints = class RelationshipAttributeCreationHint
|
|
|
638
640
|
return this.fromAny(value);
|
|
639
641
|
}
|
|
640
642
|
};
|
|
643
|
+
exports.RelationshipAttributeCreationHints = RelationshipAttributeCreationHints;
|
|
641
644
|
__decorate([
|
|
642
645
|
(0, ts_serval_1.serialize)(),
|
|
643
646
|
(0, ts_serval_1.validate)({ max: 100 }),
|
|
@@ -671,10 +674,9 @@ __decorate([
|
|
|
671
674
|
}),
|
|
672
675
|
__metadata("design:type", String)
|
|
673
676
|
], RelationshipAttributeCreationHints.prototype, "confidentiality", void 0);
|
|
674
|
-
RelationshipAttributeCreationHints = __decorate([
|
|
677
|
+
exports.RelationshipAttributeCreationHints = RelationshipAttributeCreationHints = __decorate([
|
|
675
678
|
(0, ts_serval_1.type)("RelationshipAttributeCreationHints")
|
|
676
679
|
], RelationshipAttributeCreationHints);
|
|
677
|
-
exports.RelationshipAttributeCreationHints = RelationshipAttributeCreationHints;
|
|
678
680
|
let RelationshipAttributeQuery = class RelationshipAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
|
|
679
681
|
static from(value) {
|
|
680
682
|
return this.fromAny(value);
|
|
@@ -683,6 +685,7 @@ let RelationshipAttributeQuery = class RelationshipAttributeQuery extends Abstra
|
|
|
683
685
|
return super.toJSON(verbose, serializeAsString);
|
|
684
686
|
}
|
|
685
687
|
};
|
|
688
|
+
exports.RelationshipAttributeQuery = RelationshipAttributeQuery;
|
|
686
689
|
__decorate([
|
|
687
690
|
(0, ts_serval_1.serialize)(),
|
|
688
691
|
(0, ts_serval_1.validate)({ max: 100 }),
|
|
@@ -708,10 +711,9 @@ __decorate([
|
|
|
708
711
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
709
712
|
__metadata("design:type", transport_1.CoreDate)
|
|
710
713
|
], RelationshipAttributeQuery.prototype, "validTo", void 0);
|
|
711
|
-
RelationshipAttributeQuery = __decorate([
|
|
714
|
+
exports.RelationshipAttributeQuery = RelationshipAttributeQuery = __decorate([
|
|
712
715
|
(0, ts_serval_1.type)("RelationshipAttributeQuery")
|
|
713
716
|
], RelationshipAttributeQuery);
|
|
714
|
-
exports.RelationshipAttributeQuery = RelationshipAttributeQuery;
|
|
715
717
|
//# sourceMappingURL=RelationshipAttributeQuery.js.map
|
|
716
718
|
|
|
717
719
|
/***/ }),
|
|
@@ -751,6 +753,7 @@ let ThirdPartyRelationshipAttributeQuery = class ThirdPartyRelationshipAttribute
|
|
|
751
753
|
return super.toJSON(verbose, serializeAsString);
|
|
752
754
|
}
|
|
753
755
|
};
|
|
756
|
+
exports.ThirdPartyRelationshipAttributeQuery = ThirdPartyRelationshipAttributeQuery;
|
|
754
757
|
__decorate([
|
|
755
758
|
(0, ts_serval_1.serialize)(),
|
|
756
759
|
(0, ts_serval_1.validate)({ max: 100 }),
|
|
@@ -776,10 +779,9 @@ __decorate([
|
|
|
776
779
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
777
780
|
__metadata("design:type", transport_1.CoreDate)
|
|
778
781
|
], ThirdPartyRelationshipAttributeQuery.prototype, "validTo", void 0);
|
|
779
|
-
ThirdPartyRelationshipAttributeQuery = __decorate([
|
|
782
|
+
exports.ThirdPartyRelationshipAttributeQuery = ThirdPartyRelationshipAttributeQuery = __decorate([
|
|
780
783
|
(0, ts_serval_1.type)("ThirdPartyRelationshipAttributeQuery")
|
|
781
784
|
], ThirdPartyRelationshipAttributeQuery);
|
|
782
|
-
exports.ThirdPartyRelationshipAttributeQuery = ThirdPartyRelationshipAttributeQuery;
|
|
783
785
|
//# sourceMappingURL=ThirdPartyRelationshipAttributeQuery.js.map
|
|
784
786
|
|
|
785
787
|
/***/ }),
|
|
@@ -1060,7 +1062,7 @@ var CountryAlpha2;
|
|
|
1060
1062
|
CountryAlpha2["ZA"] = "ZA";
|
|
1061
1063
|
CountryAlpha2["ZM"] = "ZM";
|
|
1062
1064
|
CountryAlpha2["ZW"] = "ZW";
|
|
1063
|
-
})(CountryAlpha2
|
|
1065
|
+
})(CountryAlpha2 || (exports.CountryAlpha2 = CountryAlpha2 = {}));
|
|
1064
1066
|
exports.COUNTRIES_ALPHA2_TO_ENGLISH_NAME = new Map([
|
|
1065
1067
|
[CountryAlpha2.AD, "Andorra"],
|
|
1066
1068
|
[CountryAlpha2.AE, "United Arab Emirates (the)"],
|
|
@@ -1512,7 +1514,7 @@ var LanguageISO639;
|
|
|
1512
1514
|
LanguageISO639["za"] = "za";
|
|
1513
1515
|
LanguageISO639["zh"] = "zh";
|
|
1514
1516
|
LanguageISO639["zu"] = "zu";
|
|
1515
|
-
})(LanguageISO639
|
|
1517
|
+
})(LanguageISO639 || (exports.LanguageISO639 = LanguageISO639 = {}));
|
|
1516
1518
|
exports.LANGUAGES_ISO639_TO_DISPLAY_NAME = new Map([
|
|
1517
1519
|
[LanguageISO639.aa, { code: LanguageISO639.aa, name: "Afar", nativeName: "Afaraf" }],
|
|
1518
1520
|
[LanguageISO639.ab, { code: LanguageISO639.ab, name: "Abkhaz", nativeName: "аҧсуа бызшәа" }],
|
|
@@ -1793,6 +1795,7 @@ let RenderHints = RenderHints_1 = class RenderHints extends ts_serval_1.Serializ
|
|
|
1793
1795
|
return RenderHints_1.from({ ...this.toJSON(), ...overrideJson, propertyHints });
|
|
1794
1796
|
}
|
|
1795
1797
|
};
|
|
1798
|
+
exports.RenderHints = RenderHints;
|
|
1796
1799
|
__decorate([
|
|
1797
1800
|
(0, ts_serval_1.serialize)(),
|
|
1798
1801
|
(0, ts_serval_1.validate)(),
|
|
@@ -1813,10 +1816,9 @@ __decorate([
|
|
|
1813
1816
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1814
1817
|
__metadata("design:type", Object)
|
|
1815
1818
|
], RenderHints.prototype, "propertyHints", void 0);
|
|
1816
|
-
RenderHints = RenderHints_1 = __decorate([
|
|
1819
|
+
exports.RenderHints = RenderHints = RenderHints_1 = __decorate([
|
|
1817
1820
|
(0, ts_serval_1.type)("RenderHints")
|
|
1818
1821
|
], RenderHints);
|
|
1819
|
-
exports.RenderHints = RenderHints;
|
|
1820
1822
|
let RenderHintsOverride = class RenderHintsOverride extends ts_serval_1.Serializable {
|
|
1821
1823
|
static from(value) {
|
|
1822
1824
|
return this.fromAny(value);
|
|
@@ -1831,6 +1833,7 @@ let RenderHintsOverride = class RenderHintsOverride extends ts_serval_1.Serializ
|
|
|
1831
1833
|
return json;
|
|
1832
1834
|
}
|
|
1833
1835
|
};
|
|
1836
|
+
exports.RenderHintsOverride = RenderHintsOverride;
|
|
1834
1837
|
__decorate([
|
|
1835
1838
|
(0, ts_serval_1.serialize)(),
|
|
1836
1839
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
@@ -1851,10 +1854,9 @@ __decorate([
|
|
|
1851
1854
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1852
1855
|
__metadata("design:type", Object)
|
|
1853
1856
|
], RenderHintsOverride.prototype, "propertyHints", void 0);
|
|
1854
|
-
RenderHintsOverride = __decorate([
|
|
1857
|
+
exports.RenderHintsOverride = RenderHintsOverride = __decorate([
|
|
1855
1858
|
(0, ts_serval_1.type)("RenderHintsOverride")
|
|
1856
1859
|
], RenderHintsOverride);
|
|
1857
|
-
exports.RenderHintsOverride = RenderHintsOverride;
|
|
1858
1860
|
//# sourceMappingURL=RenderHints.js.map
|
|
1859
1861
|
|
|
1860
1862
|
/***/ }),
|
|
@@ -1888,7 +1890,7 @@ var RenderHintsDataType;
|
|
|
1888
1890
|
RenderHintsDataType["Month"] = "Month";
|
|
1889
1891
|
RenderHintsDataType["Year"] = "Year";
|
|
1890
1892
|
RenderHintsDataType["XML"] = "XML";
|
|
1891
|
-
})(RenderHintsDataType
|
|
1893
|
+
})(RenderHintsDataType || (exports.RenderHintsDataType = RenderHintsDataType = {}));
|
|
1892
1894
|
//# sourceMappingURL=RenderHintsDataType.js.map
|
|
1893
1895
|
|
|
1894
1896
|
/***/ }),
|
|
@@ -1913,7 +1915,7 @@ var RenderHintsEditType;
|
|
|
1913
1915
|
RenderHintsEditType["Secret"] = "Secret";
|
|
1914
1916
|
RenderHintsEditType["TextArea"] = "TextArea";
|
|
1915
1917
|
RenderHintsEditType["Upload"] = "Upload";
|
|
1916
|
-
})(RenderHintsEditType
|
|
1918
|
+
})(RenderHintsEditType || (exports.RenderHintsEditType = RenderHintsEditType = {}));
|
|
1917
1919
|
//# sourceMappingURL=RenderHintsEditType.js.map
|
|
1918
1920
|
|
|
1919
1921
|
/***/ }),
|
|
@@ -1935,7 +1937,7 @@ var RenderHintsTechnicalType;
|
|
|
1935
1937
|
RenderHintsTechnicalType["Object"] = "Object";
|
|
1936
1938
|
RenderHintsTechnicalType["String"] = "String";
|
|
1937
1939
|
RenderHintsTechnicalType["Unknown"] = "Unknown";
|
|
1938
|
-
})(RenderHintsTechnicalType
|
|
1940
|
+
})(RenderHintsTechnicalType || (exports.RenderHintsTechnicalType = RenderHintsTechnicalType = {}));
|
|
1939
1941
|
//# sourceMappingURL=RenderHintsTechnicalType.js.map
|
|
1940
1942
|
|
|
1941
1943
|
/***/ }),
|
|
@@ -2002,6 +2004,7 @@ let ValueHints = ValueHints_1 = class ValueHints extends ts_serval_1.Serializabl
|
|
|
2002
2004
|
return ValueHints_1.from({ ...this.toJSON(), ...overrideJson, propertyHints });
|
|
2003
2005
|
}
|
|
2004
2006
|
};
|
|
2007
|
+
exports.ValueHints = ValueHints;
|
|
2005
2008
|
__decorate([
|
|
2006
2009
|
(0, ts_serval_1.serialize)(),
|
|
2007
2010
|
(0, ts_serval_1.validate)({ nullable: true, max: 500 }),
|
|
@@ -2037,10 +2040,9 @@ __decorate([
|
|
|
2037
2040
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2038
2041
|
__metadata("design:type", Object)
|
|
2039
2042
|
], ValueHints.prototype, "propertyHints", void 0);
|
|
2040
|
-
ValueHints = ValueHints_1 = __decorate([
|
|
2043
|
+
exports.ValueHints = ValueHints = ValueHints_1 = __decorate([
|
|
2041
2044
|
(0, ts_serval_1.type)("ValueHints")
|
|
2042
2045
|
], ValueHints);
|
|
2043
|
-
exports.ValueHints = ValueHints;
|
|
2044
2046
|
let ValueHintsOverride = class ValueHintsOverride extends ts_serval_1.Serializable {
|
|
2045
2047
|
static from(value) {
|
|
2046
2048
|
return this.fromAny(value);
|
|
@@ -2055,6 +2057,7 @@ let ValueHintsOverride = class ValueHintsOverride extends ts_serval_1.Serializab
|
|
|
2055
2057
|
return json;
|
|
2056
2058
|
}
|
|
2057
2059
|
};
|
|
2060
|
+
exports.ValueHintsOverride = ValueHintsOverride;
|
|
2058
2061
|
__decorate([
|
|
2059
2062
|
(0, ts_serval_1.serialize)(),
|
|
2060
2063
|
(0, ts_serval_1.validate)({ nullable: true, max: 500 }),
|
|
@@ -2090,10 +2093,9 @@ __decorate([
|
|
|
2090
2093
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2091
2094
|
__metadata("design:type", Object)
|
|
2092
2095
|
], ValueHintsOverride.prototype, "propertyHints", void 0);
|
|
2093
|
-
ValueHintsOverride = __decorate([
|
|
2096
|
+
exports.ValueHintsOverride = ValueHintsOverride = __decorate([
|
|
2094
2097
|
(0, ts_serval_1.type)("ValueHintsOverride")
|
|
2095
2098
|
], ValueHintsOverride);
|
|
2096
|
-
exports.ValueHintsOverride = ValueHintsOverride;
|
|
2097
2099
|
//# sourceMappingURL=ValueHints.js.map
|
|
2098
2100
|
|
|
2099
2101
|
/***/ }),
|
|
@@ -2114,11 +2116,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
2114
2116
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
2115
2117
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2116
2118
|
};
|
|
2117
|
-
var ValueHintsValue_1;
|
|
2118
2119
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2119
2120
|
exports.ValueHintsValue = void 0;
|
|
2120
2121
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
2121
|
-
let ValueHintsValue =
|
|
2122
|
+
let ValueHintsValue = class ValueHintsValue extends ts_serval_1.Serializable {
|
|
2122
2123
|
static from(value) {
|
|
2123
2124
|
return this.fromAny(value);
|
|
2124
2125
|
}
|
|
@@ -2129,6 +2130,7 @@ let ValueHintsValue = ValueHintsValue_1 = class ValueHintsValue extends ts_serva
|
|
|
2129
2130
|
return undefined;
|
|
2130
2131
|
}
|
|
2131
2132
|
};
|
|
2133
|
+
exports.ValueHintsValue = ValueHintsValue;
|
|
2132
2134
|
__decorate([
|
|
2133
2135
|
(0, ts_serval_1.serialize)(),
|
|
2134
2136
|
(0, ts_serval_1.validate)({ max: 100 }),
|
|
@@ -2137,15 +2139,14 @@ __decorate([
|
|
|
2137
2139
|
__decorate([
|
|
2138
2140
|
(0, ts_serval_1.validate)({
|
|
2139
2141
|
allowedTypes: [ts_serval_1.PrimitiveType.String, ts_serval_1.PrimitiveType.Number, ts_serval_1.PrimitiveType.Boolean],
|
|
2140
|
-
customValidator:
|
|
2142
|
+
customValidator: ValueHintsValue.validateKey
|
|
2141
2143
|
}),
|
|
2142
2144
|
(0, ts_serval_1.serialize)(),
|
|
2143
2145
|
__metadata("design:type", Object)
|
|
2144
2146
|
], ValueHintsValue.prototype, "key", void 0);
|
|
2145
|
-
ValueHintsValue =
|
|
2147
|
+
exports.ValueHintsValue = ValueHintsValue = __decorate([
|
|
2146
2148
|
(0, ts_serval_1.type)("ValueHintsValue")
|
|
2147
2149
|
], ValueHintsValue);
|
|
2148
|
-
exports.ValueHintsValue = ValueHintsValue;
|
|
2149
2150
|
//# sourceMappingURL=ValueHintsValue.js.map
|
|
2150
2151
|
|
|
2151
2152
|
/***/ }),
|
|
@@ -2263,12 +2264,12 @@ class AbstractBoolean extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
2263
2264
|
});
|
|
2264
2265
|
}
|
|
2265
2266
|
}
|
|
2267
|
+
exports.AbstractBoolean = AbstractBoolean;
|
|
2266
2268
|
__decorate([
|
|
2267
2269
|
(0, ts_serval_1.serialize)(),
|
|
2268
2270
|
(0, ts_serval_1.validate)(),
|
|
2269
2271
|
__metadata("design:type", Boolean)
|
|
2270
2272
|
], AbstractBoolean.prototype, "value", void 0);
|
|
2271
|
-
exports.AbstractBoolean = AbstractBoolean;
|
|
2272
2273
|
//# sourceMappingURL=AbstractBoolean.js.map
|
|
2273
2274
|
|
|
2274
2275
|
/***/ }),
|
|
@@ -2313,12 +2314,12 @@ class AbstractFloat extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
2313
2314
|
});
|
|
2314
2315
|
}
|
|
2315
2316
|
}
|
|
2317
|
+
exports.AbstractFloat = AbstractFloat;
|
|
2316
2318
|
__decorate([
|
|
2317
2319
|
(0, ts_serval_1.serialize)(),
|
|
2318
2320
|
(0, ts_serval_1.validate)(),
|
|
2319
2321
|
__metadata("design:type", Number)
|
|
2320
2322
|
], AbstractFloat.prototype, "value", void 0);
|
|
2321
|
-
exports.AbstractFloat = AbstractFloat;
|
|
2322
2323
|
//# sourceMappingURL=AbstractFloat.js.map
|
|
2323
2324
|
|
|
2324
2325
|
/***/ }),
|
|
@@ -2363,12 +2364,12 @@ class AbstractInteger extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
2363
2364
|
});
|
|
2364
2365
|
}
|
|
2365
2366
|
}
|
|
2367
|
+
exports.AbstractInteger = AbstractInteger;
|
|
2366
2368
|
__decorate([
|
|
2367
2369
|
(0, ts_serval_1.serialize)(),
|
|
2368
2370
|
(0, ts_serval_1.validate)({ customValidator: (v) => (!Number.isInteger(v) ? "must be an integer" : undefined) }),
|
|
2369
2371
|
__metadata("design:type", Number)
|
|
2370
2372
|
], AbstractInteger.prototype, "value", void 0);
|
|
2371
|
-
exports.AbstractInteger = AbstractInteger;
|
|
2372
2373
|
//# sourceMappingURL=AbstractInteger.js.map
|
|
2373
2374
|
|
|
2374
2375
|
/***/ }),
|
|
@@ -2415,12 +2416,12 @@ class AbstractString extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
2415
2416
|
});
|
|
2416
2417
|
}
|
|
2417
2418
|
}
|
|
2419
|
+
exports.AbstractString = AbstractString;
|
|
2418
2420
|
__decorate([
|
|
2419
2421
|
(0, ts_serval_1.serialize)(),
|
|
2420
2422
|
(0, ts_serval_1.validate)({ max: 100 }),
|
|
2421
2423
|
__metadata("design:type", String)
|
|
2422
2424
|
], AbstractString.prototype, "value", void 0);
|
|
2423
|
-
exports.AbstractString = AbstractString;
|
|
2424
2425
|
//# sourceMappingURL=AbstractString.js.map
|
|
2425
2426
|
|
|
2426
2427
|
/***/ }),
|
|
@@ -2469,13 +2470,13 @@ class AbstractAddress extends AbstractComplexValue_1.AbstractComplexValue {
|
|
|
2469
2470
|
});
|
|
2470
2471
|
}
|
|
2471
2472
|
}
|
|
2473
|
+
exports.AbstractAddress = AbstractAddress;
|
|
2472
2474
|
AbstractAddress.propertyNames = (0, easy_tsnameof_1.default)();
|
|
2473
2475
|
__decorate([
|
|
2474
2476
|
(0, ts_serval_1.serialize)(),
|
|
2475
2477
|
(0, ts_serval_1.validate)({ max: 100 }),
|
|
2476
2478
|
__metadata("design:type", String)
|
|
2477
2479
|
], AbstractAddress.prototype, "recipient", void 0);
|
|
2478
|
-
exports.AbstractAddress = AbstractAddress;
|
|
2479
2480
|
//# sourceMappingURL=AbstractAddress.js.map
|
|
2480
2481
|
|
|
2481
2482
|
/***/ }),
|
|
@@ -2502,10 +2503,10 @@ let City = class City extends AbstractString_1.AbstractString {
|
|
|
2502
2503
|
return this.fromAny(value);
|
|
2503
2504
|
}
|
|
2504
2505
|
};
|
|
2505
|
-
City =
|
|
2506
|
+
exports.City = City;
|
|
2507
|
+
exports.City = City = __decorate([
|
|
2506
2508
|
(0, ts_serval_1.type)("City")
|
|
2507
2509
|
], City);
|
|
2508
|
-
exports.City = City;
|
|
2509
2510
|
//# sourceMappingURL=City.js.map
|
|
2510
2511
|
|
|
2511
2512
|
/***/ }),
|
|
@@ -2532,10 +2533,10 @@ let Country = class Country extends strings_1.AbstractCountry {
|
|
|
2532
2533
|
return this.fromAny(value);
|
|
2533
2534
|
}
|
|
2534
2535
|
};
|
|
2535
|
-
Country =
|
|
2536
|
+
exports.Country = Country;
|
|
2537
|
+
exports.Country = Country = __decorate([
|
|
2536
2538
|
(0, ts_serval_1.type)("Country")
|
|
2537
2539
|
], Country);
|
|
2538
|
-
exports.Country = Country;
|
|
2539
2540
|
//# sourceMappingURL=Country.js.map
|
|
2540
2541
|
|
|
2541
2542
|
/***/ }),
|
|
@@ -2628,6 +2629,7 @@ let DeliveryBoxAddress = class DeliveryBoxAddress extends AbstractAddress_1.Abst
|
|
|
2628
2629
|
return super.toJSON(verbose, serializeAsString);
|
|
2629
2630
|
}
|
|
2630
2631
|
};
|
|
2632
|
+
exports.DeliveryBoxAddress = DeliveryBoxAddress;
|
|
2631
2633
|
DeliveryBoxAddress.propertyNames = (0, easy_tsnameof_1.default)();
|
|
2632
2634
|
__decorate([
|
|
2633
2635
|
(0, ts_serval_1.serialize)(),
|
|
@@ -2664,10 +2666,9 @@ __decorate([
|
|
|
2664
2666
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2665
2667
|
__metadata("design:type", State_1.State)
|
|
2666
2668
|
], DeliveryBoxAddress.prototype, "state", void 0);
|
|
2667
|
-
DeliveryBoxAddress = __decorate([
|
|
2669
|
+
exports.DeliveryBoxAddress = DeliveryBoxAddress = __decorate([
|
|
2668
2670
|
(0, ts_serval_1.type)("DeliveryBoxAddress")
|
|
2669
2671
|
], DeliveryBoxAddress);
|
|
2670
|
-
exports.DeliveryBoxAddress = DeliveryBoxAddress;
|
|
2671
2672
|
//# sourceMappingURL=DeliveryBoxAddress.js.map
|
|
2672
2673
|
|
|
2673
2674
|
/***/ }),
|
|
@@ -2697,10 +2698,10 @@ let HouseNumber = class HouseNumber extends AbstractString_1.AbstractString {
|
|
|
2697
2698
|
return super.toJSON(verbose, serializeAsString);
|
|
2698
2699
|
}
|
|
2699
2700
|
};
|
|
2700
|
-
HouseNumber =
|
|
2701
|
+
exports.HouseNumber = HouseNumber;
|
|
2702
|
+
exports.HouseNumber = HouseNumber = __decorate([
|
|
2701
2703
|
(0, ts_serval_1.type)("HouseNumber")
|
|
2702
2704
|
], HouseNumber);
|
|
2703
|
-
exports.HouseNumber = HouseNumber;
|
|
2704
2705
|
//# sourceMappingURL=HouseNumber.js.map
|
|
2705
2706
|
|
|
2706
2707
|
/***/ }),
|
|
@@ -2781,6 +2782,7 @@ let PostOfficeBoxAddress = class PostOfficeBoxAddress extends AbstractAddress_1.
|
|
|
2781
2782
|
return super.toJSON(verbose, serializeAsString);
|
|
2782
2783
|
}
|
|
2783
2784
|
};
|
|
2785
|
+
exports.PostOfficeBoxAddress = PostOfficeBoxAddress;
|
|
2784
2786
|
PostOfficeBoxAddress.propertyNames = (0, easy_tsnameof_1.default)();
|
|
2785
2787
|
__decorate([
|
|
2786
2788
|
(0, ts_serval_1.serialize)(),
|
|
@@ -2807,10 +2809,9 @@ __decorate([
|
|
|
2807
2809
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2808
2810
|
__metadata("design:type", State_1.State)
|
|
2809
2811
|
], PostOfficeBoxAddress.prototype, "state", void 0);
|
|
2810
|
-
PostOfficeBoxAddress = __decorate([
|
|
2812
|
+
exports.PostOfficeBoxAddress = PostOfficeBoxAddress = __decorate([
|
|
2811
2813
|
(0, ts_serval_1.type)("PostOfficeBoxAddress")
|
|
2812
2814
|
], PostOfficeBoxAddress);
|
|
2813
|
-
exports.PostOfficeBoxAddress = PostOfficeBoxAddress;
|
|
2814
2815
|
//# sourceMappingURL=PostOfficeBoxAddress.js.map
|
|
2815
2816
|
|
|
2816
2817
|
/***/ }),
|
|
@@ -2837,10 +2838,10 @@ let State = class State extends AbstractString_1.AbstractString {
|
|
|
2837
2838
|
return this.fromAny(value);
|
|
2838
2839
|
}
|
|
2839
2840
|
};
|
|
2840
|
-
State =
|
|
2841
|
+
exports.State = State;
|
|
2842
|
+
exports.State = State = __decorate([
|
|
2841
2843
|
(0, ts_serval_1.type)("State")
|
|
2842
2844
|
], State);
|
|
2843
|
-
exports.State = State;
|
|
2844
2845
|
//# sourceMappingURL=State.js.map
|
|
2845
2846
|
|
|
2846
2847
|
/***/ }),
|
|
@@ -2870,10 +2871,10 @@ let Street = class Street extends AbstractString_1.AbstractString {
|
|
|
2870
2871
|
return super.toJSON(verbose, serializeAsString);
|
|
2871
2872
|
}
|
|
2872
2873
|
};
|
|
2873
|
-
Street =
|
|
2874
|
+
exports.Street = Street;
|
|
2875
|
+
exports.Street = Street = __decorate([
|
|
2874
2876
|
(0, ts_serval_1.type)("Street")
|
|
2875
2877
|
], Street);
|
|
2876
|
-
exports.Street = Street;
|
|
2877
2878
|
//# sourceMappingURL=Street.js.map
|
|
2878
2879
|
|
|
2879
2880
|
/***/ }),
|
|
@@ -2951,6 +2952,7 @@ let StreetAddress = class StreetAddress extends AbstractAddress_1.AbstractAddres
|
|
|
2951
2952
|
return super.toJSON(verbose, serializeAsString);
|
|
2952
2953
|
}
|
|
2953
2954
|
};
|
|
2955
|
+
exports.StreetAddress = StreetAddress;
|
|
2954
2956
|
StreetAddress.propertyNames = (0, easy_tsnameof_1.nameOf)();
|
|
2955
2957
|
__decorate([
|
|
2956
2958
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
@@ -2982,10 +2984,9 @@ __decorate([
|
|
|
2982
2984
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2983
2985
|
__metadata("design:type", State_1.State)
|
|
2984
2986
|
], StreetAddress.prototype, "state", void 0);
|
|
2985
|
-
StreetAddress = __decorate([
|
|
2987
|
+
exports.StreetAddress = StreetAddress = __decorate([
|
|
2986
2988
|
(0, ts_serval_1.type)("StreetAddress")
|
|
2987
2989
|
], StreetAddress);
|
|
2988
|
-
exports.StreetAddress = StreetAddress;
|
|
2989
2990
|
//# sourceMappingURL=StreetAddress.js.map
|
|
2990
2991
|
|
|
2991
2992
|
/***/ }),
|
|
@@ -3015,10 +3016,10 @@ let ZipCode = class ZipCode extends AbstractString_1.AbstractString {
|
|
|
3015
3016
|
return super.toJSON(verbose, serializeAsString);
|
|
3016
3017
|
}
|
|
3017
3018
|
};
|
|
3018
|
-
ZipCode =
|
|
3019
|
+
exports.ZipCode = ZipCode;
|
|
3020
|
+
exports.ZipCode = ZipCode = __decorate([
|
|
3019
3021
|
(0, ts_serval_1.type)("ZipCode")
|
|
3020
3022
|
], ZipCode);
|
|
3021
|
-
exports.ZipCode = ZipCode;
|
|
3022
3023
|
//# sourceMappingURL=ZipCode.js.map
|
|
3023
3024
|
|
|
3024
3025
|
/***/ }),
|
|
@@ -3124,6 +3125,7 @@ let Affiliation = class Affiliation extends AbstractComplexValue_1.AbstractCompl
|
|
|
3124
3125
|
return super.toJSON(verbose, serializeAsString);
|
|
3125
3126
|
}
|
|
3126
3127
|
};
|
|
3128
|
+
exports.Affiliation = Affiliation;
|
|
3127
3129
|
Affiliation.propertyNames = (0, easy_tsnameof_1.default)();
|
|
3128
3130
|
__decorate([
|
|
3129
3131
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
@@ -3140,10 +3142,9 @@ __decorate([
|
|
|
3140
3142
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
3141
3143
|
__metadata("design:type", AffiliationUnit_1.AffiliationUnit)
|
|
3142
3144
|
], Affiliation.prototype, "unit", void 0);
|
|
3143
|
-
Affiliation = __decorate([
|
|
3145
|
+
exports.Affiliation = Affiliation = __decorate([
|
|
3144
3146
|
(0, ts_serval_1.type)("Affiliation")
|
|
3145
3147
|
], Affiliation);
|
|
3146
|
-
exports.Affiliation = Affiliation;
|
|
3147
3148
|
//# sourceMappingURL=Affiliation.js.map
|
|
3148
3149
|
|
|
3149
3150
|
/***/ }),
|
|
@@ -3173,10 +3174,10 @@ let AffiliationOrganization = class AffiliationOrganization extends AbstractStri
|
|
|
3173
3174
|
return super.toJSON(verbose, serializeAsString);
|
|
3174
3175
|
}
|
|
3175
3176
|
};
|
|
3176
|
-
AffiliationOrganization =
|
|
3177
|
+
exports.AffiliationOrganization = AffiliationOrganization;
|
|
3178
|
+
exports.AffiliationOrganization = AffiliationOrganization = __decorate([
|
|
3177
3179
|
(0, ts_serval_1.type)("AffiliationOrganization")
|
|
3178
3180
|
], AffiliationOrganization);
|
|
3179
|
-
exports.AffiliationOrganization = AffiliationOrganization;
|
|
3180
3181
|
//# sourceMappingURL=AffiliationOrganization.js.map
|
|
3181
3182
|
|
|
3182
3183
|
/***/ }),
|
|
@@ -3206,10 +3207,10 @@ let AffiliationRole = class AffiliationRole extends AbstractString_1.AbstractStr
|
|
|
3206
3207
|
return super.toJSON(verbose, serializeAsString);
|
|
3207
3208
|
}
|
|
3208
3209
|
};
|
|
3209
|
-
AffiliationRole =
|
|
3210
|
+
exports.AffiliationRole = AffiliationRole;
|
|
3211
|
+
exports.AffiliationRole = AffiliationRole = __decorate([
|
|
3210
3212
|
(0, ts_serval_1.type)("AffiliationRole")
|
|
3211
3213
|
], AffiliationRole);
|
|
3212
|
-
exports.AffiliationRole = AffiliationRole;
|
|
3213
3214
|
//# sourceMappingURL=AffiliationRole.js.map
|
|
3214
3215
|
|
|
3215
3216
|
/***/ }),
|
|
@@ -3239,10 +3240,10 @@ let AffiliationUnit = class AffiliationUnit extends AbstractString_1.AbstractStr
|
|
|
3239
3240
|
return super.toJSON(verbose, serializeAsString);
|
|
3240
3241
|
}
|
|
3241
3242
|
};
|
|
3242
|
-
AffiliationUnit =
|
|
3243
|
+
exports.AffiliationUnit = AffiliationUnit;
|
|
3244
|
+
exports.AffiliationUnit = AffiliationUnit = __decorate([
|
|
3243
3245
|
(0, ts_serval_1.type)("AffiliationUnit")
|
|
3244
3246
|
], AffiliationUnit);
|
|
3245
|
-
exports.AffiliationUnit = AffiliationUnit;
|
|
3246
3247
|
//# sourceMappingURL=AffiliationUnit.js.map
|
|
3247
3248
|
|
|
3248
3249
|
/***/ }),
|
|
@@ -3302,10 +3303,10 @@ let BirthCity = class BirthCity extends address_1.City {
|
|
|
3302
3303
|
return super.toJSON(verbose, serializeAsString);
|
|
3303
3304
|
}
|
|
3304
3305
|
};
|
|
3305
|
-
BirthCity =
|
|
3306
|
+
exports.BirthCity = BirthCity;
|
|
3307
|
+
exports.BirthCity = BirthCity = __decorate([
|
|
3306
3308
|
(0, ts_serval_1.type)("BirthCity")
|
|
3307
3309
|
], BirthCity);
|
|
3308
|
-
exports.BirthCity = BirthCity;
|
|
3309
3310
|
//# sourceMappingURL=BirthCity.js.map
|
|
3310
3311
|
|
|
3311
3312
|
/***/ }),
|
|
@@ -3335,10 +3336,10 @@ let BirthCountry = class BirthCountry extends address_1.Country {
|
|
|
3335
3336
|
return super.toJSON(verbose, serializeAsString);
|
|
3336
3337
|
}
|
|
3337
3338
|
};
|
|
3338
|
-
BirthCountry =
|
|
3339
|
+
exports.BirthCountry = BirthCountry;
|
|
3340
|
+
exports.BirthCountry = BirthCountry = __decorate([
|
|
3339
3341
|
(0, ts_serval_1.type)("BirthCountry")
|
|
3340
3342
|
], BirthCountry);
|
|
3341
|
-
exports.BirthCountry = BirthCountry;
|
|
3342
3343
|
//# sourceMappingURL=BirthCountry.js.map
|
|
3343
3344
|
|
|
3344
3345
|
/***/ }),
|
|
@@ -3406,6 +3407,7 @@ let BirthDate = class BirthDate extends AbstractComplexValue_1.AbstractComplexVa
|
|
|
3406
3407
|
return super.toJSON(verbose, serializeAsString);
|
|
3407
3408
|
}
|
|
3408
3409
|
};
|
|
3410
|
+
exports.BirthDate = BirthDate;
|
|
3409
3411
|
BirthDate.propertyNames = (0, easy_tsnameof_1.default)();
|
|
3410
3412
|
__decorate([
|
|
3411
3413
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
@@ -3422,10 +3424,9 @@ __decorate([
|
|
|
3422
3424
|
(0, ts_serval_1.validate)(),
|
|
3423
3425
|
__metadata("design:type", BirthYear_1.BirthYear)
|
|
3424
3426
|
], BirthDate.prototype, "year", void 0);
|
|
3425
|
-
BirthDate = __decorate([
|
|
3427
|
+
exports.BirthDate = BirthDate = __decorate([
|
|
3426
3428
|
(0, ts_serval_1.type)("BirthDate")
|
|
3427
3429
|
], BirthDate);
|
|
3428
|
-
exports.BirthDate = BirthDate;
|
|
3429
3430
|
//# sourceMappingURL=BirthDate.js.map
|
|
3430
3431
|
|
|
3431
3432
|
/***/ }),
|
|
@@ -3455,10 +3456,10 @@ let BirthDay = class BirthDay extends dates_1.AbstractDay {
|
|
|
3455
3456
|
return super.toJSON(verbose, serializeAsString);
|
|
3456
3457
|
}
|
|
3457
3458
|
};
|
|
3458
|
-
BirthDay =
|
|
3459
|
+
exports.BirthDay = BirthDay;
|
|
3460
|
+
exports.BirthDay = BirthDay = __decorate([
|
|
3459
3461
|
(0, ts_serval_1.type)("BirthDay")
|
|
3460
3462
|
], BirthDay);
|
|
3461
|
-
exports.BirthDay = BirthDay;
|
|
3462
3463
|
//# sourceMappingURL=BirthDay.js.map
|
|
3463
3464
|
|
|
3464
3465
|
/***/ }),
|
|
@@ -3493,10 +3494,10 @@ let BirthMonth = class BirthMonth extends AbstractMonth_1.AbstractMonth {
|
|
|
3493
3494
|
return super.toJSON(verbose, serializeAsString);
|
|
3494
3495
|
}
|
|
3495
3496
|
};
|
|
3496
|
-
BirthMonth =
|
|
3497
|
+
exports.BirthMonth = BirthMonth;
|
|
3498
|
+
exports.BirthMonth = BirthMonth = __decorate([
|
|
3497
3499
|
(0, ts_serval_1.type)("BirthMonth")
|
|
3498
3500
|
], BirthMonth);
|
|
3499
|
-
exports.BirthMonth = BirthMonth;
|
|
3500
3501
|
//# sourceMappingURL=BirthMonth.js.map
|
|
3501
3502
|
|
|
3502
3503
|
/***/ }),
|
|
@@ -3564,6 +3565,7 @@ let BirthPlace = class BirthPlace extends AbstractComplexValue_1.AbstractComplex
|
|
|
3564
3565
|
return super.toJSON(verbose, serializeAsString);
|
|
3565
3566
|
}
|
|
3566
3567
|
};
|
|
3568
|
+
exports.BirthPlace = BirthPlace;
|
|
3567
3569
|
BirthPlace.propertyNames = (0, easy_tsnameof_1.default)();
|
|
3568
3570
|
__decorate([
|
|
3569
3571
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
@@ -3580,10 +3582,9 @@ __decorate([
|
|
|
3580
3582
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
3581
3583
|
__metadata("design:type", BirthState_1.BirthState)
|
|
3582
3584
|
], BirthPlace.prototype, "state", void 0);
|
|
3583
|
-
BirthPlace = __decorate([
|
|
3585
|
+
exports.BirthPlace = BirthPlace = __decorate([
|
|
3584
3586
|
(0, ts_serval_1.type)("BirthPlace")
|
|
3585
3587
|
], BirthPlace);
|
|
3586
|
-
exports.BirthPlace = BirthPlace;
|
|
3587
3588
|
//# sourceMappingURL=BirthPlace.js.map
|
|
3588
3589
|
|
|
3589
3590
|
/***/ }),
|
|
@@ -3613,10 +3614,10 @@ let BirthState = class BirthState extends address_1.State {
|
|
|
3613
3614
|
return super.toJSON(verbose, serializeAsString);
|
|
3614
3615
|
}
|
|
3615
3616
|
};
|
|
3616
|
-
BirthState =
|
|
3617
|
+
exports.BirthState = BirthState;
|
|
3618
|
+
exports.BirthState = BirthState = __decorate([
|
|
3617
3619
|
(0, ts_serval_1.type)("BirthState")
|
|
3618
3620
|
], BirthState);
|
|
3619
|
-
exports.BirthState = BirthState;
|
|
3620
3621
|
//# sourceMappingURL=BirthState.js.map
|
|
3621
3622
|
|
|
3622
3623
|
/***/ }),
|
|
@@ -3646,10 +3647,10 @@ let BirthYear = class BirthYear extends dates_1.AbstractYear {
|
|
|
3646
3647
|
return super.toJSON(verbose, serializeAsString);
|
|
3647
3648
|
}
|
|
3648
3649
|
};
|
|
3649
|
-
BirthYear =
|
|
3650
|
+
exports.BirthYear = BirthYear;
|
|
3651
|
+
exports.BirthYear = BirthYear = __decorate([
|
|
3650
3652
|
(0, ts_serval_1.type)("BirthYear")
|
|
3651
3653
|
], BirthYear);
|
|
3652
|
-
exports.BirthYear = BirthYear;
|
|
3653
3654
|
//# sourceMappingURL=BirthYear.js.map
|
|
3654
3655
|
|
|
3655
3656
|
/***/ }),
|
|
@@ -3713,10 +3714,10 @@ let CommunicationLanguage = class CommunicationLanguage extends AbstractLanguage
|
|
|
3713
3714
|
return super.toJSON(verbose, serializeAsString);
|
|
3714
3715
|
}
|
|
3715
3716
|
};
|
|
3716
|
-
CommunicationLanguage =
|
|
3717
|
+
exports.CommunicationLanguage = CommunicationLanguage;
|
|
3718
|
+
exports.CommunicationLanguage = CommunicationLanguage = __decorate([
|
|
3717
3719
|
(0, ts_serval_1.type)("CommunicationLanguage")
|
|
3718
3720
|
], CommunicationLanguage);
|
|
3719
|
-
exports.CommunicationLanguage = CommunicationLanguage;
|
|
3720
3721
|
//# sourceMappingURL=CommunicationLanguage.js.map
|
|
3721
3722
|
|
|
3722
3723
|
/***/ }),
|
|
@@ -3746,10 +3747,10 @@ let EMailAddress = class EMailAddress extends AbstractEMailAddress_1.AbstractEMa
|
|
|
3746
3747
|
return super.toJSON(verbose, serializeAsString);
|
|
3747
3748
|
}
|
|
3748
3749
|
};
|
|
3749
|
-
EMailAddress =
|
|
3750
|
+
exports.EMailAddress = EMailAddress;
|
|
3751
|
+
exports.EMailAddress = EMailAddress = __decorate([
|
|
3750
3752
|
(0, ts_serval_1.type)("EMailAddress")
|
|
3751
3753
|
], EMailAddress);
|
|
3752
|
-
exports.EMailAddress = EMailAddress;
|
|
3753
3754
|
//# sourceMappingURL=EMailAddress.js.map
|
|
3754
3755
|
|
|
3755
3756
|
/***/ }),
|
|
@@ -3779,10 +3780,10 @@ let FaxNumber = class FaxNumber extends strings_1.AbstractPhoneNumber {
|
|
|
3779
3780
|
return super.toJSON(verbose, serializeAsString);
|
|
3780
3781
|
}
|
|
3781
3782
|
};
|
|
3782
|
-
FaxNumber =
|
|
3783
|
+
exports.FaxNumber = FaxNumber;
|
|
3784
|
+
exports.FaxNumber = FaxNumber = __decorate([
|
|
3783
3785
|
(0, ts_serval_1.type)("FaxNumber")
|
|
3784
3786
|
], FaxNumber);
|
|
3785
|
-
exports.FaxNumber = FaxNumber;
|
|
3786
3787
|
//# sourceMappingURL=FaxNumber.js.map
|
|
3787
3788
|
|
|
3788
3789
|
/***/ }),
|
|
@@ -3812,10 +3813,10 @@ let PhoneNumber = class PhoneNumber extends strings_1.AbstractPhoneNumber {
|
|
|
3812
3813
|
return super.toJSON(verbose, serializeAsString);
|
|
3813
3814
|
}
|
|
3814
3815
|
};
|
|
3815
|
-
PhoneNumber =
|
|
3816
|
+
exports.PhoneNumber = PhoneNumber;
|
|
3817
|
+
exports.PhoneNumber = PhoneNumber = __decorate([
|
|
3816
3818
|
(0, ts_serval_1.type)("PhoneNumber")
|
|
3817
3819
|
], PhoneNumber);
|
|
3818
|
-
exports.PhoneNumber = PhoneNumber;
|
|
3819
3820
|
//# sourceMappingURL=PhoneNumber.js.map
|
|
3820
3821
|
|
|
3821
3822
|
/***/ }),
|
|
@@ -3845,10 +3846,10 @@ let Website = class Website extends strings_1.AbstractURL {
|
|
|
3845
3846
|
return super.toJSON(verbose, serializeAsString);
|
|
3846
3847
|
}
|
|
3847
3848
|
};
|
|
3848
|
-
Website =
|
|
3849
|
+
exports.Website = Website;
|
|
3850
|
+
exports.Website = Website = __decorate([
|
|
3849
3851
|
(0, ts_serval_1.type)("Website")
|
|
3850
3852
|
], Website);
|
|
3851
|
-
exports.Website = Website;
|
|
3852
3853
|
//# sourceMappingURL=Website.js.map
|
|
3853
3854
|
|
|
3854
3855
|
/***/ }),
|
|
@@ -3920,6 +3921,7 @@ class AbstractDateString extends AbstractString_1.AbstractString {
|
|
|
3920
3921
|
});
|
|
3921
3922
|
}
|
|
3922
3923
|
}
|
|
3924
|
+
exports.AbstractDateString = AbstractDateString;
|
|
3923
3925
|
AbstractDateString.format = "yyyy-MM-dd";
|
|
3924
3926
|
__decorate([
|
|
3925
3927
|
(0, ts_serval_1.serialize)(),
|
|
@@ -3932,7 +3934,6 @@ __decorate([
|
|
|
3932
3934
|
}),
|
|
3933
3935
|
__metadata("design:type", String)
|
|
3934
3936
|
], AbstractDateString.prototype, "value", void 0);
|
|
3935
|
-
exports.AbstractDateString = AbstractDateString;
|
|
3936
3937
|
//# sourceMappingURL=AbstractDateString.js.map
|
|
3937
3938
|
|
|
3938
3939
|
/***/ }),
|
|
@@ -3975,6 +3976,7 @@ class AbstractDay extends AbstractInteger_1.AbstractInteger {
|
|
|
3975
3976
|
});
|
|
3976
3977
|
}
|
|
3977
3978
|
}
|
|
3979
|
+
exports.AbstractDay = AbstractDay;
|
|
3978
3980
|
__decorate([
|
|
3979
3981
|
(0, ts_serval_1.serialize)(),
|
|
3980
3982
|
(0, ts_serval_1.validate)({
|
|
@@ -3982,7 +3984,6 @@ __decorate([
|
|
|
3982
3984
|
}),
|
|
3983
3985
|
__metadata("design:type", Number)
|
|
3984
3986
|
], AbstractDay.prototype, "value", void 0);
|
|
3985
|
-
exports.AbstractDay = AbstractDay;
|
|
3986
3987
|
//# sourceMappingURL=AbstractDay.js.map
|
|
3987
3988
|
|
|
3988
3989
|
/***/ }),
|
|
@@ -4043,6 +4044,7 @@ class AbstractMonth extends AbstractInteger_1.AbstractInteger {
|
|
|
4043
4044
|
});
|
|
4044
4045
|
}
|
|
4045
4046
|
}
|
|
4047
|
+
exports.AbstractMonth = AbstractMonth;
|
|
4046
4048
|
__decorate([
|
|
4047
4049
|
(0, ts_serval_1.serialize)(),
|
|
4048
4050
|
(0, ts_serval_1.validate)({
|
|
@@ -4052,7 +4054,6 @@ __decorate([
|
|
|
4052
4054
|
}),
|
|
4053
4055
|
__metadata("design:type", Number)
|
|
4054
4056
|
], AbstractMonth.prototype, "value", void 0);
|
|
4055
|
-
exports.AbstractMonth = AbstractMonth;
|
|
4056
4057
|
//# sourceMappingURL=AbstractMonth.js.map
|
|
4057
4058
|
|
|
4058
4059
|
/***/ }),
|
|
@@ -4092,6 +4093,7 @@ class AbstractYear extends AbstractInteger_1.AbstractInteger {
|
|
|
4092
4093
|
});
|
|
4093
4094
|
}
|
|
4094
4095
|
}
|
|
4096
|
+
exports.AbstractYear = AbstractYear;
|
|
4095
4097
|
__decorate([
|
|
4096
4098
|
(0, ts_serval_1.serialize)(),
|
|
4097
4099
|
(0, ts_serval_1.validate)({
|
|
@@ -4099,7 +4101,6 @@ __decorate([
|
|
|
4099
4101
|
}),
|
|
4100
4102
|
__metadata("design:type", Number)
|
|
4101
4103
|
], AbstractYear.prototype, "value", void 0);
|
|
4102
|
-
exports.AbstractYear = AbstractYear;
|
|
4103
4104
|
//# sourceMappingURL=AbstractYear.js.map
|
|
4104
4105
|
|
|
4105
4106
|
/***/ }),
|
|
@@ -4159,10 +4160,10 @@ let DisplayName = class DisplayName extends AbstractString_1.AbstractString {
|
|
|
4159
4160
|
return super.toJSON(verbose, serializeAsString);
|
|
4160
4161
|
}
|
|
4161
4162
|
};
|
|
4162
|
-
DisplayName =
|
|
4163
|
+
exports.DisplayName = DisplayName;
|
|
4164
|
+
exports.DisplayName = DisplayName = __decorate([
|
|
4163
4165
|
(0, ts_serval_1.type)("DisplayName")
|
|
4164
4166
|
], DisplayName);
|
|
4165
|
-
exports.DisplayName = DisplayName;
|
|
4166
4167
|
//# sourceMappingURL=DisplayName.js.map
|
|
4167
4168
|
|
|
4168
4169
|
/***/ }),
|
|
@@ -4192,10 +4193,10 @@ let IdentityFileReference = class IdentityFileReference extends strings_1.Abstra
|
|
|
4192
4193
|
return super.toJSON(verbose, serializeAsString);
|
|
4193
4194
|
}
|
|
4194
4195
|
};
|
|
4195
|
-
IdentityFileReference =
|
|
4196
|
+
exports.IdentityFileReference = IdentityFileReference;
|
|
4197
|
+
exports.IdentityFileReference = IdentityFileReference = __decorate([
|
|
4196
4198
|
(0, ts_serval_1.type)("IdentityFileReference")
|
|
4197
4199
|
], IdentityFileReference);
|
|
4198
|
-
exports.IdentityFileReference = IdentityFileReference;
|
|
4199
4200
|
//# sourceMappingURL=IdentityFileReference.js.map
|
|
4200
4201
|
|
|
4201
4202
|
/***/ }),
|
|
@@ -4228,6 +4229,7 @@ let SchematizedXML = class SchematizedXML extends AbstractXML_1.AbstractXML {
|
|
|
4228
4229
|
return super.toJSON(verbose, serializeAsString);
|
|
4229
4230
|
}
|
|
4230
4231
|
};
|
|
4232
|
+
exports.SchematizedXML = SchematizedXML;
|
|
4231
4233
|
__decorate([
|
|
4232
4234
|
(0, ts_serval_1.serialize)(),
|
|
4233
4235
|
(0, ts_serval_1.validate)({
|
|
@@ -4237,10 +4239,9 @@ __decorate([
|
|
|
4237
4239
|
}),
|
|
4238
4240
|
__metadata("design:type", String)
|
|
4239
4241
|
], SchematizedXML.prototype, "schemaURL", void 0);
|
|
4240
|
-
SchematizedXML = __decorate([
|
|
4242
|
+
exports.SchematizedXML = SchematizedXML = __decorate([
|
|
4241
4243
|
(0, ts_serval_1.type)("SchematizedXML")
|
|
4242
4244
|
], SchematizedXML);
|
|
4243
|
-
exports.SchematizedXML = SchematizedXML;
|
|
4244
4245
|
//# sourceMappingURL=SchematizedXML.js.map
|
|
4245
4246
|
|
|
4246
4247
|
/***/ }),
|
|
@@ -4311,6 +4312,7 @@ __exportStar(__webpack_require__(/*! ./name */ "./dist/attributes/types/name/ind
|
|
|
4311
4312
|
__exportStar(__webpack_require__(/*! ./person */ "./dist/attributes/types/person/index.js"), exports);
|
|
4312
4313
|
__exportStar(__webpack_require__(/*! ./proprietary */ "./dist/attributes/types/proprietary/index.js"), exports);
|
|
4313
4314
|
__exportStar(__webpack_require__(/*! ./relationship */ "./dist/attributes/types/relationship/index.js"), exports);
|
|
4315
|
+
__exportStar(__webpack_require__(/*! ./statement */ "./dist/attributes/types/statement/index.js"), exports);
|
|
4314
4316
|
__exportStar(__webpack_require__(/*! ./strings */ "./dist/attributes/types/strings/index.js"), exports);
|
|
4315
4317
|
//# sourceMappingURL=index.js.map
|
|
4316
4318
|
|
|
@@ -4351,7 +4353,7 @@ var LengthUnit;
|
|
|
4351
4353
|
LengthUnit["FT"] = "ft";
|
|
4352
4354
|
LengthUnit["SM"] = "sm";
|
|
4353
4355
|
LengthUnit["IN"] = "in";
|
|
4354
|
-
})(LengthUnit
|
|
4356
|
+
})(LengthUnit || (exports.LengthUnit = LengthUnit = {}));
|
|
4355
4357
|
class AbstractLengthMeasurement extends AbstractMeasurement_1.AbstractMeasurement {
|
|
4356
4358
|
static get valueHints() {
|
|
4357
4359
|
return super.valueHints.copyWith({
|
|
@@ -4366,6 +4368,7 @@ class AbstractLengthMeasurement extends AbstractMeasurement_1.AbstractMeasuremen
|
|
|
4366
4368
|
});
|
|
4367
4369
|
}
|
|
4368
4370
|
}
|
|
4371
|
+
exports.AbstractLengthMeasurement = AbstractLengthMeasurement;
|
|
4369
4372
|
__decorate([
|
|
4370
4373
|
(0, ts_serval_1.serialize)(),
|
|
4371
4374
|
(0, ts_serval_1.validate)({
|
|
@@ -4373,7 +4376,6 @@ __decorate([
|
|
|
4373
4376
|
}),
|
|
4374
4377
|
__metadata("design:type", String)
|
|
4375
4378
|
], AbstractLengthMeasurement.prototype, "unit", void 0);
|
|
4376
|
-
exports.AbstractLengthMeasurement = AbstractLengthMeasurement;
|
|
4377
4379
|
//# sourceMappingURL=AbstractLengthMeasurement.js.map
|
|
4378
4380
|
|
|
4379
4381
|
/***/ }),
|
|
@@ -4433,6 +4435,7 @@ class AbstractMeasurement extends AbstractComplexValue_1.AbstractComplexValue {
|
|
|
4433
4435
|
return `${this.value} ${this.unit}`;
|
|
4434
4436
|
}
|
|
4435
4437
|
}
|
|
4438
|
+
exports.AbstractMeasurement = AbstractMeasurement;
|
|
4436
4439
|
AbstractMeasurement.propertyNames = (0, easy_tsnameof_1.default)();
|
|
4437
4440
|
__decorate([
|
|
4438
4441
|
(0, ts_serval_1.serialize)(),
|
|
@@ -4444,7 +4447,6 @@ __decorate([
|
|
|
4444
4447
|
(0, ts_serval_1.validate)(),
|
|
4445
4448
|
__metadata("design:type", Number)
|
|
4446
4449
|
], AbstractMeasurement.prototype, "value", void 0);
|
|
4447
|
-
exports.AbstractMeasurement = AbstractMeasurement;
|
|
4448
4450
|
//# sourceMappingURL=AbstractMeasurement.js.map
|
|
4449
4451
|
|
|
4450
4452
|
/***/ }),
|
|
@@ -4502,10 +4504,10 @@ let BirthName = class BirthName extends AbstractString_1.AbstractString {
|
|
|
4502
4504
|
return super.toJSON(verbose, serializeAsString);
|
|
4503
4505
|
}
|
|
4504
4506
|
};
|
|
4505
|
-
BirthName =
|
|
4507
|
+
exports.BirthName = BirthName;
|
|
4508
|
+
exports.BirthName = BirthName = __decorate([
|
|
4506
4509
|
(0, ts_serval_1.type)("BirthName")
|
|
4507
4510
|
], BirthName);
|
|
4508
|
-
exports.BirthName = BirthName;
|
|
4509
4511
|
//# sourceMappingURL=BirthName.js.map
|
|
4510
4512
|
|
|
4511
4513
|
/***/ }),
|
|
@@ -4535,10 +4537,10 @@ let GivenName = class GivenName extends AbstractString_1.AbstractString {
|
|
|
4535
4537
|
return super.toJSON(verbose, serializeAsString);
|
|
4536
4538
|
}
|
|
4537
4539
|
};
|
|
4538
|
-
GivenName =
|
|
4540
|
+
exports.GivenName = GivenName;
|
|
4541
|
+
exports.GivenName = GivenName = __decorate([
|
|
4539
4542
|
(0, ts_serval_1.type)("GivenName")
|
|
4540
4543
|
], GivenName);
|
|
4541
|
-
exports.GivenName = GivenName;
|
|
4542
4544
|
//# sourceMappingURL=GivenName.js.map
|
|
4543
4545
|
|
|
4544
4546
|
/***/ }),
|
|
@@ -4568,10 +4570,10 @@ let HonorificPrefix = class HonorificPrefix extends AbstractString_1.AbstractStr
|
|
|
4568
4570
|
return super.toJSON(verbose, serializeAsString);
|
|
4569
4571
|
}
|
|
4570
4572
|
};
|
|
4571
|
-
HonorificPrefix =
|
|
4573
|
+
exports.HonorificPrefix = HonorificPrefix;
|
|
4574
|
+
exports.HonorificPrefix = HonorificPrefix = __decorate([
|
|
4572
4575
|
(0, ts_serval_1.type)("HonorificPrefix")
|
|
4573
4576
|
], HonorificPrefix);
|
|
4574
|
-
exports.HonorificPrefix = HonorificPrefix;
|
|
4575
4577
|
//# sourceMappingURL=HonorificPrefix.js.map
|
|
4576
4578
|
|
|
4577
4579
|
/***/ }),
|
|
@@ -4601,10 +4603,10 @@ let HonorificSuffix = class HonorificSuffix extends AbstractString_1.AbstractStr
|
|
|
4601
4603
|
return super.toJSON(verbose, serializeAsString);
|
|
4602
4604
|
}
|
|
4603
4605
|
};
|
|
4604
|
-
HonorificSuffix =
|
|
4606
|
+
exports.HonorificSuffix = HonorificSuffix;
|
|
4607
|
+
exports.HonorificSuffix = HonorificSuffix = __decorate([
|
|
4605
4608
|
(0, ts_serval_1.type)("HonorificSuffix")
|
|
4606
4609
|
], HonorificSuffix);
|
|
4607
|
-
exports.HonorificSuffix = HonorificSuffix;
|
|
4608
4610
|
//# sourceMappingURL=HonorificSuffix.js.map
|
|
4609
4611
|
|
|
4610
4612
|
/***/ }),
|
|
@@ -4634,10 +4636,10 @@ let MiddleName = class MiddleName extends AbstractString_1.AbstractString {
|
|
|
4634
4636
|
return super.toJSON(verbose, serializeAsString);
|
|
4635
4637
|
}
|
|
4636
4638
|
};
|
|
4637
|
-
MiddleName =
|
|
4639
|
+
exports.MiddleName = MiddleName;
|
|
4640
|
+
exports.MiddleName = MiddleName = __decorate([
|
|
4638
4641
|
(0, ts_serval_1.type)("MiddleName")
|
|
4639
4642
|
], MiddleName);
|
|
4640
|
-
exports.MiddleName = MiddleName;
|
|
4641
4643
|
//# sourceMappingURL=MiddleName.js.map
|
|
4642
4644
|
|
|
4643
4645
|
/***/ }),
|
|
@@ -4715,6 +4717,7 @@ let PersonName = class PersonName extends AbstractComplexValue_1.AbstractComplex
|
|
|
4715
4717
|
return super.toJSON(verbose, serializeAsString);
|
|
4716
4718
|
}
|
|
4717
4719
|
};
|
|
4720
|
+
exports.PersonName = PersonName;
|
|
4718
4721
|
PersonName.propertyNames = (0, easy_tsnameof_1.default)();
|
|
4719
4722
|
__decorate([
|
|
4720
4723
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
@@ -4741,10 +4744,9 @@ __decorate([
|
|
|
4741
4744
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
4742
4745
|
__metadata("design:type", HonorificPrefix_1.HonorificPrefix)
|
|
4743
4746
|
], PersonName.prototype, "honorificPrefix", void 0);
|
|
4744
|
-
PersonName = __decorate([
|
|
4747
|
+
exports.PersonName = PersonName = __decorate([
|
|
4745
4748
|
(0, ts_serval_1.type)("PersonName")
|
|
4746
4749
|
], PersonName);
|
|
4747
|
-
exports.PersonName = PersonName;
|
|
4748
4750
|
//# sourceMappingURL=PersonName.js.map
|
|
4749
4751
|
|
|
4750
4752
|
/***/ }),
|
|
@@ -4774,10 +4776,10 @@ let Pseudonym = class Pseudonym extends AbstractString_1.AbstractString {
|
|
|
4774
4776
|
return super.toJSON(verbose, serializeAsString);
|
|
4775
4777
|
}
|
|
4776
4778
|
};
|
|
4777
|
-
Pseudonym =
|
|
4779
|
+
exports.Pseudonym = Pseudonym;
|
|
4780
|
+
exports.Pseudonym = Pseudonym = __decorate([
|
|
4778
4781
|
(0, ts_serval_1.type)("Pseudonym")
|
|
4779
4782
|
], Pseudonym);
|
|
4780
|
-
exports.Pseudonym = Pseudonym;
|
|
4781
4783
|
//# sourceMappingURL=Pseudonym.js.map
|
|
4782
4784
|
|
|
4783
4785
|
/***/ }),
|
|
@@ -4807,10 +4809,10 @@ let Surname = class Surname extends AbstractString_1.AbstractString {
|
|
|
4807
4809
|
return super.toJSON(verbose, serializeAsString);
|
|
4808
4810
|
}
|
|
4809
4811
|
};
|
|
4810
|
-
Surname =
|
|
4812
|
+
exports.Surname = Surname;
|
|
4813
|
+
exports.Surname = Surname = __decorate([
|
|
4811
4814
|
(0, ts_serval_1.type)("Surname")
|
|
4812
4815
|
], Surname);
|
|
4813
|
-
exports.Surname = Surname;
|
|
4814
4816
|
//# sourceMappingURL=Surname.js.map
|
|
4815
4817
|
|
|
4816
4818
|
/***/ }),
|
|
@@ -4874,10 +4876,10 @@ let Citizenship = class Citizenship extends strings_1.AbstractCountry {
|
|
|
4874
4876
|
return super.toJSON(verbose, serializeAsString);
|
|
4875
4877
|
}
|
|
4876
4878
|
};
|
|
4877
|
-
Citizenship =
|
|
4879
|
+
exports.Citizenship = Citizenship;
|
|
4880
|
+
exports.Citizenship = Citizenship = __decorate([
|
|
4878
4881
|
(0, ts_serval_1.type)("Citizenship")
|
|
4879
4882
|
], Citizenship);
|
|
4880
|
-
exports.Citizenship = Citizenship;
|
|
4881
4883
|
//# sourceMappingURL=Citizenship.js.map
|
|
4882
4884
|
|
|
4883
4885
|
/***/ }),
|
|
@@ -4907,10 +4909,10 @@ let JobTitle = class JobTitle extends AbstractString_1.AbstractString {
|
|
|
4907
4909
|
return super.toJSON(verbose, serializeAsString);
|
|
4908
4910
|
}
|
|
4909
4911
|
};
|
|
4910
|
-
JobTitle =
|
|
4912
|
+
exports.JobTitle = JobTitle;
|
|
4913
|
+
exports.JobTitle = JobTitle = __decorate([
|
|
4911
4914
|
(0, ts_serval_1.type)("JobTitle")
|
|
4912
4915
|
], JobTitle);
|
|
4913
|
-
exports.JobTitle = JobTitle;
|
|
4914
4916
|
//# sourceMappingURL=JobTitle.js.map
|
|
4915
4917
|
|
|
4916
4918
|
/***/ }),
|
|
@@ -4940,10 +4942,10 @@ let Nationality = class Nationality extends strings_1.AbstractCountry {
|
|
|
4940
4942
|
return super.toJSON(verbose, serializeAsString);
|
|
4941
4943
|
}
|
|
4942
4944
|
};
|
|
4943
|
-
Nationality =
|
|
4945
|
+
exports.Nationality = Nationality;
|
|
4946
|
+
exports.Nationality = Nationality = __decorate([
|
|
4944
4947
|
(0, ts_serval_1.type)("Nationality")
|
|
4945
4948
|
], Nationality);
|
|
4946
|
-
exports.Nationality = Nationality;
|
|
4947
4949
|
//# sourceMappingURL=Nationality.js.map
|
|
4948
4950
|
|
|
4949
4951
|
/***/ }),
|
|
@@ -4977,7 +4979,7 @@ var BiologicalSex;
|
|
|
4977
4979
|
BiologicalSex["X"] = "intersex";
|
|
4978
4980
|
BiologicalSex["F"] = "female";
|
|
4979
4981
|
BiologicalSex["M"] = "male";
|
|
4980
|
-
})(BiologicalSex
|
|
4982
|
+
})(BiologicalSex || (exports.BiologicalSex = BiologicalSex = {}));
|
|
4981
4983
|
let Sex = class Sex extends AbstractString_1.AbstractString {
|
|
4982
4984
|
static get valueHints() {
|
|
4983
4985
|
return super.valueHints.copyWith({
|
|
@@ -4996,6 +4998,7 @@ let Sex = class Sex extends AbstractString_1.AbstractString {
|
|
|
4996
4998
|
return super.toJSON(verbose, serializeAsString);
|
|
4997
4999
|
}
|
|
4998
5000
|
};
|
|
5001
|
+
exports.Sex = Sex;
|
|
4999
5002
|
__decorate([
|
|
5000
5003
|
(0, ts_serval_1.serialize)(),
|
|
5001
5004
|
(0, ts_serval_1.validate)({
|
|
@@ -5003,10 +5006,9 @@ __decorate([
|
|
|
5003
5006
|
}),
|
|
5004
5007
|
__metadata("design:type", String)
|
|
5005
5008
|
], Sex.prototype, "value", void 0);
|
|
5006
|
-
Sex = __decorate([
|
|
5009
|
+
exports.Sex = Sex = __decorate([
|
|
5007
5010
|
(0, ts_serval_1.type)("Sex")
|
|
5008
5011
|
], Sex);
|
|
5009
|
-
exports.Sex = Sex;
|
|
5010
5012
|
//# sourceMappingURL=Sex.js.map
|
|
5011
5013
|
|
|
5012
5014
|
/***/ }),
|
|
@@ -5089,6 +5091,7 @@ let ProprietaryBoolean = class ProprietaryBoolean extends AbstractBoolean_1.Abst
|
|
|
5089
5091
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5090
5092
|
}
|
|
5091
5093
|
};
|
|
5094
|
+
exports.ProprietaryBoolean = ProprietaryBoolean;
|
|
5092
5095
|
__decorate([
|
|
5093
5096
|
(0, ts_serval_1.serialize)(),
|
|
5094
5097
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5104,10 +5107,9 @@ __decorate([
|
|
|
5104
5107
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5105
5108
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5106
5109
|
], ProprietaryBoolean.prototype, "valueHintsOverride", void 0);
|
|
5107
|
-
ProprietaryBoolean = __decorate([
|
|
5110
|
+
exports.ProprietaryBoolean = ProprietaryBoolean = __decorate([
|
|
5108
5111
|
(0, ts_serval_1.type)("ProprietaryBoolean")
|
|
5109
5112
|
], ProprietaryBoolean);
|
|
5110
|
-
exports.ProprietaryBoolean = ProprietaryBoolean;
|
|
5111
5113
|
//# sourceMappingURL=ProprietaryBoolean.js.map
|
|
5112
5114
|
|
|
5113
5115
|
/***/ }),
|
|
@@ -5145,6 +5147,7 @@ let ProprietaryCountry = class ProprietaryCountry extends AbstractCountry_1.Abst
|
|
|
5145
5147
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5146
5148
|
}
|
|
5147
5149
|
};
|
|
5150
|
+
exports.ProprietaryCountry = ProprietaryCountry;
|
|
5148
5151
|
__decorate([
|
|
5149
5152
|
(0, ts_serval_1.serialize)(),
|
|
5150
5153
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5160,10 +5163,9 @@ __decorate([
|
|
|
5160
5163
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5161
5164
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5162
5165
|
], ProprietaryCountry.prototype, "valueHintsOverride", void 0);
|
|
5163
|
-
ProprietaryCountry = __decorate([
|
|
5166
|
+
exports.ProprietaryCountry = ProprietaryCountry = __decorate([
|
|
5164
5167
|
(0, ts_serval_1.type)("ProprietaryCountry")
|
|
5165
5168
|
], ProprietaryCountry);
|
|
5166
|
-
exports.ProprietaryCountry = ProprietaryCountry;
|
|
5167
5169
|
//# sourceMappingURL=ProprietaryCountry.js.map
|
|
5168
5170
|
|
|
5169
5171
|
/***/ }),
|
|
@@ -5201,6 +5203,7 @@ let ProprietaryEMailAddress = class ProprietaryEMailAddress extends AbstractEMai
|
|
|
5201
5203
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5202
5204
|
}
|
|
5203
5205
|
};
|
|
5206
|
+
exports.ProprietaryEMailAddress = ProprietaryEMailAddress;
|
|
5204
5207
|
__decorate([
|
|
5205
5208
|
(0, ts_serval_1.serialize)(),
|
|
5206
5209
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5216,10 +5219,9 @@ __decorate([
|
|
|
5216
5219
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5217
5220
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5218
5221
|
], ProprietaryEMailAddress.prototype, "valueHintsOverride", void 0);
|
|
5219
|
-
ProprietaryEMailAddress = __decorate([
|
|
5222
|
+
exports.ProprietaryEMailAddress = ProprietaryEMailAddress = __decorate([
|
|
5220
5223
|
(0, ts_serval_1.type)("ProprietaryEMailAddress")
|
|
5221
5224
|
], ProprietaryEMailAddress);
|
|
5222
|
-
exports.ProprietaryEMailAddress = ProprietaryEMailAddress;
|
|
5223
5225
|
//# sourceMappingURL=ProprietaryEMailAddress.js.map
|
|
5224
5226
|
|
|
5225
5227
|
/***/ }),
|
|
@@ -5257,6 +5259,7 @@ let ProprietaryFileReference = class ProprietaryFileReference extends strings_1.
|
|
|
5257
5259
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5258
5260
|
}
|
|
5259
5261
|
};
|
|
5262
|
+
exports.ProprietaryFileReference = ProprietaryFileReference;
|
|
5260
5263
|
__decorate([
|
|
5261
5264
|
(0, ts_serval_1.serialize)(),
|
|
5262
5265
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5272,10 +5275,9 @@ __decorate([
|
|
|
5272
5275
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5273
5276
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5274
5277
|
], ProprietaryFileReference.prototype, "valueHintsOverride", void 0);
|
|
5275
|
-
ProprietaryFileReference = __decorate([
|
|
5278
|
+
exports.ProprietaryFileReference = ProprietaryFileReference = __decorate([
|
|
5276
5279
|
(0, ts_serval_1.type)("ProprietaryFileReference")
|
|
5277
5280
|
], ProprietaryFileReference);
|
|
5278
|
-
exports.ProprietaryFileReference = ProprietaryFileReference;
|
|
5279
5281
|
//# sourceMappingURL=ProprietaryFileReference.js.map
|
|
5280
5282
|
|
|
5281
5283
|
/***/ }),
|
|
@@ -5313,6 +5315,7 @@ let ProprietaryFloat = class ProprietaryFloat extends AbstractFloat_1.AbstractFl
|
|
|
5313
5315
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5314
5316
|
}
|
|
5315
5317
|
};
|
|
5318
|
+
exports.ProprietaryFloat = ProprietaryFloat;
|
|
5316
5319
|
__decorate([
|
|
5317
5320
|
(0, ts_serval_1.serialize)(),
|
|
5318
5321
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5328,10 +5331,9 @@ __decorate([
|
|
|
5328
5331
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5329
5332
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5330
5333
|
], ProprietaryFloat.prototype, "valueHintsOverride", void 0);
|
|
5331
|
-
ProprietaryFloat = __decorate([
|
|
5334
|
+
exports.ProprietaryFloat = ProprietaryFloat = __decorate([
|
|
5332
5335
|
(0, ts_serval_1.type)("ProprietaryFloat")
|
|
5333
5336
|
], ProprietaryFloat);
|
|
5334
|
-
exports.ProprietaryFloat = ProprietaryFloat;
|
|
5335
5337
|
//# sourceMappingURL=ProprietaryFloat.js.map
|
|
5336
5338
|
|
|
5337
5339
|
/***/ }),
|
|
@@ -5369,6 +5371,7 @@ let ProprietaryHEXColor = class ProprietaryHEXColor extends AbstractHEXColor_1.A
|
|
|
5369
5371
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5370
5372
|
}
|
|
5371
5373
|
};
|
|
5374
|
+
exports.ProprietaryHEXColor = ProprietaryHEXColor;
|
|
5372
5375
|
__decorate([
|
|
5373
5376
|
(0, ts_serval_1.serialize)(),
|
|
5374
5377
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5384,10 +5387,9 @@ __decorate([
|
|
|
5384
5387
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5385
5388
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5386
5389
|
], ProprietaryHEXColor.prototype, "valueHintsOverride", void 0);
|
|
5387
|
-
ProprietaryHEXColor = __decorate([
|
|
5390
|
+
exports.ProprietaryHEXColor = ProprietaryHEXColor = __decorate([
|
|
5388
5391
|
(0, ts_serval_1.type)("ProprietaryHEXColor")
|
|
5389
5392
|
], ProprietaryHEXColor);
|
|
5390
|
-
exports.ProprietaryHEXColor = ProprietaryHEXColor;
|
|
5391
5393
|
//# sourceMappingURL=ProprietaryHEXColor.js.map
|
|
5392
5394
|
|
|
5393
5395
|
/***/ }),
|
|
@@ -5425,6 +5427,7 @@ let ProprietaryInteger = class ProprietaryInteger extends AbstractInteger_1.Abst
|
|
|
5425
5427
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5426
5428
|
}
|
|
5427
5429
|
};
|
|
5430
|
+
exports.ProprietaryInteger = ProprietaryInteger;
|
|
5428
5431
|
__decorate([
|
|
5429
5432
|
(0, ts_serval_1.serialize)(),
|
|
5430
5433
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5440,10 +5443,9 @@ __decorate([
|
|
|
5440
5443
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5441
5444
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5442
5445
|
], ProprietaryInteger.prototype, "valueHintsOverride", void 0);
|
|
5443
|
-
ProprietaryInteger = __decorate([
|
|
5446
|
+
exports.ProprietaryInteger = ProprietaryInteger = __decorate([
|
|
5444
5447
|
(0, ts_serval_1.type)("ProprietaryInteger")
|
|
5445
5448
|
], ProprietaryInteger);
|
|
5446
|
-
exports.ProprietaryInteger = ProprietaryInteger;
|
|
5447
5449
|
//# sourceMappingURL=ProprietaryInteger.js.map
|
|
5448
5450
|
|
|
5449
5451
|
/***/ }),
|
|
@@ -5487,6 +5489,7 @@ let ProprietaryJSON = class ProprietaryJSON extends AbstractAttributeValue_1.Abs
|
|
|
5487
5489
|
return super.toJSON(verbose, serializeAsString);
|
|
5488
5490
|
}
|
|
5489
5491
|
};
|
|
5492
|
+
exports.ProprietaryJSON = ProprietaryJSON;
|
|
5490
5493
|
__decorate([
|
|
5491
5494
|
(0, ts_serval_1.serialize)(),
|
|
5492
5495
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5502,10 +5505,9 @@ __decorate([
|
|
|
5502
5505
|
(0, ts_serval_1.validate)({ customValidator: validateValue }),
|
|
5503
5506
|
__metadata("design:type", Object)
|
|
5504
5507
|
], ProprietaryJSON.prototype, "value", void 0);
|
|
5505
|
-
ProprietaryJSON = __decorate([
|
|
5508
|
+
exports.ProprietaryJSON = ProprietaryJSON = __decorate([
|
|
5506
5509
|
(0, ts_serval_1.type)("ProprietaryJSON")
|
|
5507
5510
|
], ProprietaryJSON);
|
|
5508
|
-
exports.ProprietaryJSON = ProprietaryJSON;
|
|
5509
5511
|
function validateValue(value) {
|
|
5510
5512
|
try {
|
|
5511
5513
|
const string = JSON.stringify(value);
|
|
@@ -5558,6 +5560,7 @@ let ProprietaryLanguage = class ProprietaryLanguage extends AbstractLanguage_1.A
|
|
|
5558
5560
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5559
5561
|
}
|
|
5560
5562
|
};
|
|
5563
|
+
exports.ProprietaryLanguage = ProprietaryLanguage;
|
|
5561
5564
|
__decorate([
|
|
5562
5565
|
(0, ts_serval_1.serialize)(),
|
|
5563
5566
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5573,10 +5576,9 @@ __decorate([
|
|
|
5573
5576
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5574
5577
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5575
5578
|
], ProprietaryLanguage.prototype, "valueHintsOverride", void 0);
|
|
5576
|
-
ProprietaryLanguage = __decorate([
|
|
5579
|
+
exports.ProprietaryLanguage = ProprietaryLanguage = __decorate([
|
|
5577
5580
|
(0, ts_serval_1.type)("ProprietaryLanguage")
|
|
5578
5581
|
], ProprietaryLanguage);
|
|
5579
|
-
exports.ProprietaryLanguage = ProprietaryLanguage;
|
|
5580
5582
|
//# sourceMappingURL=ProprietaryLanguage.js.map
|
|
5581
5583
|
|
|
5582
5584
|
/***/ }),
|
|
@@ -5614,6 +5616,7 @@ let ProprietaryPhoneNumber = class ProprietaryPhoneNumber extends AbstractPhoneN
|
|
|
5614
5616
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5615
5617
|
}
|
|
5616
5618
|
};
|
|
5619
|
+
exports.ProprietaryPhoneNumber = ProprietaryPhoneNumber;
|
|
5617
5620
|
__decorate([
|
|
5618
5621
|
(0, ts_serval_1.serialize)(),
|
|
5619
5622
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5629,10 +5632,9 @@ __decorate([
|
|
|
5629
5632
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5630
5633
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5631
5634
|
], ProprietaryPhoneNumber.prototype, "valueHintsOverride", void 0);
|
|
5632
|
-
ProprietaryPhoneNumber = __decorate([
|
|
5635
|
+
exports.ProprietaryPhoneNumber = ProprietaryPhoneNumber = __decorate([
|
|
5633
5636
|
(0, ts_serval_1.type)("ProprietaryPhoneNumber")
|
|
5634
5637
|
], ProprietaryPhoneNumber);
|
|
5635
|
-
exports.ProprietaryPhoneNumber = ProprietaryPhoneNumber;
|
|
5636
5638
|
//# sourceMappingURL=ProprietaryPhoneNumber.js.map
|
|
5637
5639
|
|
|
5638
5640
|
/***/ }),
|
|
@@ -5670,6 +5672,7 @@ let ProprietaryString = class ProprietaryString extends AbstractString_1.Abstrac
|
|
|
5670
5672
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5671
5673
|
}
|
|
5672
5674
|
};
|
|
5675
|
+
exports.ProprietaryString = ProprietaryString;
|
|
5673
5676
|
__decorate([
|
|
5674
5677
|
(0, ts_serval_1.serialize)(),
|
|
5675
5678
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5685,10 +5688,9 @@ __decorate([
|
|
|
5685
5688
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5686
5689
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5687
5690
|
], ProprietaryString.prototype, "valueHintsOverride", void 0);
|
|
5688
|
-
ProprietaryString = __decorate([
|
|
5691
|
+
exports.ProprietaryString = ProprietaryString = __decorate([
|
|
5689
5692
|
(0, ts_serval_1.type)("ProprietaryString")
|
|
5690
5693
|
], ProprietaryString);
|
|
5691
|
-
exports.ProprietaryString = ProprietaryString;
|
|
5692
5694
|
//# sourceMappingURL=ProprietaryString.js.map
|
|
5693
5695
|
|
|
5694
5696
|
/***/ }),
|
|
@@ -5726,6 +5728,7 @@ let ProprietaryURL = class ProprietaryURL extends AbstractURL_1.AbstractURL {
|
|
|
5726
5728
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5727
5729
|
}
|
|
5728
5730
|
};
|
|
5731
|
+
exports.ProprietaryURL = ProprietaryURL;
|
|
5729
5732
|
__decorate([
|
|
5730
5733
|
(0, ts_serval_1.serialize)(),
|
|
5731
5734
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5741,10 +5744,9 @@ __decorate([
|
|
|
5741
5744
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5742
5745
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5743
5746
|
], ProprietaryURL.prototype, "valueHintsOverride", void 0);
|
|
5744
|
-
ProprietaryURL = __decorate([
|
|
5747
|
+
exports.ProprietaryURL = ProprietaryURL = __decorate([
|
|
5745
5748
|
(0, ts_serval_1.type)("ProprietaryURL")
|
|
5746
5749
|
], ProprietaryURL);
|
|
5747
|
-
exports.ProprietaryURL = ProprietaryURL;
|
|
5748
5750
|
//# sourceMappingURL=ProprietaryURL.js.map
|
|
5749
5751
|
|
|
5750
5752
|
/***/ }),
|
|
@@ -5782,6 +5784,7 @@ let ProprietaryXML = class ProprietaryXML extends AbstractXML_1.AbstractXML {
|
|
|
5782
5784
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5783
5785
|
}
|
|
5784
5786
|
};
|
|
5787
|
+
exports.ProprietaryXML = ProprietaryXML;
|
|
5785
5788
|
__decorate([
|
|
5786
5789
|
(0, ts_serval_1.serialize)(),
|
|
5787
5790
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5806,10 +5809,9 @@ __decorate([
|
|
|
5806
5809
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5807
5810
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5808
5811
|
], ProprietaryXML.prototype, "valueHintsOverride", void 0);
|
|
5809
|
-
ProprietaryXML = __decorate([
|
|
5812
|
+
exports.ProprietaryXML = ProprietaryXML = __decorate([
|
|
5810
5813
|
(0, ts_serval_1.type)("ProprietaryXML")
|
|
5811
5814
|
], ProprietaryXML);
|
|
5812
|
-
exports.ProprietaryXML = ProprietaryXML;
|
|
5813
5815
|
//# sourceMappingURL=ProprietaryXML.js.map
|
|
5814
5816
|
|
|
5815
5817
|
/***/ }),
|
|
@@ -5910,6 +5912,7 @@ let Consent = class Consent extends AbstractAttributeValue_1.AbstractAttributeVa
|
|
|
5910
5912
|
});
|
|
5911
5913
|
}
|
|
5912
5914
|
};
|
|
5915
|
+
exports.Consent = Consent;
|
|
5913
5916
|
__decorate([
|
|
5914
5917
|
(0, ts_serval_1.serialize)(),
|
|
5915
5918
|
(0, ts_serval_1.validate)({ max: 2000 }),
|
|
@@ -5927,10 +5930,9 @@ __decorate([
|
|
|
5927
5930
|
}),
|
|
5928
5931
|
__metadata("design:type", String)
|
|
5929
5932
|
], Consent.prototype, "link", void 0);
|
|
5930
|
-
Consent = __decorate([
|
|
5933
|
+
exports.Consent = Consent = __decorate([
|
|
5931
5934
|
(0, ts_serval_1.type)("Consent")
|
|
5932
5935
|
], Consent);
|
|
5933
|
-
exports.Consent = Consent;
|
|
5934
5936
|
//# sourceMappingURL=Consent.js.map
|
|
5935
5937
|
|
|
5936
5938
|
/***/ }),
|
|
@@ -5962,10 +5964,10 @@ __exportStar(__webpack_require__(/*! ./Consent */ "./dist/attributes/types/relat
|
|
|
5962
5964
|
|
|
5963
5965
|
/***/ }),
|
|
5964
5966
|
|
|
5965
|
-
/***/ "./dist/attributes/types/
|
|
5966
|
-
|
|
5967
|
-
!*** ./dist/attributes/types/
|
|
5968
|
-
|
|
5967
|
+
/***/ "./dist/attributes/types/statement/AbstractIdentityDescriptor.js":
|
|
5968
|
+
/*!***********************************************************************!*\
|
|
5969
|
+
!*** ./dist/attributes/types/statement/AbstractIdentityDescriptor.js ***!
|
|
5970
|
+
\***********************************************************************/
|
|
5969
5971
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5970
5972
|
|
|
5971
5973
|
|
|
@@ -5978,43 +5980,49 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5978
5980
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
5979
5981
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
5980
5982
|
};
|
|
5983
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5984
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5985
|
+
};
|
|
5981
5986
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5982
|
-
exports.
|
|
5987
|
+
exports.AbstractIdentityDescriptor = void 0;
|
|
5983
5988
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5989
|
+
const easy_tsnameof_1 = __importDefault(__webpack_require__(/*! easy-tsnameof */ "./node_modules/easy-tsnameof/dist/easy-tsnameof.esm.js"));
|
|
5990
|
+
const AbstractComplexValue_1 = __webpack_require__(/*! ../../../attributes/AbstractComplexValue */ "./dist/attributes/AbstractComplexValue.js");
|
|
5984
5991
|
const hints_1 = __webpack_require__(/*! ../../../attributes/hints */ "./dist/attributes/hints/index.js");
|
|
5985
|
-
|
|
5986
|
-
const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
|
|
5987
|
-
class AbstractCountry extends AbstractString_1.AbstractString {
|
|
5992
|
+
class AbstractIdentityDescriptor extends AbstractComplexValue_1.AbstractComplexValue {
|
|
5988
5993
|
static get valueHints() {
|
|
5989
|
-
return
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5994
|
+
return hints_1.ValueHints.from({
|
|
5995
|
+
propertyHints: {
|
|
5996
|
+
[this.propertyNames.attributes.$path]: hints_1.ValueHints.from({})
|
|
5997
|
+
}
|
|
5993
5998
|
});
|
|
5994
5999
|
}
|
|
5995
6000
|
static get renderHints() {
|
|
5996
6001
|
return super.renderHints.copyWith({
|
|
5997
|
-
|
|
5998
|
-
|
|
6002
|
+
propertyHints: {
|
|
6003
|
+
[this.propertyNames.attributes.$path]: hints_1.RenderHints.from({
|
|
6004
|
+
editType: hints_1.RenderHintsEditType.Complex,
|
|
6005
|
+
technicalType: hints_1.RenderHintsTechnicalType.Object
|
|
6006
|
+
})
|
|
6007
|
+
}
|
|
5999
6008
|
});
|
|
6000
6009
|
}
|
|
6001
6010
|
}
|
|
6011
|
+
exports.AbstractIdentityDescriptor = AbstractIdentityDescriptor;
|
|
6012
|
+
AbstractIdentityDescriptor.propertyNames = (0, easy_tsnameof_1.default)();
|
|
6002
6013
|
__decorate([
|
|
6003
6014
|
(0, ts_serval_1.serialize)(),
|
|
6004
|
-
(0, ts_serval_1.validate)({
|
|
6005
|
-
|
|
6006
|
-
|
|
6007
|
-
|
|
6008
|
-
], AbstractCountry.prototype, "value", void 0);
|
|
6009
|
-
exports.AbstractCountry = AbstractCountry;
|
|
6010
|
-
//# sourceMappingURL=AbstractCountry.js.map
|
|
6015
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6016
|
+
__metadata("design:type", Array)
|
|
6017
|
+
], AbstractIdentityDescriptor.prototype, "attributes", void 0);
|
|
6018
|
+
//# sourceMappingURL=AbstractIdentityDescriptor.js.map
|
|
6011
6019
|
|
|
6012
6020
|
/***/ }),
|
|
6013
6021
|
|
|
6014
|
-
/***/ "./dist/attributes/types/
|
|
6015
|
-
|
|
6016
|
-
!*** ./dist/attributes/types/
|
|
6017
|
-
|
|
6022
|
+
/***/ "./dist/attributes/types/statement/AbstractStatement.js":
|
|
6023
|
+
/*!**************************************************************!*\
|
|
6024
|
+
!*** ./dist/attributes/types/statement/AbstractStatement.js ***!
|
|
6025
|
+
\**************************************************************/
|
|
6018
6026
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6019
6027
|
|
|
6020
6028
|
|
|
@@ -6027,44 +6035,767 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6027
6035
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
6028
6036
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
6029
6037
|
};
|
|
6038
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6039
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6040
|
+
};
|
|
6030
6041
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6031
|
-
exports.
|
|
6042
|
+
exports.AbstractStatement = void 0;
|
|
6032
6043
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6033
|
-
const
|
|
6034
|
-
const
|
|
6035
|
-
|
|
6044
|
+
const easy_tsnameof_1 = __importDefault(__webpack_require__(/*! easy-tsnameof */ "./node_modules/easy-tsnameof/dist/easy-tsnameof.esm.js"));
|
|
6045
|
+
const AbstractComplexValue_1 = __webpack_require__(/*! ../../AbstractComplexValue */ "./dist/attributes/AbstractComplexValue.js");
|
|
6046
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
6047
|
+
const DigitalIdentityDescriptor_1 = __webpack_require__(/*! ./DigitalIdentityDescriptor */ "./dist/attributes/types/statement/DigitalIdentityDescriptor.js");
|
|
6048
|
+
const StatementIssuerConditions_1 = __webpack_require__(/*! ./StatementIssuerConditions */ "./dist/attributes/types/statement/StatementIssuerConditions.js");
|
|
6049
|
+
const StatementObject_1 = __webpack_require__(/*! ./StatementObject */ "./dist/attributes/types/statement/StatementObject.js");
|
|
6050
|
+
const StatementPredicate_1 = __webpack_require__(/*! ./StatementPredicate */ "./dist/attributes/types/statement/StatementPredicate.js");
|
|
6051
|
+
const StatementSubject_1 = __webpack_require__(/*! ./StatementSubject */ "./dist/attributes/types/statement/StatementSubject.js");
|
|
6052
|
+
class AbstractStatement extends AbstractComplexValue_1.AbstractComplexValue {
|
|
6053
|
+
static postFrom(value) {
|
|
6054
|
+
if (!(value instanceof AbstractStatement))
|
|
6055
|
+
throw new Error("this should never happen");
|
|
6056
|
+
if (value.predicate.value === StatementPredicate_1.Predicates.HasAttribute && (value.object.attributes?.length ?? 0) < 1) {
|
|
6057
|
+
throw new ts_serval_1.ValidationError(this.constructor.name, `${(0, easy_tsnameof_1.default)((x) => x.object)}.${(0, easy_tsnameof_1.default)((x) => x.attributes)}`, `If the predicate of the Statement is '${StatementPredicate_1.Predicates.HasAttribute}' you have to define attributes in '${(0, easy_tsnameof_1.default)((x) => x.object)}.${(0, easy_tsnameof_1.default)((x) => x.attributes)}'.`);
|
|
6058
|
+
}
|
|
6059
|
+
return value;
|
|
6060
|
+
}
|
|
6061
|
+
toJSON(verbose, serializeAsString) {
|
|
6062
|
+
return super.toJSON(verbose, serializeAsString);
|
|
6063
|
+
}
|
|
6036
6064
|
static get valueHints() {
|
|
6037
|
-
return
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6065
|
+
return hints_1.ValueHints.from({
|
|
6066
|
+
propertyHints: {
|
|
6067
|
+
[this.propertyNames.subject.$path]: StatementSubject_1.StatementSubject.valueHints,
|
|
6068
|
+
[this.propertyNames.predicate.$path]: StatementPredicate_1.StatementPredicate.valueHints,
|
|
6069
|
+
[this.propertyNames.object.$path]: StatementObject_1.StatementObject.valueHints,
|
|
6070
|
+
[this.propertyNames.issuer.$path]: DigitalIdentityDescriptor_1.DigitalIdentityDescriptor.valueHints,
|
|
6071
|
+
[this.propertyNames.issuerConditions.$path]: StatementIssuerConditions_1.StatementIssuerConditions.valueHints
|
|
6072
|
+
}
|
|
6041
6073
|
});
|
|
6042
6074
|
}
|
|
6043
6075
|
static get renderHints() {
|
|
6044
6076
|
return super.renderHints.copyWith({
|
|
6045
|
-
|
|
6046
|
-
|
|
6077
|
+
propertyHints: {
|
|
6078
|
+
[this.propertyNames.subject.$path]: StatementSubject_1.StatementSubject.renderHints,
|
|
6079
|
+
[this.propertyNames.predicate.$path]: StatementPredicate_1.StatementPredicate.renderHints,
|
|
6080
|
+
[this.propertyNames.object.$path]: StatementObject_1.StatementObject.renderHints,
|
|
6081
|
+
[this.propertyNames.issuer.$path]: DigitalIdentityDescriptor_1.DigitalIdentityDescriptor.renderHints,
|
|
6082
|
+
[this.propertyNames.issuerConditions.$path]: StatementIssuerConditions_1.StatementIssuerConditions.renderHints
|
|
6083
|
+
}
|
|
6047
6084
|
});
|
|
6048
6085
|
}
|
|
6049
6086
|
}
|
|
6087
|
+
exports.AbstractStatement = AbstractStatement;
|
|
6088
|
+
AbstractStatement.propertyNames = (0, easy_tsnameof_1.default)();
|
|
6050
6089
|
__decorate([
|
|
6051
6090
|
(0, ts_serval_1.serialize)(),
|
|
6052
|
-
(0, ts_serval_1.validate)(
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6091
|
+
(0, ts_serval_1.validate)(),
|
|
6092
|
+
__metadata("design:type", StatementSubject_1.StatementSubject)
|
|
6093
|
+
], AbstractStatement.prototype, "subject", void 0);
|
|
6094
|
+
__decorate([
|
|
6095
|
+
(0, ts_serval_1.serialize)(),
|
|
6096
|
+
(0, ts_serval_1.validate)(),
|
|
6097
|
+
__metadata("design:type", StatementPredicate_1.StatementPredicate)
|
|
6098
|
+
], AbstractStatement.prototype, "predicate", void 0);
|
|
6099
|
+
__decorate([
|
|
6100
|
+
(0, ts_serval_1.serialize)(),
|
|
6101
|
+
(0, ts_serval_1.validate)(),
|
|
6102
|
+
__metadata("design:type", StatementObject_1.StatementObject)
|
|
6103
|
+
], AbstractStatement.prototype, "object", void 0);
|
|
6104
|
+
__decorate([
|
|
6105
|
+
(0, ts_serval_1.serialize)(),
|
|
6106
|
+
(0, ts_serval_1.validate)(),
|
|
6107
|
+
__metadata("design:type", DigitalIdentityDescriptor_1.DigitalIdentityDescriptor)
|
|
6108
|
+
], AbstractStatement.prototype, "issuer", void 0);
|
|
6109
|
+
__decorate([
|
|
6110
|
+
(0, ts_serval_1.serialize)(),
|
|
6111
|
+
(0, ts_serval_1.validate)(),
|
|
6112
|
+
__metadata("design:type", StatementIssuerConditions_1.StatementIssuerConditions)
|
|
6113
|
+
], AbstractStatement.prototype, "issuerConditions", void 0);
|
|
6114
|
+
//# sourceMappingURL=AbstractStatement.js.map
|
|
6061
6115
|
|
|
6062
6116
|
/***/ }),
|
|
6063
6117
|
|
|
6064
|
-
/***/ "./dist/attributes/types/
|
|
6065
|
-
|
|
6066
|
-
!*** ./dist/attributes/types/
|
|
6067
|
-
|
|
6118
|
+
/***/ "./dist/attributes/types/statement/DigitalIdentityDescriptor.js":
|
|
6119
|
+
/*!**********************************************************************!*\
|
|
6120
|
+
!*** ./dist/attributes/types/statement/DigitalIdentityDescriptor.js ***!
|
|
6121
|
+
\**********************************************************************/
|
|
6122
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6123
|
+
|
|
6124
|
+
|
|
6125
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6126
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6127
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6128
|
+
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;
|
|
6129
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6130
|
+
};
|
|
6131
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
6132
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
6133
|
+
};
|
|
6134
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6135
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6136
|
+
};
|
|
6137
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6138
|
+
exports.DigitalIdentityDescriptor = void 0;
|
|
6139
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6140
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
6141
|
+
const easy_tsnameof_1 = __importDefault(__webpack_require__(/*! easy-tsnameof */ "./node_modules/easy-tsnameof/dist/easy-tsnameof.esm.js"));
|
|
6142
|
+
const hints_1 = __webpack_require__(/*! ../../../attributes/hints */ "./dist/attributes/hints/index.js");
|
|
6143
|
+
const AbstractIdentityDescriptor_1 = __webpack_require__(/*! ./AbstractIdentityDescriptor */ "./dist/attributes/types/statement/AbstractIdentityDescriptor.js");
|
|
6144
|
+
let DigitalIdentityDescriptor = class DigitalIdentityDescriptor extends AbstractIdentityDescriptor_1.AbstractIdentityDescriptor {
|
|
6145
|
+
static from(value) {
|
|
6146
|
+
return this.fromAny(value);
|
|
6147
|
+
}
|
|
6148
|
+
toJSON(verbose, serializeAsString) {
|
|
6149
|
+
return super.toJSON(verbose, serializeAsString);
|
|
6150
|
+
}
|
|
6151
|
+
static get valueHints() {
|
|
6152
|
+
return super.valueHints.copyWith({
|
|
6153
|
+
propertyHints: {
|
|
6154
|
+
[this.propertyNames.address.$path]: hints_1.ValueHints.from({})
|
|
6155
|
+
}
|
|
6156
|
+
});
|
|
6157
|
+
}
|
|
6158
|
+
static get renderHints() {
|
|
6159
|
+
return super.renderHints.copyWith({
|
|
6160
|
+
propertyHints: {
|
|
6161
|
+
[this.propertyNames.address.$path]: hints_1.RenderHints.from({
|
|
6162
|
+
editType: hints_1.RenderHintsEditType.InputLike,
|
|
6163
|
+
technicalType: hints_1.RenderHintsTechnicalType.String
|
|
6164
|
+
})
|
|
6165
|
+
}
|
|
6166
|
+
});
|
|
6167
|
+
}
|
|
6168
|
+
};
|
|
6169
|
+
exports.DigitalIdentityDescriptor = DigitalIdentityDescriptor;
|
|
6170
|
+
DigitalIdentityDescriptor.propertyNames = (0, easy_tsnameof_1.default)();
|
|
6171
|
+
__decorate([
|
|
6172
|
+
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
6173
|
+
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
6174
|
+
__metadata("design:type", transport_1.CoreAddress)
|
|
6175
|
+
], DigitalIdentityDescriptor.prototype, "address", void 0);
|
|
6176
|
+
exports.DigitalIdentityDescriptor = DigitalIdentityDescriptor = __decorate([
|
|
6177
|
+
(0, ts_serval_1.type)("DigitalIdentityDescriptor")
|
|
6178
|
+
], DigitalIdentityDescriptor);
|
|
6179
|
+
//# sourceMappingURL=DigitalIdentityDescriptor.js.map
|
|
6180
|
+
|
|
6181
|
+
/***/ }),
|
|
6182
|
+
|
|
6183
|
+
/***/ "./dist/attributes/types/statement/Statement.js":
|
|
6184
|
+
/*!******************************************************!*\
|
|
6185
|
+
!*** ./dist/attributes/types/statement/Statement.js ***!
|
|
6186
|
+
\******************************************************/
|
|
6187
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6188
|
+
|
|
6189
|
+
|
|
6190
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6191
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6192
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6193
|
+
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;
|
|
6194
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6195
|
+
};
|
|
6196
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6197
|
+
exports.Statement = void 0;
|
|
6198
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6199
|
+
const AbstractStatement_1 = __webpack_require__(/*! ./AbstractStatement */ "./dist/attributes/types/statement/AbstractStatement.js");
|
|
6200
|
+
let Statement = class Statement extends AbstractStatement_1.AbstractStatement {
|
|
6201
|
+
static from(value) {
|
|
6202
|
+
return this.fromAny(value);
|
|
6203
|
+
}
|
|
6204
|
+
toJSON(verbose, serializeAsString) {
|
|
6205
|
+
return super.toJSON(verbose, serializeAsString);
|
|
6206
|
+
}
|
|
6207
|
+
};
|
|
6208
|
+
exports.Statement = Statement;
|
|
6209
|
+
exports.Statement = Statement = __decorate([
|
|
6210
|
+
(0, ts_serval_1.type)("Statement")
|
|
6211
|
+
], Statement);
|
|
6212
|
+
//# sourceMappingURL=Statement.js.map
|
|
6213
|
+
|
|
6214
|
+
/***/ }),
|
|
6215
|
+
|
|
6216
|
+
/***/ "./dist/attributes/types/statement/StatementAuthorityType.js":
|
|
6217
|
+
/*!*******************************************************************!*\
|
|
6218
|
+
!*** ./dist/attributes/types/statement/StatementAuthorityType.js ***!
|
|
6219
|
+
\*******************************************************************/
|
|
6220
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6221
|
+
|
|
6222
|
+
|
|
6223
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6224
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6225
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6226
|
+
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;
|
|
6227
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6228
|
+
};
|
|
6229
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
6230
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
6231
|
+
};
|
|
6232
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6233
|
+
exports.StatementAuthorityType = exports.Authority = void 0;
|
|
6234
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6235
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
6236
|
+
const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
|
|
6237
|
+
/**
|
|
6238
|
+
* Supported Authority
|
|
6239
|
+
*/
|
|
6240
|
+
var Authority;
|
|
6241
|
+
(function (Authority) {
|
|
6242
|
+
Authority["OwnAuthority"] = "ownAuthority";
|
|
6243
|
+
Authority["TrustedAuthority"] = "trustedAuthority";
|
|
6244
|
+
Authority["PublicAuthority"] = "publicAuthority";
|
|
6245
|
+
Authority["RelayedOwnAuthority"] = "relayedOwnAuthority";
|
|
6246
|
+
Authority["RelayedTrustedAuthority"] = "relayedTrustedAuthority";
|
|
6247
|
+
Authority["RelayedPublicAuthority"] = "relayedPublicAuthority";
|
|
6248
|
+
})(Authority || (exports.Authority = Authority = {}));
|
|
6249
|
+
let StatementAuthorityType = class StatementAuthorityType extends AbstractString_1.AbstractString {
|
|
6250
|
+
static get valueHints() {
|
|
6251
|
+
return super.valueHints.copyWith({
|
|
6252
|
+
values: Object.values(Authority).map((value) => hints_1.ValueHintsValue.from({
|
|
6253
|
+
key: value,
|
|
6254
|
+
displayName: `i18n://attributes.values.StatementAuthority.${value}`
|
|
6255
|
+
}))
|
|
6256
|
+
});
|
|
6257
|
+
}
|
|
6258
|
+
static get renderHints() {
|
|
6259
|
+
return super.renderHints.copyWith({
|
|
6260
|
+
editType: hints_1.RenderHintsEditType.ButtonLike
|
|
6261
|
+
});
|
|
6262
|
+
}
|
|
6263
|
+
static from(value) {
|
|
6264
|
+
return this.fromAny(value);
|
|
6265
|
+
}
|
|
6266
|
+
toJSON(verbose, serializeAsString) {
|
|
6267
|
+
return super.toJSON(verbose, serializeAsString);
|
|
6268
|
+
}
|
|
6269
|
+
};
|
|
6270
|
+
exports.StatementAuthorityType = StatementAuthorityType;
|
|
6271
|
+
__decorate([
|
|
6272
|
+
(0, ts_serval_1.serialize)(),
|
|
6273
|
+
(0, ts_serval_1.validate)({
|
|
6274
|
+
customValidator: (v) => !Object.values(Authority).includes(v) ? `must be one of: ${Object.values(Authority)}` : undefined
|
|
6275
|
+
}),
|
|
6276
|
+
__metadata("design:type", String)
|
|
6277
|
+
], StatementAuthorityType.prototype, "value", void 0);
|
|
6278
|
+
exports.StatementAuthorityType = StatementAuthorityType = __decorate([
|
|
6279
|
+
(0, ts_serval_1.type)("StatementAuthorityType")
|
|
6280
|
+
], StatementAuthorityType);
|
|
6281
|
+
//# sourceMappingURL=StatementAuthorityType.js.map
|
|
6282
|
+
|
|
6283
|
+
/***/ }),
|
|
6284
|
+
|
|
6285
|
+
/***/ "./dist/attributes/types/statement/StatementEvidence.js":
|
|
6286
|
+
/*!**************************************************************!*\
|
|
6287
|
+
!*** ./dist/attributes/types/statement/StatementEvidence.js ***!
|
|
6288
|
+
\**************************************************************/
|
|
6289
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6290
|
+
|
|
6291
|
+
|
|
6292
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6293
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6294
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6295
|
+
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;
|
|
6296
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6297
|
+
};
|
|
6298
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
6299
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
6300
|
+
};
|
|
6301
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6302
|
+
exports.StatementEvidence = exports.Evidence = void 0;
|
|
6303
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6304
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
6305
|
+
const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
|
|
6306
|
+
/**
|
|
6307
|
+
* Supported Evidence
|
|
6308
|
+
*/
|
|
6309
|
+
var Evidence;
|
|
6310
|
+
(function (Evidence) {
|
|
6311
|
+
Evidence["OwnFact"] = "ownFact";
|
|
6312
|
+
Evidence["DigitalPublicIDCard"] = "digitalPublicIDCard";
|
|
6313
|
+
Evidence["DigitalPublicDocument"] = "digitalPublicDocument";
|
|
6314
|
+
Evidence["DigitalDocument"] = "digitalDocument";
|
|
6315
|
+
Evidence["SightCheckOfPublicIDCard"] = "sightCheckOfPublicIDCard";
|
|
6316
|
+
Evidence["SightCheckOfPublicDocument"] = "sightCheckOfPublicDocument";
|
|
6317
|
+
Evidence["SightCheckOfDocument"] = "sightCheckOfDocument";
|
|
6318
|
+
Evidence["MediaOfPublicIDCard"] = "mediaOfPublicIDCard";
|
|
6319
|
+
Evidence["MediaOfPublicDocument"] = "mediaOfPublicDocument";
|
|
6320
|
+
Evidence["MediaOfDocument"] = "mediaOfDocument";
|
|
6321
|
+
})(Evidence || (exports.Evidence = Evidence = {}));
|
|
6322
|
+
let StatementEvidence = class StatementEvidence extends AbstractString_1.AbstractString {
|
|
6323
|
+
static get valueHints() {
|
|
6324
|
+
return super.valueHints.copyWith({
|
|
6325
|
+
values: Object.values(Evidence).map((value) => hints_1.ValueHintsValue.from({ key: value, displayName: `i18n://attributes.values.StatementEvidence.${value}` }))
|
|
6326
|
+
});
|
|
6327
|
+
}
|
|
6328
|
+
static get renderHints() {
|
|
6329
|
+
return super.renderHints.copyWith({
|
|
6330
|
+
editType: hints_1.RenderHintsEditType.ButtonLike
|
|
6331
|
+
});
|
|
6332
|
+
}
|
|
6333
|
+
static from(value) {
|
|
6334
|
+
return this.fromAny(value);
|
|
6335
|
+
}
|
|
6336
|
+
toJSON(verbose, serializeAsString) {
|
|
6337
|
+
return super.toJSON(verbose, serializeAsString);
|
|
6338
|
+
}
|
|
6339
|
+
};
|
|
6340
|
+
exports.StatementEvidence = StatementEvidence;
|
|
6341
|
+
__decorate([
|
|
6342
|
+
(0, ts_serval_1.serialize)(),
|
|
6343
|
+
(0, ts_serval_1.validate)({
|
|
6344
|
+
customValidator: (v) => !Object.values(Evidence).includes(v) ? `must be one of: ${Object.values(Evidence)}` : undefined
|
|
6345
|
+
}),
|
|
6346
|
+
__metadata("design:type", String)
|
|
6347
|
+
], StatementEvidence.prototype, "value", void 0);
|
|
6348
|
+
exports.StatementEvidence = StatementEvidence = __decorate([
|
|
6349
|
+
(0, ts_serval_1.type)("StatementEvidence")
|
|
6350
|
+
], StatementEvidence);
|
|
6351
|
+
//# sourceMappingURL=StatementEvidence.js.map
|
|
6352
|
+
|
|
6353
|
+
/***/ }),
|
|
6354
|
+
|
|
6355
|
+
/***/ "./dist/attributes/types/statement/StatementIssuerConditions.js":
|
|
6356
|
+
/*!**********************************************************************!*\
|
|
6357
|
+
!*** ./dist/attributes/types/statement/StatementIssuerConditions.js ***!
|
|
6358
|
+
\**********************************************************************/
|
|
6359
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6360
|
+
|
|
6361
|
+
|
|
6362
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6363
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6364
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6365
|
+
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;
|
|
6366
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6367
|
+
};
|
|
6368
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
6369
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
6370
|
+
};
|
|
6371
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6372
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6373
|
+
};
|
|
6374
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6375
|
+
exports.StatementIssuerConditions = void 0;
|
|
6376
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6377
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
6378
|
+
const easy_tsnameof_1 = __importDefault(__webpack_require__(/*! easy-tsnameof */ "./node_modules/easy-tsnameof/dist/easy-tsnameof.esm.js"));
|
|
6379
|
+
const AbstractComplexValue_1 = __webpack_require__(/*! ../../AbstractComplexValue */ "./dist/attributes/AbstractComplexValue.js");
|
|
6380
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
6381
|
+
const DigitalIdentityDescriptor_1 = __webpack_require__(/*! ./DigitalIdentityDescriptor */ "./dist/attributes/types/statement/DigitalIdentityDescriptor.js");
|
|
6382
|
+
const StatementAuthorityType_1 = __webpack_require__(/*! ./StatementAuthorityType */ "./dist/attributes/types/statement/StatementAuthorityType.js");
|
|
6383
|
+
const StatementEvidence_1 = __webpack_require__(/*! ./StatementEvidence */ "./dist/attributes/types/statement/StatementEvidence.js");
|
|
6384
|
+
let StatementIssuerConditions = class StatementIssuerConditions extends AbstractComplexValue_1.AbstractComplexValue {
|
|
6385
|
+
static from(value) {
|
|
6386
|
+
return this.fromAny(value);
|
|
6387
|
+
}
|
|
6388
|
+
toJSON(verbose, serializeAsString) {
|
|
6389
|
+
return super.toJSON(verbose, serializeAsString);
|
|
6390
|
+
}
|
|
6391
|
+
static get valueHints() {
|
|
6392
|
+
return hints_1.ValueHints.from({
|
|
6393
|
+
propertyHints: {
|
|
6394
|
+
[this.propertyNames.validFrom.$path]: hints_1.ValueHints.from({}),
|
|
6395
|
+
[this.propertyNames.validTo.$path]: hints_1.ValueHints.from({}),
|
|
6396
|
+
[this.propertyNames.evidence.$path]: StatementEvidence_1.StatementEvidence.valueHints,
|
|
6397
|
+
[this.propertyNames.authorityType.$path]: StatementAuthorityType_1.StatementAuthorityType.valueHints,
|
|
6398
|
+
[this.propertyNames.relayedParty.$path]: DigitalIdentityDescriptor_1.DigitalIdentityDescriptor.valueHints
|
|
6399
|
+
}
|
|
6400
|
+
});
|
|
6401
|
+
}
|
|
6402
|
+
static get renderHints() {
|
|
6403
|
+
return super.renderHints.copyWith({
|
|
6404
|
+
propertyHints: {
|
|
6405
|
+
[this.propertyNames.validFrom.$path]: hints_1.RenderHints.from({
|
|
6406
|
+
editType: hints_1.RenderHintsEditType.Secret,
|
|
6407
|
+
technicalType: hints_1.RenderHintsTechnicalType.String
|
|
6408
|
+
}),
|
|
6409
|
+
[this.propertyNames.validTo.$path]: hints_1.RenderHints.from({
|
|
6410
|
+
editType: hints_1.RenderHintsEditType.Secret,
|
|
6411
|
+
technicalType: hints_1.RenderHintsTechnicalType.String
|
|
6412
|
+
}),
|
|
6413
|
+
[this.propertyNames.evidence.$path]: StatementEvidence_1.StatementEvidence.renderHints,
|
|
6414
|
+
[this.propertyNames.authorityType.$path]: StatementAuthorityType_1.StatementAuthorityType.renderHints,
|
|
6415
|
+
[this.propertyNames.relayedParty.$path]: DigitalIdentityDescriptor_1.DigitalIdentityDescriptor.renderHints
|
|
6416
|
+
}
|
|
6417
|
+
});
|
|
6418
|
+
}
|
|
6419
|
+
};
|
|
6420
|
+
exports.StatementIssuerConditions = StatementIssuerConditions;
|
|
6421
|
+
StatementIssuerConditions.propertyNames = (0, easy_tsnameof_1.default)();
|
|
6422
|
+
__decorate([
|
|
6423
|
+
(0, ts_serval_1.serialize)(),
|
|
6424
|
+
(0, ts_serval_1.validate)(),
|
|
6425
|
+
__metadata("design:type", transport_1.CoreDate)
|
|
6426
|
+
], StatementIssuerConditions.prototype, "validFrom", void 0);
|
|
6427
|
+
__decorate([
|
|
6428
|
+
(0, ts_serval_1.serialize)(),
|
|
6429
|
+
(0, ts_serval_1.validate)(),
|
|
6430
|
+
__metadata("design:type", transport_1.CoreDate)
|
|
6431
|
+
], StatementIssuerConditions.prototype, "validTo", void 0);
|
|
6432
|
+
__decorate([
|
|
6433
|
+
(0, ts_serval_1.serialize)(),
|
|
6434
|
+
(0, ts_serval_1.validate)(),
|
|
6435
|
+
__metadata("design:type", StatementEvidence_1.StatementEvidence)
|
|
6436
|
+
], StatementIssuerConditions.prototype, "evidence", void 0);
|
|
6437
|
+
__decorate([
|
|
6438
|
+
(0, ts_serval_1.serialize)(),
|
|
6439
|
+
(0, ts_serval_1.validate)(),
|
|
6440
|
+
__metadata("design:type", StatementAuthorityType_1.StatementAuthorityType)
|
|
6441
|
+
], StatementIssuerConditions.prototype, "authorityType", void 0);
|
|
6442
|
+
__decorate([
|
|
6443
|
+
(0, ts_serval_1.serialize)(),
|
|
6444
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6445
|
+
__metadata("design:type", DigitalIdentityDescriptor_1.DigitalIdentityDescriptor)
|
|
6446
|
+
], StatementIssuerConditions.prototype, "relayedParty", void 0);
|
|
6447
|
+
exports.StatementIssuerConditions = StatementIssuerConditions = __decorate([
|
|
6448
|
+
(0, ts_serval_1.type)("StatementIssuerConditions")
|
|
6449
|
+
], StatementIssuerConditions);
|
|
6450
|
+
//# sourceMappingURL=StatementIssuerConditions.js.map
|
|
6451
|
+
|
|
6452
|
+
/***/ }),
|
|
6453
|
+
|
|
6454
|
+
/***/ "./dist/attributes/types/statement/StatementObject.js":
|
|
6455
|
+
/*!************************************************************!*\
|
|
6456
|
+
!*** ./dist/attributes/types/statement/StatementObject.js ***!
|
|
6457
|
+
\************************************************************/
|
|
6458
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6459
|
+
|
|
6460
|
+
|
|
6461
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6462
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6463
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6464
|
+
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;
|
|
6465
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6466
|
+
};
|
|
6467
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
6468
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
6469
|
+
};
|
|
6470
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6471
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6472
|
+
};
|
|
6473
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6474
|
+
exports.StatementObject = void 0;
|
|
6475
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6476
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
6477
|
+
const easy_tsnameof_1 = __importDefault(__webpack_require__(/*! easy-tsnameof */ "./node_modules/easy-tsnameof/dist/easy-tsnameof.esm.js"));
|
|
6478
|
+
const hints_1 = __webpack_require__(/*! ../../../attributes/hints */ "./dist/attributes/hints/index.js");
|
|
6479
|
+
const AbstractIdentityDescriptor_1 = __webpack_require__(/*! ./AbstractIdentityDescriptor */ "./dist/attributes/types/statement/AbstractIdentityDescriptor.js");
|
|
6480
|
+
let StatementObject = class StatementObject extends AbstractIdentityDescriptor_1.AbstractIdentityDescriptor {
|
|
6481
|
+
static from(value) {
|
|
6482
|
+
return this.fromAny(value);
|
|
6483
|
+
}
|
|
6484
|
+
toJSON(verbose, serializeAsString) {
|
|
6485
|
+
return super.toJSON(verbose, serializeAsString);
|
|
6486
|
+
}
|
|
6487
|
+
static get valueHints() {
|
|
6488
|
+
return super.valueHints.copyWith({
|
|
6489
|
+
propertyHints: {
|
|
6490
|
+
[this.propertyNames.address.$path]: hints_1.ValueHints.from({})
|
|
6491
|
+
}
|
|
6492
|
+
});
|
|
6493
|
+
}
|
|
6494
|
+
static get renderHints() {
|
|
6495
|
+
return super.renderHints.copyWith({
|
|
6496
|
+
propertyHints: {
|
|
6497
|
+
[this.propertyNames.address.$path]: hints_1.RenderHints.from({
|
|
6498
|
+
editType: hints_1.RenderHintsEditType.InputLike,
|
|
6499
|
+
technicalType: hints_1.RenderHintsTechnicalType.String
|
|
6500
|
+
})
|
|
6501
|
+
}
|
|
6502
|
+
});
|
|
6503
|
+
}
|
|
6504
|
+
};
|
|
6505
|
+
exports.StatementObject = StatementObject;
|
|
6506
|
+
StatementObject.propertyNames = (0, easy_tsnameof_1.default)();
|
|
6507
|
+
__decorate([
|
|
6508
|
+
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
6509
|
+
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
6510
|
+
__metadata("design:type", transport_1.CoreAddress)
|
|
6511
|
+
], StatementObject.prototype, "address", void 0);
|
|
6512
|
+
exports.StatementObject = StatementObject = __decorate([
|
|
6513
|
+
(0, ts_serval_1.type)("StatementObject")
|
|
6514
|
+
], StatementObject);
|
|
6515
|
+
//# sourceMappingURL=StatementObject.js.map
|
|
6516
|
+
|
|
6517
|
+
/***/ }),
|
|
6518
|
+
|
|
6519
|
+
/***/ "./dist/attributes/types/statement/StatementPredicate.js":
|
|
6520
|
+
/*!***************************************************************!*\
|
|
6521
|
+
!*** ./dist/attributes/types/statement/StatementPredicate.js ***!
|
|
6522
|
+
\***************************************************************/
|
|
6523
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6524
|
+
|
|
6525
|
+
|
|
6526
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6527
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6528
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6529
|
+
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;
|
|
6530
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6531
|
+
};
|
|
6532
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
6533
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
6534
|
+
};
|
|
6535
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6536
|
+
exports.StatementPredicate = exports.Predicates = void 0;
|
|
6537
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6538
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
6539
|
+
const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
|
|
6540
|
+
/**
|
|
6541
|
+
* Supported Predicates
|
|
6542
|
+
*/
|
|
6543
|
+
var Predicates;
|
|
6544
|
+
(function (Predicates) {
|
|
6545
|
+
Predicates["HasAttribute"] = "hasAttribute";
|
|
6546
|
+
Predicates["RelatesTo"] = "relatesTo";
|
|
6547
|
+
Predicates["IsRelatedTo"] = "isRelatedTo";
|
|
6548
|
+
})(Predicates || (exports.Predicates = Predicates = {}));
|
|
6549
|
+
let StatementPredicate = class StatementPredicate extends AbstractString_1.AbstractString {
|
|
6550
|
+
static get valueHints() {
|
|
6551
|
+
return super.valueHints.copyWith({
|
|
6552
|
+
values: Object.values(Predicates).map((value) => hints_1.ValueHintsValue.from({
|
|
6553
|
+
key: value,
|
|
6554
|
+
displayName: `i18n://attributes.values.StatementPredicate.${value}`
|
|
6555
|
+
}))
|
|
6556
|
+
});
|
|
6557
|
+
}
|
|
6558
|
+
static get renderHints() {
|
|
6559
|
+
return super.renderHints.copyWith({
|
|
6560
|
+
editType: hints_1.RenderHintsEditType.ButtonLike
|
|
6561
|
+
});
|
|
6562
|
+
}
|
|
6563
|
+
static from(value) {
|
|
6564
|
+
return this.fromAny(value);
|
|
6565
|
+
}
|
|
6566
|
+
toJSON(verbose, serializeAsString) {
|
|
6567
|
+
return super.toJSON(verbose, serializeAsString);
|
|
6568
|
+
}
|
|
6569
|
+
static validatePredicate(predicate) {
|
|
6570
|
+
if (Object.values(Predicates).includes(predicate)) {
|
|
6571
|
+
return undefined;
|
|
6572
|
+
}
|
|
6573
|
+
if (predicate.startsWith("z-")) {
|
|
6574
|
+
return undefined;
|
|
6575
|
+
}
|
|
6576
|
+
return `must be one of: ${Object.values(Predicates)} or start with z-`;
|
|
6577
|
+
}
|
|
6578
|
+
};
|
|
6579
|
+
exports.StatementPredicate = StatementPredicate;
|
|
6580
|
+
__decorate([
|
|
6581
|
+
(0, ts_serval_1.serialize)(),
|
|
6582
|
+
(0, ts_serval_1.validate)({
|
|
6583
|
+
customValidator: StatementPredicate.validatePredicate,
|
|
6584
|
+
allowedTypes: [ts_serval_1.PrimitiveType.String]
|
|
6585
|
+
}),
|
|
6586
|
+
__metadata("design:type", String)
|
|
6587
|
+
], StatementPredicate.prototype, "value", void 0);
|
|
6588
|
+
exports.StatementPredicate = StatementPredicate = __decorate([
|
|
6589
|
+
(0, ts_serval_1.type)("StatementPredicate")
|
|
6590
|
+
], StatementPredicate);
|
|
6591
|
+
//# sourceMappingURL=StatementPredicate.js.map
|
|
6592
|
+
|
|
6593
|
+
/***/ }),
|
|
6594
|
+
|
|
6595
|
+
/***/ "./dist/attributes/types/statement/StatementSubject.js":
|
|
6596
|
+
/*!*************************************************************!*\
|
|
6597
|
+
!*** ./dist/attributes/types/statement/StatementSubject.js ***!
|
|
6598
|
+
\*************************************************************/
|
|
6599
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6600
|
+
|
|
6601
|
+
|
|
6602
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6603
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6604
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6605
|
+
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;
|
|
6606
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6607
|
+
};
|
|
6608
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
6609
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
6610
|
+
};
|
|
6611
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6612
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6613
|
+
};
|
|
6614
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6615
|
+
exports.StatementSubject = void 0;
|
|
6616
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6617
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
6618
|
+
const easy_tsnameof_1 = __importDefault(__webpack_require__(/*! easy-tsnameof */ "./node_modules/easy-tsnameof/dist/easy-tsnameof.esm.js"));
|
|
6619
|
+
const hints_1 = __webpack_require__(/*! ../../../attributes/hints */ "./dist/attributes/hints/index.js");
|
|
6620
|
+
const AbstractIdentityDescriptor_1 = __webpack_require__(/*! ./AbstractIdentityDescriptor */ "./dist/attributes/types/statement/AbstractIdentityDescriptor.js");
|
|
6621
|
+
let StatementSubject = class StatementSubject extends AbstractIdentityDescriptor_1.AbstractIdentityDescriptor {
|
|
6622
|
+
static from(value) {
|
|
6623
|
+
return this.fromAny(value);
|
|
6624
|
+
}
|
|
6625
|
+
toJSON(verbose, serializeAsString) {
|
|
6626
|
+
return super.toJSON(verbose, serializeAsString);
|
|
6627
|
+
}
|
|
6628
|
+
static get valueHints() {
|
|
6629
|
+
return super.valueHints.copyWith({
|
|
6630
|
+
propertyHints: {
|
|
6631
|
+
[this.propertyNames.address.$path]: hints_1.ValueHints.from({})
|
|
6632
|
+
}
|
|
6633
|
+
});
|
|
6634
|
+
}
|
|
6635
|
+
static get renderHints() {
|
|
6636
|
+
return super.renderHints.copyWith({
|
|
6637
|
+
propertyHints: {
|
|
6638
|
+
[this.propertyNames.address.$path]: hints_1.RenderHints.from({
|
|
6639
|
+
editType: hints_1.RenderHintsEditType.InputLike,
|
|
6640
|
+
technicalType: hints_1.RenderHintsTechnicalType.String
|
|
6641
|
+
})
|
|
6642
|
+
}
|
|
6643
|
+
});
|
|
6644
|
+
}
|
|
6645
|
+
};
|
|
6646
|
+
exports.StatementSubject = StatementSubject;
|
|
6647
|
+
StatementSubject.propertyNames = (0, easy_tsnameof_1.default)();
|
|
6648
|
+
__decorate([
|
|
6649
|
+
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
6650
|
+
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
6651
|
+
__metadata("design:type", transport_1.CoreAddress)
|
|
6652
|
+
], StatementSubject.prototype, "address", void 0);
|
|
6653
|
+
exports.StatementSubject = StatementSubject = __decorate([
|
|
6654
|
+
(0, ts_serval_1.type)("StatementSubject")
|
|
6655
|
+
], StatementSubject);
|
|
6656
|
+
//# sourceMappingURL=StatementSubject.js.map
|
|
6657
|
+
|
|
6658
|
+
/***/ }),
|
|
6659
|
+
|
|
6660
|
+
/***/ "./dist/attributes/types/statement/index.js":
|
|
6661
|
+
/*!**************************************************!*\
|
|
6662
|
+
!*** ./dist/attributes/types/statement/index.js ***!
|
|
6663
|
+
\**************************************************/
|
|
6664
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6665
|
+
|
|
6666
|
+
|
|
6667
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6668
|
+
if (k2 === undefined) k2 = k;
|
|
6669
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6670
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6671
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
6672
|
+
}
|
|
6673
|
+
Object.defineProperty(o, k2, desc);
|
|
6674
|
+
}) : (function(o, m, k, k2) {
|
|
6675
|
+
if (k2 === undefined) k2 = k;
|
|
6676
|
+
o[k2] = m[k];
|
|
6677
|
+
}));
|
|
6678
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
6679
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
6680
|
+
};
|
|
6681
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6682
|
+
__exportStar(__webpack_require__(/*! ./AbstractIdentityDescriptor */ "./dist/attributes/types/statement/AbstractIdentityDescriptor.js"), exports);
|
|
6683
|
+
__exportStar(__webpack_require__(/*! ./AbstractStatement */ "./dist/attributes/types/statement/AbstractStatement.js"), exports);
|
|
6684
|
+
__exportStar(__webpack_require__(/*! ./DigitalIdentityDescriptor */ "./dist/attributes/types/statement/DigitalIdentityDescriptor.js"), exports);
|
|
6685
|
+
__exportStar(__webpack_require__(/*! ./Statement */ "./dist/attributes/types/statement/Statement.js"), exports);
|
|
6686
|
+
__exportStar(__webpack_require__(/*! ./StatementAuthorityType */ "./dist/attributes/types/statement/StatementAuthorityType.js"), exports);
|
|
6687
|
+
__exportStar(__webpack_require__(/*! ./StatementEvidence */ "./dist/attributes/types/statement/StatementEvidence.js"), exports);
|
|
6688
|
+
__exportStar(__webpack_require__(/*! ./StatementIssuerConditions */ "./dist/attributes/types/statement/StatementIssuerConditions.js"), exports);
|
|
6689
|
+
__exportStar(__webpack_require__(/*! ./StatementObject */ "./dist/attributes/types/statement/StatementObject.js"), exports);
|
|
6690
|
+
__exportStar(__webpack_require__(/*! ./StatementPredicate */ "./dist/attributes/types/statement/StatementPredicate.js"), exports);
|
|
6691
|
+
__exportStar(__webpack_require__(/*! ./StatementSubject */ "./dist/attributes/types/statement/StatementSubject.js"), exports);
|
|
6692
|
+
//# sourceMappingURL=index.js.map
|
|
6693
|
+
|
|
6694
|
+
/***/ }),
|
|
6695
|
+
|
|
6696
|
+
/***/ "./dist/attributes/types/strings/AbstractCountry.js":
|
|
6697
|
+
/*!**********************************************************!*\
|
|
6698
|
+
!*** ./dist/attributes/types/strings/AbstractCountry.js ***!
|
|
6699
|
+
\**********************************************************/
|
|
6700
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6701
|
+
|
|
6702
|
+
|
|
6703
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6704
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6705
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6706
|
+
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;
|
|
6707
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6708
|
+
};
|
|
6709
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
6710
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
6711
|
+
};
|
|
6712
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6713
|
+
exports.AbstractCountry = void 0;
|
|
6714
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6715
|
+
const hints_1 = __webpack_require__(/*! ../../../attributes/hints */ "./dist/attributes/hints/index.js");
|
|
6716
|
+
const CountriesAlpha2_1 = __webpack_require__(/*! ../../constants/CountriesAlpha2 */ "./dist/attributes/constants/CountriesAlpha2.js");
|
|
6717
|
+
const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
|
|
6718
|
+
class AbstractCountry extends AbstractString_1.AbstractString {
|
|
6719
|
+
static get valueHints() {
|
|
6720
|
+
return super.valueHints.copyWith({
|
|
6721
|
+
min: 2,
|
|
6722
|
+
max: 2,
|
|
6723
|
+
values: Object.values(CountriesAlpha2_1.CountryAlpha2).map((value) => hints_1.ValueHintsValue.from({ key: value, displayName: `i18n://attributes.values.countries.${value}` }))
|
|
6724
|
+
});
|
|
6725
|
+
}
|
|
6726
|
+
static get renderHints() {
|
|
6727
|
+
return super.renderHints.copyWith({
|
|
6728
|
+
editType: hints_1.RenderHintsEditType.SelectLike,
|
|
6729
|
+
dataType: hints_1.RenderHintsDataType.Country
|
|
6730
|
+
});
|
|
6731
|
+
}
|
|
6732
|
+
}
|
|
6733
|
+
exports.AbstractCountry = AbstractCountry;
|
|
6734
|
+
__decorate([
|
|
6735
|
+
(0, ts_serval_1.serialize)(),
|
|
6736
|
+
(0, ts_serval_1.validate)({
|
|
6737
|
+
customValidator: (v) => !Object.values(CountriesAlpha2_1.CountryAlpha2).includes(v) ? `must be one of: ${Object.values(CountriesAlpha2_1.CountryAlpha2)}` : undefined
|
|
6738
|
+
}),
|
|
6739
|
+
__metadata("design:type", String)
|
|
6740
|
+
], AbstractCountry.prototype, "value", void 0);
|
|
6741
|
+
//# sourceMappingURL=AbstractCountry.js.map
|
|
6742
|
+
|
|
6743
|
+
/***/ }),
|
|
6744
|
+
|
|
6745
|
+
/***/ "./dist/attributes/types/strings/AbstractEMailAddress.js":
|
|
6746
|
+
/*!***************************************************************!*\
|
|
6747
|
+
!*** ./dist/attributes/types/strings/AbstractEMailAddress.js ***!
|
|
6748
|
+
\***************************************************************/
|
|
6749
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6750
|
+
|
|
6751
|
+
|
|
6752
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6753
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6754
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6755
|
+
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;
|
|
6756
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6757
|
+
};
|
|
6758
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
6759
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
6760
|
+
};
|
|
6761
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6762
|
+
exports.AbstractEMailAddress = void 0;
|
|
6763
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6764
|
+
const hints_1 = __webpack_require__(/*! ../../../attributes/hints */ "./dist/attributes/hints/index.js");
|
|
6765
|
+
const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
|
|
6766
|
+
class AbstractEMailAddress extends AbstractString_1.AbstractString {
|
|
6767
|
+
static get valueHints() {
|
|
6768
|
+
return super.valueHints.copyWith({
|
|
6769
|
+
min: 3,
|
|
6770
|
+
max: 100,
|
|
6771
|
+
pattern: "/^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,}$/i"
|
|
6772
|
+
});
|
|
6773
|
+
}
|
|
6774
|
+
static get renderHints() {
|
|
6775
|
+
return super.renderHints.copyWith({
|
|
6776
|
+
editType: hints_1.RenderHintsEditType.InputLike,
|
|
6777
|
+
dataType: hints_1.RenderHintsDataType.EMailAddress
|
|
6778
|
+
});
|
|
6779
|
+
}
|
|
6780
|
+
}
|
|
6781
|
+
exports.AbstractEMailAddress = AbstractEMailAddress;
|
|
6782
|
+
__decorate([
|
|
6783
|
+
(0, ts_serval_1.serialize)(),
|
|
6784
|
+
(0, ts_serval_1.validate)({
|
|
6785
|
+
min: 3,
|
|
6786
|
+
max: 100,
|
|
6787
|
+
regExp: new RegExp("^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,}$", "i")
|
|
6788
|
+
}),
|
|
6789
|
+
__metadata("design:type", String)
|
|
6790
|
+
], AbstractEMailAddress.prototype, "value", void 0);
|
|
6791
|
+
//# sourceMappingURL=AbstractEMailAddress.js.map
|
|
6792
|
+
|
|
6793
|
+
/***/ }),
|
|
6794
|
+
|
|
6795
|
+
/***/ "./dist/attributes/types/strings/AbstractFileReference.js":
|
|
6796
|
+
/*!****************************************************************!*\
|
|
6797
|
+
!*** ./dist/attributes/types/strings/AbstractFileReference.js ***!
|
|
6798
|
+
\****************************************************************/
|
|
6068
6799
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6069
6800
|
|
|
6070
6801
|
|
|
@@ -6096,6 +6827,7 @@ class AbstractFileReference extends AbstractString_1.AbstractString {
|
|
|
6096
6827
|
});
|
|
6097
6828
|
}
|
|
6098
6829
|
}
|
|
6830
|
+
exports.AbstractFileReference = AbstractFileReference;
|
|
6099
6831
|
__decorate([
|
|
6100
6832
|
(0, ts_serval_1.serialize)(),
|
|
6101
6833
|
(0, ts_serval_1.validate)({
|
|
@@ -6104,7 +6836,6 @@ __decorate([
|
|
|
6104
6836
|
}),
|
|
6105
6837
|
__metadata("design:type", String)
|
|
6106
6838
|
], AbstractFileReference.prototype, "value", void 0);
|
|
6107
|
-
exports.AbstractFileReference = AbstractFileReference;
|
|
6108
6839
|
//# sourceMappingURL=AbstractFileReference.js.map
|
|
6109
6840
|
|
|
6110
6841
|
/***/ }),
|
|
@@ -6145,12 +6876,12 @@ class AbstractHEXColor extends AbstractString_1.AbstractString {
|
|
|
6145
6876
|
});
|
|
6146
6877
|
}
|
|
6147
6878
|
}
|
|
6879
|
+
exports.AbstractHEXColor = AbstractHEXColor;
|
|
6148
6880
|
__decorate([
|
|
6149
6881
|
(0, ts_serval_1.serialize)(),
|
|
6150
6882
|
(0, ts_serval_1.validate)({ min: 4, max: 9, regExp: new RegExp("^#([0-9A-F]{3}){1,2}$", "i") }),
|
|
6151
6883
|
__metadata("design:type", String)
|
|
6152
6884
|
], AbstractHEXColor.prototype, "value", void 0);
|
|
6153
|
-
exports.AbstractHEXColor = AbstractHEXColor;
|
|
6154
6885
|
//# sourceMappingURL=AbstractHEXColor.js.map
|
|
6155
6886
|
|
|
6156
6887
|
/***/ }),
|
|
@@ -6192,6 +6923,7 @@ class AbstractLanguage extends AbstractString_1.AbstractString {
|
|
|
6192
6923
|
});
|
|
6193
6924
|
}
|
|
6194
6925
|
}
|
|
6926
|
+
exports.AbstractLanguage = AbstractLanguage;
|
|
6195
6927
|
__decorate([
|
|
6196
6928
|
(0, ts_serval_1.serialize)(),
|
|
6197
6929
|
(0, ts_serval_1.validate)({
|
|
@@ -6201,7 +6933,6 @@ __decorate([
|
|
|
6201
6933
|
}),
|
|
6202
6934
|
__metadata("design:type", String)
|
|
6203
6935
|
], AbstractLanguage.prototype, "value", void 0);
|
|
6204
|
-
exports.AbstractLanguage = AbstractLanguage;
|
|
6205
6936
|
//# sourceMappingURL=AbstractLanguage.js.map
|
|
6206
6937
|
|
|
6207
6938
|
/***/ }),
|
|
@@ -6242,12 +6973,12 @@ class AbstractPhoneNumber extends AbstractString_1.AbstractString {
|
|
|
6242
6973
|
});
|
|
6243
6974
|
}
|
|
6244
6975
|
}
|
|
6976
|
+
exports.AbstractPhoneNumber = AbstractPhoneNumber;
|
|
6245
6977
|
__decorate([
|
|
6246
6978
|
(0, ts_serval_1.serialize)(),
|
|
6247
6979
|
(0, ts_serval_1.validate)({ min: 3, max: 100, regExp: new RegExp(/^[\d+\-x#*()/[\] ]{3,100}$/) }),
|
|
6248
6980
|
__metadata("design:type", String)
|
|
6249
6981
|
], AbstractPhoneNumber.prototype, "value", void 0);
|
|
6250
|
-
exports.AbstractPhoneNumber = AbstractPhoneNumber;
|
|
6251
6982
|
//# sourceMappingURL=AbstractPhoneNumber.js.map
|
|
6252
6983
|
|
|
6253
6984
|
/***/ }),
|
|
@@ -6287,6 +7018,7 @@ class AbstractURL extends AbstractString_1.AbstractString {
|
|
|
6287
7018
|
});
|
|
6288
7019
|
}
|
|
6289
7020
|
}
|
|
7021
|
+
exports.AbstractURL = AbstractURL;
|
|
6290
7022
|
__decorate([
|
|
6291
7023
|
(0, ts_serval_1.serialize)(),
|
|
6292
7024
|
(0, ts_serval_1.validate)({
|
|
@@ -6298,7 +7030,6 @@ __decorate([
|
|
|
6298
7030
|
}),
|
|
6299
7031
|
__metadata("design:type", String)
|
|
6300
7032
|
], AbstractURL.prototype, "value", void 0);
|
|
6301
|
-
exports.AbstractURL = AbstractURL;
|
|
6302
7033
|
//# sourceMappingURL=AbstractURL.js.map
|
|
6303
7034
|
|
|
6304
7035
|
/***/ }),
|
|
@@ -6337,12 +7068,12 @@ class AbstractXML extends AbstractString_1.AbstractString {
|
|
|
6337
7068
|
});
|
|
6338
7069
|
}
|
|
6339
7070
|
}
|
|
7071
|
+
exports.AbstractXML = AbstractXML;
|
|
6340
7072
|
__decorate([
|
|
6341
7073
|
(0, ts_serval_1.serialize)(),
|
|
6342
7074
|
(0, ts_serval_1.validate)({ max: 50000 }),
|
|
6343
7075
|
__metadata("design:type", String)
|
|
6344
7076
|
], AbstractXML.prototype, "value", void 0);
|
|
6345
|
-
exports.AbstractXML = AbstractXML;
|
|
6346
7077
|
//# sourceMappingURL=AbstractXML.js.map
|
|
6347
7078
|
|
|
6348
7079
|
/***/ }),
|
|
@@ -6394,11 +7125,11 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
6394
7125
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
6395
7126
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
6396
7127
|
exports.buildInformation = {
|
|
6397
|
-
version: "2.
|
|
6398
|
-
build: "
|
|
6399
|
-
date: "2023-
|
|
6400
|
-
commit: "
|
|
6401
|
-
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","@nmshd/iql":"^0.0.
|
|
7128
|
+
version: "2.7.0",
|
|
7129
|
+
build: "145",
|
|
7130
|
+
date: "2023-09-12T07:32:22+00:00",
|
|
7131
|
+
commit: "ed3fcc8c067394b20b59a6f3d6725304c2385d2d",
|
|
7132
|
+
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","@nmshd/iql":"^0.0.3","easy-tsnameof":"^3.0.6","mocha-param":"^2.0.1"},
|
|
6402
7133
|
libraries: {
|
|
6403
7134
|
serval: ts_serval_1.buildInformation,
|
|
6404
7135
|
crypto: crypto_1.buildInformation,
|
|
@@ -6431,20 +7162,180 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6431
7162
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
6432
7163
|
};
|
|
6433
7164
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6434
|
-
__exportStar(__webpack_require__(/*! ./
|
|
6435
|
-
__exportStar(__webpack_require__(/*! ./
|
|
6436
|
-
__exportStar(__webpack_require__(/*! ./
|
|
6437
|
-
__exportStar(__webpack_require__(/*! ./messages/Mail */ "./dist/messages/Mail.js"), exports);
|
|
6438
|
-
__exportStar(__webpack_require__(/*! ./
|
|
6439
|
-
__exportStar(__webpack_require__(/*! ./
|
|
7165
|
+
__exportStar(__webpack_require__(/*! ./ContentJSON */ "./dist/ContentJSON.js"), exports);
|
|
7166
|
+
__exportStar(__webpack_require__(/*! ./attributes */ "./dist/attributes/index.js"), exports);
|
|
7167
|
+
__exportStar(__webpack_require__(/*! ./buildInformation */ "./dist/buildInformation.js"), exports);
|
|
7168
|
+
__exportStar(__webpack_require__(/*! ./messages/Mail */ "./dist/messages/Mail.js"), exports);
|
|
7169
|
+
__exportStar(__webpack_require__(/*! ./notifications */ "./dist/notifications/index.js"), exports);
|
|
7170
|
+
__exportStar(__webpack_require__(/*! ./relationships */ "./dist/relationships/index.js"), exports);
|
|
7171
|
+
__exportStar(__webpack_require__(/*! ./requests */ "./dist/requests/index.js"), exports);
|
|
7172
|
+
//# sourceMappingURL=index.js.map
|
|
7173
|
+
|
|
7174
|
+
/***/ }),
|
|
7175
|
+
|
|
7176
|
+
/***/ "./dist/messages/Mail.js":
|
|
7177
|
+
/*!*******************************!*\
|
|
7178
|
+
!*** ./dist/messages/Mail.js ***!
|
|
7179
|
+
\*******************************/
|
|
7180
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7181
|
+
|
|
7182
|
+
|
|
7183
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7184
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7185
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7186
|
+
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;
|
|
7187
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7188
|
+
};
|
|
7189
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
7190
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
7191
|
+
};
|
|
7192
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7193
|
+
exports.Mail = void 0;
|
|
7194
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7195
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
7196
|
+
let Mail = class Mail extends ts_serval_1.Serializable {
|
|
7197
|
+
static preFrom(value) {
|
|
7198
|
+
if (typeof value.cc === "undefined") {
|
|
7199
|
+
value.cc = [];
|
|
7200
|
+
}
|
|
7201
|
+
if (typeof value.body === "undefined" && value.content) {
|
|
7202
|
+
value.body = value.content;
|
|
7203
|
+
delete value.content;
|
|
7204
|
+
}
|
|
7205
|
+
return value;
|
|
7206
|
+
}
|
|
7207
|
+
static from(value) {
|
|
7208
|
+
return this.fromAny(value);
|
|
7209
|
+
}
|
|
7210
|
+
toJSON(verbose, serializeAsString) {
|
|
7211
|
+
return super.toJSON(verbose, serializeAsString);
|
|
7212
|
+
}
|
|
7213
|
+
};
|
|
7214
|
+
exports.Mail = Mail;
|
|
7215
|
+
__decorate([
|
|
7216
|
+
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
7217
|
+
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
7218
|
+
__metadata("design:type", Array)
|
|
7219
|
+
], Mail.prototype, "to", void 0);
|
|
7220
|
+
__decorate([
|
|
7221
|
+
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
7222
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
7223
|
+
__metadata("design:type", Array)
|
|
7224
|
+
], Mail.prototype, "cc", void 0);
|
|
7225
|
+
__decorate([
|
|
7226
|
+
(0, ts_serval_1.serialize)(),
|
|
7227
|
+
(0, ts_serval_1.validate)({ max: 300 }),
|
|
7228
|
+
__metadata("design:type", String)
|
|
7229
|
+
], Mail.prototype, "subject", void 0);
|
|
7230
|
+
__decorate([
|
|
7231
|
+
(0, ts_serval_1.serialize)(),
|
|
7232
|
+
(0, ts_serval_1.validate)({ max: 50000 }),
|
|
7233
|
+
__metadata("design:type", String)
|
|
7234
|
+
], Mail.prototype, "body", void 0);
|
|
7235
|
+
exports.Mail = Mail = __decorate([
|
|
7236
|
+
(0, ts_serval_1.type)("Mail")
|
|
7237
|
+
], Mail);
|
|
7238
|
+
//# sourceMappingURL=Mail.js.map
|
|
7239
|
+
|
|
7240
|
+
/***/ }),
|
|
7241
|
+
|
|
7242
|
+
/***/ "./dist/notifications/Notification.js":
|
|
7243
|
+
/*!********************************************!*\
|
|
7244
|
+
!*** ./dist/notifications/Notification.js ***!
|
|
7245
|
+
\********************************************/
|
|
7246
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7247
|
+
|
|
7248
|
+
|
|
7249
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7250
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7251
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7252
|
+
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;
|
|
7253
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7254
|
+
};
|
|
7255
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
7256
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
7257
|
+
};
|
|
7258
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7259
|
+
exports.Notification = void 0;
|
|
7260
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7261
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
7262
|
+
const NotificationItem_1 = __webpack_require__(/*! ./NotificationItem */ "./dist/notifications/NotificationItem.js");
|
|
7263
|
+
let Notification = class Notification extends ts_serval_1.Serializable {
|
|
7264
|
+
static from(value) {
|
|
7265
|
+
return this.fromAny(value);
|
|
7266
|
+
}
|
|
7267
|
+
};
|
|
7268
|
+
exports.Notification = Notification;
|
|
7269
|
+
__decorate([
|
|
7270
|
+
(0, ts_serval_1.serialize)(),
|
|
7271
|
+
(0, ts_serval_1.validate)(),
|
|
7272
|
+
__metadata("design:type", transport_1.CoreId)
|
|
7273
|
+
], Notification.prototype, "id", void 0);
|
|
7274
|
+
__decorate([
|
|
7275
|
+
(0, ts_serval_1.serialize)({ type: NotificationItem_1.NotificationItem }),
|
|
7276
|
+
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
7277
|
+
__metadata("design:type", Array)
|
|
7278
|
+
], Notification.prototype, "items", void 0);
|
|
7279
|
+
exports.Notification = Notification = __decorate([
|
|
7280
|
+
(0, ts_serval_1.type)("Notification")
|
|
7281
|
+
], Notification);
|
|
7282
|
+
//# sourceMappingURL=Notification.js.map
|
|
7283
|
+
|
|
7284
|
+
/***/ }),
|
|
7285
|
+
|
|
7286
|
+
/***/ "./dist/notifications/NotificationItem.js":
|
|
7287
|
+
/*!************************************************!*\
|
|
7288
|
+
!*** ./dist/notifications/NotificationItem.js ***!
|
|
7289
|
+
\************************************************/
|
|
7290
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7291
|
+
|
|
7292
|
+
|
|
7293
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7294
|
+
exports.NotificationItem = void 0;
|
|
7295
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7296
|
+
class NotificationItem extends ts_serval_1.Serializable {
|
|
7297
|
+
static from(value) {
|
|
7298
|
+
return this.fromAny(value);
|
|
7299
|
+
}
|
|
7300
|
+
}
|
|
7301
|
+
exports.NotificationItem = NotificationItem;
|
|
7302
|
+
//# sourceMappingURL=NotificationItem.js.map
|
|
7303
|
+
|
|
7304
|
+
/***/ }),
|
|
7305
|
+
|
|
7306
|
+
/***/ "./dist/notifications/index.js":
|
|
7307
|
+
/*!*************************************!*\
|
|
7308
|
+
!*** ./dist/notifications/index.js ***!
|
|
7309
|
+
\*************************************/
|
|
7310
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7311
|
+
|
|
7312
|
+
|
|
7313
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7314
|
+
if (k2 === undefined) k2 = k;
|
|
7315
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7316
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7317
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7318
|
+
}
|
|
7319
|
+
Object.defineProperty(o, k2, desc);
|
|
7320
|
+
}) : (function(o, m, k, k2) {
|
|
7321
|
+
if (k2 === undefined) k2 = k;
|
|
7322
|
+
o[k2] = m[k];
|
|
7323
|
+
}));
|
|
7324
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
7325
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
7326
|
+
};
|
|
7327
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7328
|
+
__exportStar(__webpack_require__(/*! ./Notification */ "./dist/notifications/Notification.js"), exports);
|
|
7329
|
+
__exportStar(__webpack_require__(/*! ./NotificationItem */ "./dist/notifications/NotificationItem.js"), exports);
|
|
7330
|
+
__exportStar(__webpack_require__(/*! ./items */ "./dist/notifications/items/index.js"), exports);
|
|
6440
7331
|
//# sourceMappingURL=index.js.map
|
|
6441
7332
|
|
|
6442
7333
|
/***/ }),
|
|
6443
7334
|
|
|
6444
|
-
/***/ "./dist/
|
|
6445
|
-
|
|
6446
|
-
!*** ./dist/
|
|
6447
|
-
|
|
7335
|
+
/***/ "./dist/notifications/items/AttributeSucceededNotificationItem.js":
|
|
7336
|
+
/*!************************************************************************!*\
|
|
7337
|
+
!*** ./dist/notifications/items/AttributeSucceededNotificationItem.js ***!
|
|
7338
|
+
\************************************************************************/
|
|
6448
7339
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6449
7340
|
|
|
6450
7341
|
|
|
@@ -6458,52 +7349,63 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
6458
7349
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
6459
7350
|
};
|
|
6460
7351
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6461
|
-
exports.
|
|
7352
|
+
exports.AttributeSucceededNotificationItem = void 0;
|
|
6462
7353
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6463
7354
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
value.cc = [];
|
|
6468
|
-
}
|
|
6469
|
-
if (typeof value.body === "undefined" && value.content) {
|
|
6470
|
-
value.body = value.content;
|
|
6471
|
-
delete value.content;
|
|
6472
|
-
}
|
|
6473
|
-
return value;
|
|
6474
|
-
}
|
|
7355
|
+
const attributes_1 = __webpack_require__(/*! ../../attributes */ "./dist/attributes/index.js");
|
|
7356
|
+
const NotificationItem_1 = __webpack_require__(/*! ../NotificationItem */ "./dist/notifications/NotificationItem.js");
|
|
7357
|
+
let AttributeSucceededNotificationItem = class AttributeSucceededNotificationItem extends NotificationItem_1.NotificationItem {
|
|
6475
7358
|
static from(value) {
|
|
6476
7359
|
return this.fromAny(value);
|
|
6477
7360
|
}
|
|
6478
|
-
toJSON(verbose, serializeAsString) {
|
|
6479
|
-
return super.toJSON(verbose, serializeAsString);
|
|
6480
|
-
}
|
|
6481
7361
|
};
|
|
7362
|
+
exports.AttributeSucceededNotificationItem = AttributeSucceededNotificationItem;
|
|
6482
7363
|
__decorate([
|
|
6483
|
-
(0, ts_serval_1.
|
|
6484
|
-
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
6485
|
-
__metadata("design:type", Array)
|
|
6486
|
-
], Mail.prototype, "to", void 0);
|
|
6487
|
-
__decorate([
|
|
6488
|
-
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
6489
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6490
|
-
__metadata("design:type", Array)
|
|
6491
|
-
], Mail.prototype, "cc", void 0);
|
|
6492
|
-
__decorate([
|
|
7364
|
+
(0, ts_serval_1.validate)(),
|
|
6493
7365
|
(0, ts_serval_1.serialize)(),
|
|
6494
|
-
(
|
|
6495
|
-
|
|
6496
|
-
], Mail.prototype, "subject", void 0);
|
|
7366
|
+
__metadata("design:type", transport_1.CoreId)
|
|
7367
|
+
], AttributeSucceededNotificationItem.prototype, "succeededAttributeId", void 0);
|
|
6497
7368
|
__decorate([
|
|
7369
|
+
(0, ts_serval_1.validate)(),
|
|
6498
7370
|
(0, ts_serval_1.serialize)(),
|
|
6499
|
-
(
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
(0, ts_serval_1.
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
|
|
7371
|
+
__metadata("design:type", transport_1.CoreId)
|
|
7372
|
+
], AttributeSucceededNotificationItem.prototype, "newAttributeId", void 0);
|
|
7373
|
+
__decorate([
|
|
7374
|
+
(0, ts_serval_1.validate)(),
|
|
7375
|
+
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
|
|
7376
|
+
__metadata("design:type", Object)
|
|
7377
|
+
], AttributeSucceededNotificationItem.prototype, "attribute", void 0);
|
|
7378
|
+
exports.AttributeSucceededNotificationItem = AttributeSucceededNotificationItem = __decorate([
|
|
7379
|
+
(0, ts_serval_1.type)("AttributeSucceededNotificationItem")
|
|
7380
|
+
], AttributeSucceededNotificationItem);
|
|
7381
|
+
//# sourceMappingURL=AttributeSucceededNotificationItem.js.map
|
|
7382
|
+
|
|
7383
|
+
/***/ }),
|
|
7384
|
+
|
|
7385
|
+
/***/ "./dist/notifications/items/index.js":
|
|
7386
|
+
/*!*******************************************!*\
|
|
7387
|
+
!*** ./dist/notifications/items/index.js ***!
|
|
7388
|
+
\*******************************************/
|
|
7389
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7390
|
+
|
|
7391
|
+
|
|
7392
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7393
|
+
if (k2 === undefined) k2 = k;
|
|
7394
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7395
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7396
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7397
|
+
}
|
|
7398
|
+
Object.defineProperty(o, k2, desc);
|
|
7399
|
+
}) : (function(o, m, k, k2) {
|
|
7400
|
+
if (k2 === undefined) k2 = k;
|
|
7401
|
+
o[k2] = m[k];
|
|
7402
|
+
}));
|
|
7403
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
7404
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
7405
|
+
};
|
|
7406
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7407
|
+
__exportStar(__webpack_require__(/*! ./AttributeSucceededNotificationItem */ "./dist/notifications/items/AttributeSucceededNotificationItem.js"), exports);
|
|
7408
|
+
//# sourceMappingURL=index.js.map
|
|
6507
7409
|
|
|
6508
7410
|
/***/ }),
|
|
6509
7411
|
|
|
@@ -6535,15 +7437,15 @@ let RelationshipCreationChangeRequestContent = class RelationshipCreationChangeR
|
|
|
6535
7437
|
return super.toJSON(verbose, serializeAsString);
|
|
6536
7438
|
}
|
|
6537
7439
|
};
|
|
7440
|
+
exports.RelationshipCreationChangeRequestContent = RelationshipCreationChangeRequestContent;
|
|
6538
7441
|
__decorate([
|
|
6539
7442
|
(0, ts_serval_1.serialize)(),
|
|
6540
7443
|
(0, ts_serval_1.validate)(),
|
|
6541
7444
|
__metadata("design:type", Response_1.Response)
|
|
6542
7445
|
], RelationshipCreationChangeRequestContent.prototype, "response", void 0);
|
|
6543
|
-
RelationshipCreationChangeRequestContent = __decorate([
|
|
7446
|
+
exports.RelationshipCreationChangeRequestContent = RelationshipCreationChangeRequestContent = __decorate([
|
|
6544
7447
|
(0, ts_serval_1.type)("RelationshipCreationChangeRequestContent")
|
|
6545
7448
|
], RelationshipCreationChangeRequestContent);
|
|
6546
|
-
exports.RelationshipCreationChangeRequestContent = RelationshipCreationChangeRequestContent;
|
|
6547
7449
|
//# sourceMappingURL=RelationshipCreationChangeRequestContent.js.map
|
|
6548
7450
|
|
|
6549
7451
|
/***/ }),
|
|
@@ -6576,6 +7478,7 @@ let RelationshipTemplateContent = class RelationshipTemplateContent extends ts_s
|
|
|
6576
7478
|
return super.toJSON(verbose, serializeAsString);
|
|
6577
7479
|
}
|
|
6578
7480
|
};
|
|
7481
|
+
exports.RelationshipTemplateContent = RelationshipTemplateContent;
|
|
6579
7482
|
__decorate([
|
|
6580
7483
|
(0, ts_serval_1.serialize)(),
|
|
6581
7484
|
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
@@ -6596,10 +7499,9 @@ __decorate([
|
|
|
6596
7499
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6597
7500
|
__metadata("design:type", Request_1.Request)
|
|
6598
7501
|
], RelationshipTemplateContent.prototype, "onExistingRelationship", void 0);
|
|
6599
|
-
RelationshipTemplateContent = __decorate([
|
|
7502
|
+
exports.RelationshipTemplateContent = RelationshipTemplateContent = __decorate([
|
|
6600
7503
|
(0, ts_serval_1.type)("RelationshipTemplateContent")
|
|
6601
7504
|
], RelationshipTemplateContent);
|
|
6602
|
-
exports.RelationshipTemplateContent = RelationshipTemplateContent;
|
|
6603
7505
|
//# sourceMappingURL=RelationshipTemplateContent.js.map
|
|
6604
7506
|
|
|
6605
7507
|
/***/ }),
|
|
@@ -6660,6 +7562,7 @@ let Request = class Request extends ts_serval_1.Serializable {
|
|
|
6660
7562
|
return super.toJSON(verbose, serializeAsString);
|
|
6661
7563
|
}
|
|
6662
7564
|
};
|
|
7565
|
+
exports.Request = Request;
|
|
6663
7566
|
__decorate([
|
|
6664
7567
|
(0, ts_serval_1.serialize)(),
|
|
6665
7568
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
@@ -6690,10 +7593,9 @@ __decorate([
|
|
|
6690
7593
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6691
7594
|
__metadata("design:type", Object)
|
|
6692
7595
|
], Request.prototype, "metadata", void 0);
|
|
6693
|
-
Request = __decorate([
|
|
7596
|
+
exports.Request = Request = __decorate([
|
|
6694
7597
|
(0, ts_serval_1.type)("Request")
|
|
6695
7598
|
], Request);
|
|
6696
|
-
exports.Request = Request;
|
|
6697
7599
|
//# sourceMappingURL=Request.js.map
|
|
6698
7600
|
|
|
6699
7601
|
/***/ }),
|
|
@@ -6722,6 +7624,7 @@ class RequestItem extends ts_serval_1.Serializable {
|
|
|
6722
7624
|
return super.toJSON(verbose, serializeAsString);
|
|
6723
7625
|
}
|
|
6724
7626
|
}
|
|
7627
|
+
exports.RequestItem = RequestItem;
|
|
6725
7628
|
__decorate([
|
|
6726
7629
|
(0, ts_serval_1.serialize)(),
|
|
6727
7630
|
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
@@ -6747,7 +7650,6 @@ __decorate([
|
|
|
6747
7650
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6748
7651
|
__metadata("design:type", Boolean)
|
|
6749
7652
|
], RequestItem.prototype, "requireManualDecision", void 0);
|
|
6750
|
-
exports.RequestItem = RequestItem;
|
|
6751
7653
|
//# sourceMappingURL=RequestItem.js.map
|
|
6752
7654
|
|
|
6753
7655
|
/***/ }),
|
|
@@ -6789,6 +7691,7 @@ let RequestItemGroup = RequestItemGroup_1 = class RequestItemGroup extends ts_se
|
|
|
6789
7691
|
return super.toJSON(verbose, serializeAsString);
|
|
6790
7692
|
}
|
|
6791
7693
|
};
|
|
7694
|
+
exports.RequestItemGroup = RequestItemGroup;
|
|
6792
7695
|
__decorate([
|
|
6793
7696
|
(0, ts_serval_1.serialize)(),
|
|
6794
7697
|
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
@@ -6814,10 +7717,9 @@ __decorate([
|
|
|
6814
7717
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6815
7718
|
__metadata("design:type", Object)
|
|
6816
7719
|
], RequestItemGroup.prototype, "metadata", void 0);
|
|
6817
|
-
RequestItemGroup = RequestItemGroup_1 = __decorate([
|
|
7720
|
+
exports.RequestItemGroup = RequestItemGroup = RequestItemGroup_1 = __decorate([
|
|
6818
7721
|
(0, ts_serval_1.type)("RequestItemGroup")
|
|
6819
7722
|
], RequestItemGroup);
|
|
6820
|
-
exports.RequestItemGroup = RequestItemGroup;
|
|
6821
7723
|
//# sourceMappingURL=RequestItemGroup.js.map
|
|
6822
7724
|
|
|
6823
7725
|
/***/ }),
|
|
@@ -6851,6 +7753,7 @@ let ResponseWrapper = class ResponseWrapper extends ts_serval_1.Serializable {
|
|
|
6851
7753
|
return super.toJSON(verbose, serializeAsString);
|
|
6852
7754
|
}
|
|
6853
7755
|
};
|
|
7756
|
+
exports.ResponseWrapper = ResponseWrapper;
|
|
6854
7757
|
__decorate([
|
|
6855
7758
|
(0, ts_serval_1.serialize)(),
|
|
6856
7759
|
(0, ts_serval_1.validate)(),
|
|
@@ -6871,10 +7774,9 @@ __decorate([
|
|
|
6871
7774
|
(0, ts_serval_1.validate)(),
|
|
6872
7775
|
__metadata("design:type", response_1.Response)
|
|
6873
7776
|
], ResponseWrapper.prototype, "response", void 0);
|
|
6874
|
-
ResponseWrapper = __decorate([
|
|
7777
|
+
exports.ResponseWrapper = ResponseWrapper = __decorate([
|
|
6875
7778
|
(0, ts_serval_1.type)("ResponseWrapper")
|
|
6876
7779
|
], ResponseWrapper);
|
|
6877
|
-
exports.ResponseWrapper = ResponseWrapper;
|
|
6878
7780
|
//# sourceMappingURL=ResponseWrapper.js.map
|
|
6879
7781
|
|
|
6880
7782
|
/***/ }),
|
|
@@ -6936,10 +7838,10 @@ let AuthenticationRequestItem = class AuthenticationRequestItem extends RequestI
|
|
|
6936
7838
|
return super.toJSON(verbose, serializeAsString);
|
|
6937
7839
|
}
|
|
6938
7840
|
};
|
|
6939
|
-
AuthenticationRequestItem =
|
|
7841
|
+
exports.AuthenticationRequestItem = AuthenticationRequestItem;
|
|
7842
|
+
exports.AuthenticationRequestItem = AuthenticationRequestItem = __decorate([
|
|
6940
7843
|
(0, ts_serval_1.type)("AuthenticationRequestItem")
|
|
6941
7844
|
], AuthenticationRequestItem);
|
|
6942
|
-
exports.AuthenticationRequestItem = AuthenticationRequestItem;
|
|
6943
7845
|
//# sourceMappingURL=AuthenticationRequestItem.js.map
|
|
6944
7846
|
|
|
6945
7847
|
/***/ }),
|
|
@@ -6972,6 +7874,7 @@ let ConsentRequestItem = class ConsentRequestItem extends RequestItem_1.RequestI
|
|
|
6972
7874
|
return super.toJSON(verbose, serializeAsString);
|
|
6973
7875
|
}
|
|
6974
7876
|
};
|
|
7877
|
+
exports.ConsentRequestItem = ConsentRequestItem;
|
|
6975
7878
|
__decorate([
|
|
6976
7879
|
(0, ts_serval_1.serialize)(),
|
|
6977
7880
|
(0, ts_serval_1.validate)({ max: 2000 }),
|
|
@@ -6989,10 +7892,9 @@ __decorate([
|
|
|
6989
7892
|
}),
|
|
6990
7893
|
__metadata("design:type", String)
|
|
6991
7894
|
], ConsentRequestItem.prototype, "link", void 0);
|
|
6992
|
-
ConsentRequestItem = __decorate([
|
|
7895
|
+
exports.ConsentRequestItem = ConsentRequestItem = __decorate([
|
|
6993
7896
|
(0, ts_serval_1.type)("ConsentRequestItem")
|
|
6994
7897
|
], ConsentRequestItem);
|
|
6995
|
-
exports.ConsentRequestItem = ConsentRequestItem;
|
|
6996
7898
|
//# sourceMappingURL=ConsentRequestItem.js.map
|
|
6997
7899
|
|
|
6998
7900
|
/***/ }),
|
|
@@ -7026,15 +7928,15 @@ let CreateAttributeAcceptResponseItem = class CreateAttributeAcceptResponseItem
|
|
|
7026
7928
|
return super.toJSON(verbose, serializeAsString);
|
|
7027
7929
|
}
|
|
7028
7930
|
};
|
|
7931
|
+
exports.CreateAttributeAcceptResponseItem = CreateAttributeAcceptResponseItem;
|
|
7029
7932
|
__decorate([
|
|
7030
7933
|
(0, ts_serval_1.serialize)(),
|
|
7031
7934
|
(0, ts_serval_1.validate)(),
|
|
7032
7935
|
__metadata("design:type", transport_1.CoreId)
|
|
7033
7936
|
], CreateAttributeAcceptResponseItem.prototype, "attributeId", void 0);
|
|
7034
|
-
CreateAttributeAcceptResponseItem = __decorate([
|
|
7937
|
+
exports.CreateAttributeAcceptResponseItem = CreateAttributeAcceptResponseItem = __decorate([
|
|
7035
7938
|
(0, ts_serval_1.type)("CreateAttributeAcceptResponseItem")
|
|
7036
7939
|
], CreateAttributeAcceptResponseItem);
|
|
7037
|
-
exports.CreateAttributeAcceptResponseItem = CreateAttributeAcceptResponseItem;
|
|
7038
7940
|
//# sourceMappingURL=CreateAttributeAcceptResponseItem.js.map
|
|
7039
7941
|
|
|
7040
7942
|
/***/ }),
|
|
@@ -7068,15 +7970,15 @@ let CreateAttributeRequestItem = class CreateAttributeRequestItem extends Reques
|
|
|
7068
7970
|
return super.toJSON(verbose, serializeAsString);
|
|
7069
7971
|
}
|
|
7070
7972
|
};
|
|
7973
|
+
exports.CreateAttributeRequestItem = CreateAttributeRequestItem;
|
|
7071
7974
|
__decorate([
|
|
7072
7975
|
(0, ts_serval_1.validate)(),
|
|
7073
7976
|
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.RelationshipAttribute, attributes_1.IdentityAttribute] }),
|
|
7074
7977
|
__metadata("design:type", Object)
|
|
7075
7978
|
], CreateAttributeRequestItem.prototype, "attribute", void 0);
|
|
7076
|
-
CreateAttributeRequestItem = __decorate([
|
|
7979
|
+
exports.CreateAttributeRequestItem = CreateAttributeRequestItem = __decorate([
|
|
7077
7980
|
(0, ts_serval_1.type)("CreateAttributeRequestItem")
|
|
7078
7981
|
], CreateAttributeRequestItem);
|
|
7079
|
-
exports.CreateAttributeRequestItem = CreateAttributeRequestItem;
|
|
7080
7982
|
//# sourceMappingURL=CreateAttributeRequestItem.js.map
|
|
7081
7983
|
|
|
7082
7984
|
/***/ }),
|
|
@@ -7109,15 +8011,15 @@ let FreeTextAcceptResponseItem = class FreeTextAcceptResponseItem extends respon
|
|
|
7109
8011
|
return super.toJSON(verbose, serializeAsString);
|
|
7110
8012
|
}
|
|
7111
8013
|
};
|
|
8014
|
+
exports.FreeTextAcceptResponseItem = FreeTextAcceptResponseItem;
|
|
7112
8015
|
__decorate([
|
|
7113
8016
|
(0, ts_serval_1.serialize)(),
|
|
7114
8017
|
(0, ts_serval_1.validate)(),
|
|
7115
8018
|
__metadata("design:type", String)
|
|
7116
8019
|
], FreeTextAcceptResponseItem.prototype, "freeText", void 0);
|
|
7117
|
-
FreeTextAcceptResponseItem = __decorate([
|
|
8020
|
+
exports.FreeTextAcceptResponseItem = FreeTextAcceptResponseItem = __decorate([
|
|
7118
8021
|
(0, ts_serval_1.type)("FreeTextAcceptResponseItem")
|
|
7119
8022
|
], FreeTextAcceptResponseItem);
|
|
7120
|
-
exports.FreeTextAcceptResponseItem = FreeTextAcceptResponseItem;
|
|
7121
8023
|
//# sourceMappingURL=FreeTextAcceptResponseItem.js.map
|
|
7122
8024
|
|
|
7123
8025
|
/***/ }),
|
|
@@ -7150,15 +8052,15 @@ let FreeTextRequestItem = class FreeTextRequestItem extends RequestItem_1.Reques
|
|
|
7150
8052
|
return super.toJSON(verbose, serializeAsString);
|
|
7151
8053
|
}
|
|
7152
8054
|
};
|
|
8055
|
+
exports.FreeTextRequestItem = FreeTextRequestItem;
|
|
7153
8056
|
__decorate([
|
|
7154
8057
|
(0, ts_serval_1.serialize)(),
|
|
7155
8058
|
(0, ts_serval_1.validate)(),
|
|
7156
8059
|
__metadata("design:type", String)
|
|
7157
8060
|
], FreeTextRequestItem.prototype, "freeText", void 0);
|
|
7158
|
-
FreeTextRequestItem = __decorate([
|
|
8061
|
+
exports.FreeTextRequestItem = FreeTextRequestItem = __decorate([
|
|
7159
8062
|
(0, ts_serval_1.type)("FreeTextRequestItem")
|
|
7160
8063
|
], FreeTextRequestItem);
|
|
7161
|
-
exports.FreeTextRequestItem = FreeTextRequestItem;
|
|
7162
8064
|
//# sourceMappingURL=FreeTextRequestItem.js.map
|
|
7163
8065
|
|
|
7164
8066
|
/***/ }),
|
|
@@ -7199,8 +8101,6 @@ __exportStar(__webpack_require__(/*! ./registerAttributeListener/RegisterAttribu
|
|
|
7199
8101
|
__exportStar(__webpack_require__(/*! ./registerAttributeListener/RegisterAttributeListenerRequestItem */ "./dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js"), exports);
|
|
7200
8102
|
__exportStar(__webpack_require__(/*! ./shareAttribute/ShareAttributeAcceptResponseItem */ "./dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js"), exports);
|
|
7201
8103
|
__exportStar(__webpack_require__(/*! ./shareAttribute/ShareAttributeRequestItem */ "./dist/requests/items/shareAttribute/ShareAttributeRequestItem.js"), exports);
|
|
7202
|
-
__exportStar(__webpack_require__(/*! ./succeedAttribute/SucceedAttributeAcceptResponseItem */ "./dist/requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.js"), exports);
|
|
7203
|
-
__exportStar(__webpack_require__(/*! ./succeedAttribute/SucceedAttributeRequestItem */ "./dist/requests/items/succeedAttribute/SucceedAttributeRequestItem.js"), exports);
|
|
7204
8104
|
//# sourceMappingURL=index.js.map
|
|
7205
8105
|
|
|
7206
8106
|
/***/ }),
|
|
@@ -7235,6 +8135,7 @@ let ProposeAttributeAcceptResponseItem = class ProposeAttributeAcceptResponseIte
|
|
|
7235
8135
|
return super.toJSON(verbose, serializeAsString);
|
|
7236
8136
|
}
|
|
7237
8137
|
};
|
|
8138
|
+
exports.ProposeAttributeAcceptResponseItem = ProposeAttributeAcceptResponseItem;
|
|
7238
8139
|
__decorate([
|
|
7239
8140
|
(0, ts_serval_1.serialize)(),
|
|
7240
8141
|
(0, ts_serval_1.validate)(),
|
|
@@ -7245,10 +8146,9 @@ __decorate([
|
|
|
7245
8146
|
(0, ts_serval_1.validate)(),
|
|
7246
8147
|
__metadata("design:type", Object)
|
|
7247
8148
|
], ProposeAttributeAcceptResponseItem.prototype, "attribute", void 0);
|
|
7248
|
-
ProposeAttributeAcceptResponseItem = __decorate([
|
|
8149
|
+
exports.ProposeAttributeAcceptResponseItem = ProposeAttributeAcceptResponseItem = __decorate([
|
|
7249
8150
|
(0, ts_serval_1.type)("ProposeAttributeAcceptResponseItem")
|
|
7250
8151
|
], ProposeAttributeAcceptResponseItem);
|
|
7251
|
-
exports.ProposeAttributeAcceptResponseItem = ProposeAttributeAcceptResponseItem;
|
|
7252
8152
|
//# sourceMappingURL=ProposeAttributeAcceptResponseItem.js.map
|
|
7253
8153
|
|
|
7254
8154
|
/***/ }),
|
|
@@ -7304,6 +8204,7 @@ let ProposeAttributeRequestItem = ProposeAttributeRequestItem_1 = class ProposeA
|
|
|
7304
8204
|
return super.toJSON(verbose, serializeAsString);
|
|
7305
8205
|
}
|
|
7306
8206
|
};
|
|
8207
|
+
exports.ProposeAttributeRequestItem = ProposeAttributeRequestItem;
|
|
7307
8208
|
__decorate([
|
|
7308
8209
|
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery, attributes_1.IQLQuery] }),
|
|
7309
8210
|
(0, ts_serval_1.validate)(),
|
|
@@ -7314,10 +8215,9 @@ __decorate([
|
|
|
7314
8215
|
(0, ts_serval_1.validate)(),
|
|
7315
8216
|
__metadata("design:type", Object)
|
|
7316
8217
|
], ProposeAttributeRequestItem.prototype, "attribute", void 0);
|
|
7317
|
-
ProposeAttributeRequestItem = ProposeAttributeRequestItem_1 = __decorate([
|
|
8218
|
+
exports.ProposeAttributeRequestItem = ProposeAttributeRequestItem = ProposeAttributeRequestItem_1 = __decorate([
|
|
7318
8219
|
(0, ts_serval_1.type)("ProposeAttributeRequestItem")
|
|
7319
8220
|
], ProposeAttributeRequestItem);
|
|
7320
|
-
exports.ProposeAttributeRequestItem = ProposeAttributeRequestItem;
|
|
7321
8221
|
//# sourceMappingURL=ProposeAttributeRequestItem.js.map
|
|
7322
8222
|
|
|
7323
8223
|
/***/ }),
|
|
@@ -7352,6 +8252,7 @@ let ReadAttributeAcceptResponseItem = class ReadAttributeAcceptResponseItem exte
|
|
|
7352
8252
|
return super.toJSON(verbose, serializeAsString);
|
|
7353
8253
|
}
|
|
7354
8254
|
};
|
|
8255
|
+
exports.ReadAttributeAcceptResponseItem = ReadAttributeAcceptResponseItem;
|
|
7355
8256
|
__decorate([
|
|
7356
8257
|
(0, ts_serval_1.serialize)(),
|
|
7357
8258
|
(0, ts_serval_1.validate)(),
|
|
@@ -7362,10 +8263,9 @@ __decorate([
|
|
|
7362
8263
|
(0, ts_serval_1.validate)(),
|
|
7363
8264
|
__metadata("design:type", Object)
|
|
7364
8265
|
], ReadAttributeAcceptResponseItem.prototype, "attribute", void 0);
|
|
7365
|
-
ReadAttributeAcceptResponseItem = __decorate([
|
|
8266
|
+
exports.ReadAttributeAcceptResponseItem = ReadAttributeAcceptResponseItem = __decorate([
|
|
7366
8267
|
(0, ts_serval_1.type)("ReadAttributeAcceptResponseItem")
|
|
7367
8268
|
], ReadAttributeAcceptResponseItem);
|
|
7368
|
-
exports.ReadAttributeAcceptResponseItem = ReadAttributeAcceptResponseItem;
|
|
7369
8269
|
//# sourceMappingURL=ReadAttributeAcceptResponseItem.js.map
|
|
7370
8270
|
|
|
7371
8271
|
/***/ }),
|
|
@@ -7396,6 +8296,7 @@ let ReadAttributeRequestItem = class ReadAttributeRequestItem extends RequestIte
|
|
|
7396
8296
|
return this.fromAny(value);
|
|
7397
8297
|
}
|
|
7398
8298
|
};
|
|
8299
|
+
exports.ReadAttributeRequestItem = ReadAttributeRequestItem;
|
|
7399
8300
|
__decorate([
|
|
7400
8301
|
(0, ts_serval_1.serialize)({
|
|
7401
8302
|
unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery, attributes_1.ThirdPartyRelationshipAttributeQuery, attributes_1.IQLQuery]
|
|
@@ -7403,10 +8304,9 @@ __decorate([
|
|
|
7403
8304
|
(0, ts_serval_1.validate)(),
|
|
7404
8305
|
__metadata("design:type", Object)
|
|
7405
8306
|
], ReadAttributeRequestItem.prototype, "query", void 0);
|
|
7406
|
-
ReadAttributeRequestItem = __decorate([
|
|
8307
|
+
exports.ReadAttributeRequestItem = ReadAttributeRequestItem = __decorate([
|
|
7407
8308
|
(0, ts_serval_1.type)("ReadAttributeRequestItem")
|
|
7408
8309
|
], ReadAttributeRequestItem);
|
|
7409
|
-
exports.ReadAttributeRequestItem = ReadAttributeRequestItem;
|
|
7410
8310
|
//# sourceMappingURL=ReadAttributeRequestItem.js.map
|
|
7411
8311
|
|
|
7412
8312
|
/***/ }),
|
|
@@ -7439,15 +8339,15 @@ let RegisterAttributeListenerAcceptResponseItem = class RegisterAttributeListene
|
|
|
7439
8339
|
return super.toJSON(verbose, serializeAsString);
|
|
7440
8340
|
}
|
|
7441
8341
|
};
|
|
8342
|
+
exports.RegisterAttributeListenerAcceptResponseItem = RegisterAttributeListenerAcceptResponseItem;
|
|
7442
8343
|
__decorate([
|
|
7443
8344
|
(0, ts_serval_1.serialize)(),
|
|
7444
8345
|
(0, ts_serval_1.validate)({ max: 30 }),
|
|
7445
8346
|
__metadata("design:type", String)
|
|
7446
8347
|
], RegisterAttributeListenerAcceptResponseItem.prototype, "listenerId", void 0);
|
|
7447
|
-
RegisterAttributeListenerAcceptResponseItem = __decorate([
|
|
8348
|
+
exports.RegisterAttributeListenerAcceptResponseItem = RegisterAttributeListenerAcceptResponseItem = __decorate([
|
|
7448
8349
|
(0, ts_serval_1.type)("RegisterAttributeListenerAcceptResponseItem")
|
|
7449
8350
|
], RegisterAttributeListenerAcceptResponseItem);
|
|
7450
|
-
exports.RegisterAttributeListenerAcceptResponseItem = RegisterAttributeListenerAcceptResponseItem;
|
|
7451
8351
|
//# sourceMappingURL=RegisterAttributeListenerAcceptResponseItem.js.map
|
|
7452
8352
|
|
|
7453
8353
|
/***/ }),
|
|
@@ -7481,6 +8381,7 @@ let RegisterAttributeListenerRequestItem = class RegisterAttributeListenerReques
|
|
|
7481
8381
|
return super.toJSON(verbose, serializeAsString);
|
|
7482
8382
|
}
|
|
7483
8383
|
};
|
|
8384
|
+
exports.RegisterAttributeListenerRequestItem = RegisterAttributeListenerRequestItem;
|
|
7484
8385
|
__decorate([
|
|
7485
8386
|
(0, ts_serval_1.serialize)({
|
|
7486
8387
|
unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.ThirdPartyRelationshipAttributeQuery]
|
|
@@ -7488,10 +8389,9 @@ __decorate([
|
|
|
7488
8389
|
(0, ts_serval_1.validate)(),
|
|
7489
8390
|
__metadata("design:type", Object)
|
|
7490
8391
|
], RegisterAttributeListenerRequestItem.prototype, "query", void 0);
|
|
7491
|
-
RegisterAttributeListenerRequestItem = __decorate([
|
|
8392
|
+
exports.RegisterAttributeListenerRequestItem = RegisterAttributeListenerRequestItem = __decorate([
|
|
7492
8393
|
(0, ts_serval_1.type)("RegisterAttributeListenerRequestItem")
|
|
7493
8394
|
], RegisterAttributeListenerRequestItem);
|
|
7494
|
-
exports.RegisterAttributeListenerRequestItem = RegisterAttributeListenerRequestItem;
|
|
7495
8395
|
//# sourceMappingURL=RegisterAttributeListenerRequestItem.js.map
|
|
7496
8396
|
|
|
7497
8397
|
/***/ }),
|
|
@@ -7525,15 +8425,15 @@ let ShareAttributeAcceptResponseItem = class ShareAttributeAcceptResponseItem ex
|
|
|
7525
8425
|
return super.toJSON(verbose, serializeAsString);
|
|
7526
8426
|
}
|
|
7527
8427
|
};
|
|
8428
|
+
exports.ShareAttributeAcceptResponseItem = ShareAttributeAcceptResponseItem;
|
|
7528
8429
|
__decorate([
|
|
7529
8430
|
(0, ts_serval_1.serialize)(),
|
|
7530
8431
|
(0, ts_serval_1.validate)(),
|
|
7531
8432
|
__metadata("design:type", transport_1.CoreId)
|
|
7532
8433
|
], ShareAttributeAcceptResponseItem.prototype, "attributeId", void 0);
|
|
7533
|
-
ShareAttributeAcceptResponseItem = __decorate([
|
|
8434
|
+
exports.ShareAttributeAcceptResponseItem = ShareAttributeAcceptResponseItem = __decorate([
|
|
7534
8435
|
(0, ts_serval_1.type)("ShareAttributeAcceptResponseItem")
|
|
7535
8436
|
], ShareAttributeAcceptResponseItem);
|
|
7536
|
-
exports.ShareAttributeAcceptResponseItem = ShareAttributeAcceptResponseItem;
|
|
7537
8437
|
//# sourceMappingURL=ShareAttributeAcceptResponseItem.js.map
|
|
7538
8438
|
|
|
7539
8439
|
/***/ }),
|
|
@@ -7568,6 +8468,7 @@ let ShareAttributeRequestItem = class ShareAttributeRequestItem extends RequestI
|
|
|
7568
8468
|
return super.toJSON(verbose, serializeAsString);
|
|
7569
8469
|
}
|
|
7570
8470
|
};
|
|
8471
|
+
exports.ShareAttributeRequestItem = ShareAttributeRequestItem;
|
|
7571
8472
|
__decorate([
|
|
7572
8473
|
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
|
|
7573
8474
|
(0, ts_serval_1.validate)(),
|
|
@@ -7578,104 +8479,13 @@ __decorate([
|
|
|
7578
8479
|
(0, ts_serval_1.validate)(),
|
|
7579
8480
|
__metadata("design:type", transport_1.CoreId)
|
|
7580
8481
|
], ShareAttributeRequestItem.prototype, "sourceAttributeId", void 0);
|
|
7581
|
-
ShareAttributeRequestItem = __decorate([
|
|
8482
|
+
exports.ShareAttributeRequestItem = ShareAttributeRequestItem = __decorate([
|
|
7582
8483
|
(0, ts_serval_1.type)("ShareAttributeRequestItem")
|
|
7583
8484
|
], ShareAttributeRequestItem);
|
|
7584
|
-
exports.ShareAttributeRequestItem = ShareAttributeRequestItem;
|
|
7585
8485
|
//# sourceMappingURL=ShareAttributeRequestItem.js.map
|
|
7586
8486
|
|
|
7587
8487
|
/***/ }),
|
|
7588
8488
|
|
|
7589
|
-
/***/ "./dist/requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.js":
|
|
7590
|
-
/*!************************************************************************************!*\
|
|
7591
|
-
!*** ./dist/requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.js ***!
|
|
7592
|
-
\************************************************************************************/
|
|
7593
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7597
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7598
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7599
|
-
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;
|
|
7600
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7601
|
-
};
|
|
7602
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
7603
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
7604
|
-
};
|
|
7605
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7606
|
-
exports.SucceedAttributeAcceptResponseItem = void 0;
|
|
7607
|
-
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7608
|
-
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
7609
|
-
const response_1 = __webpack_require__(/*! ../../response */ "./dist/requests/response/index.js");
|
|
7610
|
-
let SucceedAttributeAcceptResponseItem = class SucceedAttributeAcceptResponseItem extends response_1.AcceptResponseItem {
|
|
7611
|
-
static from(value) {
|
|
7612
|
-
return this.fromAny(value);
|
|
7613
|
-
}
|
|
7614
|
-
toJSON(verbose, serializeAsString) {
|
|
7615
|
-
return super.toJSON(verbose, serializeAsString);
|
|
7616
|
-
}
|
|
7617
|
-
};
|
|
7618
|
-
__decorate([
|
|
7619
|
-
(0, ts_serval_1.serialize)(),
|
|
7620
|
-
(0, ts_serval_1.validate)(),
|
|
7621
|
-
__metadata("design:type", transport_1.CoreId)
|
|
7622
|
-
], SucceedAttributeAcceptResponseItem.prototype, "attributeId", void 0);
|
|
7623
|
-
SucceedAttributeAcceptResponseItem = __decorate([
|
|
7624
|
-
(0, ts_serval_1.type)("SucceedAttributeAcceptResponseItem")
|
|
7625
|
-
], SucceedAttributeAcceptResponseItem);
|
|
7626
|
-
exports.SucceedAttributeAcceptResponseItem = SucceedAttributeAcceptResponseItem;
|
|
7627
|
-
//# sourceMappingURL=SucceedAttributeAcceptResponseItem.js.map
|
|
7628
|
-
|
|
7629
|
-
/***/ }),
|
|
7630
|
-
|
|
7631
|
-
/***/ "./dist/requests/items/succeedAttribute/SucceedAttributeRequestItem.js":
|
|
7632
|
-
/*!*****************************************************************************!*\
|
|
7633
|
-
!*** ./dist/requests/items/succeedAttribute/SucceedAttributeRequestItem.js ***!
|
|
7634
|
-
\*****************************************************************************/
|
|
7635
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7636
|
-
|
|
7637
|
-
|
|
7638
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7639
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7640
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7641
|
-
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;
|
|
7642
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7643
|
-
};
|
|
7644
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
7645
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
7646
|
-
};
|
|
7647
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7648
|
-
exports.SucceedAttributeRequestItem = void 0;
|
|
7649
|
-
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7650
|
-
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
7651
|
-
const attributes_1 = __webpack_require__(/*! ../../../attributes */ "./dist/attributes/index.js");
|
|
7652
|
-
const RequestItem_1 = __webpack_require__(/*! ../../RequestItem */ "./dist/requests/RequestItem.js");
|
|
7653
|
-
let SucceedAttributeRequestItem = class SucceedAttributeRequestItem extends RequestItem_1.RequestItem {
|
|
7654
|
-
static from(value) {
|
|
7655
|
-
return this.fromAny(value);
|
|
7656
|
-
}
|
|
7657
|
-
toJSON(verbose, serializeAsString) {
|
|
7658
|
-
return super.toJSON(verbose, serializeAsString);
|
|
7659
|
-
}
|
|
7660
|
-
};
|
|
7661
|
-
__decorate([
|
|
7662
|
-
(0, ts_serval_1.validate)(),
|
|
7663
|
-
(0, ts_serval_1.serialize)(),
|
|
7664
|
-
__metadata("design:type", transport_1.CoreId)
|
|
7665
|
-
], SucceedAttributeRequestItem.prototype, "succeededAttributeId", void 0);
|
|
7666
|
-
__decorate([
|
|
7667
|
-
(0, ts_serval_1.validate)(),
|
|
7668
|
-
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
|
|
7669
|
-
__metadata("design:type", Object)
|
|
7670
|
-
], SucceedAttributeRequestItem.prototype, "attribute", void 0);
|
|
7671
|
-
SucceedAttributeRequestItem = __decorate([
|
|
7672
|
-
(0, ts_serval_1.type)("SucceedAttributeRequestItem")
|
|
7673
|
-
], SucceedAttributeRequestItem);
|
|
7674
|
-
exports.SucceedAttributeRequestItem = SucceedAttributeRequestItem;
|
|
7675
|
-
//# sourceMappingURL=SucceedAttributeRequestItem.js.map
|
|
7676
|
-
|
|
7677
|
-
/***/ }),
|
|
7678
|
-
|
|
7679
8489
|
/***/ "./dist/requests/response/AcceptResponseItem.js":
|
|
7680
8490
|
/*!******************************************************!*\
|
|
7681
8491
|
!*** ./dist/requests/response/AcceptResponseItem.js ***!
|
|
@@ -7701,10 +8511,10 @@ let AcceptResponseItem = class AcceptResponseItem extends ResponseItem_1.Respons
|
|
|
7701
8511
|
return super.toJSON(verbose, serializeAsString);
|
|
7702
8512
|
}
|
|
7703
8513
|
};
|
|
7704
|
-
AcceptResponseItem =
|
|
8514
|
+
exports.AcceptResponseItem = AcceptResponseItem;
|
|
8515
|
+
exports.AcceptResponseItem = AcceptResponseItem = __decorate([
|
|
7705
8516
|
(0, ts_serval_1.type)("AcceptResponseItem")
|
|
7706
8517
|
], AcceptResponseItem);
|
|
7707
|
-
exports.AcceptResponseItem = AcceptResponseItem;
|
|
7708
8518
|
//# sourceMappingURL=AcceptResponseItem.js.map
|
|
7709
8519
|
|
|
7710
8520
|
/***/ }),
|
|
@@ -7737,6 +8547,7 @@ let ErrorResponseItem = class ErrorResponseItem extends ResponseItem_1.ResponseI
|
|
|
7737
8547
|
return super.toJSON(verbose, serializeAsString);
|
|
7738
8548
|
}
|
|
7739
8549
|
};
|
|
8550
|
+
exports.ErrorResponseItem = ErrorResponseItem;
|
|
7740
8551
|
__decorate([
|
|
7741
8552
|
(0, ts_serval_1.serialize)(),
|
|
7742
8553
|
(0, ts_serval_1.validate)({ max: 200 }),
|
|
@@ -7747,10 +8558,9 @@ __decorate([
|
|
|
7747
8558
|
(0, ts_serval_1.validate)({ max: 1000 }),
|
|
7748
8559
|
__metadata("design:type", String)
|
|
7749
8560
|
], ErrorResponseItem.prototype, "message", void 0);
|
|
7750
|
-
ErrorResponseItem = __decorate([
|
|
8561
|
+
exports.ErrorResponseItem = ErrorResponseItem = __decorate([
|
|
7751
8562
|
(0, ts_serval_1.type)("ErrorResponseItem")
|
|
7752
8563
|
], ErrorResponseItem);
|
|
7753
|
-
exports.ErrorResponseItem = ErrorResponseItem;
|
|
7754
8564
|
//# sourceMappingURL=ErrorResponseItem.js.map
|
|
7755
8565
|
|
|
7756
8566
|
/***/ }),
|
|
@@ -7783,6 +8593,7 @@ let RejectResponseItem = class RejectResponseItem extends ResponseItem_1.Respons
|
|
|
7783
8593
|
return super.toJSON(verbose, serializeAsString);
|
|
7784
8594
|
}
|
|
7785
8595
|
};
|
|
8596
|
+
exports.RejectResponseItem = RejectResponseItem;
|
|
7786
8597
|
__decorate([
|
|
7787
8598
|
(0, ts_serval_1.serialize)(),
|
|
7788
8599
|
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
@@ -7793,10 +8604,9 @@ __decorate([
|
|
|
7793
8604
|
(0, ts_serval_1.validate)({ nullable: true, max: 1000 }),
|
|
7794
8605
|
__metadata("design:type", String)
|
|
7795
8606
|
], RejectResponseItem.prototype, "message", void 0);
|
|
7796
|
-
RejectResponseItem = __decorate([
|
|
8607
|
+
exports.RejectResponseItem = RejectResponseItem = __decorate([
|
|
7797
8608
|
(0, ts_serval_1.type)("RejectResponseItem")
|
|
7798
8609
|
], RejectResponseItem);
|
|
7799
|
-
exports.RejectResponseItem = RejectResponseItem;
|
|
7800
8610
|
//# sourceMappingURL=RejectResponseItem.js.map
|
|
7801
8611
|
|
|
7802
8612
|
/***/ }),
|
|
@@ -7825,7 +8635,7 @@ var ResponseResult;
|
|
|
7825
8635
|
(function (ResponseResult) {
|
|
7826
8636
|
ResponseResult["Accepted"] = "Accepted";
|
|
7827
8637
|
ResponseResult["Rejected"] = "Rejected";
|
|
7828
|
-
})(ResponseResult
|
|
8638
|
+
})(ResponseResult || (exports.ResponseResult = ResponseResult = {}));
|
|
7829
8639
|
let Response = class Response extends ts_serval_1.Serializable {
|
|
7830
8640
|
static from(value) {
|
|
7831
8641
|
return this.fromAny(value);
|
|
@@ -7834,6 +8644,7 @@ let Response = class Response extends ts_serval_1.Serializable {
|
|
|
7834
8644
|
return super.toJSON(verbose, serializeAsString);
|
|
7835
8645
|
}
|
|
7836
8646
|
};
|
|
8647
|
+
exports.Response = Response;
|
|
7837
8648
|
__decorate([
|
|
7838
8649
|
(0, ts_serval_1.serialize)(),
|
|
7839
8650
|
(0, ts_serval_1.validate)(),
|
|
@@ -7849,10 +8660,9 @@ __decorate([
|
|
|
7849
8660
|
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
7850
8661
|
__metadata("design:type", Array)
|
|
7851
8662
|
], Response.prototype, "items", void 0);
|
|
7852
|
-
Response = __decorate([
|
|
8663
|
+
exports.Response = Response = __decorate([
|
|
7853
8664
|
(0, ts_serval_1.type)("Response")
|
|
7854
8665
|
], Response);
|
|
7855
|
-
exports.Response = Response;
|
|
7856
8666
|
//# sourceMappingURL=Response.js.map
|
|
7857
8667
|
|
|
7858
8668
|
/***/ }),
|
|
@@ -7882,12 +8692,12 @@ class ResponseItem extends ts_serval_1.Serializable {
|
|
|
7882
8692
|
return super.toJSON(verbose, serializeAsString);
|
|
7883
8693
|
}
|
|
7884
8694
|
}
|
|
8695
|
+
exports.ResponseItem = ResponseItem;
|
|
7885
8696
|
__decorate([
|
|
7886
8697
|
(0, ts_serval_1.serialize)(),
|
|
7887
8698
|
(0, ts_serval_1.validate)(),
|
|
7888
8699
|
__metadata("design:type", String)
|
|
7889
8700
|
], ResponseItem.prototype, "result", void 0);
|
|
7890
|
-
exports.ResponseItem = ResponseItem;
|
|
7891
8701
|
//# sourceMappingURL=ResponseItem.js.map
|
|
7892
8702
|
|
|
7893
8703
|
/***/ }),
|
|
@@ -7919,15 +8729,15 @@ let ResponseItemGroup = class ResponseItemGroup extends ts_serval_1.Serializable
|
|
|
7919
8729
|
return super.toJSON(verbose, serializeAsString);
|
|
7920
8730
|
}
|
|
7921
8731
|
};
|
|
8732
|
+
exports.ResponseItemGroup = ResponseItemGroup;
|
|
7922
8733
|
__decorate([
|
|
7923
8734
|
(0, ts_serval_1.serialize)(),
|
|
7924
8735
|
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
7925
8736
|
__metadata("design:type", Array)
|
|
7926
8737
|
], ResponseItemGroup.prototype, "items", void 0);
|
|
7927
|
-
ResponseItemGroup = __decorate([
|
|
8738
|
+
exports.ResponseItemGroup = ResponseItemGroup = __decorate([
|
|
7928
8739
|
(0, ts_serval_1.type)("ResponseItemGroup")
|
|
7929
8740
|
], ResponseItemGroup);
|
|
7930
|
-
exports.ResponseItemGroup = ResponseItemGroup;
|
|
7931
8741
|
//# sourceMappingURL=ResponseItemGroup.js.map
|
|
7932
8742
|
|
|
7933
8743
|
/***/ }),
|
|
@@ -7946,7 +8756,7 @@ var ResponseItemResult;
|
|
|
7946
8756
|
ResponseItemResult["Accepted"] = "Accepted";
|
|
7947
8757
|
ResponseItemResult["Rejected"] = "Rejected";
|
|
7948
8758
|
ResponseItemResult["Failed"] = "Error";
|
|
7949
|
-
})(ResponseItemResult
|
|
8759
|
+
})(ResponseItemResult || (exports.ResponseItemResult = ResponseItemResult = {}));
|
|
7950
8760
|
//# sourceMappingURL=ResponseItemResult.js.map
|
|
7951
8761
|
|
|
7952
8762
|
/***/ }),
|
|
@@ -10320,7 +11130,7 @@ function intlConfigString(localeStr, numberingSystem, outputCalendar) {
|
|
|
10320
11130
|
function mapMonths(f) {
|
|
10321
11131
|
const ms = [];
|
|
10322
11132
|
for (let i = 1; i <= 12; i++) {
|
|
10323
|
-
const dt = DateTime.utc(
|
|
11133
|
+
const dt = DateTime.utc(2009, i, 1);
|
|
10324
11134
|
ms.push(f(dt));
|
|
10325
11135
|
}
|
|
10326
11136
|
return ms;
|
|
@@ -10333,8 +11143,8 @@ function mapWeekdays(f) {
|
|
|
10333
11143
|
}
|
|
10334
11144
|
return ms;
|
|
10335
11145
|
}
|
|
10336
|
-
function listStuff(loc, length,
|
|
10337
|
-
const mode = loc.listingMode(
|
|
11146
|
+
function listStuff(loc, length, englishFn, intlFn) {
|
|
11147
|
+
const mode = loc.listingMode();
|
|
10338
11148
|
if (mode === "error") {
|
|
10339
11149
|
return null;
|
|
10340
11150
|
} else if (mode === "en") {
|
|
@@ -10580,8 +11390,8 @@ class Locale {
|
|
|
10580
11390
|
defaultToEN: false
|
|
10581
11391
|
});
|
|
10582
11392
|
}
|
|
10583
|
-
months(length, format = false
|
|
10584
|
-
return listStuff(this, length,
|
|
11393
|
+
months(length, format = false) {
|
|
11394
|
+
return listStuff(this, length, months, () => {
|
|
10585
11395
|
const intl = format ? {
|
|
10586
11396
|
month: length,
|
|
10587
11397
|
day: "numeric"
|
|
@@ -10595,8 +11405,8 @@ class Locale {
|
|
|
10595
11405
|
return this.monthsCache[formatStr][length];
|
|
10596
11406
|
});
|
|
10597
11407
|
}
|
|
10598
|
-
weekdays(length, format = false
|
|
10599
|
-
return listStuff(this, length,
|
|
11408
|
+
weekdays(length, format = false) {
|
|
11409
|
+
return listStuff(this, length, weekdays, () => {
|
|
10600
11410
|
const intl = format ? {
|
|
10601
11411
|
weekday: length,
|
|
10602
11412
|
year: "numeric",
|
|
@@ -10612,8 +11422,8 @@ class Locale {
|
|
|
10612
11422
|
return this.weekdaysCache[formatStr][length];
|
|
10613
11423
|
});
|
|
10614
11424
|
}
|
|
10615
|
-
meridiems(
|
|
10616
|
-
return listStuff(this, undefined,
|
|
11425
|
+
meridiems() {
|
|
11426
|
+
return listStuff(this, undefined, () => meridiems, () => {
|
|
10617
11427
|
// In theory there could be aribitrary day periods. We're gonna assume there are exactly two
|
|
10618
11428
|
// for AM and PM. This is probably wrong, but it's makes parsing way easier.
|
|
10619
11429
|
if (!this.meridiemCache) {
|
|
@@ -10626,8 +11436,8 @@ class Locale {
|
|
|
10626
11436
|
return this.meridiemCache;
|
|
10627
11437
|
});
|
|
10628
11438
|
}
|
|
10629
|
-
eras(length
|
|
10630
|
-
return listStuff(this, length,
|
|
11439
|
+
eras(length) {
|
|
11440
|
+
return listStuff(this, length, eras, () => {
|
|
10631
11441
|
const intl = {
|
|
10632
11442
|
era: length
|
|
10633
11443
|
};
|
|
@@ -10831,7 +11641,7 @@ function normalizeZone(input, defaultZone) {
|
|
|
10831
11641
|
if (lowered === "default") return defaultZone;else if (lowered === "local" || lowered === "system") return SystemZone.instance;else if (lowered === "utc" || lowered === "gmt") return FixedOffsetZone.utcInstance;else return FixedOffsetZone.parseSpecifier(lowered) || IANAZone.create(input);
|
|
10832
11642
|
} else if (isNumber(input)) {
|
|
10833
11643
|
return FixedOffsetZone.instance(input);
|
|
10834
|
-
} else if (typeof input === "object" &&
|
|
11644
|
+
} else if (typeof input === "object" && "offset" in input && typeof input.offset === "function") {
|
|
10835
11645
|
// This is dumb, but the instanceof check above doesn't seem to really work
|
|
10836
11646
|
// so we're duck checking it
|
|
10837
11647
|
return input;
|
|
@@ -10948,10 +11758,10 @@ class Settings {
|
|
|
10948
11758
|
/**
|
|
10949
11759
|
* Set the cutoff year after which a string encoding a year as two digits is interpreted to occur in the current century.
|
|
10950
11760
|
* @type {number}
|
|
10951
|
-
* @example Settings.twoDigitCutoffYear = 0 // cut-off year is 0, so all 'yy' are
|
|
11761
|
+
* @example Settings.twoDigitCutoffYear = 0 // cut-off year is 0, so all 'yy' are interpreted as current century
|
|
10952
11762
|
* @example Settings.twoDigitCutoffYear = 50 // '49' -> 1949; '50' -> 2050
|
|
10953
|
-
* @example Settings.twoDigitCutoffYear = 1950 //
|
|
10954
|
-
* @example Settings.twoDigitCutoffYear = 2050 // ALSO
|
|
11763
|
+
* @example Settings.twoDigitCutoffYear = 1950 // interpreted as 50
|
|
11764
|
+
* @example Settings.twoDigitCutoffYear = 2050 // ALSO interpreted as 50
|
|
10955
11765
|
*/
|
|
10956
11766
|
static set twoDigitCutoffYear(cutoffYear) {
|
|
10957
11767
|
twoDigitCutoffYear = cutoffYear % 100;
|
|
@@ -11118,7 +11928,7 @@ function daysInMonth(year, month) {
|
|
|
11118
11928
|
}
|
|
11119
11929
|
}
|
|
11120
11930
|
|
|
11121
|
-
//
|
|
11931
|
+
// convert a calendar object to a local timestamp (epoch, but with the offset baked in)
|
|
11122
11932
|
function objToLocalTS(obj) {
|
|
11123
11933
|
let d = Date.UTC(obj.year, obj.month - 1, obj.day, obj.hour, obj.minute, obj.second, obj.millisecond);
|
|
11124
11934
|
|
|
@@ -11420,33 +12230,24 @@ class Formatter {
|
|
|
11420
12230
|
});
|
|
11421
12231
|
return df.format();
|
|
11422
12232
|
}
|
|
11423
|
-
|
|
11424
|
-
|
|
12233
|
+
dtFormatter(dt, opts = {}) {
|
|
12234
|
+
return this.loc.dtFormatter(dt, {
|
|
11425
12235
|
...this.opts,
|
|
11426
12236
|
...opts
|
|
11427
12237
|
});
|
|
11428
|
-
return df.format();
|
|
11429
12238
|
}
|
|
11430
|
-
|
|
11431
|
-
|
|
11432
|
-
...this.opts,
|
|
11433
|
-
...opts
|
|
11434
|
-
});
|
|
11435
|
-
return df.formatToParts();
|
|
12239
|
+
formatDateTime(dt, opts) {
|
|
12240
|
+
return this.dtFormatter(dt, opts).format();
|
|
11436
12241
|
}
|
|
11437
|
-
|
|
11438
|
-
|
|
11439
|
-
|
|
11440
|
-
|
|
11441
|
-
|
|
12242
|
+
formatDateTimeParts(dt, opts) {
|
|
12243
|
+
return this.dtFormatter(dt, opts).formatToParts();
|
|
12244
|
+
}
|
|
12245
|
+
formatInterval(interval, opts) {
|
|
12246
|
+
const df = this.dtFormatter(interval.start, opts);
|
|
11442
12247
|
return df.dtf.formatRange(interval.start.toJSDate(), interval.end.toJSDate());
|
|
11443
12248
|
}
|
|
11444
|
-
resolvedOptions(dt, opts
|
|
11445
|
-
|
|
11446
|
-
...this.opts,
|
|
11447
|
-
...opts
|
|
11448
|
-
});
|
|
11449
|
-
return df.resolvedOptions();
|
|
12249
|
+
resolvedOptions(dt, opts) {
|
|
12250
|
+
return this.dtFormatter(dt, opts).resolvedOptions();
|
|
11450
12251
|
}
|
|
11451
12252
|
num(n, p = 0) {
|
|
11452
12253
|
// we get some perf out of doing this here, annoyingly
|
|
@@ -11500,7 +12301,7 @@ class Formatter {
|
|
|
11500
12301
|
era: length
|
|
11501
12302
|
}, "era"),
|
|
11502
12303
|
tokenToString = token => {
|
|
11503
|
-
// Where possible:
|
|
12304
|
+
// Where possible: https://cldr.unicode.org/translation/date-time/date-time-symbols
|
|
11504
12305
|
switch (token) {
|
|
11505
12306
|
// ms
|
|
11506
12307
|
case "S":
|
|
@@ -12089,27 +12890,61 @@ function clone$1(dur, alts, clear = false) {
|
|
|
12089
12890
|
};
|
|
12090
12891
|
return new Duration(conf);
|
|
12091
12892
|
}
|
|
12092
|
-
function
|
|
12093
|
-
|
|
12094
|
-
|
|
12095
|
-
|
|
12096
|
-
|
|
12097
|
-
|
|
12098
|
-
|
|
12099
|
-
|
|
12100
|
-
|
|
12101
|
-
// ok, so this is wild, but see the matrix in the tests
|
|
12102
|
-
added = !sameSign && toMap[toUnit] !== 0 && Math.abs(raw) <= 1 ? antiTrunc(raw) : Math.trunc(raw);
|
|
12103
|
-
toMap[toUnit] += added;
|
|
12104
|
-
fromMap[fromUnit] -= added * conv;
|
|
12893
|
+
function durationToMillis(matrix, vals) {
|
|
12894
|
+
var _vals$milliseconds;
|
|
12895
|
+
let sum = (_vals$milliseconds = vals.milliseconds) != null ? _vals$milliseconds : 0;
|
|
12896
|
+
for (const unit of reverseUnits.slice(1)) {
|
|
12897
|
+
if (vals[unit]) {
|
|
12898
|
+
sum += vals[unit] * matrix[unit]["milliseconds"];
|
|
12899
|
+
}
|
|
12900
|
+
}
|
|
12901
|
+
return sum;
|
|
12105
12902
|
}
|
|
12106
12903
|
|
|
12107
12904
|
// NB: mutates parameters
|
|
12108
12905
|
function normalizeValues(matrix, vals) {
|
|
12109
|
-
|
|
12906
|
+
// the logic below assumes the overall value of the duration is positive
|
|
12907
|
+
// if this is not the case, factor is used to make it so
|
|
12908
|
+
const factor = durationToMillis(matrix, vals) < 0 ? -1 : 1;
|
|
12909
|
+
orderedUnits$1.reduceRight((previous, current) => {
|
|
12910
|
+
if (!isUndefined(vals[current])) {
|
|
12911
|
+
if (previous) {
|
|
12912
|
+
const previousVal = vals[previous] * factor;
|
|
12913
|
+
const conv = matrix[current][previous];
|
|
12914
|
+
|
|
12915
|
+
// if (previousVal < 0):
|
|
12916
|
+
// lower order unit is negative (e.g. { years: 2, days: -2 })
|
|
12917
|
+
// normalize this by reducing the higher order unit by the appropriate amount
|
|
12918
|
+
// and increasing the lower order unit
|
|
12919
|
+
// this can never make the higher order unit negative, because this function only operates
|
|
12920
|
+
// on positive durations, so the amount of time represented by the lower order unit cannot
|
|
12921
|
+
// be larger than the higher order unit
|
|
12922
|
+
// else:
|
|
12923
|
+
// lower order unit is positive (e.g. { years: 2, days: 450 } or { years: -2, days: 450 })
|
|
12924
|
+
// in this case we attempt to convert as much as possible from the lower order unit into
|
|
12925
|
+
// the higher order one
|
|
12926
|
+
//
|
|
12927
|
+
// Math.floor takes care of both of these cases, rounding away from 0
|
|
12928
|
+
// if previousVal < 0 it makes the absolute value larger
|
|
12929
|
+
// if previousVal >= it makes the absolute value smaller
|
|
12930
|
+
const rollUp = Math.floor(previousVal / conv);
|
|
12931
|
+
vals[current] += rollUp * factor;
|
|
12932
|
+
vals[previous] -= rollUp * conv * factor;
|
|
12933
|
+
}
|
|
12934
|
+
return current;
|
|
12935
|
+
} else {
|
|
12936
|
+
return previous;
|
|
12937
|
+
}
|
|
12938
|
+
}, null);
|
|
12939
|
+
|
|
12940
|
+
// try to convert any decimals into smaller units if possible
|
|
12941
|
+
// for example for { years: 2.5, days: 0, seconds: 0 } we want to get { years: 2, days: 182, hours: 12 }
|
|
12942
|
+
orderedUnits$1.reduce((previous, current) => {
|
|
12110
12943
|
if (!isUndefined(vals[current])) {
|
|
12111
12944
|
if (previous) {
|
|
12112
|
-
|
|
12945
|
+
const fraction = vals[previous] % 1;
|
|
12946
|
+
vals[previous] -= fraction;
|
|
12947
|
+
vals[current] += fraction * matrix[previous][current];
|
|
12113
12948
|
}
|
|
12114
12949
|
return current;
|
|
12115
12950
|
} else {
|
|
@@ -12415,6 +13250,7 @@ class Duration {
|
|
|
12415
13250
|
* ```
|
|
12416
13251
|
*/
|
|
12417
13252
|
toHuman(opts = {}) {
|
|
13253
|
+
if (!this.isValid) return INVALID$2;
|
|
12418
13254
|
const l = orderedUnits$1.map(unit => {
|
|
12419
13255
|
const val = this.values[unit];
|
|
12420
13256
|
if (isUndefined(val)) {
|
|
@@ -12500,21 +13336,13 @@ class Duration {
|
|
|
12500
13336
|
suppressSeconds: false,
|
|
12501
13337
|
includePrefix: false,
|
|
12502
13338
|
format: "extended",
|
|
12503
|
-
...opts
|
|
13339
|
+
...opts,
|
|
13340
|
+
includeOffset: false
|
|
12504
13341
|
};
|
|
12505
|
-
const
|
|
12506
|
-
|
|
12507
|
-
|
|
12508
|
-
|
|
12509
|
-
if (!opts.suppressMilliseconds || value.milliseconds !== 0) {
|
|
12510
|
-
fmt += ".SSS";
|
|
12511
|
-
}
|
|
12512
|
-
}
|
|
12513
|
-
let str = value.toFormat(fmt);
|
|
12514
|
-
if (opts.includePrefix) {
|
|
12515
|
-
str = "T" + str;
|
|
12516
|
-
}
|
|
12517
|
-
return str;
|
|
13342
|
+
const dateTime = DateTime.fromMillis(millis, {
|
|
13343
|
+
zone: "UTC"
|
|
13344
|
+
});
|
|
13345
|
+
return dateTime.toISOTime(opts);
|
|
12518
13346
|
}
|
|
12519
13347
|
|
|
12520
13348
|
/**
|
|
@@ -12538,7 +13366,8 @@ class Duration {
|
|
|
12538
13366
|
* @return {number}
|
|
12539
13367
|
*/
|
|
12540
13368
|
toMillis() {
|
|
12541
|
-
|
|
13369
|
+
if (!this.isValid) return NaN;
|
|
13370
|
+
return durationToMillis(this.matrix, this.values);
|
|
12542
13371
|
}
|
|
12543
13372
|
|
|
12544
13373
|
/**
|
|
@@ -12664,8 +13493,17 @@ class Duration {
|
|
|
12664
13493
|
|
|
12665
13494
|
/**
|
|
12666
13495
|
* Reduce this Duration to its canonical representation in its current units.
|
|
13496
|
+
* Assuming the overall value of the Duration is positive, this means:
|
|
13497
|
+
* - excessive values for lower-order units are converted to higher-order units (if possible, see first and second example)
|
|
13498
|
+
* - negative lower-order units are converted to higher order units (there must be such a higher order unit, otherwise
|
|
13499
|
+
* the overall value would be negative, see second example)
|
|
13500
|
+
* - fractional values for higher-order units are converted to lower-order units (if possible, see fourth example)
|
|
13501
|
+
*
|
|
13502
|
+
* If the overall value is negative, the result of this method is equivalent to `this.negate().normalize().negate()`.
|
|
12667
13503
|
* @example Duration.fromObject({ years: 2, days: 5000 }).normalize().toObject() //=> { years: 15, days: 255 }
|
|
13504
|
+
* @example Duration.fromObject({ days: 5000 }).normalize().toObject() //=> { days: 5000 }
|
|
12668
13505
|
* @example Duration.fromObject({ hours: 12, minutes: -45 }).normalize().toObject() //=> { hours: 11, minutes: 15 }
|
|
13506
|
+
* @example Duration.fromObject({ years: 2.5, days: 0, hours: 0 }).normalize().toObject() //=> { years: 2, days: 182, hours: 12 }
|
|
12669
13507
|
* @return {Duration}
|
|
12670
13508
|
*/
|
|
12671
13509
|
normalize() {
|
|
@@ -12720,16 +13558,13 @@ class Duration {
|
|
|
12720
13558
|
if (isNumber(vals[k])) {
|
|
12721
13559
|
own += vals[k];
|
|
12722
13560
|
}
|
|
13561
|
+
|
|
13562
|
+
// only keep the integer part for now in the hopes of putting any decimal part
|
|
13563
|
+
// into a smaller unit later
|
|
12723
13564
|
const i = Math.trunc(own);
|
|
12724
13565
|
built[k] = i;
|
|
12725
13566
|
accumulated[k] = (own * 1000 - i * 1000) / 1000;
|
|
12726
13567
|
|
|
12727
|
-
// plus anything further down the chain that should be rolled up in to this
|
|
12728
|
-
for (const down in vals) {
|
|
12729
|
-
if (orderedUnits$1.indexOf(down) > orderedUnits$1.indexOf(k)) {
|
|
12730
|
-
convert(this.matrix, vals, down, built, k);
|
|
12731
|
-
}
|
|
12732
|
-
}
|
|
12733
13568
|
// otherwise, keep it in the wings to boil it later
|
|
12734
13569
|
} else if (isNumber(vals[k])) {
|
|
12735
13570
|
accumulated[k] = vals[k];
|
|
@@ -12743,9 +13578,10 @@ class Duration {
|
|
|
12743
13578
|
built[lastUnit] += key === lastUnit ? accumulated[key] : accumulated[key] / this.matrix[lastUnit][key];
|
|
12744
13579
|
}
|
|
12745
13580
|
}
|
|
13581
|
+
normalizeValues(this.matrix, built);
|
|
12746
13582
|
return clone$1(this, {
|
|
12747
13583
|
values: built
|
|
12748
|
-
}, true)
|
|
13584
|
+
}, true);
|
|
12749
13585
|
}
|
|
12750
13586
|
|
|
12751
13587
|
/**
|
|
@@ -13703,14 +14539,35 @@ function highOrderDiffs(cursor, later, units) {
|
|
|
13703
14539
|
const results = {};
|
|
13704
14540
|
const earlier = cursor;
|
|
13705
14541
|
let lowestOrder, highWater;
|
|
14542
|
+
|
|
14543
|
+
/* This loop tries to diff using larger units first.
|
|
14544
|
+
If we overshoot, we backtrack and try the next smaller unit.
|
|
14545
|
+
"cursor" starts out at the earlier timestamp and moves closer and closer to "later"
|
|
14546
|
+
as we use smaller and smaller units.
|
|
14547
|
+
highWater keeps track of where we would be if we added one more of the smallest unit,
|
|
14548
|
+
this is used later to potentially convert any difference smaller than the smallest higher order unit
|
|
14549
|
+
into a fraction of that smallest higher order unit
|
|
14550
|
+
*/
|
|
13706
14551
|
for (const [unit, differ] of differs) {
|
|
13707
14552
|
if (units.indexOf(unit) >= 0) {
|
|
13708
14553
|
lowestOrder = unit;
|
|
13709
14554
|
results[unit] = differ(cursor, later);
|
|
13710
14555
|
highWater = earlier.plus(results);
|
|
13711
14556
|
if (highWater > later) {
|
|
14557
|
+
// we overshot the end point, backtrack cursor by 1
|
|
13712
14558
|
results[unit]--;
|
|
13713
14559
|
cursor = earlier.plus(results);
|
|
14560
|
+
|
|
14561
|
+
// if we are still overshooting now, we need to backtrack again
|
|
14562
|
+
// this happens in certain situations when diffing times in different zones,
|
|
14563
|
+
// because this calculation ignores time zones
|
|
14564
|
+
if (cursor > later) {
|
|
14565
|
+
// keep the "overshot by 1" around as highWater
|
|
14566
|
+
highWater = cursor;
|
|
14567
|
+
// backtrack cursor by 1
|
|
14568
|
+
results[unit]--;
|
|
14569
|
+
cursor = earlier.plus(results);
|
|
14570
|
+
}
|
|
13714
14571
|
} else {
|
|
13715
14572
|
cursor = highWater;
|
|
13716
14573
|
}
|
|
@@ -13859,6 +14716,11 @@ function simple(regex) {
|
|
|
13859
14716
|
function escapeToken(value) {
|
|
13860
14717
|
return value.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
|
|
13861
14718
|
}
|
|
14719
|
+
|
|
14720
|
+
/**
|
|
14721
|
+
* @param token
|
|
14722
|
+
* @param {Locale} loc
|
|
14723
|
+
*/
|
|
13862
14724
|
function unitForToken(token, loc) {
|
|
13863
14725
|
const one = digitRegex(loc),
|
|
13864
14726
|
two = digitRegex(loc, "{2}"),
|
|
@@ -13883,9 +14745,9 @@ function unitForToken(token, loc) {
|
|
|
13883
14745
|
switch (t.val) {
|
|
13884
14746
|
// era
|
|
13885
14747
|
case "G":
|
|
13886
|
-
return oneOf(loc.eras("short"
|
|
14748
|
+
return oneOf(loc.eras("short"), 0);
|
|
13887
14749
|
case "GG":
|
|
13888
|
-
return oneOf(loc.eras("long"
|
|
14750
|
+
return oneOf(loc.eras("long"), 0);
|
|
13889
14751
|
// years
|
|
13890
14752
|
case "y":
|
|
13891
14753
|
return intUnit(oneToSix);
|
|
@@ -13903,17 +14765,17 @@ function unitForToken(token, loc) {
|
|
|
13903
14765
|
case "MM":
|
|
13904
14766
|
return intUnit(two);
|
|
13905
14767
|
case "MMM":
|
|
13906
|
-
return oneOf(loc.months("short", true
|
|
14768
|
+
return oneOf(loc.months("short", true), 1);
|
|
13907
14769
|
case "MMMM":
|
|
13908
|
-
return oneOf(loc.months("long", true
|
|
14770
|
+
return oneOf(loc.months("long", true), 1);
|
|
13909
14771
|
case "L":
|
|
13910
14772
|
return intUnit(oneOrTwo);
|
|
13911
14773
|
case "LL":
|
|
13912
14774
|
return intUnit(two);
|
|
13913
14775
|
case "LLL":
|
|
13914
|
-
return oneOf(loc.months("short", false
|
|
14776
|
+
return oneOf(loc.months("short", false), 1);
|
|
13915
14777
|
case "LLLL":
|
|
13916
|
-
return oneOf(loc.months("long", false
|
|
14778
|
+
return oneOf(loc.months("long", false), 1);
|
|
13917
14779
|
// dates
|
|
13918
14780
|
case "d":
|
|
13919
14781
|
return intUnit(oneOrTwo);
|
|
@@ -13973,13 +14835,13 @@ function unitForToken(token, loc) {
|
|
|
13973
14835
|
case "c":
|
|
13974
14836
|
return intUnit(one);
|
|
13975
14837
|
case "EEE":
|
|
13976
|
-
return oneOf(loc.weekdays("short", false
|
|
14838
|
+
return oneOf(loc.weekdays("short", false), 1);
|
|
13977
14839
|
case "EEEE":
|
|
13978
|
-
return oneOf(loc.weekdays("long", false
|
|
14840
|
+
return oneOf(loc.weekdays("long", false), 1);
|
|
13979
14841
|
case "ccc":
|
|
13980
|
-
return oneOf(loc.weekdays("short", true
|
|
14842
|
+
return oneOf(loc.weekdays("short", true), 1);
|
|
13981
14843
|
case "cccc":
|
|
13982
|
-
return oneOf(loc.weekdays("long", true
|
|
14844
|
+
return oneOf(loc.weekdays("long", true), 1);
|
|
13983
14845
|
// offset/zone
|
|
13984
14846
|
case "Z":
|
|
13985
14847
|
case "ZZ":
|
|
@@ -14025,10 +14887,14 @@ const partTypeStyleToTokenVal = {
|
|
|
14025
14887
|
},
|
|
14026
14888
|
dayperiod: "a",
|
|
14027
14889
|
dayPeriod: "a",
|
|
14028
|
-
|
|
14890
|
+
hour12: {
|
|
14029
14891
|
numeric: "h",
|
|
14030
14892
|
"2-digit": "hh"
|
|
14031
14893
|
},
|
|
14894
|
+
hour24: {
|
|
14895
|
+
numeric: "H",
|
|
14896
|
+
"2-digit": "HH"
|
|
14897
|
+
},
|
|
14032
14898
|
minute: {
|
|
14033
14899
|
numeric: "m",
|
|
14034
14900
|
"2-digit": "mm"
|
|
@@ -14042,7 +14908,7 @@ const partTypeStyleToTokenVal = {
|
|
|
14042
14908
|
short: "ZZZ"
|
|
14043
14909
|
}
|
|
14044
14910
|
};
|
|
14045
|
-
function tokenForPart(part, formatOpts) {
|
|
14911
|
+
function tokenForPart(part, formatOpts, resolvedOpts) {
|
|
14046
14912
|
const {
|
|
14047
14913
|
type,
|
|
14048
14914
|
value
|
|
@@ -14055,7 +14921,27 @@ function tokenForPart(part, formatOpts) {
|
|
|
14055
14921
|
};
|
|
14056
14922
|
}
|
|
14057
14923
|
const style = formatOpts[type];
|
|
14058
|
-
|
|
14924
|
+
|
|
14925
|
+
// The user might have explicitly specified hour12 or hourCycle
|
|
14926
|
+
// if so, respect their decision
|
|
14927
|
+
// if not, refer back to the resolvedOpts, which are based on the locale
|
|
14928
|
+
let actualType = type;
|
|
14929
|
+
if (type === "hour") {
|
|
14930
|
+
if (formatOpts.hour12 != null) {
|
|
14931
|
+
actualType = formatOpts.hour12 ? "hour12" : "hour24";
|
|
14932
|
+
} else if (formatOpts.hourCycle != null) {
|
|
14933
|
+
if (formatOpts.hourCycle === "h11" || formatOpts.hourCycle === "h12") {
|
|
14934
|
+
actualType = "hour12";
|
|
14935
|
+
} else {
|
|
14936
|
+
actualType = "hour24";
|
|
14937
|
+
}
|
|
14938
|
+
} else {
|
|
14939
|
+
// tokens only differentiate between 24 hours or not,
|
|
14940
|
+
// so we do not need to check hourCycle here, which is less supported anyways
|
|
14941
|
+
actualType = resolvedOpts.hour12 ? "hour12" : "hour24";
|
|
14942
|
+
}
|
|
14943
|
+
}
|
|
14944
|
+
let val = partTypeStyleToTokenVal[actualType];
|
|
14059
14945
|
if (typeof val === "object") {
|
|
14060
14946
|
val = val[style];
|
|
14061
14947
|
}
|
|
@@ -14231,8 +15117,10 @@ function formatOptsToTokens(formatOpts, locale) {
|
|
|
14231
15117
|
return null;
|
|
14232
15118
|
}
|
|
14233
15119
|
const formatter = Formatter.create(locale, formatOpts);
|
|
14234
|
-
const
|
|
14235
|
-
|
|
15120
|
+
const df = formatter.dtFormatter(getDummyDateTime());
|
|
15121
|
+
const parts = df.formatToParts();
|
|
15122
|
+
const resolvedOpts = df.resolvedOptions();
|
|
15123
|
+
return parts.map(p => tokenForPart(p, formatOpts, resolvedOpts));
|
|
14236
15124
|
}
|
|
14237
15125
|
|
|
14238
15126
|
const nonLeapLadder = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334],
|
|
@@ -14568,13 +15456,13 @@ function toISOTime(o, extended, suppressSeconds, suppressMilliseconds, includeOf
|
|
|
14568
15456
|
if (extended) {
|
|
14569
15457
|
c += ":";
|
|
14570
15458
|
c += padStart(o.c.minute);
|
|
14571
|
-
if (o.c.second !== 0 || !suppressSeconds) {
|
|
15459
|
+
if (o.c.millisecond !== 0 || o.c.second !== 0 || !suppressSeconds) {
|
|
14572
15460
|
c += ":";
|
|
14573
15461
|
}
|
|
14574
15462
|
} else {
|
|
14575
15463
|
c += padStart(o.c.minute);
|
|
14576
15464
|
}
|
|
14577
|
-
if (o.c.second !== 0 || !suppressSeconds) {
|
|
15465
|
+
if (o.c.millisecond !== 0 || o.c.second !== 0 || !suppressSeconds) {
|
|
14578
15466
|
c += padStart(o.c.second);
|
|
14579
15467
|
if (o.c.millisecond !== 0 || !suppressMilliseconds) {
|
|
14580
15468
|
c += ".";
|
|
@@ -15208,7 +16096,7 @@ class DateTime {
|
|
|
15208
16096
|
|
|
15209
16097
|
/**
|
|
15210
16098
|
* Create an invalid DateTime.
|
|
15211
|
-
* @param {
|
|
16099
|
+
* @param {string} reason - simple string of why this DateTime is invalid. Should not contain parameters or anything else data-dependent.
|
|
15212
16100
|
* @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
|
|
15213
16101
|
* @return {DateTime}
|
|
15214
16102
|
*/
|
|
@@ -15567,6 +16455,41 @@ class DateTime {
|
|
|
15567
16455
|
}
|
|
15568
16456
|
}
|
|
15569
16457
|
|
|
16458
|
+
/**
|
|
16459
|
+
* Get those DateTimes which have the same local time as this DateTime, but a different offset from UTC
|
|
16460
|
+
* in this DateTime's zone. During DST changes local time can be ambiguous, for example
|
|
16461
|
+
* `2023-10-29T02:30:00` in `Europe/Berlin` can have offset `+01:00` or `+02:00`.
|
|
16462
|
+
* This method will return both possible DateTimes if this DateTime's local time is ambiguous.
|
|
16463
|
+
* @returns {DateTime[]}
|
|
16464
|
+
*/
|
|
16465
|
+
getPossibleOffsets() {
|
|
16466
|
+
if (!this.isValid || this.isOffsetFixed) {
|
|
16467
|
+
return [this];
|
|
16468
|
+
}
|
|
16469
|
+
const dayMs = 86400000;
|
|
16470
|
+
const minuteMs = 60000;
|
|
16471
|
+
const localTS = objToLocalTS(this.c);
|
|
16472
|
+
const oEarlier = this.zone.offset(localTS - dayMs);
|
|
16473
|
+
const oLater = this.zone.offset(localTS + dayMs);
|
|
16474
|
+
const o1 = this.zone.offset(localTS - oEarlier * minuteMs);
|
|
16475
|
+
const o2 = this.zone.offset(localTS - oLater * minuteMs);
|
|
16476
|
+
if (o1 === o2) {
|
|
16477
|
+
return [this];
|
|
16478
|
+
}
|
|
16479
|
+
const ts1 = localTS - o1 * minuteMs;
|
|
16480
|
+
const ts2 = localTS - o2 * minuteMs;
|
|
16481
|
+
const c1 = tsToObj(ts1, o1);
|
|
16482
|
+
const c2 = tsToObj(ts2, o2);
|
|
16483
|
+
if (c1.hour === c2.hour && c1.minute === c2.minute && c1.second === c2.second && c1.millisecond === c2.millisecond) {
|
|
16484
|
+
return [clone(this, {
|
|
16485
|
+
ts: ts1
|
|
16486
|
+
}), clone(this, {
|
|
16487
|
+
ts: ts2
|
|
16488
|
+
})];
|
|
16489
|
+
}
|
|
16490
|
+
return [this];
|
|
16491
|
+
}
|
|
16492
|
+
|
|
15570
16493
|
/**
|
|
15571
16494
|
* Returns true if this DateTime is in a leap year, false otherwise
|
|
15572
16495
|
* @example DateTime.local(2016).isInLeapYear //=> true
|
|
@@ -16573,7 +17496,7 @@ function friendlyDateTime(dateTimeish) {
|
|
|
16573
17496
|
}
|
|
16574
17497
|
}
|
|
16575
17498
|
|
|
16576
|
-
const VERSION = "3.3
|
|
17499
|
+
const VERSION = "3.4.3";
|
|
16577
17500
|
|
|
16578
17501
|
exports.DateTime = DateTime;
|
|
16579
17502
|
exports.Duration = Duration;
|