@nmshd/content 2.0.0-beta.26 → 2.0.0-beta.28

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.
Files changed (95) hide show
  1. package/dist/attributes/constants/AttributeValueTypeQueryMapping.d.ts +1 -0
  2. package/dist/attributes/constants/AttributeValueTypeQueryMapping.js +7 -0
  3. package/dist/attributes/constants/AttributeValueTypeQueryMapping.js.map +1 -0
  4. package/dist/attributes/constants/AttributeValueTypes.d.ts +4 -0
  5. package/dist/attributes/constants/AttributeValueTypes.js +58 -0
  6. package/dist/attributes/constants/AttributeValueTypes.js.map +1 -0
  7. package/dist/attributes/constants/index.d.ts +2 -0
  8. package/dist/attributes/constants/index.js +2 -0
  9. package/dist/attributes/constants/index.js.map +1 -1
  10. package/dist/attributes/types/AbstractString.js +2 -2
  11. package/dist/attributes/types/{name/LegalNameDE.d.ts → affiliation/Affiliation.d.ts} +21 -591
  12. package/dist/attributes/types/affiliation/Affiliation.js +77 -0
  13. package/dist/attributes/types/affiliation/Affiliation.js.map +1 -0
  14. package/dist/attributes/types/affiliation/AffiliationOrganization.d.ts +3 -0
  15. package/dist/attributes/types/affiliation/AffiliationOrganization.js +18 -0
  16. package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -0
  17. package/dist/attributes/types/affiliation/AffiliationRole.d.ts +3 -0
  18. package/dist/attributes/types/affiliation/AffiliationRole.js +18 -0
  19. package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -0
  20. package/dist/attributes/types/affiliation/AffiliationUnit.d.ts +3 -0
  21. package/dist/attributes/types/affiliation/AffiliationUnit.js +18 -0
  22. package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -0
  23. package/dist/attributes/types/affiliation/index.d.ts +4 -0
  24. package/dist/attributes/types/affiliation/index.js +21 -0
  25. package/dist/attributes/types/affiliation/index.js.map +1 -0
  26. package/dist/attributes/types/{name → identity}/DisplayName.d.ts +0 -0
  27. package/dist/attributes/types/{name → identity}/DisplayName.js +0 -0
  28. package/dist/attributes/types/identity/DisplayName.js.map +1 -0
  29. package/dist/attributes/types/{files → identity}/FileReference.d.ts +0 -0
  30. package/dist/attributes/types/{files → identity}/FileReference.js +0 -0
  31. package/dist/attributes/types/identity/FileReference.js.map +1 -0
  32. package/dist/attributes/types/{files → identity}/index.d.ts +1 -0
  33. package/dist/attributes/types/{files → identity}/index.js +1 -0
  34. package/dist/attributes/types/identity/index.js.map +1 -0
  35. package/dist/attributes/types/index.d.ts +2 -3
  36. package/dist/attributes/types/index.js +2 -3
  37. package/dist/attributes/types/index.js.map +1 -1
  38. package/dist/attributes/types/name/MiddleName.d.ts +3 -0
  39. package/dist/attributes/types/name/MiddleName.js +18 -0
  40. package/dist/attributes/types/name/MiddleName.js.map +1 -0
  41. package/dist/attributes/types/name/{Salutation.d.ts → PersonName.d.ts} +17 -23
  42. package/dist/attributes/types/name/{Salutation.js → PersonName.js} +32 -23
  43. package/dist/attributes/types/name/PersonName.js.map +1 -0
  44. package/dist/attributes/types/name/index.d.ts +2 -4
  45. package/dist/attributes/types/name/index.js +2 -4
  46. package/dist/attributes/types/name/index.js.map +1 -1
  47. package/dist/attributes/types/person/JobTitle.d.ts +3 -0
  48. package/dist/attributes/types/person/{Picture.js → JobTitle.js} +8 -8
  49. package/dist/attributes/types/person/JobTitle.js.map +1 -0
  50. package/dist/attributes/types/person/Sex.d.ts +2 -2
  51. package/dist/attributes/types/person/Sex.js +2 -2
  52. package/dist/attributes/types/person/Sex.js.map +1 -1
  53. package/dist/attributes/types/person/index.d.ts +1 -2
  54. package/dist/attributes/types/person/index.js +1 -2
  55. package/dist/attributes/types/person/index.js.map +1 -1
  56. package/dist/attributes/types/proprietary/index.d.ts +0 -1
  57. package/dist/attributes/types/proprietary/index.js +0 -1
  58. package/dist/attributes/types/proprietary/index.js.map +1 -1
  59. package/dist/attributes/types/strings/AbstractEMailAddress.js +2 -2
  60. package/dist/attributes/types/strings/index.d.ts +0 -1
  61. package/dist/attributes/types/strings/index.js +0 -1
  62. package/dist/attributes/types/strings/index.js.map +1 -1
  63. package/dist/buildInformation.js +4 -4
  64. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.d.ts +4 -4
  65. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js +1 -1
  66. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js.map +1 -1
  67. package/lib-web/nmshd.content.js +436 -437
  68. package/lib-web/nmshd.content.min.js +1 -1
  69. package/package.json +10 -10
  70. package/dist/attributes/types/AttributeList.d.ts +0 -1
  71. package/dist/attributes/types/AttributeList.js +0 -37
  72. package/dist/attributes/types/AttributeList.js.map +0 -1
  73. package/dist/attributes/types/AttributeTypeMapping.d.ts +0 -1
  74. package/dist/attributes/types/AttributeTypeMapping.js +0 -9
  75. package/dist/attributes/types/AttributeTypeMapping.js.map +0 -1
  76. package/dist/attributes/types/files/FileReference.js.map +0 -1
  77. package/dist/attributes/types/files/index.js.map +0 -1
  78. package/dist/attributes/types/name/AbstractLegalName.d.ts +0 -3
  79. package/dist/attributes/types/name/AbstractLegalName.js +0 -8
  80. package/dist/attributes/types/name/AbstractLegalName.js.map +0 -1
  81. package/dist/attributes/types/name/DisplayName.js.map +0 -1
  82. package/dist/attributes/types/name/LegalNameDE.js +0 -92
  83. package/dist/attributes/types/name/LegalNameDE.js.map +0 -1
  84. package/dist/attributes/types/name/Salutation.js.map +0 -1
  85. package/dist/attributes/types/person/Age.d.ts +0 -6
  86. package/dist/attributes/types/person/Age.js +0 -34
  87. package/dist/attributes/types/person/Age.js.map +0 -1
  88. package/dist/attributes/types/person/Picture.d.ts +0 -3
  89. package/dist/attributes/types/person/Picture.js.map +0 -1
  90. package/dist/attributes/types/proprietary/ProprietaryDataURL.d.ts +0 -15
  91. package/dist/attributes/types/proprietary/ProprietaryDataURL.js +0 -31
  92. package/dist/attributes/types/proprietary/ProprietaryDataURL.js.map +0 -1
  93. package/dist/attributes/types/strings/AbstractDataURL.d.ts +0 -7
  94. package/dist/attributes/types/strings/AbstractDataURL.js +0 -40
  95. package/dist/attributes/types/strings/AbstractDataURL.js.map +0 -1
@@ -519,6 +519,89 @@ exports.ThirdPartyRelationshipAttributeQuery = ThirdPartyRelationshipAttributeQu
519
519
 
520
520
  /***/ }),
521
521
 
