@nmshd/content 1.1.4 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/attributes/AbstractAttributeValue.d.ts +9 -0
- package/dist/attributes/AbstractAttributeValue.js +8 -0
- package/dist/attributes/AbstractAttributeValue.js.map +1 -0
- package/dist/attributes/Attribute.d.ts +13 -9
- package/dist/attributes/Attribute.js +24 -26
- package/dist/attributes/Attribute.js.map +1 -1
- package/dist/attributes/index.d.ts +3 -0
- package/dist/attributes/index.js +20 -0
- package/dist/attributes/index.js.map +1 -0
- package/dist/attributes/types/AbstractDay.d.ts +7 -0
- package/dist/attributes/types/AbstractDay.js +26 -0
- package/dist/attributes/types/AbstractDay.js.map +1 -0
- package/dist/attributes/types/AbstractMonth.d.ts +25 -0
- package/dist/attributes/types/AbstractMonth.js +44 -0
- package/dist/attributes/types/AbstractMonth.js.map +1 -0
- package/dist/attributes/types/AbstractYear.d.ts +4 -0
- package/dist/attributes/types/AbstractYear.js +23 -0
- package/dist/attributes/types/AbstractYear.js.map +1 -0
- package/dist/attributes/types/AttributeList.d.ts +1 -0
- package/dist/attributes/types/AttributeList.js +37 -0
- package/dist/attributes/types/AttributeList.js.map +1 -0
- package/dist/attributes/types/AttributeTypeMapping.d.ts +1 -0
- package/dist/attributes/types/AttributeTypeMapping.js +9 -0
- package/dist/attributes/types/AttributeTypeMapping.js.map +1 -0
- package/dist/attributes/types/address/AbstractAddress.d.ts +4 -0
- package/dist/attributes/types/address/AbstractAddress.js +23 -0
- package/dist/attributes/types/address/AbstractAddress.js.map +1 -0
- package/dist/attributes/types/address/City.d.ts +4 -0
- package/dist/{requests/FormRequest.js → attributes/types/address/City.js} +10 -11
- package/dist/attributes/types/address/City.js.map +1 -0
- package/dist/attributes/types/address/Country.d.ts +4 -0
- package/dist/{requests/ChallengeResponse.js → attributes/types/address/Country.js} +10 -11
- package/dist/attributes/types/address/Country.js.map +1 -0
- package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +13 -0
- package/dist/{requests/PrivacyStatement.js → attributes/types/address/DeliveryBoxAddress.js} +27 -23
- package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -0
- package/dist/attributes/types/address/HouseNumber.d.ts +4 -0
- package/dist/{relationships/RelationshipExistsMessageAction.js → attributes/types/address/HouseNumber.js} +10 -10
- package/dist/attributes/types/address/HouseNumber.js.map +1 -0
- package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +12 -0
- package/dist/attributes/types/address/PostOfficeBoxAddress.js +50 -0
- package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -0
- package/dist/attributes/types/address/State.d.ts +4 -0
- package/dist/{requests/ChallengeRequest.js → attributes/types/address/State.js} +10 -17
- package/dist/attributes/types/address/State.js.map +1 -0
- package/dist/attributes/types/address/Street.d.ts +4 -0
- package/dist/attributes/types/address/Street.js +26 -0
- package/dist/attributes/types/address/Street.js.map +1 -0
- package/dist/attributes/types/address/StreetAddress.d.ts +15 -0
- package/dist/attributes/types/address/StreetAddress.js +57 -0
- package/dist/attributes/types/address/StreetAddress.js.map +1 -0
- package/dist/attributes/types/address/ZipCode.d.ts +4 -0
- package/dist/attributes/types/address/ZipCode.js +26 -0
- package/dist/attributes/types/address/ZipCode.js.map +1 -0
- package/dist/attributes/types/address/index.d.ts +10 -0
- package/dist/attributes/types/address/index.js +27 -0
- package/dist/attributes/types/address/index.js.map +1 -0
- package/dist/attributes/types/birth/BirthCity.d.ts +3 -0
- package/dist/{relationships/RelationshipExistsAction.js → attributes/types/birth/BirthCity.js} +8 -7
- package/dist/attributes/types/birth/BirthCity.js.map +1 -0
- package/dist/attributes/types/birth/BirthCountry.d.ts +3 -0
- package/dist/attributes/types/birth/BirthCountry.js +18 -0
- package/dist/attributes/types/birth/BirthCountry.js.map +1 -0
- package/dist/attributes/types/birth/BirthDate.d.ts +9 -0
- package/dist/attributes/types/birth/BirthDate.js +39 -0
- package/dist/attributes/types/birth/BirthDate.js.map +1 -0
- package/dist/attributes/types/birth/BirthDay.d.ts +3 -0
- package/dist/attributes/types/birth/BirthDay.js +18 -0
- package/dist/attributes/types/birth/BirthDay.js.map +1 -0
- package/dist/attributes/types/birth/BirthMonth.d.ts +3 -0
- package/dist/attributes/types/birth/BirthMonth.js +18 -0
- package/dist/attributes/types/birth/BirthMonth.js.map +1 -0
- package/dist/attributes/types/birth/BirthPlace.d.ts +9 -0
- package/dist/attributes/types/birth/BirthPlace.js +39 -0
- package/dist/attributes/types/birth/BirthPlace.js.map +1 -0
- package/dist/attributes/types/birth/BirthState.d.ts +3 -0
- package/dist/attributes/types/birth/BirthState.js +18 -0
- package/dist/attributes/types/birth/BirthState.js.map +1 -0
- package/dist/attributes/types/birth/BirthYear.d.ts +3 -0
- package/dist/attributes/types/birth/BirthYear.js +18 -0
- package/dist/attributes/types/birth/BirthYear.js.map +1 -0
- package/dist/attributes/types/birth/index.d.ts +8 -0
- package/dist/attributes/types/birth/index.js +25 -0
- package/dist/attributes/types/birth/index.js.map +1 -0
- package/dist/attributes/types/idcard/AbstractIDCard.d.ts +3 -0
- package/dist/attributes/types/idcard/AbstractIDCard.js +8 -0
- package/dist/attributes/types/idcard/AbstractIDCard.js.map +1 -0
- package/dist/attributes/types/idcard/IDCardAuthorityName.d.ts +4 -0
- package/dist/attributes/types/idcard/IDCardAuthorityName.js +26 -0
- package/dist/attributes/types/idcard/IDCardAuthorityName.js.map +1 -0
- package/dist/attributes/types/idcard/IDCardDE.d.ts +11 -0
- package/dist/attributes/types/idcard/IDCardDE.js +45 -0
- package/dist/attributes/types/idcard/IDCardDE.js.map +1 -0
- package/dist/attributes/types/idcard/IDCardIssuingDate.d.ts +4 -0
- package/dist/attributes/types/idcard/IDCardIssuingDate.js +26 -0
- package/dist/attributes/types/idcard/IDCardIssuingDate.js.map +1 -0
- package/dist/attributes/types/idcard/index.d.ts +4 -0
- package/dist/attributes/types/idcard/index.js +21 -0
- package/dist/attributes/types/idcard/index.js.map +1 -0
- package/dist/attributes/types/index.d.ts +6 -0
- package/dist/attributes/types/index.js +23 -0
- package/dist/attributes/types/index.js.map +1 -0
- package/dist/attributes/types/measurements/AbstractMeasurement.d.ts +8 -0
- package/dist/attributes/types/measurements/AbstractMeasurement.js +31 -0
- package/dist/attributes/types/measurements/AbstractMeasurement.js.map +1 -0
- package/dist/attributes/types/measurements/LengthMeasurement.d.ts +18 -0
- package/dist/attributes/types/measurements/LengthMeasurement.js +43 -0
- package/dist/attributes/types/measurements/LengthMeasurement.js.map +1 -0
- package/dist/attributes/types/measurements/index.d.ts +1 -0
- package/dist/attributes/types/measurements/index.js +18 -0
- package/dist/attributes/types/measurements/index.js.map +1 -0
- package/dist/attributes/types/name/AbstractLegalName.d.ts +3 -0
- package/dist/attributes/types/name/AbstractLegalName.js +8 -0
- package/dist/attributes/types/name/AbstractLegalName.js.map +1 -0
- package/dist/attributes/types/name/BirthName.d.ts +4 -0
- package/dist/attributes/types/name/BirthName.js +26 -0
- package/dist/attributes/types/name/BirthName.js.map +1 -0
- package/dist/attributes/types/name/DisplayName.d.ts +4 -0
- package/dist/attributes/types/name/DisplayName.js +26 -0
- package/dist/attributes/types/name/DisplayName.js.map +1 -0
- package/dist/attributes/types/name/GivenName.d.ts +4 -0
- package/dist/attributes/types/name/GivenName.js +26 -0
- package/dist/attributes/types/name/GivenName.js.map +1 -0
- package/dist/attributes/types/name/LegalNameDE.d.ts +11 -0
- package/dist/{requests/AuthorizationGrantRequest.js → attributes/types/name/LegalNameDE.js} +23 -20
- package/dist/attributes/types/name/LegalNameDE.js.map +1 -0
- package/dist/attributes/types/name/Pseudonym.d.ts +4 -0
- package/dist/attributes/types/name/Pseudonym.js +26 -0
- package/dist/attributes/types/name/Pseudonym.js.map +1 -0
- package/dist/attributes/types/name/Salutation.d.ts +11 -0
- package/dist/{requests/Request.js → attributes/types/name/Salutation.js} +22 -23
- package/dist/attributes/types/name/Salutation.js.map +1 -0
- package/dist/attributes/types/name/Surname.d.ts +4 -0
- package/dist/attributes/types/name/Surname.js +26 -0
- package/dist/attributes/types/name/Surname.js.map +1 -0
- package/dist/attributes/types/name/Title.d.ts +4 -0
- package/dist/attributes/types/name/Title.js +26 -0
- package/dist/attributes/types/name/Title.js.map +1 -0
- package/dist/attributes/types/name/index.d.ts +9 -0
- package/dist/attributes/types/name/index.js +26 -0
- package/dist/attributes/types/name/index.js.map +1 -0
- package/dist/attributes/types/person/Age.d.ts +4 -0
- package/dist/attributes/types/person/Age.js +26 -0
- package/dist/attributes/types/person/Age.js.map +1 -0
- package/dist/attributes/types/person/Gender.d.ts +7 -0
- package/dist/attributes/types/person/Gender.js +29 -0
- package/dist/attributes/types/person/Gender.js.map +1 -0
- package/dist/attributes/types/person/PersonEyeColor.d.ts +4 -0
- package/dist/attributes/types/person/PersonEyeColor.js +26 -0
- package/dist/attributes/types/person/PersonEyeColor.js.map +1 -0
- package/dist/attributes/types/person/PersonHeight.d.ts +4 -0
- package/dist/attributes/types/person/PersonHeight.js +29 -0
- package/dist/attributes/types/person/PersonHeight.js.map +1 -0
- package/dist/attributes/types/person/Sex.d.ts +7 -0
- package/dist/attributes/types/person/Sex.js +29 -0
- package/dist/attributes/types/person/Sex.js.map +1 -0
- package/dist/attributes/types/person/index.d.ts +5 -0
- package/dist/attributes/types/person/index.js +22 -0
- package/dist/attributes/types/person/index.js.map +1 -0
- package/dist/buildInformation.js +4 -4
- package/dist/forms/index.js +5 -1
- package/dist/forms/index.js.map +1 -1
- package/dist/index.d.ts +1 -14
- package/dist/index.js +6 -15
- package/dist/index.js.map +1 -1
- package/dist/messages/RequestMail.d.ts +5 -4
- package/dist/messages/RequestMail.js +12 -1
- package/dist/messages/RequestMail.js.map +1 -1
- package/dist/requests/AttributesChangeRequest.d.ts +42 -5
- package/dist/requests/AttributesChangeRequest.js +26 -2
- package/dist/requests/AttributesChangeRequest.js.map +1 -1
- package/dist/requests/AttributesShareRequest.d.ts +42 -5
- package/dist/requests/AttributesShareRequest.js +26 -2
- package/dist/requests/AttributesShareRequest.js.map +1 -1
- package/lib-web/nmshd.content.js +2148 -868
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +14 -14
- package/dist/attributes/AttributeName.d.ts +0 -16
- package/dist/attributes/AttributeName.js +0 -62
- package/dist/attributes/AttributeName.js.map +0 -1
- package/dist/attributes/AttributeNamespace.d.ts +0 -8
- package/dist/attributes/AttributeNamespace.js +0 -13
- package/dist/attributes/AttributeNamespace.js.map +0 -1
- package/dist/relationships/RelationshipCreationChangeRequestBody.d.ts +0 -37
- package/dist/relationships/RelationshipCreationChangeRequestBody.js +0 -68
- package/dist/relationships/RelationshipCreationChangeRequestBody.js.map +0 -1
- package/dist/relationships/RelationshipCreationChangeResponseBody.d.ts +0 -0
- package/dist/relationships/RelationshipCreationChangeResponseBody.js +0 -2
- package/dist/relationships/RelationshipCreationChangeResponseBody.js.map +0 -1
- package/dist/relationships/RelationshipExistsAction.d.ts +0 -7
- package/dist/relationships/RelationshipExistsAction.js.map +0 -1
- package/dist/relationships/RelationshipExistsMessageAction.d.ts +0 -11
- package/dist/relationships/RelationshipExistsMessageAction.js.map +0 -1
- package/dist/relationships/RelationshipTemplateBody.d.ts +0 -56
- package/dist/relationships/RelationshipTemplateBody.js +0 -96
- package/dist/relationships/RelationshipTemplateBody.js.map +0 -1
- package/dist/requests/AttributesRequest.d.ts +0 -19
- package/dist/requests/AttributesRequest.js +0 -46
- package/dist/requests/AttributesRequest.js.map +0 -1
- package/dist/requests/AuthorizationGrantRequest.d.ts +0 -20
- package/dist/requests/AuthorizationGrantRequest.js.map +0 -1
- package/dist/requests/ChallengeRequest.d.ts +0 -24
- package/dist/requests/ChallengeRequest.js.map +0 -1
- package/dist/requests/ChallengeResponse.d.ts +0 -16
- package/dist/requests/ChallengeResponse.js.map +0 -1
- package/dist/requests/FormRequest.d.ts +0 -11
- package/dist/requests/FormRequest.js.map +0 -1
- package/dist/requests/PrivacyStatement.d.ts +0 -25
- package/dist/requests/PrivacyStatement.js.map +0 -1
- package/dist/requests/Request.d.ts +0 -45
- package/dist/requests/Request.js.map +0 -1
package/lib-web/nmshd.content.js
CHANGED
|
@@ -15,6 +15,23 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
15
15
|
|
|
16
16
|
/***/ }),
|
|
17
17
|
|
|
18
|
+
/***/ "./dist/attributes/AbstractAttributeValue.js":
|
|
19
|
+
/*!***************************************************!*\
|
|
20
|
+
!*** ./dist/attributes/AbstractAttributeValue.js ***!
|
|
21
|
+
\***************************************************/
|
|
22
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
26
|
+
exports.AbstractAttributeValue = void 0;
|
|
27
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
28
|
+
class AbstractAttributeValue extends ts_serval_1.Serializable {
|
|
29
|
+
}
|
|
30
|
+
exports.AbstractAttributeValue = AbstractAttributeValue;
|
|
31
|
+
//# sourceMappingURL=AbstractAttributeValue.js.map
|
|
32
|
+
|
|
33
|
+
/***/ }),
|
|
34
|
+
|
|
18
35
|
/***/ "./dist/attributes/Attribute.js":
|
|
19
36
|
/*!**************************************!*\
|
|
20
37
|
!*** ./dist/attributes/Attribute.js ***!
|
|
@@ -36,43 +53,41 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
36
53
|
exports.Attribute = void 0;
|
|
37
54
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
38
55
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
56
|
+
const ts_simple_nameof_1 = __webpack_require__(/*! ts-simple-nameof */ "./node_modules/ts-simple-nameof/index.js");
|
|
57
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ./AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
39
58
|
let Attribute = Attribute_1 = class Attribute extends transport_1.CoreSerializable {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
if (!this.name)
|
|
50
|
-
return undefined;
|
|
51
|
-
const ar = this.name.split(".");
|
|
52
|
-
return ar.pop();
|
|
59
|
+
constructor() {
|
|
60
|
+
super(...arguments);
|
|
61
|
+
this.technicalProperties = ["@type", "@context", (0, ts_simple_nameof_1.nameof)((r) => r.createdAt)];
|
|
62
|
+
this.userdataProperties = [
|
|
63
|
+
(0, ts_simple_nameof_1.nameof)((r) => r.content),
|
|
64
|
+
(0, ts_simple_nameof_1.nameof)((r) => r.validFrom),
|
|
65
|
+
(0, ts_simple_nameof_1.nameof)((r) => r.validTo),
|
|
66
|
+
(0, ts_simple_nameof_1.nameof)((r) => r.tags)
|
|
67
|
+
];
|
|
53
68
|
}
|
|
54
69
|
static from(value) {
|
|
55
|
-
return super.
|
|
70
|
+
return super.fromT(value, Attribute_1);
|
|
56
71
|
}
|
|
57
|
-
static fromJSON(
|
|
58
|
-
return
|
|
59
|
-
name: value.name,
|
|
60
|
-
value: value.value,
|
|
61
|
-
validFrom: value.validFrom ? transport_1.CoreDate.from(value.validFrom) : undefined,
|
|
62
|
-
validTo: value.validTo ? transport_1.CoreDate.from(value.validTo) : undefined
|
|
63
|
-
});
|
|
72
|
+
static fromJSON(attribute) {
|
|
73
|
+
return super.fromT(attribute, Attribute_1);
|
|
64
74
|
}
|
|
65
75
|
};
|
|
66
76
|
__decorate([
|
|
77
|
+
(0, ts_serval_1.validate)(),
|
|
67
78
|
(0, ts_serval_1.serialize)(),
|
|
79
|
+
__metadata("design:type", AbstractAttributeValue_1.AbstractAttributeValue)
|
|
80
|
+
], Attribute.prototype, "content", void 0);
|
|
81
|
+
__decorate([
|
|
68
82
|
(0, ts_serval_1.validate)(),
|
|
69
|
-
|
|
70
|
-
|
|
83
|
+
(0, ts_serval_1.serialize)(),
|
|
84
|
+
__metadata("design:type", transport_1.CoreDate)
|
|
85
|
+
], Attribute.prototype, "createdAt", void 0);
|
|
71
86
|
__decorate([
|
|
72
|
-
(0, ts_serval_1.serialize)({
|
|
87
|
+
(0, ts_serval_1.serialize)({ type: String }),
|
|
73
88
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
74
|
-
__metadata("design:type",
|
|
75
|
-
], Attribute.prototype, "
|
|
89
|
+
__metadata("design:type", Array)
|
|
90
|
+
], Attribute.prototype, "tags", void 0);
|
|
76
91
|
__decorate([
|
|
77
92
|
(0, ts_serval_1.serialize)(),
|
|
78
93
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
@@ -91,10 +106,39 @@ exports.Attribute = Attribute;
|
|
|
91
106
|
|
|
92
107
|
/***/ }),
|
|
93
108
|
|
|
94
|
-
/***/ "./dist/attributes/
|
|
95
|
-
|
|
96
|
-
!*** ./dist/attributes/
|
|
97
|
-
|
|
109
|
+
/***/ "./dist/attributes/index.js":
|
|
110
|
+
/*!**********************************!*\
|
|
111
|
+
!*** ./dist/attributes/index.js ***!
|
|
112
|
+
\**********************************/
|
|
113
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
117
|
+
if (k2 === undefined) k2 = k;
|
|
118
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
119
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
120
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
121
|
+
}
|
|
122
|
+
Object.defineProperty(o, k2, desc);
|
|
123
|
+
}) : (function(o, m, k, k2) {
|
|
124
|
+
if (k2 === undefined) k2 = k;
|
|
125
|
+
o[k2] = m[k];
|
|
126
|
+
}));
|
|
127
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
128
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
129
|
+
};
|
|
130
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
131
|
+
__exportStar(__webpack_require__(/*! ./AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js"), exports);
|
|
132
|
+
__exportStar(__webpack_require__(/*! ./Attribute */ "./dist/attributes/Attribute.js"), exports);
|
|
133
|
+
__exportStar(__webpack_require__(/*! ./types */ "./dist/attributes/types/index.js"), exports);
|
|
134
|
+
//# sourceMappingURL=index.js.map
|
|
135
|
+
|
|
136
|
+
/***/ }),
|
|
137
|
+
|
|
138
|
+
/***/ "./dist/attributes/types/AbstractDay.js":
|
|
139
|
+
/*!**********************************************!*\
|
|
140
|
+
!*** ./dist/attributes/types/AbstractDay.js ***!
|
|
141
|
+
\**********************************************/
|
|
98
142
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
99
143
|
|
|
100
144
|
|
|
@@ -107,87 +151,114 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
107
151
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
108
152
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
109
153
|
};
|
|
110
|
-
var AttributeName_1;
|
|
111
154
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
112
|
-
exports.
|
|
155
|
+
exports.AbstractDay = void 0;
|
|
113
156
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
toString() {
|
|
147
|
-
return this._name;
|
|
148
|
-
}
|
|
149
|
-
serialize() {
|
|
150
|
-
return this._name;
|
|
151
|
-
}
|
|
152
|
-
toJSON() {
|
|
153
|
-
return this._name;
|
|
154
|
-
}
|
|
157
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
158
|
+
/**
|
|
159
|
+
* day values start with 1 = first day of month
|
|
160
|
+
*/
|
|
161
|
+
class AbstractDay extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
162
|
+
}
|
|
163
|
+
__decorate([
|
|
164
|
+
(0, ts_serval_1.serialize)(),
|
|
165
|
+
(0, ts_serval_1.validate)({ customValidator: (v) => (v < 1 || v > 31 ? "has invalid value" : undefined) }),
|
|
166
|
+
__metadata("design:type", Number)
|
|
167
|
+
], AbstractDay.prototype, "value", void 0);
|
|
168
|
+
exports.AbstractDay = AbstractDay;
|
|
169
|
+
//# sourceMappingURL=AbstractDay.js.map
|
|
170
|
+
|
|
171
|
+
/***/ }),
|
|
172
|
+
|
|
173
|
+
/***/ "./dist/attributes/types/AbstractMonth.js":
|
|
174
|
+
/*!************************************************!*\
|
|
175
|
+
!*** ./dist/attributes/types/AbstractMonth.js ***!
|
|
176
|
+
\************************************************/
|
|
177
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
181
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
182
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
183
|
+
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;
|
|
184
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
185
|
+
};
|
|
186
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
187
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
155
188
|
};
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
189
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
190
|
+
exports.AbstractMonth = void 0;
|
|
191
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
192
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
193
|
+
/**
|
|
194
|
+
* Month values: 1 (january) - 12 (december)
|
|
195
|
+
*/
|
|
196
|
+
var Month;
|
|
197
|
+
(function (Month) {
|
|
198
|
+
Month[Month["January"] = 1] = "January";
|
|
199
|
+
Month[Month["February"] = 2] = "February";
|
|
200
|
+
Month[Month["March"] = 3] = "March";
|
|
201
|
+
Month[Month["April"] = 4] = "April";
|
|
202
|
+
Month[Month["May"] = 5] = "May";
|
|
203
|
+
Month[Month["June"] = 6] = "June";
|
|
204
|
+
Month[Month["July"] = 7] = "July";
|
|
205
|
+
Month[Month["August"] = 8] = "August";
|
|
206
|
+
Month[Month["September"] = 9] = "September";
|
|
207
|
+
Month[Month["October"] = 10] = "October";
|
|
208
|
+
Month[Month["November"] = 11] = "November";
|
|
209
|
+
Month[Month["December"] = 12] = "December";
|
|
210
|
+
})(Month || (Month = {}));
|
|
211
|
+
/**
|
|
212
|
+
* Month value are continuously numbered: 1 (january) - 12 (december)
|
|
213
|
+
*/
|
|
214
|
+
class AbstractMonth extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
215
|
+
}
|
|
216
|
+
__decorate([
|
|
217
|
+
(0, ts_serval_1.serialize)(),
|
|
218
|
+
(0, ts_serval_1.validate)({ customValidator: (v) => (!Month[v] ? "has invalid value" : undefined) }),
|
|
219
|
+
__metadata("design:type", Number)
|
|
220
|
+
], AbstractMonth.prototype, "value", void 0);
|
|
221
|
+
exports.AbstractMonth = AbstractMonth;
|
|
222
|
+
//# sourceMappingURL=AbstractMonth.js.map
|
|
162
223
|
|
|
163
224
|
/***/ }),
|
|
164
225
|
|
|
165
|
-
/***/ "./dist/attributes/
|
|
226
|
+
/***/ "./dist/attributes/types/AbstractYear.js":
|
|
166
227
|
/*!***********************************************!*\
|
|
167
|
-
!*** ./dist/attributes/
|
|
228
|
+
!*** ./dist/attributes/types/AbstractYear.js ***!
|
|
168
229
|
\***********************************************/
|
|
169
|
-
/***/ ((__unused_webpack_module, exports)
|
|
230
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
170
231
|
|
|
171
232
|
|
|
233
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
234
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
235
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
236
|
+
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;
|
|
237
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
238
|
+
};
|
|
239
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
240
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
241
|
+
};
|
|
172
242
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
173
|
-
exports.
|
|
174
|
-
|
|
175
|
-
(
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
243
|
+
exports.AbstractYear = void 0;
|
|
244
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
245
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
246
|
+
class AbstractYear extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
247
|
+
}
|
|
248
|
+
__decorate([
|
|
249
|
+
(0, ts_serval_1.serialize)(),
|
|
250
|
+
(0, ts_serval_1.validate)(),
|
|
251
|
+
__metadata("design:type", Number)
|
|
252
|
+
], AbstractYear.prototype, "value", void 0);
|
|
253
|
+
exports.AbstractYear = AbstractYear;
|
|
254
|
+
//# sourceMappingURL=AbstractYear.js.map
|
|
184
255
|
|
|
185
256
|
/***/ }),
|
|
186
257
|
|
|
187
|
-
/***/ "./dist/
|
|
188
|
-
|
|
189
|
-
!*** ./dist/
|
|
190
|
-
|
|
258
|
+
/***/ "./dist/attributes/types/address/AbstractAddress.js":
|
|
259
|
+
/*!**********************************************************!*\
|
|
260
|
+
!*** ./dist/attributes/types/address/AbstractAddress.js ***!
|
|
261
|
+
\**********************************************************/
|
|
191
262
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
192
263
|
|
|
193
264
|
|
|
@@ -200,65 +271,61 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
200
271
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
201
272
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
202
273
|
};
|
|
203
|
-
var Authorization_1;
|
|
204
274
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
205
|
-
exports.
|
|
275
|
+
exports.AbstractAddress = void 0;
|
|
206
276
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
}
|
|
211
|
-
};
|
|
277
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
278
|
+
class AbstractAddress extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
279
|
+
}
|
|
212
280
|
__decorate([
|
|
213
|
-
(0, ts_serval_1.validate)(),
|
|
214
281
|
(0, ts_serval_1.serialize)(),
|
|
215
|
-
__metadata("design:type", String)
|
|
216
|
-
], Authorization.prototype, "name", void 0);
|
|
217
|
-
__decorate([
|
|
218
282
|
(0, ts_serval_1.validate)(),
|
|
219
|
-
(0, ts_serval_1.serialize)(),
|
|
220
283
|
__metadata("design:type", String)
|
|
221
|
-
],
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
], Authorization);
|
|
225
|
-
exports.Authorization = Authorization;
|
|
226
|
-
//# sourceMappingURL=Authorization.js.map
|
|
284
|
+
], AbstractAddress.prototype, "recipient", void 0);
|
|
285
|
+
exports.AbstractAddress = AbstractAddress;
|
|
286
|
+
//# sourceMappingURL=AbstractAddress.js.map
|
|
227
287
|
|
|
228
288
|
/***/ }),
|
|
229
289
|
|
|
230
|
-
/***/ "./dist/
|
|
231
|
-
|
|
232
|
-
!*** ./dist/
|
|
233
|
-
|
|
234
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
290
|
+
/***/ "./dist/attributes/types/address/City.js":
|
|
291
|
+
/*!***********************************************!*\
|
|
292
|
+
!*** ./dist/attributes/types/address/City.js ***!
|
|
293
|
+
\***********************************************/
|
|
294
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
235
295
|
|
|
236
296
|
|
|
297
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
298
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
299
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
300
|
+
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;
|
|
301
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
302
|
+
};
|
|
303
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
304
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
305
|
+
};
|
|
237
306
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
238
|
-
exports.
|
|
307
|
+
exports.City = void 0;
|
|
239
308
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
240
|
-
const
|
|
241
|
-
|
|
242
|
-
exports.buildInformation = {
|
|
243
|
-
version: "1.1.4",
|
|
244
|
-
build: "11",
|
|
245
|
-
date: "2022-01-25T16:44:51+00:00",
|
|
246
|
-
commit: "6328bc3e2b6d1e115f6f12045862959a891c1cb3",
|
|
247
|
-
dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
|
|
248
|
-
libraries: {
|
|
249
|
-
serval: ts_serval_1.buildInformation,
|
|
250
|
-
crypto: crypto_1.buildInformation,
|
|
251
|
-
transport: transport_1.buildInformation
|
|
252
|
-
}
|
|
309
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
310
|
+
let City = class City extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
253
311
|
};
|
|
254
|
-
|
|
312
|
+
__decorate([
|
|
313
|
+
(0, ts_serval_1.serialize)(),
|
|
314
|
+
(0, ts_serval_1.validate)(),
|
|
315
|
+
__metadata("design:type", String)
|
|
316
|
+
], City.prototype, "value", void 0);
|
|
317
|
+
City = __decorate([
|
|
318
|
+
(0, ts_serval_1.type)("City")
|
|
319
|
+
], City);
|
|
320
|
+
exports.City = City;
|
|
321
|
+
//# sourceMappingURL=City.js.map
|
|
255
322
|
|
|
256
323
|
/***/ }),
|
|
257
324
|
|
|
258
|
-
/***/ "./dist/
|
|
259
|
-
|
|
260
|
-
!*** ./dist/
|
|
261
|
-
|
|
325
|
+
/***/ "./dist/attributes/types/address/Country.js":
|
|
326
|
+
/*!**************************************************!*\
|
|
327
|
+
!*** ./dist/attributes/types/address/Country.js ***!
|
|
328
|
+
\**************************************************/
|
|
262
329
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
263
330
|
|
|
264
331
|
|
|
@@ -272,38 +339,28 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
272
339
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
273
340
|
};
|
|
274
341
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
275
|
-
exports.
|
|
342
|
+
exports.Country = void 0;
|
|
276
343
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
277
|
-
const
|
|
278
|
-
let
|
|
344
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
345
|
+
let Country = class Country extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
279
346
|
};
|
|
280
347
|
__decorate([
|
|
281
348
|
(0, ts_serval_1.serialize)(),
|
|
282
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
283
|
-
__metadata("design:type", String)
|
|
284
|
-
], Form.prototype, "title", void 0);
|
|
285
|
-
__decorate([
|
|
286
|
-
(0, ts_serval_1.serialize)(),
|
|
287
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
288
|
-
__metadata("design:type", String)
|
|
289
|
-
], Form.prototype, "description", void 0);
|
|
290
|
-
__decorate([
|
|
291
|
-
(0, ts_serval_1.serialize)({ type: FormItem_1.FormItem }),
|
|
292
349
|
(0, ts_serval_1.validate)(),
|
|
293
|
-
__metadata("design:type",
|
|
294
|
-
],
|
|
295
|
-
|
|
296
|
-
(0, ts_serval_1.type)("
|
|
297
|
-
],
|
|
298
|
-
exports.
|
|
299
|
-
//# sourceMappingURL=
|
|
350
|
+
__metadata("design:type", String)
|
|
351
|
+
], Country.prototype, "value", void 0);
|
|
352
|
+
Country = __decorate([
|
|
353
|
+
(0, ts_serval_1.type)("Country")
|
|
354
|
+
], Country);
|
|
355
|
+
exports.Country = Country;
|
|
356
|
+
//# sourceMappingURL=Country.js.map
|
|
300
357
|
|
|
301
358
|
/***/ }),
|
|
302
359
|
|
|
303
|
-
/***/ "./dist/
|
|
304
|
-
|
|
305
|
-
!*** ./dist/
|
|
306
|
-
|
|
360
|
+
/***/ "./dist/attributes/types/address/DeliveryBoxAddress.js":
|
|
361
|
+
/*!*************************************************************!*\
|
|
362
|
+
!*** ./dist/attributes/types/address/DeliveryBoxAddress.js ***!
|
|
363
|
+
\*************************************************************/
|
|
307
364
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
308
365
|
|
|
309
366
|
|
|
@@ -317,91 +374,92 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
317
374
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
318
375
|
};
|
|
319
376
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
320
|
-
exports.
|
|
377
|
+
exports.DeliveryBoxAddress = void 0;
|
|
321
378
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
322
|
-
|
|
323
|
-
(
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
FormType["Text"] = "text";
|
|
329
|
-
})(FormType = exports.FormType || (exports.FormType = {}));
|
|
330
|
-
let FormItem = class FormItem extends ts_serval_1.Serializable {
|
|
379
|
+
const AbstractAddress_1 = __webpack_require__(/*! ./AbstractAddress */ "./dist/attributes/types/address/AbstractAddress.js");
|
|
380
|
+
const City_1 = __webpack_require__(/*! ./City */ "./dist/attributes/types/address/City.js");
|
|
381
|
+
const Country_1 = __webpack_require__(/*! ./Country */ "./dist/attributes/types/address/Country.js");
|
|
382
|
+
const State_1 = __webpack_require__(/*! ./State */ "./dist/attributes/types/address/State.js");
|
|
383
|
+
const ZipCode_1 = __webpack_require__(/*! ./ZipCode */ "./dist/attributes/types/address/ZipCode.js");
|
|
384
|
+
let DeliveryBoxAddress = class DeliveryBoxAddress extends AbstractAddress_1.AbstractAddress {
|
|
331
385
|
};
|
|
332
386
|
__decorate([
|
|
333
387
|
(0, ts_serval_1.serialize)(),
|
|
334
388
|
(0, ts_serval_1.validate)(),
|
|
335
389
|
__metadata("design:type", String)
|
|
336
|
-
],
|
|
390
|
+
], DeliveryBoxAddress.prototype, "userId", void 0);
|
|
337
391
|
__decorate([
|
|
338
392
|
(0, ts_serval_1.serialize)(),
|
|
339
393
|
(0, ts_serval_1.validate)(),
|
|
340
394
|
__metadata("design:type", String)
|
|
341
|
-
],
|
|
342
|
-
FormItem = __decorate([
|
|
343
|
-
(0, ts_serval_1.type)("FormItem")
|
|
344
|
-
], FormItem);
|
|
345
|
-
exports.FormItem = FormItem;
|
|
346
|
-
let FormItemVisible = class FormItemVisible extends FormItem {
|
|
347
|
-
};
|
|
395
|
+
], DeliveryBoxAddress.prototype, "deliveryBoxId", void 0);
|
|
348
396
|
__decorate([
|
|
349
397
|
(0, ts_serval_1.serialize)(),
|
|
350
398
|
(0, ts_serval_1.validate)(),
|
|
351
|
-
__metadata("design:type",
|
|
352
|
-
],
|
|
399
|
+
__metadata("design:type", ZipCode_1.ZipCode)
|
|
400
|
+
], DeliveryBoxAddress.prototype, "zipCode", void 0);
|
|
353
401
|
__decorate([
|
|
354
402
|
(0, ts_serval_1.serialize)(),
|
|
355
|
-
(0, ts_serval_1.validate)(
|
|
356
|
-
__metadata("design:type",
|
|
357
|
-
],
|
|
403
|
+
(0, ts_serval_1.validate)(),
|
|
404
|
+
__metadata("design:type", City_1.City)
|
|
405
|
+
], DeliveryBoxAddress.prototype, "city", void 0);
|
|
406
|
+
__decorate([
|
|
407
|
+
(0, ts_serval_1.serialize)(),
|
|
408
|
+
(0, ts_serval_1.validate)(),
|
|
409
|
+
__metadata("design:type", Country_1.Country)
|
|
410
|
+
], DeliveryBoxAddress.prototype, "country", void 0);
|
|
358
411
|
__decorate([
|
|
359
412
|
(0, ts_serval_1.serialize)(),
|
|
360
413
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
361
|
-
__metadata("design:type",
|
|
362
|
-
],
|
|
363
|
-
|
|
364
|
-
(0, ts_serval_1.type)("
|
|
365
|
-
],
|
|
366
|
-
exports.
|
|
367
|
-
//# sourceMappingURL=
|
|
414
|
+
__metadata("design:type", State_1.State)
|
|
415
|
+
], DeliveryBoxAddress.prototype, "state", void 0);
|
|
416
|
+
DeliveryBoxAddress = __decorate([
|
|
417
|
+
(0, ts_serval_1.type)("DeliveryBoxAddress")
|
|
418
|
+
], DeliveryBoxAddress);
|
|
419
|
+
exports.DeliveryBoxAddress = DeliveryBoxAddress;
|
|
420
|
+
//# sourceMappingURL=DeliveryBoxAddress.js.map
|
|
368
421
|
|
|
369
422
|
/***/ }),
|
|
370
423
|
|
|
371
|
-
/***/ "./dist/
|
|
372
|
-
|
|
373
|
-
!*** ./dist/
|
|
374
|
-
|
|
424
|
+
/***/ "./dist/attributes/types/address/HouseNumber.js":
|
|
425
|
+
/*!******************************************************!*\
|
|
426
|
+
!*** ./dist/attributes/types/address/HouseNumber.js ***!
|
|
427
|
+
\******************************************************/
|
|
375
428
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
376
429
|
|
|
377
430
|
|
|
378
|
-
var
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
431
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
432
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
433
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
434
|
+
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;
|
|
435
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
436
|
+
};
|
|
437
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
438
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
387
439
|
};
|
|
388
440
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
441
|
+
exports.HouseNumber = void 0;
|
|
442
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
443
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
444
|
+
let HouseNumber = class HouseNumber extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
445
|
+
};
|
|
446
|
+
__decorate([
|
|
447
|
+
(0, ts_serval_1.serialize)(),
|
|
448
|
+
(0, ts_serval_1.validate)(),
|
|
449
|
+
__metadata("design:type", String)
|
|
450
|
+
], HouseNumber.prototype, "value", void 0);
|
|
451
|
+
HouseNumber = __decorate([
|
|
452
|
+
(0, ts_serval_1.type)("HouseNumber")
|
|
453
|
+
], HouseNumber);
|
|
454
|
+
exports.HouseNumber = HouseNumber;
|
|
455
|
+
//# sourceMappingURL=HouseNumber.js.map
|
|
398
456
|
|
|
399
457
|
/***/ }),
|
|
400
458
|
|
|
401
|
-
/***/ "./dist/
|
|
402
|
-
|
|
403
|
-
!*** ./dist/
|
|
404
|
-
|
|
459
|
+
/***/ "./dist/attributes/types/address/PostOfficeBoxAddress.js":
|
|
460
|
+
/*!***************************************************************!*\
|
|
461
|
+
!*** ./dist/attributes/types/address/PostOfficeBoxAddress.js ***!
|
|
462
|
+
\***************************************************************/
|
|
405
463
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
406
464
|
|
|
407
465
|
|
|
@@ -415,48 +473,52 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
415
473
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
416
474
|
};
|
|
417
475
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
418
|
-
exports.
|
|
476
|
+
exports.PostOfficeBoxAddress = void 0;
|
|
419
477
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
420
|
-
const
|
|
421
|
-
|
|
478
|
+
const AbstractAddress_1 = __webpack_require__(/*! ./AbstractAddress */ "./dist/attributes/types/address/AbstractAddress.js");
|
|
479
|
+
const City_1 = __webpack_require__(/*! ./City */ "./dist/attributes/types/address/City.js");
|
|
480
|
+
const Country_1 = __webpack_require__(/*! ./Country */ "./dist/attributes/types/address/Country.js");
|
|
481
|
+
const State_1 = __webpack_require__(/*! ./State */ "./dist/attributes/types/address/State.js");
|
|
482
|
+
const ZipCode_1 = __webpack_require__(/*! ./ZipCode */ "./dist/attributes/types/address/ZipCode.js");
|
|
483
|
+
let PostOfficeBoxAddress = class PostOfficeBoxAddress extends AbstractAddress_1.AbstractAddress {
|
|
422
484
|
};
|
|
423
485
|
__decorate([
|
|
424
486
|
(0, ts_serval_1.serialize)(),
|
|
425
|
-
(0, ts_serval_1.validate)(
|
|
487
|
+
(0, ts_serval_1.validate)(),
|
|
426
488
|
__metadata("design:type", String)
|
|
427
|
-
],
|
|
489
|
+
], PostOfficeBoxAddress.prototype, "boxId", void 0);
|
|
428
490
|
__decorate([
|
|
429
491
|
(0, ts_serval_1.serialize)(),
|
|
430
|
-
(0, ts_serval_1.validate)(
|
|
431
|
-
__metadata("design:type",
|
|
432
|
-
],
|
|
492
|
+
(0, ts_serval_1.validate)(),
|
|
493
|
+
__metadata("design:type", ZipCode_1.ZipCode)
|
|
494
|
+
], PostOfficeBoxAddress.prototype, "zipCode", void 0);
|
|
433
495
|
__decorate([
|
|
434
496
|
(0, ts_serval_1.serialize)(),
|
|
435
|
-
(0, ts_serval_1.validate)(
|
|
436
|
-
__metadata("design:type",
|
|
437
|
-
],
|
|
497
|
+
(0, ts_serval_1.validate)(),
|
|
498
|
+
__metadata("design:type", City_1.City)
|
|
499
|
+
], PostOfficeBoxAddress.prototype, "city", void 0);
|
|
438
500
|
__decorate([
|
|
439
501
|
(0, ts_serval_1.serialize)(),
|
|
440
|
-
(0, ts_serval_1.validate)(
|
|
441
|
-
__metadata("design:type",
|
|
442
|
-
],
|
|
502
|
+
(0, ts_serval_1.validate)(),
|
|
503
|
+
__metadata("design:type", Country_1.Country)
|
|
504
|
+
], PostOfficeBoxAddress.prototype, "country", void 0);
|
|
443
505
|
__decorate([
|
|
444
506
|
(0, ts_serval_1.serialize)(),
|
|
445
507
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
446
|
-
__metadata("design:type",
|
|
447
|
-
],
|
|
448
|
-
|
|
449
|
-
(0, ts_serval_1.type)("
|
|
450
|
-
],
|
|
451
|
-
exports.
|
|
452
|
-
//# sourceMappingURL=
|
|
508
|
+
__metadata("design:type", State_1.State)
|
|
509
|
+
], PostOfficeBoxAddress.prototype, "state", void 0);
|
|
510
|
+
PostOfficeBoxAddress = __decorate([
|
|
511
|
+
(0, ts_serval_1.type)("PostOfficeBoxAddress")
|
|
512
|
+
], PostOfficeBoxAddress);
|
|
513
|
+
exports.PostOfficeBoxAddress = PostOfficeBoxAddress;
|
|
514
|
+
//# sourceMappingURL=PostOfficeBoxAddress.js.map
|
|
453
515
|
|
|
454
516
|
/***/ }),
|
|
455
517
|
|
|
456
|
-
/***/ "./dist/
|
|
457
|
-
|
|
458
|
-
!*** ./dist/
|
|
459
|
-
|
|
518
|
+
/***/ "./dist/attributes/types/address/State.js":
|
|
519
|
+
/*!************************************************!*\
|
|
520
|
+
!*** ./dist/attributes/types/address/State.js ***!
|
|
521
|
+
\************************************************/
|
|
460
522
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
461
523
|
|
|
462
524
|
|
|
@@ -470,28 +532,28 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
470
532
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
471
533
|
};
|
|
472
534
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
473
|
-
exports.
|
|
535
|
+
exports.State = void 0;
|
|
474
536
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
475
|
-
const
|
|
476
|
-
let
|
|
537
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
538
|
+
let State = class State extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
477
539
|
};
|
|
478
540
|
__decorate([
|
|
479
541
|
(0, ts_serval_1.serialize)(),
|
|
480
542
|
(0, ts_serval_1.validate)(),
|
|
481
543
|
__metadata("design:type", String)
|
|
482
|
-
],
|
|
483
|
-
|
|
484
|
-
(0, ts_serval_1.type)("
|
|
485
|
-
],
|
|
486
|
-
exports.
|
|
487
|
-
//# sourceMappingURL=
|
|
544
|
+
], State.prototype, "value", void 0);
|
|
545
|
+
State = __decorate([
|
|
546
|
+
(0, ts_serval_1.type)("State")
|
|
547
|
+
], State);
|
|
548
|
+
exports.State = State;
|
|
549
|
+
//# sourceMappingURL=State.js.map
|
|
488
550
|
|
|
489
551
|
/***/ }),
|
|
490
552
|
|
|
491
|
-
/***/ "./dist/
|
|
492
|
-
|
|
493
|
-
!*** ./dist/
|
|
494
|
-
|
|
553
|
+
/***/ "./dist/attributes/types/address/Street.js":
|
|
554
|
+
/*!*************************************************!*\
|
|
555
|
+
!*** ./dist/attributes/types/address/Street.js ***!
|
|
556
|
+
\*************************************************/
|
|
495
557
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
496
558
|
|
|
497
559
|
|
|
@@ -505,34 +567,28 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
505
567
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
506
568
|
};
|
|
507
569
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
508
|
-
exports.
|
|
570
|
+
exports.Street = void 0;
|
|
509
571
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
510
|
-
const
|
|
511
|
-
|
|
512
|
-
let FormItemSelect = class FormItemSelect extends FormItem_1.FormItemVisible {
|
|
572
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
573
|
+
let Street = class Street extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
513
574
|
};
|
|
514
|
-
__decorate([
|
|
515
|
-
(0, ts_serval_1.serialize)({ type: FormItemSelectItem_1.FormItemSelectItem }),
|
|
516
|
-
(0, ts_serval_1.validate)(),
|
|
517
|
-
__metadata("design:type", Array)
|
|
518
|
-
], FormItemSelect.prototype, "items", void 0);
|
|
519
575
|
__decorate([
|
|
520
576
|
(0, ts_serval_1.serialize)(),
|
|
521
|
-
(0, ts_serval_1.validate)(
|
|
577
|
+
(0, ts_serval_1.validate)(),
|
|
522
578
|
__metadata("design:type", String)
|
|
523
|
-
],
|
|
524
|
-
|
|
525
|
-
(0, ts_serval_1.type)("
|
|
526
|
-
],
|
|
527
|
-
exports.
|
|
528
|
-
//# sourceMappingURL=
|
|
579
|
+
], Street.prototype, "value", void 0);
|
|
580
|
+
Street = __decorate([
|
|
581
|
+
(0, ts_serval_1.type)("Street")
|
|
582
|
+
], Street);
|
|
583
|
+
exports.Street = Street;
|
|
584
|
+
//# sourceMappingURL=Street.js.map
|
|
529
585
|
|
|
530
586
|
/***/ }),
|
|
531
587
|
|
|
532
|
-
/***/ "./dist/
|
|
533
|
-
|
|
534
|
-
!*** ./dist/
|
|
535
|
-
|
|
588
|
+
/***/ "./dist/attributes/types/address/StreetAddress.js":
|
|
589
|
+
/*!********************************************************!*\
|
|
590
|
+
!*** ./dist/attributes/types/address/StreetAddress.js ***!
|
|
591
|
+
\********************************************************/
|
|
536
592
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
537
593
|
|
|
538
594
|
|
|
@@ -546,87 +602,59 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
546
602
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
547
603
|
};
|
|
548
604
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
549
|
-
exports.
|
|
605
|
+
exports.StreetAddress = void 0;
|
|
550
606
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
551
|
-
|
|
607
|
+
const AbstractAddress_1 = __webpack_require__(/*! ./AbstractAddress */ "./dist/attributes/types/address/AbstractAddress.js");
|
|
608
|
+
const City_1 = __webpack_require__(/*! ./City */ "./dist/attributes/types/address/City.js");
|
|
609
|
+
const Country_1 = __webpack_require__(/*! ./Country */ "./dist/attributes/types/address/Country.js");
|
|
610
|
+
const HouseNumber_1 = __webpack_require__(/*! ./HouseNumber */ "./dist/attributes/types/address/HouseNumber.js");
|
|
611
|
+
const State_1 = __webpack_require__(/*! ./State */ "./dist/attributes/types/address/State.js");
|
|
612
|
+
const Street_1 = __webpack_require__(/*! ./Street */ "./dist/attributes/types/address/Street.js");
|
|
613
|
+
const ZipCode_1 = __webpack_require__(/*! ./ZipCode */ "./dist/attributes/types/address/ZipCode.js");
|
|
614
|
+
let StreetAddress = class StreetAddress extends AbstractAddress_1.AbstractAddress {
|
|
552
615
|
};
|
|
553
616
|
__decorate([
|
|
554
617
|
(0, ts_serval_1.serialize)(),
|
|
555
618
|
(0, ts_serval_1.validate)(),
|
|
556
|
-
__metadata("design:type",
|
|
557
|
-
],
|
|
619
|
+
__metadata("design:type", Street_1.Street)
|
|
620
|
+
], StreetAddress.prototype, "street", void 0);
|
|
558
621
|
__decorate([
|
|
559
622
|
(0, ts_serval_1.serialize)(),
|
|
560
623
|
(0, ts_serval_1.validate)(),
|
|
561
|
-
__metadata("design:type",
|
|
562
|
-
],
|
|
563
|
-
FormItemSelectItem = __decorate([
|
|
564
|
-
(0, ts_serval_1.type)("FormItemSelectItem")
|
|
565
|
-
], FormItemSelectItem);
|
|
566
|
-
exports.FormItemSelectItem = FormItemSelectItem;
|
|
567
|
-
//# sourceMappingURL=FormItemSelectItem.js.map
|
|
568
|
-
|
|
569
|
-
/***/ }),
|
|
570
|
-
|
|
571
|
-
/***/ "./dist/forms/items/FormItemString.js":
|
|
572
|
-
/*!********************************************!*\
|
|
573
|
-
!*** ./dist/forms/items/FormItemString.js ***!
|
|
574
|
-
\********************************************/
|
|
575
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
579
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
580
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
581
|
-
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;
|
|
582
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
583
|
-
};
|
|
584
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
585
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
586
|
-
};
|
|
587
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
588
|
-
exports.FormItemString = void 0;
|
|
589
|
-
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
590
|
-
const FormItem_1 = __webpack_require__(/*! ../FormItem */ "./dist/forms/FormItem.js");
|
|
591
|
-
let FormItemString = class FormItemString extends FormItem_1.FormItemVisible {
|
|
592
|
-
};
|
|
593
|
-
__decorate([
|
|
594
|
-
(0, ts_serval_1.serialize)(),
|
|
595
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
596
|
-
__metadata("design:type", String)
|
|
597
|
-
], FormItemString.prototype, "placeholder", void 0);
|
|
624
|
+
__metadata("design:type", HouseNumber_1.HouseNumber)
|
|
625
|
+
], StreetAddress.prototype, "houseNo", void 0);
|
|
598
626
|
__decorate([
|
|
599
627
|
(0, ts_serval_1.serialize)(),
|
|
600
|
-
(0, ts_serval_1.validate)(
|
|
601
|
-
__metadata("design:type",
|
|
602
|
-
],
|
|
628
|
+
(0, ts_serval_1.validate)(),
|
|
629
|
+
__metadata("design:type", ZipCode_1.ZipCode)
|
|
630
|
+
], StreetAddress.prototype, "zipCode", void 0);
|
|
603
631
|
__decorate([
|
|
604
632
|
(0, ts_serval_1.serialize)(),
|
|
605
|
-
(0, ts_serval_1.validate)(
|
|
606
|
-
__metadata("design:type",
|
|
607
|
-
],
|
|
633
|
+
(0, ts_serval_1.validate)(),
|
|
634
|
+
__metadata("design:type", City_1.City)
|
|
635
|
+
], StreetAddress.prototype, "city", void 0);
|
|
608
636
|
__decorate([
|
|
609
637
|
(0, ts_serval_1.serialize)(),
|
|
610
|
-
(0, ts_serval_1.validate)(
|
|
611
|
-
__metadata("design:type",
|
|
612
|
-
],
|
|
638
|
+
(0, ts_serval_1.validate)(),
|
|
639
|
+
__metadata("design:type", Country_1.Country)
|
|
640
|
+
], StreetAddress.prototype, "country", void 0);
|
|
613
641
|
__decorate([
|
|
614
642
|
(0, ts_serval_1.serialize)(),
|
|
615
643
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
616
|
-
__metadata("design:type",
|
|
617
|
-
],
|
|
618
|
-
|
|
619
|
-
(0, ts_serval_1.type)("
|
|
620
|
-
],
|
|
621
|
-
exports.
|
|
622
|
-
//# sourceMappingURL=
|
|
644
|
+
__metadata("design:type", State_1.State)
|
|
645
|
+
], StreetAddress.prototype, "state", void 0);
|
|
646
|
+
StreetAddress = __decorate([
|
|
647
|
+
(0, ts_serval_1.type)("StreetAddress")
|
|
648
|
+
], StreetAddress);
|
|
649
|
+
exports.StreetAddress = StreetAddress;
|
|
650
|
+
//# sourceMappingURL=StreetAddress.js.map
|
|
623
651
|
|
|
624
652
|
/***/ }),
|
|
625
653
|
|
|
626
|
-
/***/ "./dist/
|
|
627
|
-
|
|
628
|
-
!*** ./dist/
|
|
629
|
-
|
|
654
|
+
/***/ "./dist/attributes/types/address/ZipCode.js":
|
|
655
|
+
/*!**************************************************!*\
|
|
656
|
+
!*** ./dist/attributes/types/address/ZipCode.js ***!
|
|
657
|
+
\**************************************************/
|
|
630
658
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
631
659
|
|
|
632
660
|
|
|
@@ -640,54 +668,38 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
640
668
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
641
669
|
};
|
|
642
670
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
643
|
-
exports.
|
|
671
|
+
exports.ZipCode = void 0;
|
|
644
672
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
645
|
-
const
|
|
646
|
-
let
|
|
673
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
674
|
+
let ZipCode = class ZipCode extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
647
675
|
};
|
|
648
676
|
__decorate([
|
|
649
677
|
(0, ts_serval_1.serialize)(),
|
|
650
|
-
(0, ts_serval_1.validate)(
|
|
651
|
-
__metadata("design:type", String)
|
|
652
|
-
], FormItemText.prototype, "placeholder", void 0);
|
|
653
|
-
__decorate([
|
|
654
|
-
(0, ts_serval_1.serialize)(),
|
|
655
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
656
|
-
__metadata("design:type", String)
|
|
657
|
-
], FormItemText.prototype, "value", void 0);
|
|
658
|
-
__decorate([
|
|
659
|
-
(0, ts_serval_1.serialize)(),
|
|
660
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
661
|
-
__metadata("design:type", Number)
|
|
662
|
-
], FormItemText.prototype, "minLength", void 0);
|
|
663
|
-
__decorate([
|
|
664
|
-
(0, ts_serval_1.serialize)(),
|
|
665
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
666
|
-
__metadata("design:type", Number)
|
|
667
|
-
], FormItemText.prototype, "maxLength", void 0);
|
|
668
|
-
__decorate([
|
|
669
|
-
(0, ts_serval_1.serialize)(),
|
|
670
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
678
|
+
(0, ts_serval_1.validate)(),
|
|
671
679
|
__metadata("design:type", String)
|
|
672
|
-
],
|
|
673
|
-
|
|
674
|
-
(0, ts_serval_1.type)("
|
|
675
|
-
],
|
|
676
|
-
exports.
|
|
677
|
-
//# sourceMappingURL=
|
|
680
|
+
], ZipCode.prototype, "value", void 0);
|
|
681
|
+
ZipCode = __decorate([
|
|
682
|
+
(0, ts_serval_1.type)("ZipCode")
|
|
683
|
+
], ZipCode);
|
|
684
|
+
exports.ZipCode = ZipCode;
|
|
685
|
+
//# sourceMappingURL=ZipCode.js.map
|
|
678
686
|
|
|
679
687
|
/***/ }),
|
|
680
688
|
|
|
681
|
-
/***/ "./dist/index.js":
|
|
682
|
-
|
|
683
|
-
!*** ./dist/index.js ***!
|
|
684
|
-
|
|
689
|
+
/***/ "./dist/attributes/types/address/index.js":
|
|
690
|
+
/*!************************************************!*\
|
|
691
|
+
!*** ./dist/attributes/types/address/index.js ***!
|
|
692
|
+
\************************************************/
|
|
685
693
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
686
694
|
|
|
687
695
|
|
|
688
696
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
689
697
|
if (k2 === undefined) k2 = k;
|
|
690
|
-
Object.
|
|
698
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
699
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
700
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
701
|
+
}
|
|
702
|
+
Object.defineProperty(o, k2, desc);
|
|
691
703
|
}) : (function(o, m, k, k2) {
|
|
692
704
|
if (k2 === undefined) k2 = k;
|
|
693
705
|
o[k2] = m[k];
|
|
@@ -696,36 +708,24 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
696
708
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
697
709
|
};
|
|
698
710
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
699
|
-
__exportStar(__webpack_require__(/*! ./
|
|
700
|
-
__exportStar(__webpack_require__(/*! ./
|
|
701
|
-
__exportStar(__webpack_require__(/*! ./
|
|
702
|
-
__exportStar(__webpack_require__(/*! ./
|
|
703
|
-
__exportStar(__webpack_require__(/*! ./
|
|
704
|
-
__exportStar(__webpack_require__(/*! ./
|
|
705
|
-
__exportStar(__webpack_require__(/*! ./
|
|
706
|
-
__exportStar(__webpack_require__(/*! ./
|
|
707
|
-
__exportStar(__webpack_require__(/*! ./
|
|
708
|
-
__exportStar(__webpack_require__(/*! ./
|
|
709
|
-
__exportStar(__webpack_require__(/*! ./relationships/RelationshipExistsAction */ "./dist/relationships/RelationshipExistsAction.js"), exports);
|
|
710
|
-
__exportStar(__webpack_require__(/*! ./relationships/RelationshipExistsMessageAction */ "./dist/relationships/RelationshipExistsMessageAction.js"), exports);
|
|
711
|
-
__exportStar(__webpack_require__(/*! ./relationships/RelationshipTemplateBody */ "./dist/relationships/RelationshipTemplateBody.js"), exports);
|
|
712
|
-
__exportStar(__webpack_require__(/*! ./requests/AttributesChangeRequest */ "./dist/requests/AttributesChangeRequest.js"), exports);
|
|
713
|
-
__exportStar(__webpack_require__(/*! ./requests/AttributesRequest */ "./dist/requests/AttributesRequest.js"), exports);
|
|
714
|
-
__exportStar(__webpack_require__(/*! ./requests/AttributesShareRequest */ "./dist/requests/AttributesShareRequest.js"), exports);
|
|
715
|
-
__exportStar(__webpack_require__(/*! ./requests/AuthorizationGrantRequest */ "./dist/requests/AuthorizationGrantRequest.js"), exports);
|
|
716
|
-
__exportStar(__webpack_require__(/*! ./requests/ChallengeRequest */ "./dist/requests/ChallengeRequest.js"), exports);
|
|
717
|
-
__exportStar(__webpack_require__(/*! ./requests/ChallengeResponse */ "./dist/requests/ChallengeResponse.js"), exports);
|
|
718
|
-
__exportStar(__webpack_require__(/*! ./requests/FormRequest */ "./dist/requests/FormRequest.js"), exports);
|
|
719
|
-
__exportStar(__webpack_require__(/*! ./requests/PrivacyStatement */ "./dist/requests/PrivacyStatement.js"), exports);
|
|
720
|
-
__exportStar(__webpack_require__(/*! ./requests/Request */ "./dist/requests/Request.js"), exports);
|
|
711
|
+
__exportStar(__webpack_require__(/*! ./AbstractAddress */ "./dist/attributes/types/address/AbstractAddress.js"), exports);
|
|
712
|
+
__exportStar(__webpack_require__(/*! ./City */ "./dist/attributes/types/address/City.js"), exports);
|
|
713
|
+
__exportStar(__webpack_require__(/*! ./Country */ "./dist/attributes/types/address/Country.js"), exports);
|
|
714
|
+
__exportStar(__webpack_require__(/*! ./DeliveryBoxAddress */ "./dist/attributes/types/address/DeliveryBoxAddress.js"), exports);
|
|
715
|
+
__exportStar(__webpack_require__(/*! ./HouseNumber */ "./dist/attributes/types/address/HouseNumber.js"), exports);
|
|
716
|
+
__exportStar(__webpack_require__(/*! ./PostOfficeBoxAddress */ "./dist/attributes/types/address/PostOfficeBoxAddress.js"), exports);
|
|
717
|
+
__exportStar(__webpack_require__(/*! ./State */ "./dist/attributes/types/address/State.js"), exports);
|
|
718
|
+
__exportStar(__webpack_require__(/*! ./Street */ "./dist/attributes/types/address/Street.js"), exports);
|
|
719
|
+
__exportStar(__webpack_require__(/*! ./StreetAddress */ "./dist/attributes/types/address/StreetAddress.js"), exports);
|
|
720
|
+
__exportStar(__webpack_require__(/*! ./ZipCode */ "./dist/attributes/types/address/ZipCode.js"), exports);
|
|
721
721
|
//# sourceMappingURL=index.js.map
|
|
722
722
|
|
|
723
723
|
/***/ }),
|
|
724
724
|
|
|
725
|
-
/***/ "./dist/
|
|
726
|
-
|
|
727
|
-
!*** ./dist/
|
|
728
|
-
|
|
725
|
+
/***/ "./dist/attributes/types/birth/BirthCity.js":
|
|
726
|
+
/*!**************************************************!*\
|
|
727
|
+
!*** ./dist/attributes/types/birth/BirthCity.js ***!
|
|
728
|
+
\**************************************************/
|
|
729
729
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
730
730
|
|
|
731
731
|
|
|
@@ -735,68 +735,51 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
735
735
|
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;
|
|
736
736
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
737
737
|
};
|
|
738
|
-
|
|
739
|
-
|
|
738
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
739
|
+
exports.BirthCity = void 0;
|
|
740
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
741
|
+
const City_1 = __webpack_require__(/*! ../address/City */ "./dist/attributes/types/address/City.js");
|
|
742
|
+
let BirthCity = class BirthCity extends City_1.City {
|
|
743
|
+
};
|
|
744
|
+
BirthCity = __decorate([
|
|
745
|
+
(0, ts_serval_1.type)("BirthCity")
|
|
746
|
+
], BirthCity);
|
|
747
|
+
exports.BirthCity = BirthCity;
|
|
748
|
+
//# sourceMappingURL=BirthCity.js.map
|
|
749
|
+
|
|
750
|
+
/***/ }),
|
|
751
|
+
|
|
752
|
+
/***/ "./dist/attributes/types/birth/BirthCountry.js":
|
|
753
|
+
/*!*****************************************************!*\
|
|
754
|
+
!*** ./dist/attributes/types/birth/BirthCountry.js ***!
|
|
755
|
+
\*****************************************************/
|
|
756
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
760
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
761
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
762
|
+
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;
|
|
763
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
740
764
|
};
|
|
741
|
-
var Mail_1;
|
|
742
765
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
743
|
-
exports.
|
|
766
|
+
exports.BirthCountry = void 0;
|
|
744
767
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
745
|
-
const
|
|
746
|
-
let
|
|
747
|
-
static async from(value) {
|
|
748
|
-
if (typeof value.cc === "undefined") {
|
|
749
|
-
value.cc = [];
|
|
750
|
-
}
|
|
751
|
-
if (typeof value.body === "undefined" && value.content) {
|
|
752
|
-
value.body = value.content;
|
|
753
|
-
delete value.content;
|
|
754
|
-
}
|
|
755
|
-
return await super.fromT(value, Mail_1);
|
|
756
|
-
}
|
|
757
|
-
static async fromJSON(value) {
|
|
758
|
-
var _a, _b;
|
|
759
|
-
return await this.from({
|
|
760
|
-
body: value.body,
|
|
761
|
-
subject: value.subject,
|
|
762
|
-
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
763
|
-
to: (_a = value.to) === null || _a === void 0 ? void 0 : _a.map((recipient) => transport_1.CoreAddress.from(recipient)),
|
|
764
|
-
cc: (_b = value.cc) === null || _b === void 0 ? void 0 : _b.map((recipient) => transport_1.CoreAddress.from(recipient))
|
|
765
|
-
});
|
|
766
|
-
}
|
|
768
|
+
const Country_1 = __webpack_require__(/*! ../address/Country */ "./dist/attributes/types/address/Country.js");
|
|
769
|
+
let BirthCountry = class BirthCountry extends Country_1.Country {
|
|
767
770
|
};
|
|
768
|
-
__decorate([
|
|
769
|
-
(0, ts_serval_1.
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
__decorate([
|
|
774
|
-
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
775
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
776
|
-
__metadata("design:type", Array)
|
|
777
|
-
], Mail.prototype, "cc", void 0);
|
|
778
|
-
__decorate([
|
|
779
|
-
(0, ts_serval_1.serialize)(),
|
|
780
|
-
(0, ts_serval_1.validate)(),
|
|
781
|
-
__metadata("design:type", String)
|
|
782
|
-
], Mail.prototype, "subject", void 0);
|
|
783
|
-
__decorate([
|
|
784
|
-
(0, ts_serval_1.serialize)(),
|
|
785
|
-
(0, ts_serval_1.validate)(),
|
|
786
|
-
__metadata("design:type", String)
|
|
787
|
-
], Mail.prototype, "body", void 0);
|
|
788
|
-
Mail = Mail_1 = __decorate([
|
|
789
|
-
(0, ts_serval_1.type)("Mail")
|
|
790
|
-
], Mail);
|
|
791
|
-
exports.Mail = Mail;
|
|
792
|
-
//# sourceMappingURL=Mail.js.map
|
|
771
|
+
BirthCountry = __decorate([
|
|
772
|
+
(0, ts_serval_1.type)("BirthCountry")
|
|
773
|
+
], BirthCountry);
|
|
774
|
+
exports.BirthCountry = BirthCountry;
|
|
775
|
+
//# sourceMappingURL=BirthCountry.js.map
|
|
793
776
|
|
|
794
777
|
/***/ }),
|
|
795
778
|
|
|
796
|
-
/***/ "./dist/
|
|
797
|
-
|
|
798
|
-
!*** ./dist/
|
|
799
|
-
|
|
779
|
+
/***/ "./dist/attributes/types/birth/BirthDate.js":
|
|
780
|
+
/*!**************************************************!*\
|
|
781
|
+
!*** ./dist/attributes/types/birth/BirthDate.js ***!
|
|
782
|
+
\**************************************************/
|
|
800
783
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
801
784
|
|
|
802
785
|
|
|
@@ -809,44 +792,42 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
809
792
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
810
793
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
811
794
|
};
|
|
812
|
-
var RequestMail_1;
|
|
813
795
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
814
|
-
exports.
|
|
796
|
+
exports.BirthDate = void 0;
|
|
815
797
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
816
|
-
const
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
static async fromJSON(value) {
|
|
822
|
-
const mail = await Mail_1.Mail.fromJSON(value);
|
|
823
|
-
const requests = (await Promise.all(value.requests.map((request) => ts_serval_1.SerializableAsync.fromUnknown(request))));
|
|
824
|
-
return await this.from({
|
|
825
|
-
body: mail.body,
|
|
826
|
-
subject: mail.subject,
|
|
827
|
-
to: mail.to,
|
|
828
|
-
cc: mail.cc,
|
|
829
|
-
requests: requests
|
|
830
|
-
});
|
|
831
|
-
}
|
|
798
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
799
|
+
const BirthDay_1 = __webpack_require__(/*! ./BirthDay */ "./dist/attributes/types/birth/BirthDay.js");
|
|
800
|
+
const BirthMonth_1 = __webpack_require__(/*! ./BirthMonth */ "./dist/attributes/types/birth/BirthMonth.js");
|
|
801
|
+
const BirthYear_1 = __webpack_require__(/*! ./BirthYear */ "./dist/attributes/types/birth/BirthYear.js");
|
|
802
|
+
let BirthDate = class BirthDate extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
832
803
|
};
|
|
833
804
|
__decorate([
|
|
834
805
|
(0, ts_serval_1.serialize)(),
|
|
835
806
|
(0, ts_serval_1.validate)(),
|
|
836
|
-
__metadata("design:type",
|
|
837
|
-
],
|
|
838
|
-
|
|
839
|
-
(0, ts_serval_1.
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
807
|
+
__metadata("design:type", BirthDay_1.BirthDay)
|
|
808
|
+
], BirthDate.prototype, "day", void 0);
|
|
809
|
+
__decorate([
|
|
810
|
+
(0, ts_serval_1.serialize)(),
|
|
811
|
+
(0, ts_serval_1.validate)(),
|
|
812
|
+
__metadata("design:type", BirthMonth_1.BirthMonth)
|
|
813
|
+
], BirthDate.prototype, "month", void 0);
|
|
814
|
+
__decorate([
|
|
815
|
+
(0, ts_serval_1.serialize)(),
|
|
816
|
+
(0, ts_serval_1.validate)(),
|
|
817
|
+
__metadata("design:type", BirthYear_1.BirthYear)
|
|
818
|
+
], BirthDate.prototype, "year", void 0);
|
|
819
|
+
BirthDate = __decorate([
|
|
820
|
+
(0, ts_serval_1.type)("BirthDate")
|
|
821
|
+
], BirthDate);
|
|
822
|
+
exports.BirthDate = BirthDate;
|
|
823
|
+
//# sourceMappingURL=BirthDate.js.map
|
|
843
824
|
|
|
844
825
|
/***/ }),
|
|
845
826
|
|
|
846
|
-
/***/ "./dist/
|
|
847
|
-
|
|
848
|
-
!*** ./dist/
|
|
849
|
-
|
|
827
|
+
/***/ "./dist/attributes/types/birth/BirthDay.js":
|
|
828
|
+
/*!*************************************************!*\
|
|
829
|
+
!*** ./dist/attributes/types/birth/BirthDay.js ***!
|
|
830
|
+
\*************************************************/
|
|
850
831
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
851
832
|
|
|
852
833
|
|
|
@@ -856,74 +837,24 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
856
837
|
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;
|
|
857
838
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
858
839
|
};
|
|
859
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
860
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
861
|
-
};
|
|
862
|
-
var RelationshipCreationChangeRequestBody_1;
|
|
863
840
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
864
|
-
exports.
|
|
841
|
+
exports.BirthDay = void 0;
|
|
865
842
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
866
|
-
const
|
|
867
|
-
|
|
868
|
-
const FormRequest_1 = __webpack_require__(/*! ../requests/FormRequest */ "./dist/requests/FormRequest.js");
|
|
869
|
-
const PrivacyStatement_1 = __webpack_require__(/*! ../requests/PrivacyStatement */ "./dist/requests/PrivacyStatement.js");
|
|
870
|
-
let RelationshipCreationChangeRequestBody = RelationshipCreationChangeRequestBody_1 = class RelationshipCreationChangeRequestBody extends ts_serval_1.SerializableAsync {
|
|
871
|
-
static async from(value) {
|
|
872
|
-
return (await super.from(value, RelationshipCreationChangeRequestBody_1));
|
|
873
|
-
}
|
|
843
|
+
const AbstractDay_1 = __webpack_require__(/*! ../AbstractDay */ "./dist/attributes/types/AbstractDay.js");
|
|
844
|
+
let BirthDay = class BirthDay extends AbstractDay_1.AbstractDay {
|
|
874
845
|
};
|
|
875
|
-
__decorate([
|
|
876
|
-
(0, ts_serval_1.
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
__decorate([
|
|
881
|
-
(0, ts_serval_1.serialize)(),
|
|
882
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
883
|
-
__metadata("design:type", String)
|
|
884
|
-
], RelationshipCreationChangeRequestBody.prototype, "sessionIdentifier", void 0);
|
|
885
|
-
__decorate([
|
|
886
|
-
(0, ts_serval_1.serialize)({ any: true }),
|
|
887
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
888
|
-
__metadata("design:type", Object)
|
|
889
|
-
], RelationshipCreationChangeRequestBody.prototype, "metadata", void 0);
|
|
890
|
-
__decorate([
|
|
891
|
-
(0, ts_serval_1.serialize)({ type: Attribute_1.Attribute }),
|
|
892
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
893
|
-
__metadata("design:type", Array)
|
|
894
|
-
], RelationshipCreationChangeRequestBody.prototype, "sharedAttributes", void 0);
|
|
895
|
-
__decorate([
|
|
896
|
-
(0, ts_serval_1.serialize)(),
|
|
897
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
898
|
-
__metadata("design:type", Array)
|
|
899
|
-
], RelationshipCreationChangeRequestBody.prototype, "sharedCertificates", void 0);
|
|
900
|
-
__decorate([
|
|
901
|
-
(0, ts_serval_1.serialize)({ type: Authorization_1.Authorization }),
|
|
902
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
903
|
-
__metadata("design:type", Array)
|
|
904
|
-
], RelationshipCreationChangeRequestBody.prototype, "sharedAuthorizations", void 0);
|
|
905
|
-
__decorate([
|
|
906
|
-
(0, ts_serval_1.serialize)({ type: FormRequest_1.FormRequest }),
|
|
907
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
908
|
-
__metadata("design:type", Array)
|
|
909
|
-
], RelationshipCreationChangeRequestBody.prototype, "sharedForms", void 0);
|
|
910
|
-
__decorate([
|
|
911
|
-
(0, ts_serval_1.serialize)(),
|
|
912
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
913
|
-
__metadata("design:type", PrivacyStatement_1.PrivacyStatement)
|
|
914
|
-
], RelationshipCreationChangeRequestBody.prototype, "privacyStatementResponse", void 0);
|
|
915
|
-
RelationshipCreationChangeRequestBody = RelationshipCreationChangeRequestBody_1 = __decorate([
|
|
916
|
-
(0, ts_serval_1.type)("RelationshipCreationChangeRequestBody")
|
|
917
|
-
], RelationshipCreationChangeRequestBody);
|
|
918
|
-
exports.RelationshipCreationChangeRequestBody = RelationshipCreationChangeRequestBody;
|
|
919
|
-
//# sourceMappingURL=RelationshipCreationChangeRequestBody.js.map
|
|
846
|
+
BirthDay = __decorate([
|
|
847
|
+
(0, ts_serval_1.type)("BirthDay")
|
|
848
|
+
], BirthDay);
|
|
849
|
+
exports.BirthDay = BirthDay;
|
|
850
|
+
//# sourceMappingURL=BirthDay.js.map
|
|
920
851
|
|
|
921
852
|
/***/ }),
|
|
922
853
|
|
|
923
|
-
/***/ "./dist/
|
|
924
|
-
|
|
925
|
-
!*** ./dist/
|
|
926
|
-
|
|
854
|
+
/***/ "./dist/attributes/types/birth/BirthMonth.js":
|
|
855
|
+
/*!***************************************************!*\
|
|
856
|
+
!*** ./dist/attributes/types/birth/BirthMonth.js ***!
|
|
857
|
+
\***************************************************/
|
|
927
858
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
928
859
|
|
|
929
860
|
|
|
@@ -934,22 +865,23 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
934
865
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
935
866
|
};
|
|
936
867
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
937
|
-
exports.
|
|
868
|
+
exports.BirthMonth = void 0;
|
|
938
869
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
939
|
-
|
|
870
|
+
const AbstractMonth_1 = __webpack_require__(/*! ../AbstractMonth */ "./dist/attributes/types/AbstractMonth.js");
|
|
871
|
+
let BirthMonth = class BirthMonth extends AbstractMonth_1.AbstractMonth {
|
|
940
872
|
};
|
|
941
|
-
|
|
942
|
-
(0, ts_serval_1.type)("
|
|
943
|
-
],
|
|
944
|
-
exports.
|
|
945
|
-
//# sourceMappingURL=
|
|
873
|
+
BirthMonth = __decorate([
|
|
874
|
+
(0, ts_serval_1.type)("BirthMonth")
|
|
875
|
+
], BirthMonth);
|
|
876
|
+
exports.BirthMonth = BirthMonth;
|
|
877
|
+
//# sourceMappingURL=BirthMonth.js.map
|
|
946
878
|
|
|
947
879
|
/***/ }),
|
|
948
880
|
|
|
949
|
-
/***/ "./dist/
|
|
950
|
-
|
|
951
|
-
!*** ./dist/
|
|
952
|
-
|
|
881
|
+
/***/ "./dist/attributes/types/birth/BirthPlace.js":
|
|
882
|
+
/*!***************************************************!*\
|
|
883
|
+
!*** ./dist/attributes/types/birth/BirthPlace.js ***!
|
|
884
|
+
\***************************************************/
|
|
953
885
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
954
886
|
|
|
955
887
|
|
|
@@ -963,28 +895,41 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
963
895
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
964
896
|
};
|
|
965
897
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
966
|
-
exports.
|
|
898
|
+
exports.BirthPlace = void 0;
|
|
967
899
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
968
|
-
const
|
|
969
|
-
|
|
900
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
901
|
+
const BirthCity_1 = __webpack_require__(/*! ./BirthCity */ "./dist/attributes/types/birth/BirthCity.js");
|
|
902
|
+
const BirthCountry_1 = __webpack_require__(/*! ./BirthCountry */ "./dist/attributes/types/birth/BirthCountry.js");
|
|
903
|
+
const BirthState_1 = __webpack_require__(/*! ./BirthState */ "./dist/attributes/types/birth/BirthState.js");
|
|
904
|
+
let BirthPlace = class BirthPlace extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
970
905
|
};
|
|
971
906
|
__decorate([
|
|
972
907
|
(0, ts_serval_1.serialize)(),
|
|
973
908
|
(0, ts_serval_1.validate)(),
|
|
974
|
-
__metadata("design:type",
|
|
975
|
-
],
|
|
976
|
-
|
|
977
|
-
(0, ts_serval_1.
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
909
|
+
__metadata("design:type", BirthCity_1.BirthCity)
|
|
910
|
+
], BirthPlace.prototype, "city", void 0);
|
|
911
|
+
__decorate([
|
|
912
|
+
(0, ts_serval_1.serialize)(),
|
|
913
|
+
(0, ts_serval_1.validate)(),
|
|
914
|
+
__metadata("design:type", BirthCountry_1.BirthCountry)
|
|
915
|
+
], BirthPlace.prototype, "country", void 0);
|
|
916
|
+
__decorate([
|
|
917
|
+
(0, ts_serval_1.serialize)(),
|
|
918
|
+
(0, ts_serval_1.validate)(),
|
|
919
|
+
__metadata("design:type", BirthState_1.BirthState)
|
|
920
|
+
], BirthPlace.prototype, "state", void 0);
|
|
921
|
+
BirthPlace = __decorate([
|
|
922
|
+
(0, ts_serval_1.type)("BirthPlace")
|
|
923
|
+
], BirthPlace);
|
|
924
|
+
exports.BirthPlace = BirthPlace;
|
|
925
|
+
//# sourceMappingURL=BirthPlace.js.map
|
|
981
926
|
|
|
982
927
|
/***/ }),
|
|
983
928
|
|
|
984
|
-
/***/ "./dist/
|
|
985
|
-
|
|
986
|
-
!*** ./dist/
|
|
987
|
-
|
|
929
|
+
/***/ "./dist/attributes/types/birth/BirthState.js":
|
|
930
|
+
/*!***************************************************!*\
|
|
931
|
+
!*** ./dist/attributes/types/birth/BirthState.js ***!
|
|
932
|
+
\***************************************************/
|
|
988
933
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
989
934
|
|
|
990
935
|
|
|
@@ -994,105 +939,105 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
994
939
|
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;
|
|
995
940
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
996
941
|
};
|
|
997
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
998
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
999
|
-
};
|
|
1000
|
-
var RelationshipTemplateBody_1;
|
|
1001
942
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1002
|
-
exports.
|
|
943
|
+
exports.BirthState = void 0;
|
|
1003
944
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1004
|
-
const
|
|
1005
|
-
|
|
1006
|
-
const AttributesRequest_1 = __webpack_require__(/*! ../requests/AttributesRequest */ "./dist/requests/AttributesRequest.js");
|
|
1007
|
-
const AuthorizationGrantRequest_1 = __webpack_require__(/*! ../requests/AuthorizationGrantRequest */ "./dist/requests/AuthorizationGrantRequest.js");
|
|
1008
|
-
const FormRequest_1 = __webpack_require__(/*! ../requests/FormRequest */ "./dist/requests/FormRequest.js");
|
|
1009
|
-
const PrivacyStatement_1 = __webpack_require__(/*! ../requests/PrivacyStatement */ "./dist/requests/PrivacyStatement.js");
|
|
1010
|
-
const RelationshipExistsAction_1 = __webpack_require__(/*! ./RelationshipExistsAction */ "./dist/relationships/RelationshipExistsAction.js");
|
|
1011
|
-
let RelationshipTemplateBody = RelationshipTemplateBody_1 = class RelationshipTemplateBody extends ts_serval_1.SerializableAsync {
|
|
1012
|
-
static async from(value) {
|
|
1013
|
-
return (await super.from(value, RelationshipTemplateBody_1));
|
|
1014
|
-
}
|
|
945
|
+
const State_1 = __webpack_require__(/*! ../address/State */ "./dist/attributes/types/address/State.js");
|
|
946
|
+
let BirthState = class BirthState extends State_1.State {
|
|
1015
947
|
};
|
|
1016
|
-
__decorate([
|
|
1017
|
-
(0, ts_serval_1.
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
__decorate([
|
|
1022
|
-
(0, ts_serval_1.serialize)(),
|
|
1023
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1024
|
-
__metadata("design:type", String)
|
|
1025
|
-
], RelationshipTemplateBody.prototype, "sessionIdentifier", void 0);
|
|
1026
|
-
__decorate([
|
|
1027
|
-
(0, ts_serval_1.serialize)({ any: true }),
|
|
1028
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1029
|
-
__metadata("design:type", Object)
|
|
1030
|
-
], RelationshipTemplateBody.prototype, "metadata", void 0);
|
|
1031
|
-
__decorate([
|
|
1032
|
-
(0, ts_serval_1.serialize)({ type: Attribute_1.Attribute }),
|
|
1033
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1034
|
-
__metadata("design:type", Array)
|
|
1035
|
-
], RelationshipTemplateBody.prototype, "sharedAttributes", void 0);
|
|
1036
|
-
__decorate([
|
|
1037
|
-
(0, ts_serval_1.serialize)(),
|
|
1038
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1039
|
-
__metadata("design:type", Array)
|
|
1040
|
-
], RelationshipTemplateBody.prototype, "sharedCertificates", void 0);
|
|
1041
|
-
__decorate([
|
|
1042
|
-
(0, ts_serval_1.serialize)({ type: Authorization_1.Authorization }),
|
|
1043
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1044
|
-
__metadata("design:type", Array)
|
|
1045
|
-
], RelationshipTemplateBody.prototype, "sharedAuthorizations", void 0);
|
|
1046
|
-
__decorate([
|
|
1047
|
-
(0, ts_serval_1.serialize)({ type: Attribute_1.Attribute }),
|
|
1048
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1049
|
-
__metadata("design:type", Array)
|
|
1050
|
-
], RelationshipTemplateBody.prototype, "requestedAttributesChanges", void 0);
|
|
1051
|
-
__decorate([
|
|
1052
|
-
(0, ts_serval_1.serialize)({ type: AttributesRequest_1.AttributesRequest }),
|
|
1053
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1054
|
-
__metadata("design:type", Array)
|
|
1055
|
-
], RelationshipTemplateBody.prototype, "requestedAttributes", void 0);
|
|
1056
|
-
__decorate([
|
|
1057
|
-
(0, ts_serval_1.serialize)(),
|
|
1058
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1059
|
-
__metadata("design:type", Array)
|
|
1060
|
-
], RelationshipTemplateBody.prototype, "requestedCertificates", void 0);
|
|
1061
|
-
__decorate([
|
|
1062
|
-
(0, ts_serval_1.serialize)({ type: AuthorizationGrantRequest_1.AuthorizationGrantRequest }),
|
|
1063
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1064
|
-
__metadata("design:type", Array)
|
|
1065
|
-
], RelationshipTemplateBody.prototype, "requestedAuthorizations", void 0);
|
|
1066
|
-
__decorate([
|
|
1067
|
-
(0, ts_serval_1.serialize)({ type: FormRequest_1.FormRequest }),
|
|
1068
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1069
|
-
__metadata("design:type", Array)
|
|
1070
|
-
], RelationshipTemplateBody.prototype, "requestedForms", void 0);
|
|
1071
|
-
__decorate([
|
|
1072
|
-
(0, ts_serval_1.serialize)(),
|
|
1073
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1074
|
-
__metadata("design:type", PrivacyStatement_1.PrivacyStatement)
|
|
1075
|
-
], RelationshipTemplateBody.prototype, "privacyStatement", void 0);
|
|
1076
|
-
__decorate([
|
|
1077
|
-
(0, ts_serval_1.serialize)(),
|
|
1078
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1079
|
-
__metadata("design:type", RelationshipExistsAction_1.RelationshipExistsAction)
|
|
1080
|
-
], RelationshipTemplateBody.prototype, "relationshipExistsAction", void 0);
|
|
1081
|
-
RelationshipTemplateBody = RelationshipTemplateBody_1 = __decorate([
|
|
1082
|
-
(0, ts_serval_1.type)("RelationshipTemplateBody")
|
|
1083
|
-
], RelationshipTemplateBody);
|
|
1084
|
-
exports.RelationshipTemplateBody = RelationshipTemplateBody;
|
|
1085
|
-
//# sourceMappingURL=RelationshipTemplateBody.js.map
|
|
948
|
+
BirthState = __decorate([
|
|
949
|
+
(0, ts_serval_1.type)("BirthState")
|
|
950
|
+
], BirthState);
|
|
951
|
+
exports.BirthState = BirthState;
|
|
952
|
+
//# sourceMappingURL=BirthState.js.map
|
|
1086
953
|
|
|
1087
954
|
/***/ }),
|
|
1088
955
|
|
|
1089
|
-
/***/ "./dist/
|
|
956
|
+
/***/ "./dist/attributes/types/birth/BirthYear.js":
|
|
1090
957
|
/*!**************************************************!*\
|
|
1091
|
-
!*** ./dist/
|
|
958
|
+
!*** ./dist/attributes/types/birth/BirthYear.js ***!
|
|
1092
959
|
\**************************************************/
|
|
1093
960
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1094
961
|
|
|
1095
962
|
|
|
963
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
964
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
965
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
966
|
+
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;
|
|
967
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
968
|
+
};
|
|
969
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
970
|
+
exports.BirthYear = void 0;
|
|
971
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
972
|
+
const AbstractYear_1 = __webpack_require__(/*! ../AbstractYear */ "./dist/attributes/types/AbstractYear.js");
|
|
973
|
+
let BirthYear = class BirthYear extends AbstractYear_1.AbstractYear {
|
|
974
|
+
};
|
|
975
|
+
BirthYear = __decorate([
|
|
976
|
+
(0, ts_serval_1.type)("BirthYear")
|
|
977
|
+
], BirthYear);
|
|
978
|
+
exports.BirthYear = BirthYear;
|
|
979
|
+
//# sourceMappingURL=BirthYear.js.map
|
|
980
|
+
|
|
981
|
+
/***/ }),
|
|
982
|
+
|
|
983
|
+
/***/ "./dist/attributes/types/birth/index.js":
|
|
984
|
+
/*!**********************************************!*\
|
|
985
|
+
!*** ./dist/attributes/types/birth/index.js ***!
|
|
986
|
+
\**********************************************/
|
|
987
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
991
|
+
if (k2 === undefined) k2 = k;
|
|
992
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
993
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
994
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
995
|
+
}
|
|
996
|
+
Object.defineProperty(o, k2, desc);
|
|
997
|
+
}) : (function(o, m, k, k2) {
|
|
998
|
+
if (k2 === undefined) k2 = k;
|
|
999
|
+
o[k2] = m[k];
|
|
1000
|
+
}));
|
|
1001
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
1002
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1003
|
+
};
|
|
1004
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1005
|
+
__exportStar(__webpack_require__(/*! ./BirthCity */ "./dist/attributes/types/birth/BirthCity.js"), exports);
|
|
1006
|
+
__exportStar(__webpack_require__(/*! ./BirthCountry */ "./dist/attributes/types/birth/BirthCountry.js"), exports);
|
|
1007
|
+
__exportStar(__webpack_require__(/*! ./BirthDate */ "./dist/attributes/types/birth/BirthDate.js"), exports);
|
|
1008
|
+
__exportStar(__webpack_require__(/*! ./BirthDay */ "./dist/attributes/types/birth/BirthDay.js"), exports);
|
|
1009
|
+
__exportStar(__webpack_require__(/*! ./BirthMonth */ "./dist/attributes/types/birth/BirthMonth.js"), exports);
|
|
1010
|
+
__exportStar(__webpack_require__(/*! ./BirthPlace */ "./dist/attributes/types/birth/BirthPlace.js"), exports);
|
|
1011
|
+
__exportStar(__webpack_require__(/*! ./BirthState */ "./dist/attributes/types/birth/BirthState.js"), exports);
|
|
1012
|
+
__exportStar(__webpack_require__(/*! ./BirthYear */ "./dist/attributes/types/birth/BirthYear.js"), exports);
|
|
1013
|
+
//# sourceMappingURL=index.js.map
|
|
1014
|
+
|
|
1015
|
+
/***/ }),
|
|
1016
|
+
|
|
1017
|
+
/***/ "./dist/attributes/types/idcard/AbstractIDCard.js":
|
|
1018
|
+
/*!********************************************************!*\
|
|
1019
|
+
!*** ./dist/attributes/types/idcard/AbstractIDCard.js ***!
|
|
1020
|
+
\********************************************************/
|
|
1021
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1025
|
+
exports.AbstractIDCard = void 0;
|
|
1026
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1027
|
+
class AbstractIDCard extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1028
|
+
}
|
|
1029
|
+
exports.AbstractIDCard = AbstractIDCard;
|
|
1030
|
+
//# sourceMappingURL=AbstractIDCard.js.map
|
|
1031
|
+
|
|
1032
|
+
/***/ }),
|
|
1033
|
+
|
|
1034
|
+
/***/ "./dist/attributes/types/idcard/IDCardAuthorityName.js":
|
|
1035
|
+
/*!*************************************************************!*\
|
|
1036
|
+
!*** ./dist/attributes/types/idcard/IDCardAuthorityName.js ***!
|
|
1037
|
+
\*************************************************************/
|
|
1038
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1039
|
+
|
|
1040
|
+
|
|
1096
1041
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1097
1042
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1098
1043
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1102,51 +1047,29 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
1102
1047
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1103
1048
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1104
1049
|
};
|
|
1105
|
-
var AttributesChangeRequest_1;
|
|
1106
1050
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1107
|
-
exports.
|
|
1051
|
+
exports.IDCardAuthorityName = void 0;
|
|
1108
1052
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1109
|
-
const
|
|
1110
|
-
|
|
1111
|
-
const Request_1 = __webpack_require__(/*! ./Request */ "./dist/requests/Request.js");
|
|
1112
|
-
let AttributesChangeRequest = AttributesChangeRequest_1 = class AttributesChangeRequest extends Request_1.Request {
|
|
1113
|
-
static async from(value) {
|
|
1114
|
-
return (await super.from(value, AttributesChangeRequest_1));
|
|
1115
|
-
}
|
|
1116
|
-
static async fromJSON(value) {
|
|
1117
|
-
const parsedAttributes = await Promise.all(value.attributes.map((attribute) => Attribute_1.Attribute.fromJSON(attribute)));
|
|
1118
|
-
return await this.from({
|
|
1119
|
-
id: value.id ? transport_1.CoreId.from(value.id) : undefined,
|
|
1120
|
-
attributes: parsedAttributes,
|
|
1121
|
-
applyTo: value.applyTo ? transport_1.CoreAddress.from(value.applyTo) : undefined,
|
|
1122
|
-
expiresAt: value.expiresAt ? transport_1.CoreDate.from(value.expiresAt) : undefined,
|
|
1123
|
-
key: value.key,
|
|
1124
|
-
reason: value.reason
|
|
1125
|
-
});
|
|
1126
|
-
}
|
|
1053
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1054
|
+
let IDCardAuthorityName = class IDCardAuthorityName extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1127
1055
|
};
|
|
1128
|
-
__decorate([
|
|
1129
|
-
(0, ts_serval_1.serialize)({ type: Attribute_1.Attribute }),
|
|
1130
|
-
(0, ts_serval_1.validate)(),
|
|
1131
|
-
__metadata("design:type", Array)
|
|
1132
|
-
], AttributesChangeRequest.prototype, "attributes", void 0);
|
|
1133
1056
|
__decorate([
|
|
1134
1057
|
(0, ts_serval_1.serialize)(),
|
|
1135
|
-
(0, ts_serval_1.validate)(
|
|
1136
|
-
__metadata("design:type",
|
|
1137
|
-
],
|
|
1138
|
-
|
|
1139
|
-
(0, ts_serval_1.type)("
|
|
1140
|
-
],
|
|
1141
|
-
exports.
|
|
1142
|
-
//# sourceMappingURL=
|
|
1058
|
+
(0, ts_serval_1.validate)(),
|
|
1059
|
+
__metadata("design:type", String)
|
|
1060
|
+
], IDCardAuthorityName.prototype, "value", void 0);
|
|
1061
|
+
IDCardAuthorityName = __decorate([
|
|
1062
|
+
(0, ts_serval_1.type)("IDCardAuthorityName")
|
|
1063
|
+
], IDCardAuthorityName);
|
|
1064
|
+
exports.IDCardAuthorityName = IDCardAuthorityName;
|
|
1065
|
+
//# sourceMappingURL=IDCardAuthorityName.js.map
|
|
1143
1066
|
|
|
1144
1067
|
/***/ }),
|
|
1145
1068
|
|
|
1146
|
-
/***/ "./dist/
|
|
1147
|
-
|
|
1148
|
-
!*** ./dist/
|
|
1149
|
-
|
|
1069
|
+
/***/ "./dist/attributes/types/idcard/IDCardDE.js":
|
|
1070
|
+
/*!**************************************************!*\
|
|
1071
|
+
!*** ./dist/attributes/types/idcard/IDCardDE.js ***!
|
|
1072
|
+
\**************************************************/
|
|
1150
1073
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1151
1074
|
|
|
1152
1075
|
|
|
@@ -1159,49 +1082,48 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
1159
1082
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1160
1083
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1161
1084
|
};
|
|
1162
|
-
var AttributesRequest_1;
|
|
1163
1085
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1164
|
-
exports.
|
|
1086
|
+
exports.IDCardDE = void 0;
|
|
1165
1087
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1166
|
-
const
|
|
1167
|
-
const
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
static async fromJSON(value) {
|
|
1173
|
-
return await this.from({
|
|
1174
|
-
id: value.id ? transport_1.CoreId.from(value.id) : undefined,
|
|
1175
|
-
expiresAt: value.expiresAt ? transport_1.CoreDate.from(value.expiresAt) : undefined,
|
|
1176
|
-
key: value.key,
|
|
1177
|
-
reason: value.reason,
|
|
1178
|
-
names: value.names,
|
|
1179
|
-
required: value.required
|
|
1180
|
-
});
|
|
1181
|
-
}
|
|
1088
|
+
const StreetAddress_1 = __webpack_require__(/*! ../address/StreetAddress */ "./dist/attributes/types/address/StreetAddress.js");
|
|
1089
|
+
const BirthDate_1 = __webpack_require__(/*! ../birth/BirthDate */ "./dist/attributes/types/birth/BirthDate.js");
|
|
1090
|
+
const BirthPlace_1 = __webpack_require__(/*! ../birth/BirthPlace */ "./dist/attributes/types/birth/BirthPlace.js");
|
|
1091
|
+
const LegalNameDE_1 = __webpack_require__(/*! ../name/LegalNameDE */ "./dist/attributes/types/name/LegalNameDE.js");
|
|
1092
|
+
const AbstractIDCard_1 = __webpack_require__(/*! ./AbstractIDCard */ "./dist/attributes/types/idcard/AbstractIDCard.js");
|
|
1093
|
+
let IDCardDE = class IDCardDE extends AbstractIDCard_1.AbstractIDCard {
|
|
1182
1094
|
};
|
|
1183
1095
|
__decorate([
|
|
1184
|
-
(0, ts_serval_1.serialize)(
|
|
1096
|
+
(0, ts_serval_1.serialize)(),
|
|
1185
1097
|
(0, ts_serval_1.validate)(),
|
|
1186
|
-
__metadata("design:type",
|
|
1187
|
-
],
|
|
1098
|
+
__metadata("design:type", LegalNameDE_1.LegalNameDE)
|
|
1099
|
+
], IDCardDE.prototype, "legalName", void 0);
|
|
1188
1100
|
__decorate([
|
|
1189
1101
|
(0, ts_serval_1.serialize)(),
|
|
1190
|
-
(0, ts_serval_1.validate)(
|
|
1191
|
-
__metadata("design:type",
|
|
1192
|
-
],
|
|
1193
|
-
|
|
1194
|
-
(0, ts_serval_1.
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1102
|
+
(0, ts_serval_1.validate)(),
|
|
1103
|
+
__metadata("design:type", BirthDate_1.BirthDate)
|
|
1104
|
+
], IDCardDE.prototype, "birthDate", void 0);
|
|
1105
|
+
__decorate([
|
|
1106
|
+
(0, ts_serval_1.serialize)(),
|
|
1107
|
+
(0, ts_serval_1.validate)(),
|
|
1108
|
+
__metadata("design:type", BirthPlace_1.BirthPlace)
|
|
1109
|
+
], IDCardDE.prototype, "birthPlace", void 0);
|
|
1110
|
+
__decorate([
|
|
1111
|
+
(0, ts_serval_1.serialize)(),
|
|
1112
|
+
(0, ts_serval_1.validate)(),
|
|
1113
|
+
__metadata("design:type", StreetAddress_1.StreetAddress)
|
|
1114
|
+
], IDCardDE.prototype, "address", void 0);
|
|
1115
|
+
IDCardDE = __decorate([
|
|
1116
|
+
(0, ts_serval_1.type)("IDCardDE")
|
|
1117
|
+
], IDCardDE);
|
|
1118
|
+
exports.IDCardDE = IDCardDE;
|
|
1119
|
+
//# sourceMappingURL=IDCardDE.js.map
|
|
1198
1120
|
|
|
1199
1121
|
/***/ }),
|
|
1200
1122
|
|
|
1201
|
-
/***/ "./dist/
|
|
1202
|
-
|
|
1203
|
-
!*** ./dist/
|
|
1204
|
-
|
|
1123
|
+
/***/ "./dist/attributes/types/idcard/IDCardIssuingDate.js":
|
|
1124
|
+
/*!***********************************************************!*\
|
|
1125
|
+
!*** ./dist/attributes/types/idcard/IDCardIssuingDate.js ***!
|
|
1126
|
+
\***********************************************************/
|
|
1205
1127
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1206
1128
|
|
|
1207
1129
|
|
|
@@ -1214,39 +1136,1238 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
1214
1136
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1215
1137
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1216
1138
|
};
|
|
1217
|
-
var AttributesShareRequest_1;
|
|
1218
1139
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1219
|
-
exports.
|
|
1140
|
+
exports.IDCardIssuingDate = void 0;
|
|
1220
1141
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1221
|
-
const
|
|
1222
|
-
|
|
1223
|
-
let AttributesShareRequest = AttributesShareRequest_1 = class AttributesShareRequest extends Request_1.Request {
|
|
1224
|
-
static async from(value) {
|
|
1225
|
-
return await super.fromT(value, AttributesShareRequest_1);
|
|
1226
|
-
}
|
|
1142
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1143
|
+
let IDCardIssuingDate = class IDCardIssuingDate extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1227
1144
|
};
|
|
1228
1145
|
__decorate([
|
|
1229
|
-
(0, ts_serval_1.serialize)(
|
|
1146
|
+
(0, ts_serval_1.serialize)(),
|
|
1230
1147
|
(0, ts_serval_1.validate)(),
|
|
1231
|
-
__metadata("design:type",
|
|
1232
|
-
],
|
|
1148
|
+
__metadata("design:type", String)
|
|
1149
|
+
], IDCardIssuingDate.prototype, "value", void 0);
|
|
1150
|
+
IDCardIssuingDate = __decorate([
|
|
1151
|
+
(0, ts_serval_1.type)("IDCardIssuingDate")
|
|
1152
|
+
], IDCardIssuingDate);
|
|
1153
|
+
exports.IDCardIssuingDate = IDCardIssuingDate;
|
|
1154
|
+
//# sourceMappingURL=IDCardIssuingDate.js.map
|
|
1155
|
+
|
|
1156
|
+
/***/ }),
|
|
1157
|
+
|
|
1158
|
+
/***/ "./dist/attributes/types/idcard/index.js":
|
|
1159
|
+
/*!***********************************************!*\
|
|
1160
|
+
!*** ./dist/attributes/types/idcard/index.js ***!
|
|
1161
|
+
\***********************************************/
|
|
1162
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
1166
|
+
if (k2 === undefined) k2 = k;
|
|
1167
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1168
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1169
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
1170
|
+
}
|
|
1171
|
+
Object.defineProperty(o, k2, desc);
|
|
1172
|
+
}) : (function(o, m, k, k2) {
|
|
1173
|
+
if (k2 === undefined) k2 = k;
|
|
1174
|
+
o[k2] = m[k];
|
|
1175
|
+
}));
|
|
1176
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
1177
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1178
|
+
};
|
|
1179
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1180
|
+
__exportStar(__webpack_require__(/*! ./AbstractIDCard */ "./dist/attributes/types/idcard/AbstractIDCard.js"), exports);
|
|
1181
|
+
__exportStar(__webpack_require__(/*! ./IDCardAuthorityName */ "./dist/attributes/types/idcard/IDCardAuthorityName.js"), exports);
|
|
1182
|
+
__exportStar(__webpack_require__(/*! ./IDCardDE */ "./dist/attributes/types/idcard/IDCardDE.js"), exports);
|
|
1183
|
+
__exportStar(__webpack_require__(/*! ./IDCardIssuingDate */ "./dist/attributes/types/idcard/IDCardIssuingDate.js"), exports);
|
|
1184
|
+
//# sourceMappingURL=index.js.map
|
|
1185
|
+
|
|
1186
|
+
/***/ }),
|
|
1187
|
+
|
|
1188
|
+
/***/ "./dist/attributes/types/index.js":
|
|
1189
|
+
/*!****************************************!*\
|
|
1190
|
+
!*** ./dist/attributes/types/index.js ***!
|
|
1191
|
+
\****************************************/
|
|
1192
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
1196
|
+
if (k2 === undefined) k2 = k;
|
|
1197
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1198
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1199
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
1200
|
+
}
|
|
1201
|
+
Object.defineProperty(o, k2, desc);
|
|
1202
|
+
}) : (function(o, m, k, k2) {
|
|
1203
|
+
if (k2 === undefined) k2 = k;
|
|
1204
|
+
o[k2] = m[k];
|
|
1205
|
+
}));
|
|
1206
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
1207
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1208
|
+
};
|
|
1209
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1210
|
+
__exportStar(__webpack_require__(/*! ./address */ "./dist/attributes/types/address/index.js"), exports);
|
|
1211
|
+
__exportStar(__webpack_require__(/*! ./birth */ "./dist/attributes/types/birth/index.js"), exports);
|
|
1212
|
+
__exportStar(__webpack_require__(/*! ./idcard */ "./dist/attributes/types/idcard/index.js"), exports);
|
|
1213
|
+
__exportStar(__webpack_require__(/*! ./measurements */ "./dist/attributes/types/measurements/index.js"), exports);
|
|
1214
|
+
__exportStar(__webpack_require__(/*! ./name */ "./dist/attributes/types/name/index.js"), exports);
|
|
1215
|
+
__exportStar(__webpack_require__(/*! ./person */ "./dist/attributes/types/person/index.js"), exports);
|
|
1216
|
+
//# sourceMappingURL=index.js.map
|
|
1217
|
+
|
|
1218
|
+
/***/ }),
|
|
1219
|
+
|
|
1220
|
+
/***/ "./dist/attributes/types/measurements/AbstractMeasurement.js":
|
|
1221
|
+
/*!*******************************************************************!*\
|
|
1222
|
+
!*** ./dist/attributes/types/measurements/AbstractMeasurement.js ***!
|
|
1223
|
+
\*******************************************************************/
|
|
1224
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1228
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1229
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1230
|
+
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;
|
|
1231
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1232
|
+
};
|
|
1233
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1234
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1235
|
+
};
|
|
1236
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1237
|
+
exports.AbstractMeasurement = void 0;
|
|
1238
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1239
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1240
|
+
/**
|
|
1241
|
+
* valid unit strings must be defined in the classes extending AbstractMeasurement as enum
|
|
1242
|
+
*/
|
|
1243
|
+
class AbstractMeasurement extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1244
|
+
}
|
|
1245
|
+
__decorate([
|
|
1246
|
+
(0, ts_serval_1.serialize)(),
|
|
1247
|
+
(0, ts_serval_1.validate)(),
|
|
1248
|
+
__metadata("design:type", String)
|
|
1249
|
+
], AbstractMeasurement.prototype, "unit", void 0);
|
|
1250
|
+
__decorate([
|
|
1251
|
+
(0, ts_serval_1.serialize)(),
|
|
1252
|
+
(0, ts_serval_1.validate)(),
|
|
1253
|
+
__metadata("design:type", Number)
|
|
1254
|
+
], AbstractMeasurement.prototype, "value", void 0);
|
|
1255
|
+
exports.AbstractMeasurement = AbstractMeasurement;
|
|
1256
|
+
//# sourceMappingURL=AbstractMeasurement.js.map
|
|
1257
|
+
|
|
1258
|
+
/***/ }),
|
|
1259
|
+
|
|
1260
|
+
/***/ "./dist/attributes/types/measurements/LengthMeasurement.js":
|
|
1261
|
+
/*!*****************************************************************!*\
|
|
1262
|
+
!*** ./dist/attributes/types/measurements/LengthMeasurement.js ***!
|
|
1263
|
+
\*****************************************************************/
|
|
1264
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1268
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1269
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1270
|
+
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;
|
|
1271
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1272
|
+
};
|
|
1273
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1274
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1275
|
+
};
|
|
1276
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1277
|
+
exports.LengthMeasurement = exports.LengthUnit = void 0;
|
|
1278
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1279
|
+
const AbstractMeasurement_1 = __webpack_require__(/*! ./AbstractMeasurement */ "./dist/attributes/types/measurements/AbstractMeasurement.js");
|
|
1280
|
+
var LengthUnit;
|
|
1281
|
+
(function (LengthUnit) {
|
|
1282
|
+
LengthUnit["NM"] = "nm";
|
|
1283
|
+
LengthUnit["UM"] = "um";
|
|
1284
|
+
LengthUnit["MM"] = "mm";
|
|
1285
|
+
LengthUnit["CM"] = "cm";
|
|
1286
|
+
LengthUnit["DM"] = "dm";
|
|
1287
|
+
LengthUnit["M"] = "m";
|
|
1288
|
+
LengthUnit["KM"] = "km";
|
|
1289
|
+
LengthUnit["MI"] = "mi";
|
|
1290
|
+
LengthUnit["YD"] = "yd";
|
|
1291
|
+
LengthUnit["FT"] = "ft";
|
|
1292
|
+
LengthUnit["SM"] = "sm";
|
|
1293
|
+
LengthUnit["IN"] = "in";
|
|
1294
|
+
})(LengthUnit = exports.LengthUnit || (exports.LengthUnit = {}));
|
|
1295
|
+
let LengthMeasurement = class LengthMeasurement extends AbstractMeasurement_1.AbstractMeasurement {
|
|
1296
|
+
};
|
|
1297
|
+
__decorate([
|
|
1298
|
+
(0, ts_serval_1.serialize)(),
|
|
1299
|
+
(0, ts_serval_1.validate)({
|
|
1300
|
+
customValidator: (v) => !Object.values(LengthUnit).includes(v) ? `must be one of: ${Object.values(LengthUnit)}` : undefined
|
|
1301
|
+
}),
|
|
1302
|
+
__metadata("design:type", String)
|
|
1303
|
+
], LengthMeasurement.prototype, "unit", void 0);
|
|
1304
|
+
LengthMeasurement = __decorate([
|
|
1305
|
+
(0, ts_serval_1.type)("LengthMeasurement")
|
|
1306
|
+
], LengthMeasurement);
|
|
1307
|
+
exports.LengthMeasurement = LengthMeasurement;
|
|
1308
|
+
//# sourceMappingURL=LengthMeasurement.js.map
|
|
1309
|
+
|
|
1310
|
+
/***/ }),
|
|
1311
|
+
|
|
1312
|
+
/***/ "./dist/attributes/types/measurements/index.js":
|
|
1313
|
+
/*!*****************************************************!*\
|
|
1314
|
+
!*** ./dist/attributes/types/measurements/index.js ***!
|
|
1315
|
+
\*****************************************************/
|
|
1316
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
1320
|
+
if (k2 === undefined) k2 = k;
|
|
1321
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1322
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1323
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
1324
|
+
}
|
|
1325
|
+
Object.defineProperty(o, k2, desc);
|
|
1326
|
+
}) : (function(o, m, k, k2) {
|
|
1327
|
+
if (k2 === undefined) k2 = k;
|
|
1328
|
+
o[k2] = m[k];
|
|
1329
|
+
}));
|
|
1330
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
1331
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1332
|
+
};
|
|
1333
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1334
|
+
__exportStar(__webpack_require__(/*! ./LengthMeasurement */ "./dist/attributes/types/measurements/LengthMeasurement.js"), exports);
|
|
1335
|
+
//# sourceMappingURL=index.js.map
|
|
1336
|
+
|
|
1337
|
+
/***/ }),
|
|
1338
|
+
|
|
1339
|
+
/***/ "./dist/attributes/types/name/AbstractLegalName.js":
|
|
1340
|
+
/*!*********************************************************!*\
|
|
1341
|
+
!*** ./dist/attributes/types/name/AbstractLegalName.js ***!
|
|
1342
|
+
\*********************************************************/
|
|
1343
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1347
|
+
exports.AbstractLegalName = void 0;
|
|
1348
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1349
|
+
class AbstractLegalName extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1350
|
+
}
|
|
1351
|
+
exports.AbstractLegalName = AbstractLegalName;
|
|
1352
|
+
//# sourceMappingURL=AbstractLegalName.js.map
|
|
1353
|
+
|
|
1354
|
+
/***/ }),
|
|
1355
|
+
|
|
1356
|
+
/***/ "./dist/attributes/types/name/BirthName.js":
|
|
1357
|
+
/*!*************************************************!*\
|
|
1358
|
+
!*** ./dist/attributes/types/name/BirthName.js ***!
|
|
1359
|
+
\*************************************************/
|
|
1360
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1364
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1365
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1366
|
+
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;
|
|
1367
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1368
|
+
};
|
|
1369
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1370
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1371
|
+
};
|
|
1372
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1373
|
+
exports.BirthName = void 0;
|
|
1374
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1375
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1376
|
+
let BirthName = class BirthName extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1377
|
+
};
|
|
1378
|
+
__decorate([
|
|
1379
|
+
(0, ts_serval_1.serialize)(),
|
|
1380
|
+
(0, ts_serval_1.validate)(),
|
|
1381
|
+
__metadata("design:type", String)
|
|
1382
|
+
], BirthName.prototype, "value", void 0);
|
|
1383
|
+
BirthName = __decorate([
|
|
1384
|
+
(0, ts_serval_1.type)("BirthName")
|
|
1385
|
+
], BirthName);
|
|
1386
|
+
exports.BirthName = BirthName;
|
|
1387
|
+
//# sourceMappingURL=BirthName.js.map
|
|
1388
|
+
|
|
1389
|
+
/***/ }),
|
|
1390
|
+
|
|
1391
|
+
/***/ "./dist/attributes/types/name/DisplayName.js":
|
|
1392
|
+
/*!***************************************************!*\
|
|
1393
|
+
!*** ./dist/attributes/types/name/DisplayName.js ***!
|
|
1394
|
+
\***************************************************/
|
|
1395
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1399
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1400
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1401
|
+
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;
|
|
1402
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1403
|
+
};
|
|
1404
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1405
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1406
|
+
};
|
|
1407
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1408
|
+
exports.DisplayName = void 0;
|
|
1409
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1410
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1411
|
+
let DisplayName = class DisplayName extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1412
|
+
};
|
|
1413
|
+
__decorate([
|
|
1414
|
+
(0, ts_serval_1.serialize)(),
|
|
1415
|
+
(0, ts_serval_1.validate)(),
|
|
1416
|
+
__metadata("design:type", String)
|
|
1417
|
+
], DisplayName.prototype, "value", void 0);
|
|
1418
|
+
DisplayName = __decorate([
|
|
1419
|
+
(0, ts_serval_1.type)("DisplayName")
|
|
1420
|
+
], DisplayName);
|
|
1421
|
+
exports.DisplayName = DisplayName;
|
|
1422
|
+
//# sourceMappingURL=DisplayName.js.map
|
|
1423
|
+
|
|
1424
|
+
/***/ }),
|
|
1425
|
+
|
|
1426
|
+
/***/ "./dist/attributes/types/name/GivenName.js":
|
|
1427
|
+
/*!*************************************************!*\
|
|
1428
|
+
!*** ./dist/attributes/types/name/GivenName.js ***!
|
|
1429
|
+
\*************************************************/
|
|
1430
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1434
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1435
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1436
|
+
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;
|
|
1437
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1438
|
+
};
|
|
1439
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1440
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1441
|
+
};
|
|
1442
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1443
|
+
exports.GivenName = void 0;
|
|
1444
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1445
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1446
|
+
let GivenName = class GivenName extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1447
|
+
};
|
|
1448
|
+
__decorate([
|
|
1449
|
+
(0, ts_serval_1.serialize)(),
|
|
1450
|
+
(0, ts_serval_1.validate)(),
|
|
1451
|
+
__metadata("design:type", String)
|
|
1452
|
+
], GivenName.prototype, "value", void 0);
|
|
1453
|
+
GivenName = __decorate([
|
|
1454
|
+
(0, ts_serval_1.type)("GivenName")
|
|
1455
|
+
], GivenName);
|
|
1456
|
+
exports.GivenName = GivenName;
|
|
1457
|
+
//# sourceMappingURL=GivenName.js.map
|
|
1458
|
+
|
|
1459
|
+
/***/ }),
|
|
1460
|
+
|
|
1461
|
+
/***/ "./dist/attributes/types/name/LegalNameDE.js":
|
|
1462
|
+
/*!***************************************************!*\
|
|
1463
|
+
!*** ./dist/attributes/types/name/LegalNameDE.js ***!
|
|
1464
|
+
\***************************************************/
|
|
1465
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1469
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1470
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1471
|
+
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;
|
|
1472
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1473
|
+
};
|
|
1474
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1475
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1476
|
+
};
|
|
1477
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1478
|
+
exports.LegalNameDE = void 0;
|
|
1479
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1480
|
+
const AbstractLegalName_1 = __webpack_require__(/*! ./AbstractLegalName */ "./dist/attributes/types/name/AbstractLegalName.js");
|
|
1481
|
+
const BirthName_1 = __webpack_require__(/*! ./BirthName */ "./dist/attributes/types/name/BirthName.js");
|
|
1482
|
+
const GivenName_1 = __webpack_require__(/*! ./GivenName */ "./dist/attributes/types/name/GivenName.js");
|
|
1483
|
+
const Pseudonym_1 = __webpack_require__(/*! ./Pseudonym */ "./dist/attributes/types/name/Pseudonym.js");
|
|
1484
|
+
const Surname_1 = __webpack_require__(/*! ./Surname */ "./dist/attributes/types/name/Surname.js");
|
|
1485
|
+
let LegalNameDE = class LegalNameDE extends AbstractLegalName_1.AbstractLegalName {
|
|
1486
|
+
};
|
|
1487
|
+
__decorate([
|
|
1488
|
+
(0, ts_serval_1.serialize)(),
|
|
1489
|
+
(0, ts_serval_1.validate)(),
|
|
1490
|
+
__metadata("design:type", Surname_1.Surname)
|
|
1491
|
+
], LegalNameDE.prototype, "surname", void 0);
|
|
1492
|
+
__decorate([
|
|
1493
|
+
(0, ts_serval_1.serialize)({ type: GivenName_1.GivenName }),
|
|
1494
|
+
(0, ts_serval_1.validate)(),
|
|
1495
|
+
__metadata("design:type", Array)
|
|
1496
|
+
], LegalNameDE.prototype, "givenNames", void 0);
|
|
1497
|
+
__decorate([
|
|
1498
|
+
(0, ts_serval_1.serialize)(),
|
|
1499
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1500
|
+
__metadata("design:type", BirthName_1.BirthName)
|
|
1501
|
+
], LegalNameDE.prototype, "birthName", void 0);
|
|
1502
|
+
__decorate([
|
|
1503
|
+
(0, ts_serval_1.serialize)(),
|
|
1504
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1505
|
+
__metadata("design:type", Pseudonym_1.Pseudonym)
|
|
1506
|
+
], LegalNameDE.prototype, "pseudonym", void 0);
|
|
1507
|
+
LegalNameDE = __decorate([
|
|
1508
|
+
(0, ts_serval_1.type)("LegalNameDE")
|
|
1509
|
+
], LegalNameDE);
|
|
1510
|
+
exports.LegalNameDE = LegalNameDE;
|
|
1511
|
+
//# sourceMappingURL=LegalNameDE.js.map
|
|
1512
|
+
|
|
1513
|
+
/***/ }),
|
|
1514
|
+
|
|
1515
|
+
/***/ "./dist/attributes/types/name/Pseudonym.js":
|
|
1516
|
+
/*!*************************************************!*\
|
|
1517
|
+
!*** ./dist/attributes/types/name/Pseudonym.js ***!
|
|
1518
|
+
\*************************************************/
|
|
1519
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1523
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1524
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1525
|
+
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;
|
|
1526
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1527
|
+
};
|
|
1528
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1529
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1530
|
+
};
|
|
1531
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1532
|
+
exports.Pseudonym = void 0;
|
|
1533
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1534
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1535
|
+
let Pseudonym = class Pseudonym extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1536
|
+
};
|
|
1537
|
+
__decorate([
|
|
1538
|
+
(0, ts_serval_1.serialize)(),
|
|
1539
|
+
(0, ts_serval_1.validate)(),
|
|
1540
|
+
__metadata("design:type", String)
|
|
1541
|
+
], Pseudonym.prototype, "value", void 0);
|
|
1542
|
+
Pseudonym = __decorate([
|
|
1543
|
+
(0, ts_serval_1.type)("Pseudonym")
|
|
1544
|
+
], Pseudonym);
|
|
1545
|
+
exports.Pseudonym = Pseudonym;
|
|
1546
|
+
//# sourceMappingURL=Pseudonym.js.map
|
|
1547
|
+
|
|
1548
|
+
/***/ }),
|
|
1549
|
+
|
|
1550
|
+
/***/ "./dist/attributes/types/name/Salutation.js":
|
|
1551
|
+
/*!**************************************************!*\
|
|
1552
|
+
!*** ./dist/attributes/types/name/Salutation.js ***!
|
|
1553
|
+
\**************************************************/
|
|
1554
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1555
|
+
|
|
1556
|
+
|
|
1557
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1558
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1559
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1560
|
+
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;
|
|
1561
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1562
|
+
};
|
|
1563
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1564
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1565
|
+
};
|
|
1566
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1567
|
+
exports.Salutation = void 0;
|
|
1568
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1569
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1570
|
+
const DisplayName_1 = __webpack_require__(/*! ./DisplayName */ "./dist/attributes/types/name/DisplayName.js");
|
|
1571
|
+
const GivenName_1 = __webpack_require__(/*! ./GivenName */ "./dist/attributes/types/name/GivenName.js");
|
|
1572
|
+
const Surname_1 = __webpack_require__(/*! ./Surname */ "./dist/attributes/types/name/Surname.js");
|
|
1573
|
+
const Title_1 = __webpack_require__(/*! ./Title */ "./dist/attributes/types/name/Title.js");
|
|
1574
|
+
let Salutation = class Salutation extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1575
|
+
};
|
|
1576
|
+
__decorate([
|
|
1577
|
+
(0, ts_serval_1.serialize)(),
|
|
1578
|
+
(0, ts_serval_1.validate)(),
|
|
1579
|
+
__metadata("design:type", DisplayName_1.DisplayName)
|
|
1580
|
+
], Salutation.prototype, "displayName", void 0);
|
|
1581
|
+
__decorate([
|
|
1582
|
+
(0, ts_serval_1.serialize)(),
|
|
1583
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1584
|
+
__metadata("design:type", GivenName_1.GivenName)
|
|
1585
|
+
], Salutation.prototype, "givenName", void 0);
|
|
1586
|
+
__decorate([
|
|
1587
|
+
(0, ts_serval_1.serialize)(),
|
|
1588
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1589
|
+
__metadata("design:type", Surname_1.Surname)
|
|
1590
|
+
], Salutation.prototype, "surname", void 0);
|
|
1591
|
+
__decorate([
|
|
1592
|
+
(0, ts_serval_1.serialize)({ type: Title_1.Title }),
|
|
1593
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1594
|
+
__metadata("design:type", Array)
|
|
1595
|
+
], Salutation.prototype, "titles", void 0);
|
|
1596
|
+
Salutation = __decorate([
|
|
1597
|
+
(0, ts_serval_1.type)("Salutation")
|
|
1598
|
+
], Salutation);
|
|
1599
|
+
exports.Salutation = Salutation;
|
|
1600
|
+
//# sourceMappingURL=Salutation.js.map
|
|
1601
|
+
|
|
1602
|
+
/***/ }),
|
|
1603
|
+
|
|
1604
|
+
/***/ "./dist/attributes/types/name/Surname.js":
|
|
1605
|
+
/*!***********************************************!*\
|
|
1606
|
+
!*** ./dist/attributes/types/name/Surname.js ***!
|
|
1607
|
+
\***********************************************/
|
|
1608
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1609
|
+
|
|
1610
|
+
|
|
1611
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1612
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1613
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1614
|
+
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;
|
|
1615
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1616
|
+
};
|
|
1617
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1618
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1619
|
+
};
|
|
1620
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1621
|
+
exports.Surname = void 0;
|
|
1622
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1623
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1624
|
+
let Surname = class Surname extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1625
|
+
};
|
|
1626
|
+
__decorate([
|
|
1627
|
+
(0, ts_serval_1.serialize)(),
|
|
1628
|
+
(0, ts_serval_1.validate)(),
|
|
1629
|
+
__metadata("design:type", String)
|
|
1630
|
+
], Surname.prototype, "value", void 0);
|
|
1631
|
+
Surname = __decorate([
|
|
1632
|
+
(0, ts_serval_1.type)("Surname")
|
|
1633
|
+
], Surname);
|
|
1634
|
+
exports.Surname = Surname;
|
|
1635
|
+
//# sourceMappingURL=Surname.js.map
|
|
1636
|
+
|
|
1637
|
+
/***/ }),
|
|
1638
|
+
|
|
1639
|
+
/***/ "./dist/attributes/types/name/Title.js":
|
|
1640
|
+
/*!*********************************************!*\
|
|
1641
|
+
!*** ./dist/attributes/types/name/Title.js ***!
|
|
1642
|
+
\*********************************************/
|
|
1643
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1647
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1648
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1649
|
+
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;
|
|
1650
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1651
|
+
};
|
|
1652
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1653
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1654
|
+
};
|
|
1655
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1656
|
+
exports.Title = void 0;
|
|
1657
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1658
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1659
|
+
let Title = class Title extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1660
|
+
};
|
|
1661
|
+
__decorate([
|
|
1662
|
+
(0, ts_serval_1.serialize)(),
|
|
1663
|
+
(0, ts_serval_1.validate)(),
|
|
1664
|
+
__metadata("design:type", String)
|
|
1665
|
+
], Title.prototype, "value", void 0);
|
|
1666
|
+
Title = __decorate([
|
|
1667
|
+
(0, ts_serval_1.type)("Title")
|
|
1668
|
+
], Title);
|
|
1669
|
+
exports.Title = Title;
|
|
1670
|
+
//# sourceMappingURL=Title.js.map
|
|
1671
|
+
|
|
1672
|
+
/***/ }),
|
|
1673
|
+
|
|
1674
|
+
/***/ "./dist/attributes/types/name/index.js":
|
|
1675
|
+
/*!*********************************************!*\
|
|
1676
|
+
!*** ./dist/attributes/types/name/index.js ***!
|
|
1677
|
+
\*********************************************/
|
|
1678
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1679
|
+
|
|
1680
|
+
|
|
1681
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
1682
|
+
if (k2 === undefined) k2 = k;
|
|
1683
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1684
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1685
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
1686
|
+
}
|
|
1687
|
+
Object.defineProperty(o, k2, desc);
|
|
1688
|
+
}) : (function(o, m, k, k2) {
|
|
1689
|
+
if (k2 === undefined) k2 = k;
|
|
1690
|
+
o[k2] = m[k];
|
|
1691
|
+
}));
|
|
1692
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
1693
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1694
|
+
};
|
|
1695
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1696
|
+
__exportStar(__webpack_require__(/*! ./AbstractLegalName */ "./dist/attributes/types/name/AbstractLegalName.js"), exports);
|
|
1697
|
+
__exportStar(__webpack_require__(/*! ./BirthName */ "./dist/attributes/types/name/BirthName.js"), exports);
|
|
1698
|
+
__exportStar(__webpack_require__(/*! ./DisplayName */ "./dist/attributes/types/name/DisplayName.js"), exports);
|
|
1699
|
+
__exportStar(__webpack_require__(/*! ./GivenName */ "./dist/attributes/types/name/GivenName.js"), exports);
|
|
1700
|
+
__exportStar(__webpack_require__(/*! ./LegalNameDE */ "./dist/attributes/types/name/LegalNameDE.js"), exports);
|
|
1701
|
+
__exportStar(__webpack_require__(/*! ./Pseudonym */ "./dist/attributes/types/name/Pseudonym.js"), exports);
|
|
1702
|
+
__exportStar(__webpack_require__(/*! ./Salutation */ "./dist/attributes/types/name/Salutation.js"), exports);
|
|
1703
|
+
__exportStar(__webpack_require__(/*! ./Surname */ "./dist/attributes/types/name/Surname.js"), exports);
|
|
1704
|
+
__exportStar(__webpack_require__(/*! ./Title */ "./dist/attributes/types/name/Title.js"), exports);
|
|
1705
|
+
//# sourceMappingURL=index.js.map
|
|
1706
|
+
|
|
1707
|
+
/***/ }),
|
|
1708
|
+
|
|
1709
|
+
/***/ "./dist/attributes/types/person/Age.js":
|
|
1710
|
+
/*!*********************************************!*\
|
|
1711
|
+
!*** ./dist/attributes/types/person/Age.js ***!
|
|
1712
|
+
\*********************************************/
|
|
1713
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1714
|
+
|
|
1715
|
+
|
|
1716
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1717
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1718
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1719
|
+
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;
|
|
1720
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1721
|
+
};
|
|
1722
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1723
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1724
|
+
};
|
|
1725
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1726
|
+
exports.Age = void 0;
|
|
1727
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1728
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1729
|
+
let Age = class Age extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1730
|
+
};
|
|
1731
|
+
__decorate([
|
|
1732
|
+
(0, ts_serval_1.serialize)(),
|
|
1733
|
+
(0, ts_serval_1.validate)(),
|
|
1734
|
+
__metadata("design:type", Number)
|
|
1735
|
+
], Age.prototype, "value", void 0);
|
|
1736
|
+
Age = __decorate([
|
|
1737
|
+
(0, ts_serval_1.type)("Age")
|
|
1738
|
+
], Age);
|
|
1739
|
+
exports.Age = Age;
|
|
1740
|
+
//# sourceMappingURL=Age.js.map
|
|
1741
|
+
|
|
1742
|
+
/***/ }),
|
|
1743
|
+
|
|
1744
|
+
/***/ "./dist/attributes/types/person/Gender.js":
|
|
1745
|
+
/*!************************************************!*\
|
|
1746
|
+
!*** ./dist/attributes/types/person/Gender.js ***!
|
|
1747
|
+
\************************************************/
|
|
1748
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1749
|
+
|
|
1750
|
+
|
|
1751
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1752
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1753
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1754
|
+
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;
|
|
1755
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1756
|
+
};
|
|
1757
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1758
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1759
|
+
};
|
|
1760
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1761
|
+
exports.Gender = void 0;
|
|
1762
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1763
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1764
|
+
/**
|
|
1765
|
+
* Soziales Geschlecht
|
|
1766
|
+
*/
|
|
1767
|
+
let Gender = class Gender extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1768
|
+
};
|
|
1769
|
+
__decorate([
|
|
1770
|
+
(0, ts_serval_1.serialize)(),
|
|
1771
|
+
(0, ts_serval_1.validate)(),
|
|
1772
|
+
__metadata("design:type", String)
|
|
1773
|
+
], Gender.prototype, "value", void 0);
|
|
1774
|
+
Gender = __decorate([
|
|
1775
|
+
(0, ts_serval_1.type)("Gender")
|
|
1776
|
+
], Gender);
|
|
1777
|
+
exports.Gender = Gender;
|
|
1778
|
+
//# sourceMappingURL=Gender.js.map
|
|
1779
|
+
|
|
1780
|
+
/***/ }),
|
|
1781
|
+
|
|
1782
|
+
/***/ "./dist/attributes/types/person/PersonEyeColor.js":
|
|
1783
|
+
/*!********************************************************!*\
|
|
1784
|
+
!*** ./dist/attributes/types/person/PersonEyeColor.js ***!
|
|
1785
|
+
\********************************************************/
|
|
1786
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1787
|
+
|
|
1788
|
+
|
|
1789
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1790
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1791
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1792
|
+
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;
|
|
1793
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1794
|
+
};
|
|
1795
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1796
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1797
|
+
};
|
|
1798
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1799
|
+
exports.PersonEyeColor = void 0;
|
|
1800
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1801
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1802
|
+
let PersonEyeColor = class PersonEyeColor extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1803
|
+
};
|
|
1804
|
+
__decorate([
|
|
1805
|
+
(0, ts_serval_1.serialize)(),
|
|
1806
|
+
(0, ts_serval_1.validate)(),
|
|
1807
|
+
__metadata("design:type", String)
|
|
1808
|
+
], PersonEyeColor.prototype, "value", void 0);
|
|
1809
|
+
PersonEyeColor = __decorate([
|
|
1810
|
+
(0, ts_serval_1.type)("PersonEyeColor")
|
|
1811
|
+
], PersonEyeColor);
|
|
1812
|
+
exports.PersonEyeColor = PersonEyeColor;
|
|
1813
|
+
//# sourceMappingURL=PersonEyeColor.js.map
|
|
1814
|
+
|
|
1815
|
+
/***/ }),
|
|
1816
|
+
|
|
1817
|
+
/***/ "./dist/attributes/types/person/PersonHeight.js":
|
|
1818
|
+
/*!******************************************************!*\
|
|
1819
|
+
!*** ./dist/attributes/types/person/PersonHeight.js ***!
|
|
1820
|
+
\******************************************************/
|
|
1821
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1822
|
+
|
|
1823
|
+
|
|
1824
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1825
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1826
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1827
|
+
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;
|
|
1828
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1829
|
+
};
|
|
1830
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1831
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1832
|
+
};
|
|
1833
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1834
|
+
exports.PersonHeight = void 0;
|
|
1835
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1836
|
+
const LengthMeasurement_1 = __webpack_require__(/*! ../measurements/LengthMeasurement */ "./dist/attributes/types/measurements/LengthMeasurement.js");
|
|
1837
|
+
const validUnits = [LengthMeasurement_1.LengthUnit.CM, LengthMeasurement_1.LengthUnit.M];
|
|
1838
|
+
let PersonHeight = class PersonHeight extends LengthMeasurement_1.LengthMeasurement {
|
|
1839
|
+
};
|
|
1840
|
+
__decorate([
|
|
1841
|
+
(0, ts_serval_1.serialize)(),
|
|
1842
|
+
(0, ts_serval_1.validate)({
|
|
1843
|
+
customValidator: (v) => (!validUnits.includes(v) ? `must be one of: ${validUnits}` : undefined)
|
|
1844
|
+
}),
|
|
1845
|
+
__metadata("design:type", String)
|
|
1846
|
+
], PersonHeight.prototype, "unit", void 0);
|
|
1847
|
+
PersonHeight = __decorate([
|
|
1848
|
+
(0, ts_serval_1.type)("PersonHeight")
|
|
1849
|
+
], PersonHeight);
|
|
1850
|
+
exports.PersonHeight = PersonHeight;
|
|
1851
|
+
//# sourceMappingURL=PersonHeight.js.map
|
|
1852
|
+
|
|
1853
|
+
/***/ }),
|
|
1854
|
+
|
|
1855
|
+
/***/ "./dist/attributes/types/person/Sex.js":
|
|
1856
|
+
/*!*********************************************!*\
|
|
1857
|
+
!*** ./dist/attributes/types/person/Sex.js ***!
|
|
1858
|
+
\*********************************************/
|
|
1859
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1863
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1864
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1865
|
+
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;
|
|
1866
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1867
|
+
};
|
|
1868
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1869
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1870
|
+
};
|
|
1871
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1872
|
+
exports.Sex = void 0;
|
|
1873
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1874
|
+
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
1875
|
+
/**
|
|
1876
|
+
* Biologisches Geschlecht
|
|
1877
|
+
*/
|
|
1878
|
+
let Sex = class Sex extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
1879
|
+
};
|
|
1880
|
+
__decorate([
|
|
1881
|
+
(0, ts_serval_1.serialize)(),
|
|
1882
|
+
(0, ts_serval_1.validate)(),
|
|
1883
|
+
__metadata("design:type", String)
|
|
1884
|
+
], Sex.prototype, "value", void 0);
|
|
1885
|
+
Sex = __decorate([
|
|
1886
|
+
(0, ts_serval_1.type)("Sex")
|
|
1887
|
+
], Sex);
|
|
1888
|
+
exports.Sex = Sex;
|
|
1889
|
+
//# sourceMappingURL=Sex.js.map
|
|
1890
|
+
|
|
1891
|
+
/***/ }),
|
|
1892
|
+
|
|
1893
|
+
/***/ "./dist/attributes/types/person/index.js":
|
|
1894
|
+
/*!***********************************************!*\
|
|
1895
|
+
!*** ./dist/attributes/types/person/index.js ***!
|
|
1896
|
+
\***********************************************/
|
|
1897
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1898
|
+
|
|
1899
|
+
|
|
1900
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
1901
|
+
if (k2 === undefined) k2 = k;
|
|
1902
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1903
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1904
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
1905
|
+
}
|
|
1906
|
+
Object.defineProperty(o, k2, desc);
|
|
1907
|
+
}) : (function(o, m, k, k2) {
|
|
1908
|
+
if (k2 === undefined) k2 = k;
|
|
1909
|
+
o[k2] = m[k];
|
|
1910
|
+
}));
|
|
1911
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
1912
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1913
|
+
};
|
|
1914
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1915
|
+
__exportStar(__webpack_require__(/*! ./Age */ "./dist/attributes/types/person/Age.js"), exports);
|
|
1916
|
+
__exportStar(__webpack_require__(/*! ./Gender */ "./dist/attributes/types/person/Gender.js"), exports);
|
|
1917
|
+
__exportStar(__webpack_require__(/*! ./PersonEyeColor */ "./dist/attributes/types/person/PersonEyeColor.js"), exports);
|
|
1918
|
+
__exportStar(__webpack_require__(/*! ./PersonHeight */ "./dist/attributes/types/person/PersonHeight.js"), exports);
|
|
1919
|
+
__exportStar(__webpack_require__(/*! ./Sex */ "./dist/attributes/types/person/Sex.js"), exports);
|
|
1920
|
+
//# sourceMappingURL=index.js.map
|
|
1921
|
+
|
|
1922
|
+
/***/ }),
|
|
1923
|
+
|
|
1924
|
+
/***/ "./dist/authorizations/Authorization.js":
|
|
1925
|
+
/*!**********************************************!*\
|
|
1926
|
+
!*** ./dist/authorizations/Authorization.js ***!
|
|
1927
|
+
\**********************************************/
|
|
1928
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1929
|
+
|
|
1930
|
+
|
|
1931
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1932
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1933
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1934
|
+
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;
|
|
1935
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1936
|
+
};
|
|
1937
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1938
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1939
|
+
};
|
|
1940
|
+
var Authorization_1;
|
|
1941
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1942
|
+
exports.Authorization = void 0;
|
|
1943
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1944
|
+
let Authorization = Authorization_1 = class Authorization extends ts_serval_1.Serializable {
|
|
1945
|
+
static from(value) {
|
|
1946
|
+
return super.from(value, Authorization_1);
|
|
1947
|
+
}
|
|
1948
|
+
};
|
|
1949
|
+
__decorate([
|
|
1950
|
+
(0, ts_serval_1.validate)(),
|
|
1951
|
+
(0, ts_serval_1.serialize)(),
|
|
1952
|
+
__metadata("design:type", String)
|
|
1953
|
+
], Authorization.prototype, "name", void 0);
|
|
1954
|
+
__decorate([
|
|
1955
|
+
(0, ts_serval_1.validate)(),
|
|
1956
|
+
(0, ts_serval_1.serialize)(),
|
|
1957
|
+
__metadata("design:type", String)
|
|
1958
|
+
], Authorization.prototype, "value", void 0);
|
|
1959
|
+
Authorization = Authorization_1 = __decorate([
|
|
1960
|
+
(0, ts_serval_1.type)("Authorization")
|
|
1961
|
+
], Authorization);
|
|
1962
|
+
exports.Authorization = Authorization;
|
|
1963
|
+
//# sourceMappingURL=Authorization.js.map
|
|
1964
|
+
|
|
1965
|
+
/***/ }),
|
|
1966
|
+
|
|
1967
|
+
/***/ "./dist/buildInformation.js":
|
|
1968
|
+
/*!**********************************!*\
|
|
1969
|
+
!*** ./dist/buildInformation.js ***!
|
|
1970
|
+
\**********************************/
|
|
1971
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1972
|
+
|
|
1973
|
+
|
|
1974
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1975
|
+
exports.buildInformation = void 0;
|
|
1976
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1977
|
+
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
1978
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
1979
|
+
exports.buildInformation = {
|
|
1980
|
+
version: "1.2.1",
|
|
1981
|
+
build: "14",
|
|
1982
|
+
date: "2022-03-17T12:34:23+00:00",
|
|
1983
|
+
commit: "069945a8f801a633bce97c200b020d20aa60a427",
|
|
1984
|
+
dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
|
|
1985
|
+
libraries: {
|
|
1986
|
+
serval: ts_serval_1.buildInformation,
|
|
1987
|
+
crypto: crypto_1.buildInformation,
|
|
1988
|
+
transport: transport_1.buildInformation
|
|
1989
|
+
}
|
|
1990
|
+
};
|
|
1991
|
+
//# sourceMappingURL=buildInformation.js.map
|
|
1992
|
+
|
|
1993
|
+
/***/ }),
|
|
1994
|
+
|
|
1995
|
+
/***/ "./dist/forms/Form.js":
|
|
1996
|
+
/*!****************************!*\
|
|
1997
|
+
!*** ./dist/forms/Form.js ***!
|
|
1998
|
+
\****************************/
|
|
1999
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2000
|
+
|
|
2001
|
+
|
|
2002
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2003
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2004
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2005
|
+
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;
|
|
2006
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2007
|
+
};
|
|
2008
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
2009
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2010
|
+
};
|
|
2011
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2012
|
+
exports.Form = void 0;
|
|
2013
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
2014
|
+
const FormItem_1 = __webpack_require__(/*! ./FormItem */ "./dist/forms/FormItem.js");
|
|
2015
|
+
let Form = class Form extends ts_serval_1.Serializable {
|
|
2016
|
+
};
|
|
2017
|
+
__decorate([
|
|
2018
|
+
(0, ts_serval_1.serialize)(),
|
|
2019
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2020
|
+
__metadata("design:type", String)
|
|
2021
|
+
], Form.prototype, "title", void 0);
|
|
2022
|
+
__decorate([
|
|
2023
|
+
(0, ts_serval_1.serialize)(),
|
|
2024
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2025
|
+
__metadata("design:type", String)
|
|
2026
|
+
], Form.prototype, "description", void 0);
|
|
2027
|
+
__decorate([
|
|
2028
|
+
(0, ts_serval_1.serialize)({ type: FormItem_1.FormItem }),
|
|
2029
|
+
(0, ts_serval_1.validate)(),
|
|
2030
|
+
__metadata("design:type", Array)
|
|
2031
|
+
], Form.prototype, "items", void 0);
|
|
2032
|
+
Form = __decorate([
|
|
2033
|
+
(0, ts_serval_1.type)("Form")
|
|
2034
|
+
], Form);
|
|
2035
|
+
exports.Form = Form;
|
|
2036
|
+
//# sourceMappingURL=Form.js.map
|
|
2037
|
+
|
|
2038
|
+
/***/ }),
|
|
2039
|
+
|
|
2040
|
+
/***/ "./dist/forms/FormItem.js":
|
|
2041
|
+
/*!********************************!*\
|
|
2042
|
+
!*** ./dist/forms/FormItem.js ***!
|
|
2043
|
+
\********************************/
|
|
2044
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2045
|
+
|
|
2046
|
+
|
|
2047
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2048
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2049
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2050
|
+
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;
|
|
2051
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2052
|
+
};
|
|
2053
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
2054
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2055
|
+
};
|
|
2056
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2057
|
+
exports.FormItemVisible = exports.FormItem = exports.FormType = void 0;
|
|
2058
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
2059
|
+
var FormType;
|
|
2060
|
+
(function (FormType) {
|
|
2061
|
+
FormType["Invisible"] = "invisible";
|
|
2062
|
+
FormType["String"] = "string";
|
|
2063
|
+
FormType["Select"] = "select";
|
|
2064
|
+
FormType["Date"] = "date";
|
|
2065
|
+
FormType["Text"] = "text";
|
|
2066
|
+
})(FormType = exports.FormType || (exports.FormType = {}));
|
|
2067
|
+
let FormItem = class FormItem extends ts_serval_1.Serializable {
|
|
2068
|
+
};
|
|
2069
|
+
__decorate([
|
|
2070
|
+
(0, ts_serval_1.serialize)(),
|
|
2071
|
+
(0, ts_serval_1.validate)(),
|
|
2072
|
+
__metadata("design:type", String)
|
|
2073
|
+
], FormItem.prototype, "key", void 0);
|
|
2074
|
+
__decorate([
|
|
2075
|
+
(0, ts_serval_1.serialize)(),
|
|
2076
|
+
(0, ts_serval_1.validate)(),
|
|
2077
|
+
__metadata("design:type", String)
|
|
2078
|
+
], FormItem.prototype, "type", void 0);
|
|
2079
|
+
FormItem = __decorate([
|
|
2080
|
+
(0, ts_serval_1.type)("FormItem")
|
|
2081
|
+
], FormItem);
|
|
2082
|
+
exports.FormItem = FormItem;
|
|
2083
|
+
let FormItemVisible = class FormItemVisible extends FormItem {
|
|
2084
|
+
};
|
|
2085
|
+
__decorate([
|
|
2086
|
+
(0, ts_serval_1.serialize)(),
|
|
2087
|
+
(0, ts_serval_1.validate)(),
|
|
2088
|
+
__metadata("design:type", String)
|
|
2089
|
+
], FormItemVisible.prototype, "label", void 0);
|
|
2090
|
+
__decorate([
|
|
2091
|
+
(0, ts_serval_1.serialize)(),
|
|
2092
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2093
|
+
__metadata("design:type", Boolean)
|
|
2094
|
+
], FormItemVisible.prototype, "readonly", void 0);
|
|
2095
|
+
__decorate([
|
|
2096
|
+
(0, ts_serval_1.serialize)(),
|
|
2097
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2098
|
+
__metadata("design:type", String)
|
|
2099
|
+
], FormItemVisible.prototype, "help", void 0);
|
|
2100
|
+
FormItemVisible = __decorate([
|
|
2101
|
+
(0, ts_serval_1.type)("FormItemVisible")
|
|
2102
|
+
], FormItemVisible);
|
|
2103
|
+
exports.FormItemVisible = FormItemVisible;
|
|
2104
|
+
//# sourceMappingURL=FormItem.js.map
|
|
2105
|
+
|
|
2106
|
+
/***/ }),
|
|
2107
|
+
|
|
2108
|
+
/***/ "./dist/forms/index.js":
|
|
2109
|
+
/*!*****************************!*\
|
|
2110
|
+
!*** ./dist/forms/index.js ***!
|
|
2111
|
+
\*****************************/
|
|
2112
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2113
|
+
|
|
2114
|
+
|
|
2115
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2116
|
+
if (k2 === undefined) k2 = k;
|
|
2117
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2118
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2119
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
2120
|
+
}
|
|
2121
|
+
Object.defineProperty(o, k2, desc);
|
|
2122
|
+
}) : (function(o, m, k, k2) {
|
|
2123
|
+
if (k2 === undefined) k2 = k;
|
|
2124
|
+
o[k2] = m[k];
|
|
2125
|
+
}));
|
|
2126
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
2127
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2128
|
+
};
|
|
2129
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2130
|
+
__exportStar(__webpack_require__(/*! ./Form */ "./dist/forms/Form.js"), exports);
|
|
2131
|
+
__exportStar(__webpack_require__(/*! ./FormItem */ "./dist/forms/FormItem.js"), exports);
|
|
2132
|
+
__exportStar(__webpack_require__(/*! ./items/FormItemDate */ "./dist/forms/items/FormItemDate.js"), exports);
|
|
2133
|
+
__exportStar(__webpack_require__(/*! ./items/FormItemInvisible */ "./dist/forms/items/FormItemInvisible.js"), exports);
|
|
2134
|
+
__exportStar(__webpack_require__(/*! ./items/FormItemSelect */ "./dist/forms/items/FormItemSelect.js"), exports);
|
|
2135
|
+
__exportStar(__webpack_require__(/*! ./items/FormItemSelectItem */ "./dist/forms/items/FormItemSelectItem.js"), exports);
|
|
2136
|
+
__exportStar(__webpack_require__(/*! ./items/FormItemString */ "./dist/forms/items/FormItemString.js"), exports);
|
|
2137
|
+
__exportStar(__webpack_require__(/*! ./items/FormItemText */ "./dist/forms/items/FormItemText.js"), exports);
|
|
2138
|
+
//# sourceMappingURL=index.js.map
|
|
2139
|
+
|
|
2140
|
+
/***/ }),
|
|
2141
|
+
|
|
2142
|
+
/***/ "./dist/forms/items/FormItemDate.js":
|
|
2143
|
+
/*!******************************************!*\
|
|
2144
|
+
!*** ./dist/forms/items/FormItemDate.js ***!
|
|
2145
|
+
\******************************************/
|
|
2146
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2147
|
+
|
|
2148
|
+
|
|
2149
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2150
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2151
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2152
|
+
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;
|
|
2153
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2154
|
+
};
|
|
2155
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
2156
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2157
|
+
};
|
|
2158
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2159
|
+
exports.FormItemDate = void 0;
|
|
2160
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
2161
|
+
const FormItem_1 = __webpack_require__(/*! ../FormItem */ "./dist/forms/FormItem.js");
|
|
2162
|
+
let FormItemDate = class FormItemDate extends FormItem_1.FormItemVisible {
|
|
2163
|
+
};
|
|
2164
|
+
__decorate([
|
|
2165
|
+
(0, ts_serval_1.serialize)(),
|
|
2166
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2167
|
+
__metadata("design:type", String)
|
|
2168
|
+
], FormItemDate.prototype, "placeholder", void 0);
|
|
2169
|
+
__decorate([
|
|
2170
|
+
(0, ts_serval_1.serialize)(),
|
|
2171
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2172
|
+
__metadata("design:type", String)
|
|
2173
|
+
], FormItemDate.prototype, "value", void 0);
|
|
2174
|
+
__decorate([
|
|
2175
|
+
(0, ts_serval_1.serialize)(),
|
|
2176
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2177
|
+
__metadata("design:type", String)
|
|
2178
|
+
], FormItemDate.prototype, "minDate", void 0);
|
|
2179
|
+
__decorate([
|
|
2180
|
+
(0, ts_serval_1.serialize)(),
|
|
2181
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2182
|
+
__metadata("design:type", String)
|
|
2183
|
+
], FormItemDate.prototype, "maxDate", void 0);
|
|
2184
|
+
__decorate([
|
|
2185
|
+
(0, ts_serval_1.serialize)(),
|
|
2186
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2187
|
+
__metadata("design:type", String)
|
|
2188
|
+
], FormItemDate.prototype, "duration", void 0);
|
|
2189
|
+
FormItemDate = __decorate([
|
|
2190
|
+
(0, ts_serval_1.type)("FormItemDate")
|
|
2191
|
+
], FormItemDate);
|
|
2192
|
+
exports.FormItemDate = FormItemDate;
|
|
2193
|
+
//# sourceMappingURL=FormItemDate.js.map
|
|
2194
|
+
|
|
2195
|
+
/***/ }),
|
|
2196
|
+
|
|
2197
|
+
/***/ "./dist/forms/items/FormItemInvisible.js":
|
|
2198
|
+
/*!***********************************************!*\
|
|
2199
|
+
!*** ./dist/forms/items/FormItemInvisible.js ***!
|
|
2200
|
+
\***********************************************/
|
|
2201
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2202
|
+
|
|
2203
|
+
|
|
2204
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2205
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2206
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2207
|
+
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;
|
|
2208
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2209
|
+
};
|
|
2210
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
2211
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2212
|
+
};
|
|
2213
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2214
|
+
exports.FormItemInvisible = void 0;
|
|
2215
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
2216
|
+
const FormItem_1 = __webpack_require__(/*! ../FormItem */ "./dist/forms/FormItem.js");
|
|
2217
|
+
let FormItemInvisible = class FormItemInvisible extends FormItem_1.FormItem {
|
|
2218
|
+
};
|
|
2219
|
+
__decorate([
|
|
2220
|
+
(0, ts_serval_1.serialize)(),
|
|
2221
|
+
(0, ts_serval_1.validate)(),
|
|
2222
|
+
__metadata("design:type", String)
|
|
2223
|
+
], FormItemInvisible.prototype, "value", void 0);
|
|
2224
|
+
FormItemInvisible = __decorate([
|
|
2225
|
+
(0, ts_serval_1.type)("FormItemInvisible")
|
|
2226
|
+
], FormItemInvisible);
|
|
2227
|
+
exports.FormItemInvisible = FormItemInvisible;
|
|
2228
|
+
//# sourceMappingURL=FormItemInvisible.js.map
|
|
2229
|
+
|
|
2230
|
+
/***/ }),
|
|
2231
|
+
|
|
2232
|
+
/***/ "./dist/forms/items/FormItemSelect.js":
|
|
2233
|
+
/*!********************************************!*\
|
|
2234
|
+
!*** ./dist/forms/items/FormItemSelect.js ***!
|
|
2235
|
+
\********************************************/
|
|
2236
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2237
|
+
|
|
2238
|
+
|
|
2239
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2240
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2241
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2242
|
+
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;
|
|
2243
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2244
|
+
};
|
|
2245
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
2246
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2247
|
+
};
|
|
2248
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2249
|
+
exports.FormItemSelect = void 0;
|
|
2250
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
2251
|
+
const FormItem_1 = __webpack_require__(/*! ../FormItem */ "./dist/forms/FormItem.js");
|
|
2252
|
+
const FormItemSelectItem_1 = __webpack_require__(/*! ./FormItemSelectItem */ "./dist/forms/items/FormItemSelectItem.js");
|
|
2253
|
+
let FormItemSelect = class FormItemSelect extends FormItem_1.FormItemVisible {
|
|
2254
|
+
};
|
|
2255
|
+
__decorate([
|
|
2256
|
+
(0, ts_serval_1.serialize)({ type: FormItemSelectItem_1.FormItemSelectItem }),
|
|
2257
|
+
(0, ts_serval_1.validate)(),
|
|
2258
|
+
__metadata("design:type", Array)
|
|
2259
|
+
], FormItemSelect.prototype, "items", void 0);
|
|
2260
|
+
__decorate([
|
|
2261
|
+
(0, ts_serval_1.serialize)(),
|
|
2262
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2263
|
+
__metadata("design:type", String)
|
|
2264
|
+
], FormItemSelect.prototype, "selectedKey", void 0);
|
|
2265
|
+
FormItemSelect = __decorate([
|
|
2266
|
+
(0, ts_serval_1.type)("FormItemSelect")
|
|
2267
|
+
], FormItemSelect);
|
|
2268
|
+
exports.FormItemSelect = FormItemSelect;
|
|
2269
|
+
//# sourceMappingURL=FormItemSelect.js.map
|
|
2270
|
+
|
|
2271
|
+
/***/ }),
|
|
2272
|
+
|
|
2273
|
+
/***/ "./dist/forms/items/FormItemSelectItem.js":
|
|
2274
|
+
/*!************************************************!*\
|
|
2275
|
+
!*** ./dist/forms/items/FormItemSelectItem.js ***!
|
|
2276
|
+
\************************************************/
|
|
2277
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2278
|
+
|
|
2279
|
+
|
|
2280
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2281
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2282
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2283
|
+
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;
|
|
2284
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2285
|
+
};
|
|
2286
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
2287
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2288
|
+
};
|
|
2289
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2290
|
+
exports.FormItemSelectItem = void 0;
|
|
2291
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
2292
|
+
let FormItemSelectItem = class FormItemSelectItem extends ts_serval_1.Serializable {
|
|
2293
|
+
};
|
|
2294
|
+
__decorate([
|
|
2295
|
+
(0, ts_serval_1.serialize)(),
|
|
2296
|
+
(0, ts_serval_1.validate)(),
|
|
2297
|
+
__metadata("design:type", String)
|
|
2298
|
+
], FormItemSelectItem.prototype, "key", void 0);
|
|
2299
|
+
__decorate([
|
|
2300
|
+
(0, ts_serval_1.serialize)(),
|
|
2301
|
+
(0, ts_serval_1.validate)(),
|
|
2302
|
+
__metadata("design:type", String)
|
|
2303
|
+
], FormItemSelectItem.prototype, "label", void 0);
|
|
2304
|
+
FormItemSelectItem = __decorate([
|
|
2305
|
+
(0, ts_serval_1.type)("FormItemSelectItem")
|
|
2306
|
+
], FormItemSelectItem);
|
|
2307
|
+
exports.FormItemSelectItem = FormItemSelectItem;
|
|
2308
|
+
//# sourceMappingURL=FormItemSelectItem.js.map
|
|
2309
|
+
|
|
2310
|
+
/***/ }),
|
|
2311
|
+
|
|
2312
|
+
/***/ "./dist/forms/items/FormItemString.js":
|
|
2313
|
+
/*!********************************************!*\
|
|
2314
|
+
!*** ./dist/forms/items/FormItemString.js ***!
|
|
2315
|
+
\********************************************/
|
|
2316
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2317
|
+
|
|
2318
|
+
|
|
2319
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2320
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2321
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2322
|
+
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;
|
|
2323
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2324
|
+
};
|
|
2325
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
2326
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2327
|
+
};
|
|
2328
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2329
|
+
exports.FormItemString = void 0;
|
|
2330
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
2331
|
+
const FormItem_1 = __webpack_require__(/*! ../FormItem */ "./dist/forms/FormItem.js");
|
|
2332
|
+
let FormItemString = class FormItemString extends FormItem_1.FormItemVisible {
|
|
2333
|
+
};
|
|
2334
|
+
__decorate([
|
|
2335
|
+
(0, ts_serval_1.serialize)(),
|
|
2336
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2337
|
+
__metadata("design:type", String)
|
|
2338
|
+
], FormItemString.prototype, "placeholder", void 0);
|
|
2339
|
+
__decorate([
|
|
2340
|
+
(0, ts_serval_1.serialize)(),
|
|
2341
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2342
|
+
__metadata("design:type", String)
|
|
2343
|
+
], FormItemString.prototype, "value", void 0);
|
|
2344
|
+
__decorate([
|
|
2345
|
+
(0, ts_serval_1.serialize)(),
|
|
2346
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2347
|
+
__metadata("design:type", Number)
|
|
2348
|
+
], FormItemString.prototype, "minLength", void 0);
|
|
1233
2349
|
__decorate([
|
|
1234
|
-
(0, ts_serval_1.serialize)(
|
|
1235
|
-
(0, ts_serval_1.validate)(),
|
|
1236
|
-
__metadata("design:type",
|
|
1237
|
-
],
|
|
1238
|
-
|
|
1239
|
-
(0, ts_serval_1.
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
2350
|
+
(0, ts_serval_1.serialize)(),
|
|
2351
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2352
|
+
__metadata("design:type", Number)
|
|
2353
|
+
], FormItemString.prototype, "maxLength", void 0);
|
|
2354
|
+
__decorate([
|
|
2355
|
+
(0, ts_serval_1.serialize)(),
|
|
2356
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2357
|
+
__metadata("design:type", String)
|
|
2358
|
+
], FormItemString.prototype, "allowedRegex", void 0);
|
|
2359
|
+
FormItemString = __decorate([
|
|
2360
|
+
(0, ts_serval_1.type)("FormItemString")
|
|
2361
|
+
], FormItemString);
|
|
2362
|
+
exports.FormItemString = FormItemString;
|
|
2363
|
+
//# sourceMappingURL=FormItemString.js.map
|
|
1243
2364
|
|
|
1244
2365
|
/***/ }),
|
|
1245
2366
|
|
|
1246
|
-
/***/ "./dist/
|
|
1247
|
-
|
|
1248
|
-
!*** ./dist/
|
|
1249
|
-
|
|
2367
|
+
/***/ "./dist/forms/items/FormItemText.js":
|
|
2368
|
+
/*!******************************************!*\
|
|
2369
|
+
!*** ./dist/forms/items/FormItemText.js ***!
|
|
2370
|
+
\******************************************/
|
|
1250
2371
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1251
2372
|
|
|
1252
2373
|
|
|
@@ -1260,86 +2381,83 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
1260
2381
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1261
2382
|
};
|
|
1262
2383
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1263
|
-
exports.
|
|
2384
|
+
exports.FormItemText = void 0;
|
|
1264
2385
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1265
|
-
const
|
|
1266
|
-
|
|
1267
|
-
let AuthorizationGrantRequest = class AuthorizationGrantRequest extends Request_1.Request {
|
|
2386
|
+
const FormItem_1 = __webpack_require__(/*! ../FormItem */ "./dist/forms/FormItem.js");
|
|
2387
|
+
let FormItemText = class FormItemText extends FormItem_1.FormItemVisible {
|
|
1268
2388
|
};
|
|
1269
2389
|
__decorate([
|
|
1270
2390
|
(0, ts_serval_1.serialize)(),
|
|
1271
|
-
(0, ts_serval_1.validate)(),
|
|
2391
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1272
2392
|
__metadata("design:type", String)
|
|
1273
|
-
],
|
|
2393
|
+
], FormItemText.prototype, "placeholder", void 0);
|
|
1274
2394
|
__decorate([
|
|
1275
2395
|
(0, ts_serval_1.serialize)(),
|
|
1276
2396
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1277
2397
|
__metadata("design:type", String)
|
|
1278
|
-
],
|
|
2398
|
+
], FormItemText.prototype, "value", void 0);
|
|
1279
2399
|
__decorate([
|
|
1280
2400
|
(0, ts_serval_1.serialize)(),
|
|
1281
|
-
(0, ts_serval_1.validate)(),
|
|
1282
|
-
__metadata("design:type",
|
|
1283
|
-
],
|
|
2401
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2402
|
+
__metadata("design:type", Number)
|
|
2403
|
+
], FormItemText.prototype, "minLength", void 0);
|
|
1284
2404
|
__decorate([
|
|
1285
2405
|
(0, ts_serval_1.serialize)(),
|
|
1286
2406
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1287
|
-
__metadata("design:type",
|
|
1288
|
-
],
|
|
1289
|
-
|
|
1290
|
-
(0, ts_serval_1.
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
2407
|
+
__metadata("design:type", Number)
|
|
2408
|
+
], FormItemText.prototype, "maxLength", void 0);
|
|
2409
|
+
__decorate([
|
|
2410
|
+
(0, ts_serval_1.serialize)(),
|
|
2411
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2412
|
+
__metadata("design:type", String)
|
|
2413
|
+
], FormItemText.prototype, "allowedRegex", void 0);
|
|
2414
|
+
FormItemText = __decorate([
|
|
2415
|
+
(0, ts_serval_1.type)("FormItemText")
|
|
2416
|
+
], FormItemText);
|
|
2417
|
+
exports.FormItemText = FormItemText;
|
|
2418
|
+
//# sourceMappingURL=FormItemText.js.map
|
|
1294
2419
|
|
|
1295
2420
|
/***/ }),
|
|
1296
2421
|
|
|
1297
|
-
/***/ "./dist/
|
|
1298
|
-
|
|
1299
|
-
!*** ./dist/
|
|
1300
|
-
|
|
2422
|
+
/***/ "./dist/index.js":
|
|
2423
|
+
/*!***********************!*\
|
|
2424
|
+
!*** ./dist/index.js ***!
|
|
2425
|
+
\***********************/
|
|
1301
2426
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1302
2427
|
|
|
1303
2428
|
|
|
1304
|
-
var
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
|
|
2429
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2430
|
+
if (k2 === undefined) k2 = k;
|
|
2431
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2432
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2433
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
2434
|
+
}
|
|
2435
|
+
Object.defineProperty(o, k2, desc);
|
|
2436
|
+
}) : (function(o, m, k, k2) {
|
|
2437
|
+
if (k2 === undefined) k2 = k;
|
|
2438
|
+
o[k2] = m[k];
|
|
2439
|
+
}));
|
|
2440
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
2441
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1312
2442
|
};
|
|
1313
2443
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
(
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
let ChallengeRequest = class ChallengeRequest extends Request_1.Request {
|
|
1325
|
-
};
|
|
1326
|
-
__decorate([
|
|
1327
|
-
(0, ts_serval_1.serialize)(),
|
|
1328
|
-
(0, ts_serval_1.validate)(),
|
|
1329
|
-
__metadata("design:type", transport_1.Challenge)
|
|
1330
|
-
], ChallengeRequest.prototype, "challenge", void 0);
|
|
1331
|
-
ChallengeRequest = __decorate([
|
|
1332
|
-
(0, ts_serval_1.type)("ChallengeRequest")
|
|
1333
|
-
], ChallengeRequest);
|
|
1334
|
-
exports.ChallengeRequest = ChallengeRequest;
|
|
1335
|
-
//# sourceMappingURL=ChallengeRequest.js.map
|
|
2444
|
+
__exportStar(__webpack_require__(/*! ./attributes */ "./dist/attributes/index.js"), exports);
|
|
2445
|
+
__exportStar(__webpack_require__(/*! ./authorizations/Authorization */ "./dist/authorizations/Authorization.js"), exports);
|
|
2446
|
+
__exportStar(__webpack_require__(/*! ./buildInformation */ "./dist/buildInformation.js"), exports);
|
|
2447
|
+
__exportStar(__webpack_require__(/*! ./ContentJSON */ "./dist/ContentJSON.js"), exports);
|
|
2448
|
+
__exportStar(__webpack_require__(/*! ./forms */ "./dist/forms/index.js"), exports);
|
|
2449
|
+
__exportStar(__webpack_require__(/*! ./messages/Mail */ "./dist/messages/Mail.js"), exports);
|
|
2450
|
+
__exportStar(__webpack_require__(/*! ./messages/RequestMail */ "./dist/messages/RequestMail.js"), exports);
|
|
2451
|
+
__exportStar(__webpack_require__(/*! ./requests/AttributesChangeRequest */ "./dist/requests/AttributesChangeRequest.js"), exports);
|
|
2452
|
+
__exportStar(__webpack_require__(/*! ./requests/AttributesShareRequest */ "./dist/requests/AttributesShareRequest.js"), exports);
|
|
2453
|
+
//# sourceMappingURL=index.js.map
|
|
1336
2454
|
|
|
1337
2455
|
/***/ }),
|
|
1338
2456
|
|
|
1339
|
-
/***/ "./dist/
|
|
1340
|
-
|
|
1341
|
-
!*** ./dist/
|
|
1342
|
-
|
|
2457
|
+
/***/ "./dist/messages/Mail.js":
|
|
2458
|
+
/*!*******************************!*\
|
|
2459
|
+
!*** ./dist/messages/Mail.js ***!
|
|
2460
|
+
\*******************************/
|
|
1343
2461
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1344
2462
|
|
|
1345
2463
|
|
|
@@ -1352,29 +2470,64 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
1352
2470
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1353
2471
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1354
2472
|
};
|
|
2473
|
+
var Mail_1;
|
|
1355
2474
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1356
|
-
exports.
|
|
2475
|
+
exports.Mail = void 0;
|
|
1357
2476
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1358
2477
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
1359
|
-
|
|
1360
|
-
|
|
2478
|
+
let Mail = Mail_1 = class Mail extends ts_serval_1.SerializableAsync {
|
|
2479
|
+
static async from(value) {
|
|
2480
|
+
if (typeof value.cc === "undefined") {
|
|
2481
|
+
value.cc = [];
|
|
2482
|
+
}
|
|
2483
|
+
if (typeof value.body === "undefined" && value.content) {
|
|
2484
|
+
value.body = value.content;
|
|
2485
|
+
delete value.content;
|
|
2486
|
+
}
|
|
2487
|
+
return await super.fromT(value, Mail_1);
|
|
2488
|
+
}
|
|
2489
|
+
static async fromJSON(value) {
|
|
2490
|
+
var _a, _b;
|
|
2491
|
+
return await this.from({
|
|
2492
|
+
body: value.body,
|
|
2493
|
+
subject: value.subject,
|
|
2494
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
2495
|
+
to: (_a = value.to) === null || _a === void 0 ? void 0 : _a.map((recipient) => transport_1.CoreAddress.from(recipient)),
|
|
2496
|
+
cc: (_b = value.cc) === null || _b === void 0 ? void 0 : _b.map((recipient) => transport_1.CoreAddress.from(recipient))
|
|
2497
|
+
});
|
|
2498
|
+
}
|
|
1361
2499
|
};
|
|
2500
|
+
__decorate([
|
|
2501
|
+
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
2502
|
+
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
2503
|
+
__metadata("design:type", Array)
|
|
2504
|
+
], Mail.prototype, "to", void 0);
|
|
2505
|
+
__decorate([
|
|
2506
|
+
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
2507
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2508
|
+
__metadata("design:type", Array)
|
|
2509
|
+
], Mail.prototype, "cc", void 0);
|
|
2510
|
+
__decorate([
|
|
2511
|
+
(0, ts_serval_1.serialize)(),
|
|
2512
|
+
(0, ts_serval_1.validate)(),
|
|
2513
|
+
__metadata("design:type", String)
|
|
2514
|
+
], Mail.prototype, "subject", void 0);
|
|
1362
2515
|
__decorate([
|
|
1363
2516
|
(0, ts_serval_1.serialize)(),
|
|
1364
2517
|
(0, ts_serval_1.validate)(),
|
|
1365
|
-
__metadata("design:type",
|
|
1366
|
-
],
|
|
1367
|
-
|
|
1368
|
-
(0, ts_serval_1.type)("
|
|
1369
|
-
],
|
|
1370
|
-
exports.
|
|
1371
|
-
//# sourceMappingURL=
|
|
2518
|
+
__metadata("design:type", String)
|
|
2519
|
+
], Mail.prototype, "body", void 0);
|
|
2520
|
+
Mail = Mail_1 = __decorate([
|
|
2521
|
+
(0, ts_serval_1.type)("Mail")
|
|
2522
|
+
], Mail);
|
|
2523
|
+
exports.Mail = Mail;
|
|
2524
|
+
//# sourceMappingURL=Mail.js.map
|
|
1372
2525
|
|
|
1373
2526
|
/***/ }),
|
|
1374
2527
|
|
|
1375
|
-
/***/ "./dist/
|
|
2528
|
+
/***/ "./dist/messages/RequestMail.js":
|
|
1376
2529
|
/*!**************************************!*\
|
|
1377
|
-
!*** ./dist/
|
|
2530
|
+
!*** ./dist/messages/RequestMail.js ***!
|
|
1378
2531
|
\**************************************/
|
|
1379
2532
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1380
2533
|
|
|
@@ -1388,30 +2541,55 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
1388
2541
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1389
2542
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1390
2543
|
};
|
|
2544
|
+
var RequestMail_1;
|
|
1391
2545
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1392
|
-
exports.
|
|
2546
|
+
exports.RequestMail = void 0;
|
|
1393
2547
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1394
|
-
const
|
|
1395
|
-
const
|
|
1396
|
-
|
|
2548
|
+
const AttributesChangeRequest_1 = __webpack_require__(/*! ../requests/AttributesChangeRequest */ "./dist/requests/AttributesChangeRequest.js");
|
|
2549
|
+
const AttributesShareRequest_1 = __webpack_require__(/*! ../requests/AttributesShareRequest */ "./dist/requests/AttributesShareRequest.js");
|
|
2550
|
+
const Mail_1 = __webpack_require__(/*! ./Mail */ "./dist/messages/Mail.js");
|
|
2551
|
+
let RequestMail = RequestMail_1 = class RequestMail extends Mail_1.Mail {
|
|
2552
|
+
static async from(value) {
|
|
2553
|
+
return await super.fromT(value, RequestMail_1);
|
|
2554
|
+
}
|
|
2555
|
+
static async fromJSON(value) {
|
|
2556
|
+
const mail = await Mail_1.Mail.fromJSON(value);
|
|
2557
|
+
const requests = await Promise.all(value.requests.map((request) => {
|
|
2558
|
+
switch (request["@type"]) {
|
|
2559
|
+
case "AttributesChangeRequest":
|
|
2560
|
+
return ts_serval_1.SerializableAsync.fromT(request, AttributesChangeRequest_1.AttributesChangeRequest);
|
|
2561
|
+
case "AttributesShareRequest":
|
|
2562
|
+
return ts_serval_1.SerializableAsync.fromT(request, AttributesShareRequest_1.AttributesShareRequest);
|
|
2563
|
+
default:
|
|
2564
|
+
throw new Error(`Unknown request type: ${request["@type"]}`);
|
|
2565
|
+
}
|
|
2566
|
+
}));
|
|
2567
|
+
return await this.from({
|
|
2568
|
+
body: mail.body,
|
|
2569
|
+
subject: mail.subject,
|
|
2570
|
+
to: mail.to,
|
|
2571
|
+
cc: mail.cc,
|
|
2572
|
+
requests: requests
|
|
2573
|
+
});
|
|
2574
|
+
}
|
|
1397
2575
|
};
|
|
1398
2576
|
__decorate([
|
|
1399
2577
|
(0, ts_serval_1.serialize)(),
|
|
1400
2578
|
(0, ts_serval_1.validate)(),
|
|
1401
|
-
__metadata("design:type",
|
|
1402
|
-
],
|
|
1403
|
-
|
|
1404
|
-
(0, ts_serval_1.type)("
|
|
1405
|
-
],
|
|
1406
|
-
exports.
|
|
1407
|
-
//# sourceMappingURL=
|
|
2579
|
+
__metadata("design:type", Array)
|
|
2580
|
+
], RequestMail.prototype, "requests", void 0);
|
|
2581
|
+
RequestMail = RequestMail_1 = __decorate([
|
|
2582
|
+
(0, ts_serval_1.type)("RequestMail")
|
|
2583
|
+
], RequestMail);
|
|
2584
|
+
exports.RequestMail = RequestMail;
|
|
2585
|
+
//# sourceMappingURL=RequestMail.js.map
|
|
1408
2586
|
|
|
1409
2587
|
/***/ }),
|
|
1410
2588
|
|
|
1411
|
-
/***/ "./dist/requests/
|
|
1412
|
-
|
|
1413
|
-
!*** ./dist/requests/
|
|
1414
|
-
|
|
2589
|
+
/***/ "./dist/requests/AttributesChangeRequest.js":
|
|
2590
|
+
/*!**************************************************!*\
|
|
2591
|
+
!*** ./dist/requests/AttributesChangeRequest.js ***!
|
|
2592
|
+
\**************************************************/
|
|
1415
2593
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1416
2594
|
|
|
1417
2595
|
|
|
@@ -1424,54 +2602,75 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
1424
2602
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1425
2603
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1426
2604
|
};
|
|
2605
|
+
var AttributesChangeRequest_1;
|
|
1427
2606
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1428
|
-
exports.
|
|
2607
|
+
exports.AttributesChangeRequest = void 0;
|
|
1429
2608
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1430
|
-
const
|
|
1431
|
-
|
|
2609
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
2610
|
+
const Attribute_1 = __webpack_require__(/*! ../attributes/Attribute */ "./dist/attributes/Attribute.js");
|
|
2611
|
+
let AttributesChangeRequest = AttributesChangeRequest_1 = class AttributesChangeRequest extends ts_serval_1.SerializableAsync {
|
|
2612
|
+
static async from(value) {
|
|
2613
|
+
return (await super.from(value, AttributesChangeRequest_1));
|
|
2614
|
+
}
|
|
2615
|
+
static async fromJSON(value) {
|
|
2616
|
+
const parsedAttributes = await Promise.all(value.attributes.map((attribute) => Attribute_1.Attribute.fromJSON(attribute)));
|
|
2617
|
+
return await this.from({
|
|
2618
|
+
id: value.id ? transport_1.CoreId.from(value.id) : undefined,
|
|
2619
|
+
attributes: parsedAttributes,
|
|
2620
|
+
applyTo: value.applyTo ? transport_1.CoreAddress.from(value.applyTo) : undefined,
|
|
2621
|
+
expiresAt: value.expiresAt ? transport_1.CoreDate.from(value.expiresAt) : undefined,
|
|
2622
|
+
key: value.key,
|
|
2623
|
+
reason: value.reason
|
|
2624
|
+
});
|
|
2625
|
+
}
|
|
1432
2626
|
};
|
|
1433
2627
|
__decorate([
|
|
1434
2628
|
(0, ts_serval_1.serialize)(),
|
|
1435
2629
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1436
|
-
__metadata("design:type",
|
|
1437
|
-
],
|
|
2630
|
+
__metadata("design:type", transport_1.CoreId)
|
|
2631
|
+
], AttributesChangeRequest.prototype, "id", void 0);
|
|
1438
2632
|
__decorate([
|
|
1439
2633
|
(0, ts_serval_1.serialize)(),
|
|
1440
2634
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1441
2635
|
__metadata("design:type", String)
|
|
1442
|
-
],
|
|
2636
|
+
], AttributesChangeRequest.prototype, "key", void 0);
|
|
1443
2637
|
__decorate([
|
|
1444
2638
|
(0, ts_serval_1.serialize)(),
|
|
1445
2639
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1446
2640
|
__metadata("design:type", String)
|
|
1447
|
-
],
|
|
2641
|
+
], AttributesChangeRequest.prototype, "reason", void 0);
|
|
1448
2642
|
__decorate([
|
|
1449
2643
|
(0, ts_serval_1.serialize)(),
|
|
1450
2644
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1451
|
-
__metadata("design:type",
|
|
1452
|
-
],
|
|
2645
|
+
__metadata("design:type", transport_1.CoreDate)
|
|
2646
|
+
], AttributesChangeRequest.prototype, "expiresAt", void 0);
|
|
1453
2647
|
__decorate([
|
|
1454
2648
|
(0, ts_serval_1.serialize)(),
|
|
1455
2649
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1456
|
-
__metadata("design:type",
|
|
1457
|
-
],
|
|
2650
|
+
__metadata("design:type", String)
|
|
2651
|
+
], AttributesChangeRequest.prototype, "impact", void 0);
|
|
2652
|
+
__decorate([
|
|
2653
|
+
(0, ts_serval_1.serialize)({ type: Attribute_1.Attribute }),
|
|
2654
|
+
(0, ts_serval_1.validate)(),
|
|
2655
|
+
__metadata("design:type", Array)
|
|
2656
|
+
], AttributesChangeRequest.prototype, "attributes", void 0);
|
|
1458
2657
|
__decorate([
|
|
1459
2658
|
(0, ts_serval_1.serialize)(),
|
|
1460
2659
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1461
|
-
__metadata("design:type",
|
|
1462
|
-
],
|
|
1463
|
-
|
|
1464
|
-
(0, ts_serval_1.type)("
|
|
1465
|
-
],
|
|
1466
|
-
exports.
|
|
1467
|
-
//# sourceMappingURL=
|
|
2660
|
+
__metadata("design:type", transport_1.CoreAddress)
|
|
2661
|
+
], AttributesChangeRequest.prototype, "applyTo", void 0);
|
|
2662
|
+
AttributesChangeRequest = AttributesChangeRequest_1 = __decorate([
|
|
2663
|
+
(0, ts_serval_1.type)("AttributesChangeRequest")
|
|
2664
|
+
], AttributesChangeRequest);
|
|
2665
|
+
exports.AttributesChangeRequest = AttributesChangeRequest;
|
|
2666
|
+
//# sourceMappingURL=AttributesChangeRequest.js.map
|
|
1468
2667
|
|
|
1469
2668
|
/***/ }),
|
|
1470
2669
|
|
|
1471
|
-
/***/ "./dist/requests/
|
|
1472
|
-
|
|
1473
|
-
!*** ./dist/requests/
|
|
1474
|
-
|
|
2670
|
+
/***/ "./dist/requests/AttributesShareRequest.js":
|
|
2671
|
+
/*!*************************************************!*\
|
|
2672
|
+
!*** ./dist/requests/AttributesShareRequest.js ***!
|
|
2673
|
+
\*************************************************/
|
|
1475
2674
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1476
2675
|
|
|
1477
2676
|
|
|
@@ -1484,42 +2683,123 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
1484
2683
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
1485
2684
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1486
2685
|
};
|
|
2686
|
+
var AttributesShareRequest_1;
|
|
1487
2687
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1488
|
-
exports.
|
|
2688
|
+
exports.AttributesShareRequest = void 0;
|
|
1489
2689
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1490
2690
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
1491
|
-
let
|
|
2691
|
+
let AttributesShareRequest = AttributesShareRequest_1 = class AttributesShareRequest extends ts_serval_1.SerializableAsync {
|
|
2692
|
+
static async from(value) {
|
|
2693
|
+
return await super.fromT(value, AttributesShareRequest_1);
|
|
2694
|
+
}
|
|
1492
2695
|
};
|
|
1493
2696
|
__decorate([
|
|
1494
2697
|
(0, ts_serval_1.serialize)(),
|
|
1495
2698
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1496
2699
|
__metadata("design:type", transport_1.CoreId)
|
|
1497
|
-
],
|
|
2700
|
+
], AttributesShareRequest.prototype, "id", void 0);
|
|
1498
2701
|
__decorate([
|
|
1499
2702
|
(0, ts_serval_1.serialize)(),
|
|
1500
2703
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1501
2704
|
__metadata("design:type", String)
|
|
1502
|
-
],
|
|
2705
|
+
], AttributesShareRequest.prototype, "key", void 0);
|
|
1503
2706
|
__decorate([
|
|
1504
2707
|
(0, ts_serval_1.serialize)(),
|
|
1505
2708
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1506
2709
|
__metadata("design:type", String)
|
|
1507
|
-
],
|
|
2710
|
+
], AttributesShareRequest.prototype, "reason", void 0);
|
|
1508
2711
|
__decorate([
|
|
1509
2712
|
(0, ts_serval_1.serialize)(),
|
|
1510
2713
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1511
2714
|
__metadata("design:type", transport_1.CoreDate)
|
|
1512
|
-
],
|
|
2715
|
+
], AttributesShareRequest.prototype, "expiresAt", void 0);
|
|
1513
2716
|
__decorate([
|
|
1514
2717
|
(0, ts_serval_1.serialize)(),
|
|
1515
2718
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1516
2719
|
__metadata("design:type", String)
|
|
1517
|
-
],
|
|
1518
|
-
|
|
1519
|
-
(0, ts_serval_1.
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
2720
|
+
], AttributesShareRequest.prototype, "impact", void 0);
|
|
2721
|
+
__decorate([
|
|
2722
|
+
(0, ts_serval_1.serialize)({ type: String }),
|
|
2723
|
+
(0, ts_serval_1.validate)(),
|
|
2724
|
+
__metadata("design:type", Array)
|
|
2725
|
+
], AttributesShareRequest.prototype, "attributes", void 0);
|
|
2726
|
+
__decorate([
|
|
2727
|
+
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
2728
|
+
(0, ts_serval_1.validate)(),
|
|
2729
|
+
__metadata("design:type", Array)
|
|
2730
|
+
], AttributesShareRequest.prototype, "recipients", void 0);
|
|
2731
|
+
AttributesShareRequest = AttributesShareRequest_1 = __decorate([
|
|
2732
|
+
(0, ts_serval_1.type)("AttributesShareRequest")
|
|
2733
|
+
], AttributesShareRequest);
|
|
2734
|
+
exports.AttributesShareRequest = AttributesShareRequest;
|
|
2735
|
+
//# sourceMappingURL=AttributesShareRequest.js.map
|
|
2736
|
+
|
|
2737
|
+
/***/ }),
|
|
2738
|
+
|
|
2739
|
+
/***/ "./node_modules/ts-simple-nameof/index.js":
|
|
2740
|
+
/*!************************************************!*\
|
|
2741
|
+
!*** ./node_modules/ts-simple-nameof/index.js ***!
|
|
2742
|
+
\************************************************/
|
|
2743
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2744
|
+
|
|
2745
|
+
|
|
2746
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2747
|
+
exports.nameof = void 0;
|
|
2748
|
+
var nameof_1 = __webpack_require__(/*! ./src/nameof */ "./node_modules/ts-simple-nameof/src/nameof.js");
|
|
2749
|
+
Object.defineProperty(exports, "nameof", ({ enumerable: true, get: function () { return nameof_1.nameof; } }));
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
/***/ }),
|
|
2753
|
+
|
|
2754
|
+
/***/ "./node_modules/ts-simple-nameof/src/nameof.js":
|
|
2755
|
+
/*!*****************************************************!*\
|
|
2756
|
+
!*** ./node_modules/ts-simple-nameof/src/nameof.js ***!
|
|
2757
|
+
\*****************************************************/
|
|
2758
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2762
|
+
exports.nameof = void 0;
|
|
2763
|
+
function cleanseAssertionOperators(parsedName) {
|
|
2764
|
+
return parsedName.replace(/[?!]/g, "");
|
|
2765
|
+
}
|
|
2766
|
+
function nameof(nameFunction, options) {
|
|
2767
|
+
var fnStr = nameFunction.toString();
|
|
2768
|
+
// ES6 class name:
|
|
2769
|
+
// "class ClassName { ..."
|
|
2770
|
+
if (fnStr.startsWith("class ")
|
|
2771
|
+
// Theoretically could, for some ill-advised reason, be "class => class.prop".
|
|
2772
|
+
&& !fnStr.startsWith("class =>")) {
|
|
2773
|
+
return cleanseAssertionOperators(fnStr.substring("class ".length, fnStr.indexOf(" {")));
|
|
2774
|
+
}
|
|
2775
|
+
// ES6 prop selector:
|
|
2776
|
+
// "x => x.prop"
|
|
2777
|
+
if (fnStr.includes("=>")) {
|
|
2778
|
+
return cleanseAssertionOperators(fnStr.substring(fnStr.indexOf(".") + 1));
|
|
2779
|
+
}
|
|
2780
|
+
// ES5 prop selector:
|
|
2781
|
+
// "function (x) { return x.prop; }"
|
|
2782
|
+
// webpack production build excludes the spaces and optional trailing semicolon:
|
|
2783
|
+
// "function(x){return x.prop}"
|
|
2784
|
+
// FYI - during local dev testing i observed carriage returns after the curly brackets as well
|
|
2785
|
+
// Note by maintainer: See https://github.com/IRCraziestTaxi/ts-simple-nameof/pull/13#issuecomment-567171802 for explanation of this regex.
|
|
2786
|
+
var matchRegex = /function\s*\(\w+\)\s*\{[\r\n\s]*return\s+\w+\.((\w+\.)*(\w+))/i;
|
|
2787
|
+
var es5Match = fnStr.match(matchRegex);
|
|
2788
|
+
if (es5Match) {
|
|
2789
|
+
return (options && options.lastProp)
|
|
2790
|
+
? es5Match[3]
|
|
2791
|
+
: es5Match[1];
|
|
2792
|
+
}
|
|
2793
|
+
// ES5 class name:
|
|
2794
|
+
// "function ClassName() { ..."
|
|
2795
|
+
if (fnStr.startsWith("function ")) {
|
|
2796
|
+
return cleanseAssertionOperators(fnStr.substring("function ".length, fnStr.indexOf("(")));
|
|
2797
|
+
}
|
|
2798
|
+
// Invalid function.
|
|
2799
|
+
throw new Error("ts-simple-nameof: Invalid function.");
|
|
2800
|
+
}
|
|
2801
|
+
exports.nameof = nameof;
|
|
2802
|
+
|
|
1523
2803
|
|
|
1524
2804
|
/***/ }),
|
|
1525
2805
|
|