@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
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.Affiliation = void 0;
16
+ const ts_serval_1 = require("@js-soft/ts-serval");
17
+ const easy_tsnameof_1 = __importDefault(require("easy-tsnameof"));
18
+ const AbstractAttributeValue_1 = require("../../AbstractAttributeValue");
19
+ const AbstractComplexValue_1 = require("../../AbstractComplexValue");
20
+ const hints_1 = require("../../hints");
21
+ const AffiliationOrganization_1 = require("./AffiliationOrganization");
22
+ const AffiliationRole_1 = require("./AffiliationRole");
23
+ const AffiliationUnit_1 = require("./AffiliationUnit");
24
+ let Affiliation = class Affiliation extends AbstractComplexValue_1.AbstractComplexValue {
25
+ static get valueHints() {
26
+ return hints_1.ValueHints.from({
27
+ propertyHints: {
28
+ [this.propertyNames.role.$path]: AffiliationRole_1.AffiliationRole.valueHints,
29
+ [this.propertyNames.organization.$path]: AffiliationOrganization_1.AffiliationOrganization.valueHints,
30
+ [this.propertyNames.unit.$path]: AffiliationUnit_1.AffiliationUnit.valueHints
31
+ }
32
+ });
33
+ }
34
+ static get renderHints() {
35
+ return super.renderHints.copyWith({
36
+ propertyHints: {
37
+ [this.propertyNames.role.$path]: AffiliationRole_1.AffiliationRole.renderHints,
38
+ [this.propertyNames.organization.$path]: AffiliationOrganization_1.AffiliationOrganization.renderHints,
39
+ [this.propertyNames.unit.$path]: AffiliationUnit_1.AffiliationUnit.renderHints
40
+ }
41
+ });
42
+ }
43
+ static from(value) {
44
+ return this.fromAny(value);
45
+ }
46
+ toString() {
47
+ const value = [this.organization.toString()];
48
+ if (this.unit) {
49
+ value.push(this.unit.toString());
50
+ }
51
+ if (this.role) {
52
+ value.push(this.role.toString());
53
+ }
54
+ return value.join(", ");
55
+ }
56
+ };
57
+ Affiliation.propertyNames = (0, easy_tsnameof_1.default)();
58
+ __decorate([
59
+ (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
60
+ (0, ts_serval_1.validate)({ nullable: true }),
61
+ __metadata("design:type", AffiliationRole_1.AffiliationRole)
62
+ ], Affiliation.prototype, "role", void 0);
63
+ __decorate([
64
+ (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
65
+ (0, ts_serval_1.validate)(),
66
+ __metadata("design:type", AffiliationOrganization_1.AffiliationOrganization)
67
+ ], Affiliation.prototype, "organization", void 0);
68
+ __decorate([
69
+ (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
70
+ (0, ts_serval_1.validate)({ nullable: true }),
71
+ __metadata("design:type", AffiliationUnit_1.AffiliationUnit)
72
+ ], Affiliation.prototype, "unit", void 0);
73
+ Affiliation = __decorate([
74
+ (0, ts_serval_1.type)("Affiliation")
75
+ ], Affiliation);
76
+ exports.Affiliation = Affiliation;
77
+ //# sourceMappingURL=Affiliation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Affiliation.js","sourceRoot":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,IAAI,EAAE;YACX,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;SACnC;QACD,IAAI,IAAI,CAAC,IAAI,EAAE;YACX,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;SACnC;QAED,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC3B,CAAC;CACJ,CAAA;AAjD0B,yBAAa,GAAG,IAAA,uBAAM,GAAsB,CAAA;AAInE;IAFC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACf,iCAAe;yCAAA;AAI7B;IAFC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACU,iDAAuB;iDAAA;AAI5C;IAFC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACf,iCAAe;yCAAA;AAbpB,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CAkDvB;AAlDY,kCAAW"}
@@ -0,0 +1,3 @@
1
+ import { AbstractString } from "../AbstractString";
2
+ export declare class AffiliationOrganization extends AbstractString {
3
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.AffiliationOrganization = void 0;
10
+ const ts_serval_1 = require("@js-soft/ts-serval");
11
+ const AbstractString_1 = require("../AbstractString");
12
+ let AffiliationOrganization = class AffiliationOrganization extends AbstractString_1.AbstractString {
13
+ };
14
+ AffiliationOrganization = __decorate([
15
+ (0, ts_serval_1.type)("AffiliationOrganization")
16
+ ], AffiliationOrganization);
17
+ exports.AffiliationOrganization = AffiliationOrganization;
18
+ //# sourceMappingURL=AffiliationOrganization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AffiliationOrganization.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationOrganization.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,uBAAuB,GAApC,MAAa,uBAAwB,SAAQ,+BAAc;CAAG,CAAA;AAAjD,uBAAuB;IADnC,IAAA,gBAAI,EAAC,yBAAyB,CAAC;GACnB,uBAAuB,CAA0B;AAAjD,0DAAuB"}
@@ -0,0 +1,3 @@
1
+ import { AbstractString } from "../AbstractString";
2
+ export declare class AffiliationRole extends AbstractString {
3
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.AffiliationRole = void 0;
10
+ const ts_serval_1 = require("@js-soft/ts-serval");
11
+ const AbstractString_1 = require("../AbstractString");
12
+ let AffiliationRole = class AffiliationRole extends AbstractString_1.AbstractString {
13
+ };
14
+ AffiliationRole = __decorate([
15
+ (0, ts_serval_1.type)("AffiliationRole")
16
+ ], AffiliationRole);
17
+ exports.AffiliationRole = AffiliationRole;
18
+ //# sourceMappingURL=AffiliationRole.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AffiliationRole.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationRole.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,eAAe,GAA5B,MAAa,eAAgB,SAAQ,+BAAc;CAAG,CAAA;AAAzC,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAA0B;AAAzC,0CAAe"}
@@ -0,0 +1,3 @@
1
+ import { AbstractString } from "../AbstractString";
2
+ export declare class AffiliationUnit extends AbstractString {
3
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.AffiliationUnit = void 0;
10
+ const ts_serval_1 = require("@js-soft/ts-serval");
11
+ const AbstractString_1 = require("../AbstractString");
12
+ let AffiliationUnit = class AffiliationUnit extends AbstractString_1.AbstractString {
13
+ };
14
+ AffiliationUnit = __decorate([
15
+ (0, ts_serval_1.type)("AffiliationUnit")
16
+ ], AffiliationUnit);
17
+ exports.AffiliationUnit = AffiliationUnit;
18
+ //# sourceMappingURL=AffiliationUnit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AffiliationUnit.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationUnit.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,eAAe,GAA5B,MAAa,eAAgB,SAAQ,+BAAc;CAAG,CAAA;AAAzC,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAA0B;AAAzC,0CAAe"}
@@ -0,0 +1,4 @@
1
+ export * from "./Affiliation";
2
+ export * from "./AffiliationOrganization";
3
+ export * from "./AffiliationRole";
4
+ export * from "./AffiliationUnit";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./Affiliation"), exports);
18
+ __exportStar(require("./AffiliationOrganization"), exports);
19
+ __exportStar(require("./AffiliationRole"), exports);
20
+ __exportStar(require("./AffiliationUnit"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,4DAAyC;AACzC,oDAAiC;AACjC,oDAAiC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DisplayName.js","sourceRoot":"","sources":["../../../../src/attributes/types/identity/DisplayName.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,WAAW,GAAxB,MAAa,WAAY,SAAQ,+BAAc;CAAG,CAAA;AAArC,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CAA0B;AAArC,kCAAW"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileReference.js","sourceRoot":"","sources":["../../../../src/attributes/types/identity/FileReference.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,wCAAkD;AAGlD,IAAa,aAAa,GAA1B,MAAa,aAAc,SAAQ,+BAAqB;CAAG,CAAA;AAA9C,aAAa;IADzB,IAAA,gBAAI,EAAC,eAAe,CAAC;GACT,aAAa,CAAiC;AAA9C,sCAAa"}
@@ -1 +1,2 @@
1
+ export * from "./DisplayName";
1
2
  export * from "./FileReference";
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./DisplayName"), exports);
17
18
  __exportStar(require("./FileReference"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/identity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,kDAA+B"}
@@ -3,12 +3,11 @@ export * from "./AbstractFloat";
3
3
  export * from "./AbstractInteger";
4
4
  export * from "./AbstractString";
5
5
  export * from "./address";
6
- export * from "./AttributeList";
7
- export * from "./AttributeTypeMapping";
6
+ export * from "./affiliation";
8
7
  export * from "./birth";
9
8
  export * from "./communication";
10
9
  export * from "./dates";
11
- export * from "./files";
10
+ export * from "./identity";
12
11
  export * from "./measurements";
13
12
  export * from "./name";
14
13
  export * from "./person";
@@ -19,12 +19,11 @@ __exportStar(require("./AbstractFloat"), exports);
19
19
  __exportStar(require("./AbstractInteger"), exports);
20
20
  __exportStar(require("./AbstractString"), exports);
21
21
  __exportStar(require("./address"), exports);
22
- __exportStar(require("./AttributeList"), exports);
23
- __exportStar(require("./AttributeTypeMapping"), exports);
22
+ __exportStar(require("./affiliation"), exports);
24
23
  __exportStar(require("./birth"), exports);
25
24
  __exportStar(require("./communication"), exports);
26
25
  __exportStar(require("./dates"), exports);
27
- __exportStar(require("./files"), exports);
26
+ __exportStar(require("./identity"), exports);
28
27
  __exportStar(require("./measurements"), exports);
29
28
  __exportStar(require("./name"), exports);
30
29
  __exportStar(require("./person"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,kDAA+B;AAC/B,oDAAiC;AACjC,mDAAgC;AAChC,4CAAyB;AACzB,kDAA+B;AAC/B,yDAAsC;AACtC,0CAAuB;AACvB,kDAA+B;AAC/B,0CAAuB;AACvB,0CAAuB;AACvB,iDAA8B;AAC9B,yCAAsB;AACtB,2CAAwB;AACxB,gDAA6B;AAC7B,4CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,kDAA+B;AAC/B,oDAAiC;AACjC,mDAAgC;AAChC,4CAAyB;AACzB,gDAA6B;AAC7B,0CAAuB;AACvB,kDAA+B;AAC/B,0CAAuB;AACvB,6CAA0B;AAC1B,iDAA8B;AAC9B,yCAAsB;AACtB,2CAAwB;AACxB,gDAA6B;AAC7B,4CAAyB"}
@@ -0,0 +1,3 @@
1
+ import { AbstractString } from "../AbstractString";
2
+ export declare class MiddleName extends AbstractString {
3
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.MiddleName = void 0;
10
+ const ts_serval_1 = require("@js-soft/ts-serval");
11
+ const AbstractString_1 = require("../AbstractString");
12
+ let MiddleName = class MiddleName extends AbstractString_1.AbstractString {
13
+ };
14
+ MiddleName = __decorate([
15
+ (0, ts_serval_1.type)("MiddleName")
16
+ ], MiddleName);
17
+ exports.MiddleName = MiddleName;
18
+ //# sourceMappingURL=MiddleName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MiddleName.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/MiddleName.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,+BAAc;CAAG,CAAA;AAApC,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAA0B;AAApC,gCAAU"}
@@ -1,29 +1,29 @@
1
1
  import { AbstractComplexValue, AbstractComplexValueJSON, IAbstractComplexValue } from "../../AbstractComplexValue";
2
2
  import { RenderHints, ValueHints } from "../../hints";
3
3
  import { AbstractStringJSON, IAbstractString } from "../AbstractString";
4
- import { DisplayName } from "./DisplayName";
5
4
  import { GivenName } from "./GivenName";
6
5
  import { HonorificPrefix } from "./HonorificPrefix";
7
6
  import { HonorificSuffix } from "./HonorificSuffix";
7
+ import { MiddleName } from "./MiddleName";
8
8
  import { Surname } from "./Surname";
9
- export interface SalutationJSON extends AbstractComplexValueJSON {
10
- "@type": "Salutation";
11
- displayName: AbstractStringJSON;
12
- givenNames?: AbstractStringJSON[];
13
- surname?: AbstractStringJSON;
9
+ export interface PersonNameJSON extends AbstractComplexValueJSON {
10
+ "@type": "PersonName";
11
+ givenName: AbstractStringJSON;
12
+ middleName?: AbstractStringJSON;
13
+ surname: AbstractStringJSON;
14
14
  honorificSuffix?: AbstractStringJSON;
15
15
  honorificPrefix?: AbstractStringJSON;
16
16
  }
17
- export interface ISalutation extends IAbstractComplexValue {
18
- displayName: DisplayName | IAbstractString | string;
19
- givenNames?: GivenName[] | IAbstractString[] | string[];
20
- surname?: Surname | IAbstractString | string;
17
+ export interface IPersonName extends IAbstractComplexValue {
18
+ givenName: GivenName | IAbstractString | string;
19
+ middleName?: MiddleName | IAbstractString | string;
20
+ surname: Surname | IAbstractString | string;
21
21
  honorificSuffix?: HonorificSuffix | IAbstractString | string;
22
22
  honorificPrefix?: HonorificPrefix | IAbstractString | string;
23
23
  }
24
- export declare class Salutation extends AbstractComplexValue implements ISalutation {
24
+ export declare class PersonName extends AbstractComplexValue implements IPersonName {
25
25
  static readonly propertyNames: {
26
- displayName: {
26
+ givenName: {
27
27
  value: import("easy-tsnameof").PathHandlers<{
28
28
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
29
29
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -301,7 +301,7 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
301
301
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
302
302
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
303
303
  }>;
304
- givenNames: ({
304
+ middleName: {
305
305
  value: import("easy-tsnameof").PathHandlers<{
306
306
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
307
307
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -578,12 +578,6 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
578
578
  toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
579
579
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
580
580
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
581
- }>)[] & import("easy-tsnameof").PathHandlers<{
582
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
583
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
584
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
585
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
586
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
587
581
  }>;
588
582
  surname: {
589
583
  value: import("easy-tsnameof").PathHandlers<{
@@ -1689,13 +1683,13 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
1689
1683
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
1690
1684
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
1691
1685
  }>;
1692
- displayName: DisplayName;
1693
- givenNames?: GivenName[];
1694
- surname?: Surname;
1686
+ givenName: GivenName;
1687
+ middleName?: MiddleName;
1688
+ surname: Surname;
1695
1689
  honorificSuffix?: HonorificSuffix;
1696
1690
  honorificPrefix?: HonorificPrefix;
1697
1691
  static get valueHints(): ValueHints;
1698
1692
  static get renderHints(): RenderHints;
1699
- static from(value: ISalutation | SalutationJSON): Salutation;
1693
+ static from(value: IPersonName | PersonNameJSON): PersonName;
1700
1694
  toString(): string;
1701
1695
  }
@@ -12,23 +12,23 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
12
12
  return (mod && mod.__esModule) ? mod : { "default": mod };
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.Salutation = void 0;
15
+ exports.PersonName = void 0;
16
16
  const ts_serval_1 = require("@js-soft/ts-serval");
17
17
  const easy_tsnameof_1 = __importDefault(require("easy-tsnameof"));
18
18
  const AbstractAttributeValue_1 = require("../../AbstractAttributeValue");
19
19
  const AbstractComplexValue_1 = require("../../AbstractComplexValue");
20
20
  const hints_1 = require("../../hints");
21
- const DisplayName_1 = require("./DisplayName");
22
21
  const GivenName_1 = require("./GivenName");
23
22
  const HonorificPrefix_1 = require("./HonorificPrefix");
24
23
  const HonorificSuffix_1 = require("./HonorificSuffix");
24
+ const MiddleName_1 = require("./MiddleName");
25
25
  const Surname_1 = require("./Surname");
26
- let Salutation = class Salutation extends AbstractComplexValue_1.AbstractComplexValue {
26
+ let PersonName = class PersonName extends AbstractComplexValue_1.AbstractComplexValue {
27
27
  static get valueHints() {
28
28
  return hints_1.ValueHints.from({
29
29
  propertyHints: {
30
- [this.propertyNames.displayName.$path]: DisplayName_1.DisplayName.valueHints,
31
- [this.propertyNames.givenNames.$path]: GivenName_1.GivenName.valueHints,
30
+ [this.propertyNames.givenName.$path]: GivenName_1.GivenName.valueHints,
31
+ [this.propertyNames.middleName.$path]: MiddleName_1.MiddleName.valueHints,
32
32
  [this.propertyNames.surname.$path]: Surname_1.Surname.valueHints,
33
33
  [this.propertyNames.honorificSuffix.$path]: HonorificSuffix_1.HonorificSuffix.valueHints,
34
34
  [this.propertyNames.honorificPrefix.$path]: HonorificPrefix_1.HonorificPrefix.valueHints
@@ -38,8 +38,8 @@ let Salutation = class Salutation extends AbstractComplexValue_1.AbstractComplex
38
38
  static get renderHints() {
39
39
  return super.renderHints.copyWith({
40
40
  propertyHints: {
41
- [this.propertyNames.displayName.$path]: DisplayName_1.DisplayName.renderHints,
42
- [this.propertyNames.givenNames.$path]: GivenName_1.GivenName.renderHints,
41
+ [this.propertyNames.givenName.$path]: GivenName_1.GivenName.renderHints,
42
+ [this.propertyNames.middleName.$path]: MiddleName_1.MiddleName.renderHints,
43
43
  [this.propertyNames.surname.$path]: Surname_1.Surname.renderHints,
44
44
  [this.propertyNames.honorificSuffix.$path]: HonorificSuffix_1.HonorificSuffix.renderHints,
45
45
  [this.propertyNames.honorificPrefix.$path]: HonorificPrefix_1.HonorificPrefix.renderHints
@@ -50,37 +50,46 @@ let Salutation = class Salutation extends AbstractComplexValue_1.AbstractComplex
50
50
  return this.fromAny(value);
51
51
  }
52
52
  toString() {
53
- return this.displayName.toString();
53
+ const names = [];
54
+ if (this.honorificPrefix)
55
+ names.push(this.honorificPrefix.value);
56
+ names.push(this.givenName.value);
57
+ if (this.middleName)
58
+ names.push(this.middleName.value);
59
+ names.push(this.surname.value);
60
+ if (this.honorificSuffix)
61
+ names.push(this.honorificSuffix.value);
62
+ return names.join(" ");
54
63
  }
55
64
  };
56
- Salutation.propertyNames = (0, easy_tsnameof_1.default)();
65
+ PersonName.propertyNames = (0, easy_tsnameof_1.default)();
57
66
  __decorate([
58
67
  (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
59
68
  (0, ts_serval_1.validate)(),
60
- __metadata("design:type", DisplayName_1.DisplayName)
61
- ], Salutation.prototype, "displayName", void 0);
69
+ __metadata("design:type", GivenName_1.GivenName)
70
+ ], PersonName.prototype, "givenName", void 0);
62
71
  __decorate([
63
- (0, ts_serval_1.serialize)({ type: GivenName_1.GivenName, customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueArrayGenerator }),
72
+ (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
64
73
  (0, ts_serval_1.validate)({ nullable: true }),
65
- __metadata("design:type", Array)
66
- ], Salutation.prototype, "givenNames", void 0);
74
+ __metadata("design:type", MiddleName_1.MiddleName)
75
+ ], PersonName.prototype, "middleName", void 0);
67
76
  __decorate([
68
77
  (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
69
- (0, ts_serval_1.validate)({ nullable: true }),
78
+ (0, ts_serval_1.validate)(),
70
79
  __metadata("design:type", Surname_1.Surname)
71
- ], Salutation.prototype, "surname", void 0);
80
+ ], PersonName.prototype, "surname", void 0);
72
81
  __decorate([
73
82
  (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
74
83
  (0, ts_serval_1.validate)({ nullable: true }),
75
84
  __metadata("design:type", HonorificSuffix_1.HonorificSuffix)
76
- ], Salutation.prototype, "honorificSuffix", void 0);
85
+ ], PersonName.prototype, "honorificSuffix", void 0);
77
86
  __decorate([
78
87
  (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
79
88
  (0, ts_serval_1.validate)({ nullable: true }),
80
89
  __metadata("design:type", HonorificPrefix_1.HonorificPrefix)
81
- ], Salutation.prototype, "honorificPrefix", void 0);
82
- Salutation = __decorate([
83
- (0, ts_serval_1.type)("Salutation")
84
- ], Salutation);
85
- exports.Salutation = Salutation;
86
- //# sourceMappingURL=Salutation.js.map
90
+ ], PersonName.prototype, "honorificPrefix", void 0);
91
+ PersonName = __decorate([
92
+ (0, ts_serval_1.type)("PersonName")
93
+ ], PersonName);
94
+ exports.PersonName = PersonName;
95
+ //# sourceMappingURL=PersonName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PersonName.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/PersonName.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,kEAAkC;AAClC,yEAAqE;AACrE,qEAAkH;AAClH,uCAAqD;AAErD,2CAAuC;AACvC,uDAAmD;AACnD,uDAAmD;AACnD,6CAAyC;AACzC,uCAAmC;AAoBnC,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,2CAAoB;IAuBzC,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,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,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACJ,iCAAe;mDAAA;AArB/B,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CA4DtB;AA5DY,gCAAU"}
@@ -1,10 +1,8 @@
1
- export * from "./AbstractLegalName";
2
1
  export * from "./BirthName";
3
- export * from "./DisplayName";
4
2
  export * from "./GivenName";
5
3
  export * from "./HonorificPrefix";
6
4
  export * from "./HonorificSuffix";
7
- export * from "./LegalNameDE";
5
+ export * from "./MiddleName";
6
+ export * from "./PersonName";
8
7
  export * from "./Pseudonym";
9
- export * from "./Salutation";
10
8
  export * from "./Surname";
@@ -14,14 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./AbstractLegalName"), exports);
18
17
  __exportStar(require("./BirthName"), exports);
19
- __exportStar(require("./DisplayName"), exports);
20
18
  __exportStar(require("./GivenName"), exports);
21
19
  __exportStar(require("./HonorificPrefix"), exports);
22
20
  __exportStar(require("./HonorificSuffix"), exports);
23
- __exportStar(require("./LegalNameDE"), exports);
21
+ __exportStar(require("./MiddleName"), exports);
22
+ __exportStar(require("./PersonName"), exports);
24
23
  __exportStar(require("./Pseudonym"), exports);
25
- __exportStar(require("./Salutation"), exports);
26
24
  __exportStar(require("./Surname"), exports);
27
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,8CAA2B;AAC3B,gDAA6B;AAC7B,8CAA2B;AAC3B,oDAAiC;AACjC,oDAAiC;AACjC,gDAA6B;AAC7B,8CAA2B;AAC3B,+CAA4B;AAC5B,4CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,8CAA2B;AAC3B,oDAAiC;AACjC,oDAAiC;AACjC,+CAA4B;AAC5B,+CAA4B;AAC5B,8CAA2B;AAC3B,4CAAyB"}
@@ -0,0 +1,3 @@
1
+ import { AbstractString } from "../AbstractString";
2
+ export declare class JobTitle extends AbstractString {
3
+ }
@@ -6,13 +6,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.Picture = void 0;
9
+ exports.JobTitle = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
- const AbstractDataURL_1 = require("../strings/AbstractDataURL");
12
- let Picture = class Picture extends AbstractDataURL_1.AbstractDataURL {
11
+ const AbstractString_1 = require("../AbstractString");
12
+ let JobTitle = class JobTitle extends AbstractString_1.AbstractString {
13
13
  };
14
- Picture = __decorate([
15
- (0, ts_serval_1.type)("Picture")
16
- ], Picture);
17
- exports.Picture = Picture;
18
- //# sourceMappingURL=Picture.js.map
14
+ JobTitle = __decorate([
15
+ (0, ts_serval_1.type)("JobTitle")
16
+ ], JobTitle);
17
+ exports.JobTitle = JobTitle;
18
+ //# sourceMappingURL=JobTitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JobTitle.js","sourceRoot":"","sources":["../../../../src/attributes/types/person/JobTitle.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,QAAQ,GAArB,MAAa,QAAS,SAAQ,+BAAc;CAAG,CAAA;AAAlC,QAAQ;IADpB,IAAA,gBAAI,EAAC,UAAU,CAAC;GACJ,QAAQ,CAA0B;AAAlC,4BAAQ"}
@@ -4,9 +4,9 @@ import { AbstractString } from "../AbstractString";
4
4
  * Biologisches Geschlecht
5
5
  */
6
6
  export declare enum BiologicalSex {
7
- M = "male",
7
+ X = "intersex",
8
8
  F = "female",
9
- X = "intersex"
9
+ M = "male"
10
10
  }
11
11
  export declare class Sex extends AbstractString {
12
12
  value: BiologicalSex;
@@ -18,9 +18,9 @@ const AbstractString_1 = require("../AbstractString");
18
18
  */
19
19
  var BiologicalSex;
20
20
  (function (BiologicalSex) {
21
- BiologicalSex["M"] = "male";
22
- BiologicalSex["F"] = "female";
23
21
  BiologicalSex["X"] = "intersex";
22
+ BiologicalSex["F"] = "female";
23
+ BiologicalSex["M"] = "male";
24
24
  })(BiologicalSex = exports.BiologicalSex || (exports.BiologicalSex = {}));
25
25
  let Sex = class Sex extends AbstractString_1.AbstractString {
26
26
  static get valueHints() {
@@ -1 +1 @@
1
- {"version":3,"file":"Sex.js","sourceRoot":"","sources":["../../../../src/attributes/types/person/Sex.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,qDAAyG;AACzG,sDAAkD;AAElD;;GAEG;AACH,IAAY,aAIX;AAJD,WAAY,aAAa;IACrB,2BAAU,CAAA;IACV,6BAAY,CAAA;IACZ,+BAAc,CAAA;AAClB,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB;AAGD,IAAa,GAAG,GAAhB,MAAa,GAAI,SAAQ,+BAAc;IAQ5B,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAC/C,uBAAe,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,gCAAgC,KAAK,EAAE,EAAE,CAAC,CAC7F;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BA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ACN,CAAC;CACJ,CAAA;AAfG;IALC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;KAChH,CAAC;;kCACkC;AAN3B,GAAG;IADf,IAAA,gBAAI,EAAC,KAAK,CAAC;GACC,GAAG,CAqBf;AArBY,kBAAG"}
@@ -1,5 +1,4 @@
1
- export * from "./Age";
2
1
  export * from "./Citizenship";
2
+ export * from "./JobTitle";
3
3
  export * from "./Nationality";
4
- export * from "./Picture";
5
4
  export * from "./Sex";