522
+ /***/ "./dist/attributes/constants/AttributeValueTypeQueryMapping.js":
523
+ /*!*********************************************************************!*\
524
+ !*** ./dist/attributes/constants/AttributeValueTypeQueryMapping.js ***!
525
+ \*********************************************************************/
526
+ /***/ ((__unused_webpack_module, exports) => {
527
+
528
+
529
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
530
+ exports.ATTRIBUTE_VALUE_TYPE_QUERY_MAPPING = void 0;
531
+ exports.ATTRIBUTE_VALUE_TYPE_QUERY_MAPPING = new Map([
532
+ ["Address", ["StreetAddress", "DeliveryBoxAddress", "PostOfficeBoxAddress"]]
533
+ ]);
534
+ //# sourceMappingURL=AttributeValueTypeQueryMapping.js.map
535
+
536
+ /***/ }),
537
+
538
+ /***/ "./dist/attributes/constants/AttributeValueTypes.js":
539
+ /*!**********************************************************!*\
540
+ !*** ./dist/attributes/constants/AttributeValueTypes.js ***!
541
+ \**********************************************************/
542
+ /***/ ((__unused_webpack_module, exports) => {
543
+
544
+
545
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
546
+ exports.ATTRIBUTE_VALUE_TYPES = exports.RELATIONSHIP_ATTRIBUTE_VALUE_TYPES = exports.IDENTITY_ATTRIBUTE_VALUE_TYPES = exports.IDENTITY_ATTRIBUTE_VALUE_TYPES_EDITABLE = void 0;
547
+ exports.IDENTITY_ATTRIBUTE_VALUE_TYPES_EDITABLE = [
548
+ "DeliveryBoxAddress",
549
+ "PostOfficeBoxAddress",
550
+ "StreetAddress",
551
+ "Affiliation",
552
+ "BirthPlace",
553
+ "BirthDate",
554
+ "CommunicationLanguage",
555
+ "EMailAddress",
556
+ "Fax",
557
+ "Phone",
558
+ "Website",
559
+ "DisplayName",
560
+ "FileReference",
561
+ "BirthName",
562
+ "PersonName",
563
+ "Pseudonym",
564
+ "Citizenship",
565
+ "JobTitle",
566
+ "Nationality",
567
+ "Sex"
568
+ ];
569
+ exports.IDENTITY_ATTRIBUTE_VALUE_TYPES = [
570
+ ...exports.IDENTITY_ATTRIBUTE_VALUE_TYPES_EDITABLE,
571
+ "City",
572
+ "Country",
573
+ "HouseNumber",
574
+ "State",
575
+ "Street",
576
+ "ZipCode",
577
+ "AffiliationOrganization",
578
+ "AffiliationRole",
579
+ "AffiliationUnit",
580
+ "BirthCity",
581
+ "BirthCountry",
582
+ "BirthDay",
583
+ "BirthMonth",
584
+ "BirthState",
585
+ "BirthYear"
586
+ ];
587
+ exports.RELATIONSHIP_ATTRIBUTE_VALUE_TYPES = [
588
+ "ProprietaryBoolean",
589
+ "ProprietaryCountry",
590
+ "ProprietaryEMailAddress",
591
+ "ProprietaryFileReference",
592
+ "ProprietaryFloat",
593
+ "ProprietaryHEXColor",
594
+ "ProprietaryInteger",
595
+ "ProprietaryLanguage",
596
+ "ProprietaryPhoneNumber",
597
+ "ProprietaryString",
598
+ "ProprietaryURL"
599
+ ];
600
+ exports.ATTRIBUTE_VALUE_TYPES = [...exports.IDENTITY_ATTRIBUTE_VALUE_TYPES, ...exports.RELATIONSHIP_ATTRIBUTE_VALUE_TYPES];
601
+ //# sourceMappingURL=AttributeValueTypes.js.map
602
+
603
+ /***/ }),
604
+
522
605
  /***/ "./dist/attributes/constants/CountriesAlpha2.js":
523
606
  /*!******************************************************!*\
524
607
  !*** ./dist/attributes/constants/CountriesAlpha2.js ***!
@@ -1443,6 +1526,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
1443
1526
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
1444
1527
  };
1445
1528
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1529
+ __exportStar(__webpack_require__(/*! ./AttributeValueTypeQueryMapping */ "./dist/attributes/constants/AttributeValueTypeQueryMapping.js"), exports);
1530
+ __exportStar(__webpack_require__(/*! ./AttributeValueTypes */ "./dist/attributes/constants/AttributeValueTypes.js"), exports);
1446
1531
  __exportStar(__webpack_require__(/*! ./CountriesAlpha2 */ "./dist/attributes/constants/CountriesAlpha2.js"), exports);
1447
1532
  __exportStar(__webpack_require__(/*! ./LanguagesISO639 */ "./dist/attributes/constants/LanguagesISO639.js"), exports);
1448
1533
  //# sourceMappingURL=index.js.map
@@ -2191,7 +2276,7 @@ class AbstractString extends AbstractAttributeValue_1.AbstractAttributeValue {
2191
2276
  }
2192
2277
  static get valueHints() {
2193
2278
  return hints_1.ValueHints.from({
2194
- max: 200
2279
+ max: 100
2195
2280
  });
2196
2281
  }
2197
2282
  static get renderHints() {
@@ -2203,7 +2288,7 @@ class AbstractString extends AbstractAttributeValue_1.AbstractAttributeValue {
2203
2288
  }
2204
2289
  __decorate([
2205
2290
  (0, ts_serval_1.serialize)(),
2206
- (0, ts_serval_1.validate)({ max: 200 }),
2291
+ (0, ts_serval_1.validate)({ max: 100 }),
2207
2292
  __metadata("design:type", String)
2208
2293
  ], AbstractString.prototype, "value", void 0);
2209
2294
  exports.AbstractString = AbstractString;
@@ -2211,70 +2296,6 @@ exports.AbstractString = AbstractString;
2211
2296
 
2212
2297
  /***/ }),
2213
2298
 
2214
- /***/ "./dist/attributes/types/AttributeList.js":
2215
- /*!************************************************!*\
2216
- !*** ./dist/attributes/types/AttributeList.js ***!
2217
- \************************************************/
2218
- /***/ ((__unused_webpack_module, exports) => {
2219
-
2220
-
2221
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2222
- exports.ATTRIBUTE_LIST = void 0;
2223
- exports.ATTRIBUTE_LIST = [
2224
- "City",
2225
- "Country",
2226
- "DeliveryBoxAddress",
2227
- "HouseNo",
2228
- "PostOfficeBoxAddess",
2229
- "State",
2230
- "Street",
2231
- "StreetAddress",
2232
- "ZipCode",
2233
- "BirthCity",
2234
- "BirthCountry",
2235
- "BirthDate",
2236
- "BirthDay",
2237
- "BirthMonth",
2238
- "BirthPlace",
2239
- "BirthState",
2240
- "BirthYear",
2241
- "IDCardDE",
2242
- "BirthName",
2243
- "DisplayName",
2244
- "GivenName",
2245
- "LegalNameDE",
2246
- "Pseudonym",
2247
- "Salutation",
2248
- "Surname",
2249
- "Title",
2250
- "Age",
2251
- "Gender",
2252
- "PersonEyeColor",
2253
- "PersonHeight",
2254
- "Sex"
2255
- ];
2256
- //# sourceMappingURL=AttributeList.js.map
2257
-
2258
- /***/ }),
2259
-
2260
- /***/ "./dist/attributes/types/AttributeTypeMapping.js":
2261
- /*!*******************************************************!*\
2262
- !*** ./dist/attributes/types/AttributeTypeMapping.js ***!
2263
- \*******************************************************/
2264
- /***/ ((__unused_webpack_module, exports) => {
2265
-
2266
-
2267
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2268
- exports.ATTRIBUTE_TYPE_MAPPING = void 0;
2269
- exports.ATTRIBUTE_TYPE_MAPPING = new Map([
2270
- ["Address", ["StreetAddress", "DeliveryBoxAddress", "PostOfficeBoxAddress"]],
2271
- ["IDCard", ["IDCardDE"]],
2272
- ["LegalName", ["LegalNameDE"]]
2273
- ]);
2274
- //# sourceMappingURL=AttributeTypeMapping.js.map
2275
-
2276
- /***/ }),
2277
-
2278
2299
  /***/ "./dist/attributes/types/address/AbstractAddress.js":
2279
2300
  /*!**********************************************************!*\
2280
2301
  !*** ./dist/attributes/types/address/AbstractAddress.js ***!
@@ -2873,6 +2894,203 @@ __exportStar(__webpack_require__(/*! ./ZipCode */ "./dist/attributes/types/addre
2873
2894
 
2874
2895
  /***/ }),
2875
2896
 
