@nmshd/content 2.0.0-beta.27 → 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.
- package/dist/attributes/constants/AttributeValueTypeQueryMapping.d.ts +1 -0
- package/dist/attributes/constants/AttributeValueTypeQueryMapping.js +7 -0
- package/dist/attributes/constants/AttributeValueTypeQueryMapping.js.map +1 -0
- package/dist/attributes/constants/AttributeValueTypes.d.ts +4 -0
- package/dist/attributes/constants/AttributeValueTypes.js +58 -0
- package/dist/attributes/constants/AttributeValueTypes.js.map +1 -0
- package/dist/attributes/constants/index.d.ts +2 -0
- package/dist/attributes/constants/index.js +2 -0
- package/dist/attributes/constants/index.js.map +1 -1
- package/dist/attributes/types/AbstractString.js +2 -2
- package/dist/attributes/types/{name/LegalNameDE.d.ts → affiliation/Affiliation.d.ts} +21 -591
- package/dist/attributes/types/affiliation/Affiliation.js +77 -0
- package/dist/attributes/types/affiliation/Affiliation.js.map +1 -0
- package/dist/attributes/types/affiliation/AffiliationOrganization.d.ts +3 -0
- package/dist/attributes/types/affiliation/AffiliationOrganization.js +18 -0
- package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -0
- package/dist/attributes/types/affiliation/AffiliationRole.d.ts +3 -0
- package/dist/attributes/types/affiliation/AffiliationRole.js +18 -0
- package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -0
- package/dist/attributes/types/affiliation/AffiliationUnit.d.ts +3 -0
- package/dist/attributes/types/affiliation/AffiliationUnit.js +18 -0
- package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -0
- package/dist/attributes/types/affiliation/index.d.ts +4 -0
- package/dist/attributes/types/affiliation/index.js +21 -0
- package/dist/attributes/types/affiliation/index.js.map +1 -0
- package/dist/attributes/types/{name → identity}/DisplayName.d.ts +0 -0
- package/dist/attributes/types/{name → identity}/DisplayName.js +0 -0
- package/dist/attributes/types/identity/DisplayName.js.map +1 -0
- package/dist/attributes/types/{files → identity}/FileReference.d.ts +0 -0
- package/dist/attributes/types/{files → identity}/FileReference.js +0 -0
- package/dist/attributes/types/identity/FileReference.js.map +1 -0
- package/dist/attributes/types/{files → identity}/index.d.ts +1 -0
- package/dist/attributes/types/{files → identity}/index.js +1 -0
- package/dist/attributes/types/identity/index.js.map +1 -0
- package/dist/attributes/types/index.d.ts +2 -3
- package/dist/attributes/types/index.js +2 -3
- package/dist/attributes/types/index.js.map +1 -1
- package/dist/attributes/types/name/MiddleName.d.ts +3 -0
- package/dist/attributes/types/name/MiddleName.js +18 -0
- package/dist/attributes/types/name/MiddleName.js.map +1 -0
- package/dist/attributes/types/name/{Salutation.d.ts → PersonName.d.ts} +17 -23
- package/dist/attributes/types/name/{Salutation.js → PersonName.js} +32 -23
- package/dist/attributes/types/name/PersonName.js.map +1 -0
- package/dist/attributes/types/name/index.d.ts +2 -4
- package/dist/attributes/types/name/index.js +2 -4
- package/dist/attributes/types/name/index.js.map +1 -1
- package/dist/attributes/types/person/JobTitle.d.ts +3 -0
- package/dist/attributes/types/person/{Picture.js → JobTitle.js} +8 -8
- package/dist/attributes/types/person/JobTitle.js.map +1 -0
- package/dist/attributes/types/person/Sex.d.ts +2 -2
- package/dist/attributes/types/person/Sex.js +2 -2
- package/dist/attributes/types/person/Sex.js.map +1 -1
- package/dist/attributes/types/person/index.d.ts +1 -2
- package/dist/attributes/types/person/index.js +1 -2
- package/dist/attributes/types/person/index.js.map +1 -1
- package/dist/attributes/types/proprietary/index.d.ts +0 -1
- package/dist/attributes/types/proprietary/index.js +0 -1
- package/dist/attributes/types/proprietary/index.js.map +1 -1
- package/dist/attributes/types/strings/AbstractEMailAddress.js +2 -2
- package/dist/attributes/types/strings/index.d.ts +0 -1
- package/dist/attributes/types/strings/index.js +0 -1
- package/dist/attributes/types/strings/index.js.map +1 -1
- package/dist/buildInformation.js +4 -4
- package/lib-web/nmshd.content.js +435 -436
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +10 -10
- package/dist/attributes/types/AttributeList.d.ts +0 -1
- package/dist/attributes/types/AttributeList.js +0 -37
- package/dist/attributes/types/AttributeList.js.map +0 -1
- package/dist/attributes/types/AttributeTypeMapping.d.ts +0 -1
- package/dist/attributes/types/AttributeTypeMapping.js +0 -9
- package/dist/attributes/types/AttributeTypeMapping.js.map +0 -1
- package/dist/attributes/types/files/FileReference.js.map +0 -1
- package/dist/attributes/types/files/index.js.map +0 -1
- package/dist/attributes/types/name/AbstractLegalName.d.ts +0 -3
- package/dist/attributes/types/name/AbstractLegalName.js +0 -8
- package/dist/attributes/types/name/AbstractLegalName.js.map +0 -1
- package/dist/attributes/types/name/DisplayName.js.map +0 -1
- package/dist/attributes/types/name/LegalNameDE.js +0 -92
- package/dist/attributes/types/name/LegalNameDE.js.map +0 -1
- package/dist/attributes/types/name/Salutation.js.map +0 -1
- package/dist/attributes/types/person/Age.d.ts +0 -6
- package/dist/attributes/types/person/Age.js +0 -34
- package/dist/attributes/types/person/Age.js.map +0 -1
- package/dist/attributes/types/person/Picture.d.ts +0 -3
- package/dist/attributes/types/person/Picture.js.map +0 -1
- package/dist/attributes/types/proprietary/ProprietaryDataURL.d.ts +0 -15
- package/dist/attributes/types/proprietary/ProprietaryDataURL.js +0 -31
- package/dist/attributes/types/proprietary/ProprietaryDataURL.js.map +0 -1
- package/dist/attributes/types/strings/AbstractDataURL.d.ts +0 -7
- package/dist/attributes/types/strings/AbstractDataURL.js +0 -40
- package/dist/attributes/types/strings/AbstractDataURL.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ATTRIBUTE_VALUE_TYPE_QUERY_MAPPING: Map<string, string[]>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ATTRIBUTE_VALUE_TYPE_QUERY_MAPPING = void 0;
|
|
4
|
+
exports.ATTRIBUTE_VALUE_TYPE_QUERY_MAPPING = new Map([
|
|
5
|
+
["Address", ["StreetAddress", "DeliveryBoxAddress", "PostOfficeBoxAddress"]]
|
|
6
|
+
]);
|
|
7
|
+
//# sourceMappingURL=AttributeValueTypeQueryMapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeValueTypeQueryMapping.js","sourceRoot":"","sources":["../../../src/attributes/constants/AttributeValueTypeQueryMapping.ts"],"names":[],"mappings":";;;AAAa,QAAA,kCAAkC,GAAG,IAAI,GAAG,CAAmB;IACxE,CAAC,SAAS,EAAE,CAAC,eAAe,EAAE,oBAAoB,EAAE,sBAAsB,CAAC,CAAC;CAC/E,CAAC,CAAA"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ATTRIBUTE_VALUE_TYPES = exports.RELATIONSHIP_ATTRIBUTE_VALUE_TYPES = exports.IDENTITY_ATTRIBUTE_VALUE_TYPES = exports.IDENTITY_ATTRIBUTE_VALUE_TYPES_EDITABLE = void 0;
|
|
4
|
+
exports.IDENTITY_ATTRIBUTE_VALUE_TYPES_EDITABLE = [
|
|
5
|
+
"DeliveryBoxAddress",
|
|
6
|
+
"PostOfficeBoxAddress",
|
|
7
|
+
"StreetAddress",
|
|
8
|
+
"Affiliation",
|
|
9
|
+
"BirthPlace",
|
|
10
|
+
"BirthDate",
|
|
11
|
+
"CommunicationLanguage",
|
|
12
|
+
"EMailAddress",
|
|
13
|
+
"Fax",
|
|
14
|
+
"Phone",
|
|
15
|
+
"Website",
|
|
16
|
+
"DisplayName",
|
|
17
|
+
"FileReference",
|
|
18
|
+
"BirthName",
|
|
19
|
+
"PersonName",
|
|
20
|
+
"Pseudonym",
|
|
21
|
+
"Citizenship",
|
|
22
|
+
"JobTitle",
|
|
23
|
+
"Nationality",
|
|
24
|
+
"Sex"
|
|
25
|
+
];
|
|
26
|
+
exports.IDENTITY_ATTRIBUTE_VALUE_TYPES = [
|
|
27
|
+
...exports.IDENTITY_ATTRIBUTE_VALUE_TYPES_EDITABLE,
|
|
28
|
+
"City",
|
|
29
|
+
"Country",
|
|
30
|
+
"HouseNumber",
|
|
31
|
+
"State",
|
|
32
|
+
"Street",
|
|
33
|
+
"ZipCode",
|
|
34
|
+
"AffiliationOrganization",
|
|
35
|
+
"AffiliationRole",
|
|
36
|
+
"AffiliationUnit",
|
|
37
|
+
"BirthCity",
|
|
38
|
+
"BirthCountry",
|
|
39
|
+
"BirthDay",
|
|
40
|
+
"BirthMonth",
|
|
41
|
+
"BirthState",
|
|
42
|
+
"BirthYear"
|
|
43
|
+
];
|
|
44
|
+
exports.RELATIONSHIP_ATTRIBUTE_VALUE_TYPES = [
|
|
45
|
+
"ProprietaryBoolean",
|
|
46
|
+
"ProprietaryCountry",
|
|
47
|
+
"ProprietaryEMailAddress",
|
|
48
|
+
"ProprietaryFileReference",
|
|
49
|
+
"ProprietaryFloat",
|
|
50
|
+
"ProprietaryHEXColor",
|
|
51
|
+
"ProprietaryInteger",
|
|
52
|
+
"ProprietaryLanguage",
|
|
53
|
+
"ProprietaryPhoneNumber",
|
|
54
|
+
"ProprietaryString",
|
|
55
|
+
"ProprietaryURL"
|
|
56
|
+
];
|
|
57
|
+
exports.ATTRIBUTE_VALUE_TYPES = [...exports.IDENTITY_ATTRIBUTE_VALUE_TYPES, ...exports.RELATIONSHIP_ATTRIBUTE_VALUE_TYPES];
|
|
58
|
+
//# sourceMappingURL=AttributeValueTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeValueTypes.js","sourceRoot":"","sources":["../../../src/attributes/constants/AttributeValueTypes.ts"],"names":[],"mappings":";;;AAAa,QAAA,uCAAuC,GAAG;IACnD,oBAAoB;IACpB,sBAAsB;IACtB,eAAe;IACf,aAAa;IACb,YAAY;IACZ,WAAW;IACX,uBAAuB;IACvB,cAAc;IACd,KAAK;IACL,OAAO;IACP,SAAS;IACT,aAAa;IACb,eAAe;IACf,WAAW;IACX,YAAY;IACZ,WAAW;IACX,aAAa;IACb,UAAU;IACV,aAAa;IACb,KAAK;CACR,CAAA;AACY,QAAA,8BAA8B,GAAG;IAC1C,GAAG,+CAAuC;IAC1C,MAAM;IACN,SAAS;IACT,aAAa;IACb,OAAO;IACP,QAAQ;IACR,SAAS;IACT,yBAAyB;IACzB,iBAAiB;IACjB,iBAAiB;IACjB,WAAW;IACX,cAAc;IACd,UAAU;IACV,YAAY;IACZ,YAAY;IACZ,WAAW;CACd,CAAA;AAEY,QAAA,kCAAkC,GAAG;IAC9C,oBAAoB;IACpB,oBAAoB;IACpB,yBAAyB;IACzB,0BAA0B;IAC1B,kBAAkB;IAClB,qBAAqB;IACrB,oBAAoB;IACpB,qBAAqB;IACrB,wBAAwB;IACxB,mBAAmB;IACnB,gBAAgB;CACnB,CAAA;AAEY,QAAA,qBAAqB,GAAG,CAAC,GAAG,sCAA8B,EAAE,GAAG,0CAAkC,CAAC,CAAA"}
|
|
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./AttributeValueTypeQueryMapping"), exports);
|
|
18
|
+
__exportStar(require("./AttributeValueTypes"), exports);
|
|
17
19
|
__exportStar(require("./CountriesAlpha2"), exports);
|
|
18
20
|
__exportStar(require("./LanguagesISO639"), exports);
|
|
19
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,oDAAiC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAgD;AAChD,wDAAqC;AACrC,oDAAiC;AACjC,oDAAiC"}
|
|
@@ -24,7 +24,7 @@ class AbstractString extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
24
24
|
}
|
|
25
25
|
static get valueHints() {
|
|
26
26
|
return hints_1.ValueHints.from({
|
|
27
|
-
max:
|
|
27
|
+
max: 100
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
static get renderHints() {
|
|
@@ -36,7 +36,7 @@ class AbstractString extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
36
36
|
}
|
|
37
37
|
__decorate([
|
|
38
38
|
(0, ts_serval_1.serialize)(),
|
|
39
|
-
(0, ts_serval_1.validate)({ max:
|
|
39
|
+
(0, ts_serval_1.validate)({ max: 100 }),
|
|
40
40
|
__metadata("design:type", String)
|
|
41
41
|
], AbstractString.prototype, "value", void 0);
|
|
42
42
|
exports.AbstractString = AbstractString;
|