2897
+ /***/ "./dist/attributes/types/affiliation/Affiliation.js":
2898
+ /*!**********************************************************!*\
2899
+ !*** ./dist/attributes/types/affiliation/Affiliation.js ***!
2900
+ \**********************************************************/
2901
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
2902
+
2903
+
2904
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2905
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2906
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2907
+ 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;
2908
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2909
+ };
2910
+ var __metadata = (this && this.__metadata) || function (k, v) {
2911
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
2912
+ };
2913
+ var __importDefault = (this && this.__importDefault) || function (mod) {
2914
+ return (mod && mod.__esModule) ? mod : { "default": mod };
2915
+ };
2916
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
2917
+ exports.Affiliation = void 0;
2918
+ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
2919
+ const easy_tsnameof_1 = __importDefault(__webpack_require__(/*! easy-tsnameof */ "./node_modules/easy-tsnameof/dist/easy-tsnameof.esm.js"));
2920
+ const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
2921
+ const AbstractComplexValue_1 = __webpack_require__(/*! ../../AbstractComplexValue */ "./dist/attributes/AbstractComplexValue.js");
2922
+ const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
2923
+ const AffiliationOrganization_1 = __webpack_require__(/*! ./AffiliationOrganization */ "./dist/attributes/types/affiliation/AffiliationOrganization.js");
2924
+ const AffiliationRole_1 = __webpack_require__(/*! ./AffiliationRole */ "./dist/attributes/types/affiliation/AffiliationRole.js");
2925
+ const AffiliationUnit_1 = __webpack_require__(/*! ./AffiliationUnit */ "./dist/attributes/types/affiliation/AffiliationUnit.js");
2926
+ let Affiliation = class Affiliation extends AbstractComplexValue_1.AbstractComplexValue {
2927
+ static get valueHints() {
2928
+ return hints_1.ValueHints.from({
2929
+ propertyHints: {
2930
+ [this.propertyNames.role.$path]: AffiliationRole_1.AffiliationRole.valueHints,
2931
+ [this.propertyNames.organization.$path]: AffiliationOrganization_1.AffiliationOrganization.valueHints,
2932
+ [this.propertyNames.unit.$path]: AffiliationUnit_1.AffiliationUnit.valueHints
2933
+ }
2934
+ });
2935
+ }
2936
+ static get renderHints() {
2937
+ return super.renderHints.copyWith({
2938
+ propertyHints: {
2939
+ [this.propertyNames.role.$path]: AffiliationRole_1.AffiliationRole.renderHints,
2940
+ [this.propertyNames.organization.$path]: AffiliationOrganization_1.AffiliationOrganization.renderHints,
2941
+ [this.propertyNames.unit.$path]: AffiliationUnit_1.AffiliationUnit.renderHints
2942
+ }
2943
+ });
2944
+ }
2945
+ static from(value) {
2946
+ return this.fromAny(value);
2947
+ }
2948
+ toString() {
2949
+ const value = [this.organization.toString()];
2950
+ if (this.unit) {
2951
+ value.push(this.unit.toString());
2952
+ }
2953
+ if (this.role) {
2954
+ value.push(this.role.toString());
2955
+ }
2956
+ return value.join(", ");
2957
+ }
2958
+ };
2959
+ Affiliation.propertyNames = (0, easy_tsnameof_1.default)();
2960
+ __decorate([
2961
+ (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
2962
+ (0, ts_serval_1.validate)({ nullable: true }),
2963
+ __metadata("design:type", AffiliationRole_1.AffiliationRole)
2964
+ ], Affiliation.prototype, "role", void 0);
2965
+ __decorate([
2966
+ (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
2967
+ (0, ts_serval_1.validate)(),
2968
+ __metadata("design:type", AffiliationOrganization_1.AffiliationOrganization)
2969
+ ], Affiliation.prototype, "organization", void 0);
2970
+ __decorate([
2971
+ (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
2972
+ (0, ts_serval_1.validate)({ nullable: true }),
2973
+ __metadata("design:type", AffiliationUnit_1.AffiliationUnit)
2974
+ ], Affiliation.prototype, "unit", void 0);
2975
+ Affiliation = __decorate([
2976
+ (0, ts_serval_1.type)("Affiliation")
2977
+ ], Affiliation);
2978
+ exports.Affiliation = Affiliation;
2979
+ //# sourceMappingURL=Affiliation.js.map
2980
+
2981
+ /***/ }),
2982
+
2983
+ /***/ "./dist/attributes/types/affiliation/AffiliationOrganization.js":
2984
+ /*!**********************************************************************!*\
2985
+ !*** ./dist/attributes/types/affiliation/AffiliationOrganization.js ***!
2986
+ \**********************************************************************/
2987
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
2988
+
2989
+
2990
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2991
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2992
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2993
+ 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;
2994
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2995
+ };
2996
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
2997
+ exports.AffiliationOrganization = void 0;
2998
+ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
2999
+ const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
3000
+ let AffiliationOrganization = class AffiliationOrganization extends AbstractString_1.AbstractString {
3001
+ };
3002
+ AffiliationOrganization = __decorate([
3003
+ (0, ts_serval_1.type)("AffiliationOrganization")
3004
+ ], AffiliationOrganization);
3005
+ exports.AffiliationOrganization = AffiliationOrganization;
3006
+ //# sourceMappingURL=AffiliationOrganization.js.map
3007
+
3008
+ /***/ }),
3009
+
3010
+ /***/ "./dist/attributes/types/affiliation/AffiliationRole.js":
3011
+ /*!**************************************************************!*\
3012
+ !*** ./dist/attributes/types/affiliation/AffiliationRole.js ***!
3013
+ \**************************************************************/
3014
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3015
+
3016
+
3017
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3018
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3019
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3020
+ 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;
3021
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3022
+ };
3023
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
3024
+ exports.AffiliationRole = void 0;
3025
+ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
3026
+ const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
3027
+ let AffiliationRole = class AffiliationRole extends AbstractString_1.AbstractString {
3028
+ };
3029
+ AffiliationRole = __decorate([
3030
+ (0, ts_serval_1.type)("AffiliationRole")
3031
+ ], AffiliationRole);
3032
+ exports.AffiliationRole = AffiliationRole;
3033
+ //# sourceMappingURL=AffiliationRole.js.map
3034
+
3035
+ /***/ }),
3036
+
3037
+ /***/ "./dist/attributes/types/affiliation/AffiliationUnit.js":
3038
+ /*!**************************************************************!*\
3039
+ !*** ./dist/attributes/types/affiliation/AffiliationUnit.js ***!
3040
+ \**************************************************************/
3041
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3042
+
3043
+
3044
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3045
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3046
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3047
+ 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;
3048
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3049
+ };
3050
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
3051
+ exports.AffiliationUnit = void 0;
3052
+ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
3053
+ const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
3054
+ let AffiliationUnit = class AffiliationUnit extends AbstractString_1.AbstractString {
3055
+ };
3056
+ AffiliationUnit = __decorate([
3057
+ (0, ts_serval_1.type)("AffiliationUnit")
3058
+ ], AffiliationUnit);
3059
+ exports.AffiliationUnit = AffiliationUnit;
3060
+ //# sourceMappingURL=AffiliationUnit.js.map
3061
+
3062
+ /***/ }),
3063
+
3064
+ /***/ "./dist/attributes/types/affiliation/index.js":
3065
+ /*!****************************************************!*\
3066
+ !*** ./dist/attributes/types/affiliation/index.js ***!
3067
+ \****************************************************/
3068
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3069
+
3070
+
3071
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3072
+ if (k2 === undefined) k2 = k;
3073
+ var desc = Object.getOwnPropertyDescriptor(m, k);
3074
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
3075
+ desc = { enumerable: true, get: function() { return m[k]; } };
3076
+ }
3077
+ Object.defineProperty(o, k2, desc);
3078
+ }) : (function(o, m, k, k2) {
3079
+ if (k2 === undefined) k2 = k;
3080
+ o[k2] = m[k];
3081
+ }));
3082
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
3083
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3084
+ };
3085
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
3086
+ __exportStar(__webpack_require__(/*! ./Affiliation */ "./dist/attributes/types/affiliation/Affiliation.js"), exports);
3087
+ __exportStar(__webpack_require__(/*! ./AffiliationOrganization */ "./dist/attributes/types/affiliation/AffiliationOrganization.js"), exports);
3088
+ __exportStar(__webpack_require__(/*! ./AffiliationRole */ "./dist/attributes/types/affiliation/AffiliationRole.js"), exports);
3089
+ __exportStar(__webpack_require__(/*! ./AffiliationUnit */ "./dist/attributes/types/affiliation/AffiliationUnit.js"), exports);
3090
+ //# sourceMappingURL=index.js.map
3091
+
3092
+ /***/ }),
3093
+
2876
3094
  /***/ "./dist/attributes/types/birth/BirthCity.js":
2877
3095
  /*!**************************************************!*\
2878
3096
  !*** ./dist/attributes/types/birth/BirthCity.js ***!
@@ -3658,10 +3876,37 @@ __exportStar(__webpack_require__(/*! ./AbstractYear */ "./dist/attributes/types/
3658
3876
 
3659
3877
  /***/ }),
3660
3878
 
3661
- /***/ "./dist/attributes/types/files/FileReference.js":
3662
- /*!******************************************************!*\
3663
- !*** ./dist/attributes/types/files/FileReference.js ***!
3664
- \******************************************************/
3879
+ /***/ "./dist/attributes/types/identity/DisplayName.js":
3880
+ /*!*******************************************************!*\
3881
+ !*** ./dist/attributes/types/identity/DisplayName.js ***!
3882
+ \*******************************************************/
3883
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3884
+
3885
+
3886
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3887
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3888
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3889
+ 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;
3890
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3891
+ };
3892
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
3893
+ exports.DisplayName = void 0;
3894
+ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
3895
+ const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
3896
+ let DisplayName = class DisplayName extends AbstractString_1.AbstractString {
3897
+ };
3898
+ DisplayName = __decorate([
3899
+ (0, ts_serval_1.type)("DisplayName")
3900
+ ], DisplayName);
3901
+ exports.DisplayName = DisplayName;
3902
+ //# sourceMappingURL=DisplayName.js.map
3903
+
3904
+ /***/ }),
3905
+
3906
+ /***/ "./dist/attributes/types/identity/FileReference.js":
3907
+ /*!*********************************************************!*\
3908
+ !*** ./dist/attributes/types/identity/FileReference.js ***!
3909
+ \*********************************************************/
3665
3910
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3666
3911
 
3667
3912
 
@@ -3685,10 +3930,10 @@ exports.FileReference = FileReference;
3685
3930
 
3686
3931
  /***/ }),
3687
3932
 
3688
- /***/ "./dist/attributes/types/files/index.js":
3689
- /*!**********************************************!*\
3690
- !*** ./dist/attributes/types/files/index.js ***!
3691
- \**********************************************/
3933
+ /***/ "./dist/attributes/types/identity/index.js":
3934
+ /*!*************************************************!*\
3935
+ !*** ./dist/attributes/types/identity/index.js ***!
3936
+ \*************************************************/
3692
3937
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3693
3938
 
3694
3939
 
@@ -3707,7 +3952,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
3707
3952
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3708
3953
  };
3709
3954
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3710
- __exportStar(__webpack_require__(/*! ./FileReference */ "./dist/attributes/types/files/FileReference.js"), exports);
3955
+ __exportStar(__webpack_require__(/*! ./DisplayName */ "./dist/attributes/types/identity/DisplayName.js"), exports);
3956
+ __exportStar(__webpack_require__(/*! ./FileReference */ "./dist/attributes/types/identity/FileReference.js"), exports);
3711
3957
  //# sourceMappingURL=index.js.map
3712
3958
 
3713
3959
  /***/ }),
@@ -3739,12 +3985,11 @@ __exportStar(__webpack_require__(/*! ./AbstractFloat */ "./dist/attributes/types
3739
3985
  __exportStar(__webpack_require__(/*! ./AbstractInteger */ "./dist/attributes/types/AbstractInteger.js"), exports);
3740
3986
  __exportStar(__webpack_require__(/*! ./AbstractString */ "./dist/attributes/types/AbstractString.js"), exports);
3741
3987
  __exportStar(__webpack_require__(/*! ./address */ "./dist/attributes/types/address/index.js"), exports);
3742
- __exportStar(__webpack_require__(/*! ./AttributeList */ "./dist/attributes/types/AttributeList.js"), exports);
3743
- __exportStar(__webpack_require__(/*! ./AttributeTypeMapping */ "./dist/attributes/types/AttributeTypeMapping.js"), exports);
3988
+ __exportStar(__webpack_require__(/*! ./affiliation */ "./dist/attributes/types/affiliation/index.js"), exports);
3744
3989
  __exportStar(__webpack_require__(/*! ./birth */ "./dist/attributes/types/birth/index.js"), exports);
3745
3990
  __exportStar(__webpack_require__(/*! ./communication */ "./dist/attributes/types/communication/index.js"), exports);
3746
3991
  __exportStar(__webpack_require__(/*! ./dates */ "./dist/attributes/types/dates/index.js"), exports);
3747
- __exportStar(__webpack_require__(/*! ./files */ "./dist/attributes/types/files/index.js"), exports);
3992
+ __exportStar(__webpack_require__(/*! ./identity */ "./dist/attributes/types/identity/index.js"), exports);
3748
3993
  __exportStar(__webpack_require__(/*! ./measurements */ "./dist/attributes/types/measurements/index.js"), exports);
3749
3994
  __exportStar(__webpack_require__(/*! ./name */ "./dist/attributes/types/name/index.js"), exports);
3750
3995
  __exportStar(__webpack_require__(/*! ./person */ "./dist/attributes/types/person/index.js"), exports);
@@ -3915,28 +4160,11 @@ __exportStar(__webpack_require__(/*! ./AbstractMeasurement */ "./dist/attributes
3915
4160
 
3916
4161
  /***/ }),
3917
4162
 
3918
- /***/ "./dist/attributes/types/name/AbstractLegalName.js":
3919
- /*!*********************************************************!*\
3920
- !*** ./dist/attributes/types/name/AbstractLegalName.js ***!
3921
- \*********************************************************/
3922
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3923
-
3924
-
3925
- Object.defineProperty(exports, "__esModule", ({ value: true }));
3926
- exports.LegalName = void 0;
3927
- const AbstractComplexValue_1 = __webpack_require__(/*! ../../AbstractComplexValue */ "./dist/attributes/AbstractComplexValue.js");
3928
- class LegalName extends AbstractComplexValue_1.AbstractComplexValue {
3929
- }
3930
- exports.LegalName = LegalName;
3931
- //# sourceMappingURL=AbstractLegalName.js.map
3932
-
3933
- /***/ }),
3934
-
3935
- /***/ "./dist/attributes/types/name/BirthName.js":
3936
- /*!*************************************************!*\
3937
- !*** ./dist/attributes/types/name/BirthName.js ***!
3938
- \*************************************************/
3939
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
4163
+ /***/ "./dist/attributes/types/name/BirthName.js":
4164
+ /*!*************************************************!*\
4165
+ !*** ./dist/attributes/types/name/BirthName.js ***!
4166
+ \*************************************************/
4167
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3940
4168
 
3941
4169
 
3942
4170
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
@@ -3959,33 +4187,6 @@ exports.BirthName = BirthName;
3959
4187
 
3960
4188
  /***/ }),
3961
4189
 
3962
- /***/ "./dist/attributes/types/name/DisplayName.js":
3963
- /*!***************************************************!*\
3964
- !*** ./dist/attributes/types/name/DisplayName.js ***!
3965
- \***************************************************/
3966
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3967
-
3968
-
3969
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3970
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3971
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3972
- 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;
3973
- return c > 3 && r && Object.defineProperty(target, key, r), r;
3974
- };
3975
- Object.defineProperty(exports, "__esModule", ({ value: true }));
3976
- exports.DisplayName = void 0;
3977
- const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
3978
- const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
3979
- let DisplayName = class DisplayName extends AbstractString_1.AbstractString {
3980
- };
3981
- DisplayName = __decorate([
3982
- (0, ts_serval_1.type)("DisplayName")
3983
- ], DisplayName);
3984
- exports.DisplayName = DisplayName;
3985
- //# sourceMappingURL=DisplayName.js.map
3986
-
3987
- /***/ }),
3988
-
3989
4190
  /***/ "./dist/attributes/types/name/GivenName.js":
3990
4191
  /*!*************************************************!*\
3991
4192
  !*** ./dist/attributes/types/name/GivenName.js ***!
@@ -4067,111 +4268,10 @@ exports.HonorificSuffix = HonorificSuffix;
4067
4268
 
4068
4269
  /***/ }),
4069
4270
 
4070
- /***/ "./dist/attributes/types/name/LegalNameDE.js":
4071
- /*!***************************************************!*\
4072
- !*** ./dist/attributes/types/name/LegalNameDE.js ***!
4073
- \***************************************************/
4074
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
4075
-
4076
-
4077
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
4078
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4079
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4080
- 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;
4081
- return c > 3 && r && Object.defineProperty(target, key, r), r;
4082
- };
4083
- var __metadata = (this && this.__metadata) || function (k, v) {
4084
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
4085
- };
4086
- var __importDefault = (this && this.__importDefault) || function (mod) {
4087
- return (mod && mod.__esModule) ? mod : { "default": mod };
4088
- };
4089
- Object.defineProperty(exports, "__esModule", ({ value: true }));
4090
- exports.LegalNameDE = void 0;
4091
- const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
4092
- const easy_tsnameof_1 = __importDefault(__webpack_require__(/*! easy-tsnameof */ "./node_modules/easy-tsnameof/dist/easy-tsnameof.esm.js"));
4093
- const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
4094
- const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
4095
- const AbstractLegalName_1 = __webpack_require__(/*! ./AbstractLegalName */ "./dist/attributes/types/name/AbstractLegalName.js");
4096
- const BirthName_1 = __webpack_require__(/*! ./BirthName */ "./dist/attributes/types/name/BirthName.js");
4097
- const GivenName_1 = __webpack_require__(/*! ./GivenName */ "./dist/attributes/types/name/GivenName.js");
4098
- const HonorificPrefix_1 = __webpack_require__(/*! ./HonorificPrefix */ "./dist/attributes/types/name/HonorificPrefix.js");
4099
- const Pseudonym_1 = __webpack_require__(/*! ./Pseudonym */ "./dist/attributes/types/name/Pseudonym.js");
4100
- const Surname_1 = __webpack_require__(/*! ./Surname */ "./dist/attributes/types/name/Surname.js");
4101
- let LegalNameDE = class LegalNameDE extends AbstractLegalName_1.LegalName {
4102
- static get valueHints() {
4103
- return hints_1.ValueHints.from({
4104
- propertyHints: {
4105
- [this.propertyNames.surname.$path]: Surname_1.Surname.valueHints,
4106
- [this.propertyNames.givenNames.$path]: GivenName_1.GivenName.valueHints,
4107
- [this.propertyNames.birthName.$path]: BirthName_1.BirthName.valueHints,
4108
- [this.propertyNames.pseudonym.$path]: Pseudonym_1.Pseudonym.valueHints,
4109
- [this.propertyNames.honorificPrefix.$path]: HonorificPrefix_1.HonorificPrefix.valueHints
4110
- }
4111
- });
4112
- }
4113
- static get renderHints() {
4114
- return super.renderHints.copyWith({
4115
- propertyHints: {
4116
- [this.propertyNames.surname.$path]: Surname_1.Surname.renderHints,
4117
- [this.propertyNames.givenNames.$path]: GivenName_1.GivenName.renderHints,
4118
- [this.propertyNames.birthName.$path]: BirthName_1.BirthName.renderHints,
4119
- [this.propertyNames.pseudonym.$path]: Pseudonym_1.Pseudonym.renderHints,
4120
- [this.propertyNames.honorificPrefix.$path]: HonorificPrefix_1.HonorificPrefix.renderHints
4121
- }
4122
- });
4123
- }
4124
- toString() {
4125
- const value = [];
4126
- if (this.honorificPrefix) {
4127
- value.push(this.honorificPrefix.toString());
4128
- }
4129
- value.push(this.givenNames.join(" "));
4130
- value.push(this.surname.toString());
4131
- if (this.pseudonym) {
4132
- value.push(`aka "${this.pseudonym}"`);
4133
- }
4134
- return value.join(" ");
4135
- }
4136
- };
4137
- LegalNameDE.propertyNames = (0, easy_tsnameof_1.default)();
4138
- __decorate([
4139
- (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
4140
- (0, ts_serval_1.validate)(),
4141
- __metadata("design:type", Surname_1.Surname)
4142
- ], LegalNameDE.prototype, "surname", void 0);
4143
- __decorate([
4144
- (0, ts_serval_1.serialize)({ type: GivenName_1.GivenName, customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueArrayGenerator }),
4145
- (0, ts_serval_1.validate)(),
4146
- __metadata("design:type", Array)
4147
- ], LegalNameDE.prototype, "givenNames", void 0);
4148
- __decorate([
4149
- (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
4150
- (0, ts_serval_1.validate)({ nullable: true }),
4151
- __metadata("design:type", BirthName_1.BirthName)
4152
- ], LegalNameDE.prototype, "birthName", void 0);
4153
- __decorate([
4154
- (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
4155
- (0, ts_serval_1.validate)({ nullable: true }),
4156
- __metadata("design:type", Pseudonym_1.Pseudonym)
4157
- ], LegalNameDE.prototype, "pseudonym", void 0);
4158
- __decorate([
4159
- (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
4160
- (0, ts_serval_1.validate)({ nullable: true }),
4161
- __metadata("design:type", HonorificPrefix_1.HonorificPrefix)
4162
- ], LegalNameDE.prototype, "honorificPrefix", void 0);
4163
- LegalNameDE = __decorate([
4164
- (0, ts_serval_1.type)("LegalNameDE")
4165
- ], LegalNameDE);
4166
- exports.LegalNameDE = LegalNameDE;
4167
- //# sourceMappingURL=LegalNameDE.js.map
4168
-
4169
- /***/ }),
4170
-
4171
- /***/ "./dist/attributes/types/name/Pseudonym.js":
4172
- /*!*************************************************!*\
4173
- !*** ./dist/attributes/types/name/Pseudonym.js ***!
4174
- \*************************************************/
4271
+ /***/ "./dist/attributes/types/name/MiddleName.js":
4272
+ /*!**************************************************!*\
4273
+ !*** ./dist/attributes/types/name/MiddleName.js ***!
4274
+ \**************************************************/
4175
4275
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
4176
4276
 
4177
4277
 
@@ -4182,22 +4282,22 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4182
4282
  return c > 3 && r && Object.defineProperty(target, key, r), r;
4183
4283
  };
4184
4284
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4185
- exports.Pseudonym = void 0;
4285
+ exports.MiddleName = void 0;
4186
4286
  const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
4187
4287
  const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
4188
- let Pseudonym = class Pseudonym extends AbstractString_1.AbstractString {
4288
+ let MiddleName = class MiddleName extends AbstractString_1.AbstractString {
4189
4289
  };
4190
- Pseudonym = __decorate([
4191
- (0, ts_serval_1.type)("Pseudonym")
4192
- ], Pseudonym);
4193
- exports.Pseudonym = Pseudonym;
4194
- //# sourceMappingURL=Pseudonym.js.map
4290
+ MiddleName = __decorate([
4291
+ (0, ts_serval_1.type)("MiddleName")
4292
+ ], MiddleName);
4293
+ exports.MiddleName = MiddleName;
4294
+ //# sourceMappingURL=MiddleName.js.map
4195
4295
 
4196
4296
  /***/ }),
4197
4297
 
4198
- /***/ "./dist/attributes/types/name/Salutation.js":
4298
+ /***/ "./dist/attributes/types/name/PersonName.js":
4199
4299
  /*!**************************************************!*\
4200
- !*** ./dist/attributes/types/name/Salutation.js ***!
4300
+ !*** ./dist/attributes/types/name/PersonName.js ***!
4201
4301
  \**************************************************/
4202
4302
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
4203
4303
 
@@ -4215,23 +4315,23 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4215
4315
  return (mod && mod.__esModule) ? mod : { "default": mod };
4216
4316
  };
4217
4317
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4218
- exports.Salutation = void 0;
4318
+ exports.PersonName = void 0;
4219
4319
  const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
4220
4320
  const easy_tsnameof_1 = __importDefault(__webpack_require__(/*! easy-tsnameof */ "./node_modules/easy-tsnameof/dist/easy-tsnameof.esm.js"));
4221
4321
  const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
4222
4322
  const AbstractComplexValue_1 = __webpack_require__(/*! ../../AbstractComplexValue */ "./dist/attributes/AbstractComplexValue.js");
4223
4323
  const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
4224
- const DisplayName_1 = __webpack_require__(/*! ./DisplayName */ "./dist/attributes/types/name/DisplayName.js");
4225
4324
  const GivenName_1 = __webpack_require__(/*! ./GivenName */ "./dist/attributes/types/name/GivenName.js");
4226
4325
  const HonorificPrefix_1 = __webpack_require__(/*! ./HonorificPrefix */ "./dist/attributes/types/name/HonorificPrefix.js");
4227
4326
  const HonorificSuffix_1 = __webpack_require__(/*! ./HonorificSuffix */ "./dist/attributes/types/name/HonorificSuffix.js");
4327
+ const MiddleName_1 = __webpack_require__(/*! ./MiddleName */ "./dist/attributes/types/name/MiddleName.js");
4228
4328
  const Surname_1 = __webpack_require__(/*! ./Surname */ "./dist/attributes/types/name/Surname.js");
4229
- let Salutation = class Salutation extends AbstractComplexValue_1.AbstractComplexValue {
4329
+ let PersonName = class PersonName extends AbstractComplexValue_1.AbstractComplexValue {
4230
4330
  static get valueHints() {
4231
4331
  return hints_1.ValueHints.from({
4232
4332
  propertyHints: {
4233
- [this.propertyNames.displayName.$path]: DisplayName_1.DisplayName.valueHints,
4234
- [this.propertyNames.givenNames.$path]: GivenName_1.GivenName.valueHints,
4333
+ [this.propertyNames.givenName.$path]: GivenName_1.GivenName.valueHints,
4334
+ [this.propertyNames.middleName.$path]: MiddleName_1.MiddleName.valueHints,
4235
4335
  [this.propertyNames.surname.$path]: Surname_1.Surname.valueHints,
4236
4336
  [this.propertyNames.honorificSuffix.$path]: HonorificSuffix_1.HonorificSuffix.valueHints,
4237
4337
  [this.propertyNames.honorificPrefix.$path]: HonorificPrefix_1.HonorificPrefix.valueHints
@@ -4241,8 +4341,8 @@ let Salutation = class Salutation extends AbstractComplexValue_1.AbstractComplex
4241
4341
  static get renderHints() {
4242
4342
  return super.renderHints.copyWith({
4243
4343
  propertyHints: {
4244
- [this.propertyNames.displayName.$path]: DisplayName_1.DisplayName.renderHints,
4245
- [this.propertyNames.givenNames.$path]: GivenName_1.GivenName.renderHints,
4344
+ [this.propertyNames.givenName.$path]: GivenName_1.GivenName.renderHints,
4345
+ [this.propertyNames.middleName.$path]: MiddleName_1.MiddleName.renderHints,
4246
4346
  [this.propertyNames.surname.$path]: Surname_1.Surname.renderHints,
4247
4347
  [this.propertyNames.honorificSuffix.$path]: HonorificSuffix_1.HonorificSuffix.renderHints,
4248
4348
  [this.propertyNames.honorificPrefix.$path]: HonorificPrefix_1.HonorificPrefix.renderHints
@@ -4253,40 +4353,76 @@ let Salutation = class Salutation extends AbstractComplexValue_1.AbstractComplex
4253
4353
  return this.fromAny(value);
4254
4354
  }
4255
4355
  toString() {
4256
- return this.displayName.toString();
4356
+ const names = [];
4357
+ if (this.honorificPrefix)
4358
+ names.push(this.honorificPrefix.value);
4359
+ names.push(this.givenName.value);
4360
+ if (this.middleName)
4361
+ names.push(this.middleName.value);
4362
+ names.push(this.surname.value);
4363
+ if (this.honorificSuffix)
4364
+ names.push(this.honorificSuffix.value);
4365
+ return names.join(" ");
4257
4366
  }
4258
4367
  };
4259
- Salutation.propertyNames = (0, easy_tsnameof_1.default)();
4368
+ PersonName.propertyNames = (0, easy_tsnameof_1.default)();
4260
4369
  __decorate([
4261
4370
  (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
4262
4371
  (0, ts_serval_1.validate)(),
4263
- __metadata("design:type", DisplayName_1.DisplayName)
4264
- ], Salutation.prototype, "displayName", void 0);
4372
+ __metadata("design:type", GivenName_1.GivenName)
4373
+ ], PersonName.prototype, "givenName", void 0);
4265
4374
  __decorate([
4266
- (0, ts_serval_1.serialize)({ type: GivenName_1.GivenName, customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueArrayGenerator }),
4375
+ (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
4267
4376
  (0, ts_serval_1.validate)({ nullable: true }),
4268
- __metadata("design:type", Array)
4269
- ], Salutation.prototype, "givenNames", void 0);
4377
+ __metadata("design:type", MiddleName_1.MiddleName)
4378
+ ], PersonName.prototype, "middleName", void 0);
4270
4379
  __decorate([
4271
4380
  (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
4272
- (0, ts_serval_1.validate)({ nullable: true }),
4381
+ (0, ts_serval_1.validate)(),
4273
4382
  __metadata("design:type", Surname_1.Surname)
4274
- ], Salutation.prototype, "surname", void 0);
4383
+ ], PersonName.prototype, "surname", void 0);
4275
4384
  __decorate([
4276
4385
  (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
4277
4386
  (0, ts_serval_1.validate)({ nullable: true }),
4278
4387
  __metadata("design:type", HonorificSuffix_1.HonorificSuffix)
4279
- ], Salutation.prototype, "honorificSuffix", void 0);
4388
+ ], PersonName.prototype, "honorificSuffix", void 0);
4280
4389
  __decorate([
4281
4390
  (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
4282
4391
  (0, ts_serval_1.validate)({ nullable: true }),
4283
4392
  __metadata("design:type", HonorificPrefix_1.HonorificPrefix)
4284
- ], Salutation.prototype, "honorificPrefix", void 0);
4285
- Salutation = __decorate([
4286
- (0, ts_serval_1.type)("Salutation")
4287
- ], Salutation);
4288
- exports.Salutation = Salutation;
4289
- //# sourceMappingURL=Salutation.js.map
4393
+ ], PersonName.prototype, "honorificPrefix", void 0);
4394
+ PersonName = __decorate([
4395
+ (0, ts_serval_1.type)("PersonName")
4396
+ ], PersonName);
4397
+ exports.PersonName = PersonName;
4398
+ //# sourceMappingURL=PersonName.js.map
4399
+
4400
+ /***/ }),
4401
+
4402
+ /***/ "./dist/attributes/types/name/Pseudonym.js":
4403
+ /*!*************************************************!*\
4404
+ !*** ./dist/attributes/types/name/Pseudonym.js ***!
4405
+ \*************************************************/
4406
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
4407
+
4408
+
4409
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
4410
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4411
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4412
+ 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;
4413
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
4414
+ };
4415
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
4416
+ exports.Pseudonym = void 0;
4417
+ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
4418
+ const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
4419
+ let Pseudonym = class Pseudonym extends AbstractString_1.AbstractString {
4420
+ };
4421
+ Pseudonym = __decorate([
4422
+ (0, ts_serval_1.type)("Pseudonym")
4423
+ ], Pseudonym);
4424
+ exports.Pseudonym = Pseudonym;
4425
+ //# sourceMappingURL=Pseudonym.js.map
4290
4426
 
4291
4427
  /***/ }),
4292
4428
 
@@ -4339,63 +4475,18 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
4339
4475
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4340
4476
  };
4341
4477
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4342
- __exportStar(__webpack_require__(/*! ./AbstractLegalName */ "./dist/attributes/types/name/AbstractLegalName.js"), exports);
4343
4478
  __exportStar(__webpack_require__(/*! ./BirthName */ "./dist/attributes/types/name/BirthName.js"), exports);
4344
- __exportStar(__webpack_require__(/*! ./DisplayName */ "./dist/attributes/types/name/DisplayName.js"), exports);
4345
4479
  __exportStar(__webpack_require__(/*! ./GivenName */ "./dist/attributes/types/name/GivenName.js"), exports);
4346
4480
  __exportStar(__webpack_require__(/*! ./HonorificPrefix */ "./dist/attributes/types/name/HonorificPrefix.js"), exports);
4347
4481
  __exportStar(__webpack_require__(/*! ./HonorificSuffix */ "./dist/attributes/types/name/HonorificSuffix.js"), exports);
4348
- __exportStar(__webpack_require__(/*! ./LegalNameDE */ "./dist/attributes/types/name/LegalNameDE.js"), exports);
4482
+ __exportStar(__webpack_require__(/*! ./MiddleName */ "./dist/attributes/types/name/MiddleName.js"), exports);
4483
+ __exportStar(__webpack_require__(/*! ./PersonName */ "./dist/attributes/types/name/PersonName.js"), exports);
4349
4484
  __exportStar(__webpack_require__(/*! ./Pseudonym */ "./dist/attributes/types/name/Pseudonym.js"), exports);
4350
- __exportStar(__webpack_require__(/*! ./Salutation */ "./dist/attributes/types/name/Salutation.js"), exports);
4351
4485
  __exportStar(__webpack_require__(/*! ./Surname */ "./dist/attributes/types/name/Surname.js"), exports);
4352
4486
  //# sourceMappingURL=index.js.map
4353
4487
 
4354
4488
  /***/ }),
4355
4489
 
4356
- /***/ "./dist/attributes/types/person/Age.js":
4357
- /*!*********************************************!*\
4358
- !*** ./dist/attributes/types/person/Age.js ***!
4359
- \*********************************************/
4360
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
4361
-
4362
-
4363
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
4364
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4365
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4366
- 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;
4367
- return c > 3 && r && Object.defineProperty(target, key, r), r;
4368
- };
4369
- var __metadata = (this && this.__metadata) || function (k, v) {
4370
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
4371
- };
4372
- Object.defineProperty(exports, "__esModule", ({ value: true }));
4373
- exports.Age = void 0;
4374
- const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
4375
- const AbstractInteger_1 = __webpack_require__(/*! ../AbstractInteger */ "./dist/attributes/types/AbstractInteger.js");
4376
- let Age = class Age extends AbstractInteger_1.AbstractInteger {
4377
- static get valueHints() {
4378
- return super.valueHints.copyWith({
4379
- min: 0,
4380
- max: 151
4381
- });
4382
- }
4383
- };
4384
- __decorate([
4385
- (0, ts_serval_1.serialize)(),
4386
- (0, ts_serval_1.validate)({
4387
- customValidator: (v) => v < 0 || v > 150 || !Number.isInteger(v) ? "must be an integer value between 0 and 150" : undefined
4388
- }),
4389
- __metadata("design:type", Number)
4390
- ], Age.prototype, "value", void 0);
4391
- Age = __decorate([
4392
- (0, ts_serval_1.type)("Age")
4393
- ], Age);
4394
- exports.Age = Age;
4395
- //# sourceMappingURL=Age.js.map
4396
-
4397
- /***/ }),
4398
-
4399
4490
  /***/ "./dist/attributes/types/person/Citizenship.js":
4400
4491
  /*!*****************************************************!*\
4401
4492
  !*** ./dist/attributes/types/person/Citizenship.js ***!
@@ -4423,10 +4514,10 @@ exports.Citizenship = Citizenship;
4423
4514
 
4424
4515
  /***/ }),
4425
4516
 
4426
- /***/ "./dist/attributes/types/person/Nationality.js":
4427
- /*!*****************************************************!*\
4428
- !*** ./dist/attributes/types/person/Nationality.js ***!
4429
- \*****************************************************/
4517
+ /***/ "./dist/attributes/types/person/JobTitle.js":
4518
+ /*!**************************************************!*\
4519
+ !*** ./dist/attributes/types/person/JobTitle.js ***!
4520
+ \**************************************************/
4430
4521
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
4431
4522
 
4432
4523
 
@@ -4437,23 +4528,23 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4437
4528
  return c > 3 && r && Object.defineProperty(target, key, r), r;
4438
4529
  };
4439
4530
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4440
- exports.Nationality = void 0;
4531
+ exports.JobTitle = void 0;
4441
4532
  const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
4442
- const AbstractCountry_1 = __webpack_require__(/*! ../strings/AbstractCountry */ "./dist/attributes/types/strings/AbstractCountry.js");
4443
- let Nationality = class Nationality extends AbstractCountry_1.AbstractCountry {
4533
+ const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
4534
+ let JobTitle = class JobTitle extends AbstractString_1.AbstractString {
4444
4535
  };
4445
- Nationality = __decorate([
4446
- (0, ts_serval_1.type)("Nationality")
4447
- ], Nationality);
4448
- exports.Nationality = Nationality;
4449
- //# sourceMappingURL=Nationality.js.map
4536
+ JobTitle = __decorate([
4537
+ (0, ts_serval_1.type)("JobTitle")
4538
+ ], JobTitle);
4539
+ exports.JobTitle = JobTitle;
4540
+ //# sourceMappingURL=JobTitle.js.map
4450
4541
 
4451
4542
  /***/ }),
4452
4543
 
4453
- /***/ "./dist/attributes/types/person/Picture.js":
4454
- /*!*************************************************!*\
4455
- !*** ./dist/attributes/types/person/Picture.js ***!
4456
- \*************************************************/
4544
+ /***/ "./dist/attributes/types/person/Nationality.js":
4545
+ /*!*****************************************************!*\
4546
+ !*** ./dist/attributes/types/person/Nationality.js ***!
4547
+ \*****************************************************/
4457
4548
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
4458
4549
 
4459
4550
 
@@ -4464,16 +4555,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4464
4555
  return c > 3 && r && Object.defineProperty(target, key, r), r;
4465
4556
  };
4466
4557
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4467
- exports.Picture = void 0;
4558
+ exports.Nationality = void 0;
4468
4559
  const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
4469
- const AbstractDataURL_1 = __webpack_require__(/*! ../strings/AbstractDataURL */ "./dist/attributes/types/strings/AbstractDataURL.js");
4470
- let Picture = class Picture extends AbstractDataURL_1.AbstractDataURL {
4560
+ const AbstractCountry_1 = __webpack_require__(/*! ../strings/AbstractCountry */ "./dist/attributes/types/strings/AbstractCountry.js");
4561
+ let Nationality = class Nationality extends AbstractCountry_1.AbstractCountry {
4471
4562
  };
4472
- Picture = __decorate([
4473
- (0, ts_serval_1.type)("Picture")
4474
- ], Picture);
4475
- exports.Picture = Picture;
4476
- //# sourceMappingURL=Picture.js.map
4563
+ Nationality = __decorate([
4564
+ (0, ts_serval_1.type)("Nationality")
4565
+ ], Nationality);
4566
+ exports.Nationality = Nationality;
4567
+ //# sourceMappingURL=Nationality.js.map
4477
4568
 
4478
4569
  /***/ }),
4479
4570
 
@@ -4503,9 +4594,9 @@ const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/at
4503
4594
  */
4504
4595
  var BiologicalSex;
4505
4596
  (function (BiologicalSex) {
4506
- BiologicalSex["M"] = "male";
4507
- BiologicalSex["F"] = "female";
4508
4597
  BiologicalSex["X"] = "intersex";
4598
+ BiologicalSex["F"] = "female";
4599
+ BiologicalSex["M"] = "male";
4509
4600
  })(BiologicalSex = exports.BiologicalSex || (exports.BiologicalSex = {}));
4510
4601
  let Sex = class Sex extends AbstractString_1.AbstractString {
4511
4602
  static get valueHints() {
@@ -4556,10 +4647,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
4556
4647
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4557
4648
  };
4558
4649
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4559
- __exportStar(__webpack_require__(/*! ./Age */ "./dist/attributes/types/person/Age.js"), exports);
4560
4650
  __exportStar(__webpack_require__(/*! ./Citizenship */ "./dist/attributes/types/person/Citizenship.js"), exports);
4651
+ __exportStar(__webpack_require__(/*! ./JobTitle */ "./dist/attributes/types/person/JobTitle.js"), exports);
4561
4652
  __exportStar(__webpack_require__(/*! ./Nationality */ "./dist/attributes/types/person/Nationality.js"), exports);
4562
- __exportStar(__webpack_require__(/*! ./Picture */ "./dist/attributes/types/person/Picture.js"), exports);
4563
4653
  __exportStar(__webpack_require__(/*! ./Sex */ "./dist/attributes/types/person/Sex.js"), exports);
4564
4654
  //# sourceMappingURL=index.js.map
4565
4655
 
@@ -4645,46 +4735,6 @@ exports.ProprietaryCountry = ProprietaryCountry;
4645
4735
 
4646
4736
  /***/ }),
4647
4737
 
4648
- /***/ "./dist/attributes/types/proprietary/ProprietaryDataURL.js":
4649
- /*!*****************************************************************!*\
4650
- !*** ./dist/attributes/types/proprietary/ProprietaryDataURL.js ***!
4651
- \*****************************************************************/
4652
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
4653
-
4654
-
4655
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
4656
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4657
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4658
- 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;
4659
- return c > 3 && r && Object.defineProperty(target, key, r), r;
4660
- };
4661
- var __metadata = (this && this.__metadata) || function (k, v) {
4662
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
4663
- };
4664
- Object.defineProperty(exports, "__esModule", ({ value: true }));
4665
- exports.ProprietaryDataURL = void 0;
4666
- const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
4667
- const AbstractDataURL_1 = __webpack_require__(/*! ../strings/AbstractDataURL */ "./dist/attributes/types/strings/AbstractDataURL.js");
4668
- let ProprietaryDataURL = class ProprietaryDataURL extends AbstractDataURL_1.AbstractDataURL {
4669
- };
4670
- __decorate([
4671
- (0, ts_serval_1.serialize)(),
4672
- (0, ts_serval_1.validate)(),
4673
- __metadata("design:type", String)
4674
- ], ProprietaryDataURL.prototype, "title", void 0);
4675
- __decorate([
4676
- (0, ts_serval_1.serialize)(),
4677
- (0, ts_serval_1.validate)({ nullable: true }),
4678
- __metadata("design:type", String)
4679
- ], ProprietaryDataURL.prototype, "description", void 0);
4680
- ProprietaryDataURL = __decorate([
4681
- (0, ts_serval_1.type)("ProprietaryDataURL")
4682
- ], ProprietaryDataURL);
4683
- exports.ProprietaryDataURL = ProprietaryDataURL;
4684
- //# sourceMappingURL=ProprietaryDataURL.js.map
4685
-
4686
- /***/ }),
4687
-
4688
4738
  /***/ "./dist/attributes/types/proprietary/ProprietaryEMailAddress.js":
4689
4739
  /*!**********************************************************************!*\
4690
4740
  !*** ./dist/attributes/types/proprietary/ProprietaryEMailAddress.js ***!
@@ -5089,7 +5139,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
5089
5139
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5090
5140
  __exportStar(__webpack_require__(/*! ./ProprietaryBoolean */ "./dist/attributes/types/proprietary/ProprietaryBoolean.js"), exports);
5091
5141
  __exportStar(__webpack_require__(/*! ./ProprietaryCountry */ "./dist/attributes/types/proprietary/ProprietaryCountry.js"), exports);
5092
- __exportStar(__webpack_require__(/*! ./ProprietaryDataURL */ "./dist/attributes/types/proprietary/ProprietaryDataURL.js"), exports);
5093
5142
  __exportStar(__webpack_require__(/*! ./ProprietaryEMailAddress */ "./dist/attributes/types/proprietary/ProprietaryEMailAddress.js"), exports);
5094
5143
  __exportStar(__webpack_require__(/*! ./ProprietaryFileReference */ "./dist/attributes/types/proprietary/ProprietaryFileReference.js"), exports);
5095
5144
  __exportStar(__webpack_require__(/*! ./ProprietaryFloat */ "./dist/attributes/types/proprietary/ProprietaryFloat.js"), exports);
@@ -5152,55 +5201,6 @@ exports.AbstractCountry = AbstractCountry;
5152
5201
 
5153
5202
  /***/ }),
5154
5203
 
5155
- /***/ "./dist/attributes/types/strings/AbstractDataURL.js":
5156
- /*!**********************************************************!*\
5157
- !*** ./dist/attributes/types/strings/AbstractDataURL.js ***!
5158
- \**********************************************************/
5159
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
5160
-
5161
-
5162
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
5163
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
5164
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5165
- 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;
5166
- return c > 3 && r && Object.defineProperty(target, key, r), r;
5167
- };
5168
- var __metadata = (this && this.__metadata) || function (k, v) {
5169
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
5170
- };
5171
- Object.defineProperty(exports, "__esModule", ({ value: true }));
5172
- exports.AbstractDataURL = void 0;
5173
- const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
5174
- const hints_1 = __webpack_require__(/*! ../../../attributes/hints */ "./dist/attributes/hints/index.js");
5175
- const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
5176
- class AbstractDataURL extends AbstractString_1.AbstractString {
5177
- static get valueHints() {
5178
- return super.valueHints.copyWith({
5179
- min: 7,
5180
- max: 4096
5181
- });
5182
- }
5183
- static get renderHints() {
5184
- return super.renderHints.copyWith({
5185
- editType: hints_1.RenderHintsEditType.Upload,
5186
- dataType: hints_1.RenderHintsDataType.DataURL
5187
- });
5188
- }
5189
- }
5190
- __decorate([
5191
- (0, ts_serval_1.serialize)(),
5192
- (0, ts_serval_1.validate)({
5193
- min: 7,
5194
- max: 4096,
5195
- customValidator: (v) => (v.length > 4096 ? "must be less than 4096 characters" : undefined)
5196
- }),
5197
- __metadata("design:type", String)
5198
- ], AbstractDataURL.prototype, "value", void 0);
5199
- exports.AbstractDataURL = AbstractDataURL;
5200
- //# sourceMappingURL=AbstractDataURL.js.map
5201
-
5202
- /***/ }),
5203
-
5204
5204
  /***/ "./dist/attributes/types/strings/AbstractEMailAddress.js":
5205
5205
  /*!***************************************************************!*\
5206
5206
  !*** ./dist/attributes/types/strings/AbstractEMailAddress.js ***!
@@ -5226,7 +5226,7 @@ class AbstractEMailAddress extends AbstractString_1.AbstractString {
5226
5226
  static get valueHints() {
5227
5227
  return super.valueHints.copyWith({
5228
5228
  min: 3,
5229
- max: 200,
5229
+ max: 100,
5230
5230
  pattern: "/^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,}$/i"
5231
5231
  });
5232
5232
  }
@@ -5241,7 +5241,7 @@ __decorate([
5241
5241
  (0, ts_serval_1.serialize)(),
5242
5242
  (0, ts_serval_1.validate)({
5243
5243
  min: 3,
5244
- max: 200,
5244
+ max: 100,
5245
5245
  regExp: new RegExp("^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,}$", "i")
5246
5246
  }),
5247
5247
  __metadata("design:type", String)
@@ -5516,7 +5516,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
5516
5516
  };
5517
5517
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5518
5518
  __exportStar(__webpack_require__(/*! ./AbstractCountry */ "./dist/attributes/types/strings/AbstractCountry.js"), exports);
5519
- __exportStar(__webpack_require__(/*! ./AbstractDataURL */ "./dist/attributes/types/strings/AbstractDataURL.js"), exports);
5520
5519
  __exportStar(__webpack_require__(/*! ./AbstractEMailAddress */ "./dist/attributes/types/strings/AbstractEMailAddress.js"), exports);
5521
5520
  __exportStar(__webpack_require__(/*! ./AbstractFileReference */ "./dist/attributes/types/strings/AbstractFileReference.js"), exports);
5522
5521
  __exportStar(__webpack_require__(/*! ./AbstractHEXColor */ "./dist/attributes/types/strings/AbstractHEXColor.js"), exports);
@@ -5540,10 +5539,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
5540
5539
  const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
5541
5540
  const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
5542
5541
  exports.buildInformation = {
5543
- version: "2.0.0-beta.26",
5544
- build: "103",
5545
- date: "2022-09-14T13:25:36+00:00",
5546
- commit: "9e1d3778b0f694d0768768e36ab15d8c3b7cbc41",
5542
+ version: "2.0.0-beta.28",
5543
+ build: "105",
5544
+ date: "2022-09-20T16:20:39+00:00",
5545
+ commit: "7375ced5576fada798bac89a62f91a80eb899319",
5547
5546
  dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6"},
5548
5547
  libraries: {
5549
5548
  serval: ts_serval_1.buildInformation,
@@ -6960,7 +6959,7 @@ let RegisterAttributeListenerRequestItem = class RegisterAttributeListenerReques
6960
6959
  };
6961
6960
  __decorate([
6962
6961
  (0, ts_serval_1.serialize)({
6963
- unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery, attributes_1.ThirdPartyRelationshipAttributeQuery]
6962
+ unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.ThirdPartyRelationshipAttributeQuery]
6964
6963
  }),
6965
6964
  (0, ts_serval_1.validate)(),
6966
6965
  __metadata("design:type", Object)