@nmshd/content 2.3.7 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/attributes/AttributeValueTypes.d.ts +13 -13
- package/dist/attributes/AttributeValueTypes.js +4 -0
- package/dist/attributes/AttributeValueTypes.js.map +1 -1
- package/dist/attributes/hints/RenderHintsDataType.d.ts +3 -1
- package/dist/attributes/hints/RenderHintsDataType.js +2 -0
- package/dist/attributes/hints/RenderHintsDataType.js.map +1 -1
- package/dist/attributes/types/identity/SchematizedXML.d.ts +12 -0
- package/dist/attributes/types/identity/SchematizedXML.js +36 -0
- package/dist/attributes/types/identity/SchematizedXML.js.map +1 -0
- package/dist/attributes/types/identity/index.d.ts +1 -0
- package/dist/attributes/types/identity/index.js +1 -0
- package/dist/attributes/types/identity/index.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryJSON.js +1 -1
- package/dist/attributes/types/proprietary/ProprietaryXML.d.ts +18 -0
- package/dist/attributes/types/proprietary/ProprietaryXML.js +56 -0
- package/dist/attributes/types/proprietary/ProprietaryXML.js.map +1 -0
- package/dist/attributes/types/proprietary/index.d.ts +1 -0
- package/dist/attributes/types/proprietary/index.js +1 -0
- package/dist/attributes/types/proprietary/index.js.map +1 -1
- package/dist/attributes/types/strings/AbstractXML.d.ts +7 -0
- package/dist/attributes/types/strings/AbstractXML.js +35 -0
- package/dist/attributes/types/strings/AbstractXML.js.map +1 -0
- package/dist/attributes/types/strings/index.d.ts +1 -0
- package/dist/attributes/types/strings/index.js +1 -0
- package/dist/attributes/types/strings/index.js.map +1 -1
- package/dist/buildInformation.js +4 -4
- package/lib-web/nmshd.content.js +168 -5
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Affiliation, AffiliationJSON, AffiliationOrganization, AffiliationOrganizationJSON, AffiliationRole, AffiliationRoleJSON, AffiliationUnit, AffiliationUnitJSON, BirthCity, BirthCityJSON, BirthCountry, BirthCountryJSON, BirthDate, BirthDateJSON, BirthDay, BirthDayJSON, BirthMonth, BirthMonthJSON, BirthName, BirthNameJSON, BirthPlace, BirthPlaceJSON, BirthState, BirthStateJSON, BirthYear, BirthYearJSON, Citizenship, CitizenshipJSON, City, CityJSON, CommunicationLanguage, CommunicationLanguageJSON, Consent, ConsentJSON, Country, CountryJSON, DeliveryBoxAddress, DeliveryBoxAddressJSON, DisplayName, DisplayNameJSON, EMailAddress, EMailAddressJSON, FaxNumber, FaxNumberJSON, FileReference, FileReferenceJSON, GivenName, GivenNameJSON, HonorificPrefix, HonorificPrefixJSON, HonorificSuffix, HonorificSuffixJSON, HouseNumber, HouseNumberJSON, IAffiliation, IAffiliationOrganization, IAffiliationRole, IAffiliationUnit, IBirthCity, IBirthCountry, IBirthDate, IBirthDay, IBirthMonth, IBirthName, IBirthPlace, IBirthState, IBirthYear, ICitizenship, ICity, ICommunicationLanguage, IConsent, ICountry, IDeliveryBoxAddress, IDisplayName, IEMailAddress, IFaxNumber, IFileReference, IGivenName, IHonorificPrefix, IHonorificSuffix, IHouseNumber, IJobTitle, IMiddleName, INationality, IPersonName, IPhoneNumber, IPostOfficeBoxAddress, IProprietaryBoolean, IProprietaryCountry, IProprietaryEMailAddress, IProprietaryFileReference, IProprietaryFloat, IProprietaryHEXColor, IProprietaryInteger, IProprietaryJSON, IProprietaryLanguage, IProprietaryPhoneNumber, IProprietaryString, IProprietaryURL, IPseudonym, ISex, IState, IStreet, IStreetAddress, ISurname, IWebsite, IZipCode, JobTitle, JobTitleJSON, MiddleName, MiddleNameJSON, Nationality, NationalityJSON, PersonName, PersonNameJSON, PhoneNumber, PhoneNumberJSON, PostOfficeBoxAddress, PostOfficeBoxAddressJSON, ProprietaryBoolean, ProprietaryBooleanJSON, ProprietaryCountry, ProprietaryCountryJSON, ProprietaryEMailAddress, ProprietaryEMailAddressJSON, ProprietaryFileReference, ProprietaryFileReferenceJSON, ProprietaryFloat, ProprietaryFloatJSON, ProprietaryHEXColor, ProprietaryHEXColorJSON, ProprietaryInteger, ProprietaryIntegerJSON, ProprietaryJSON, ProprietaryJSONJSON, ProprietaryLanguage, ProprietaryLanguageJSON, ProprietaryPhoneNumber, ProprietaryPhoneNumberJSON, ProprietaryString, ProprietaryStringJSON, ProprietaryURL, ProprietaryURLJSON, Pseudonym, PseudonymJSON, Sex, SexJSON, State, StateJSON, Street, StreetAddress, StreetAddressJSON, StreetJSON, Surname, SurnameJSON, Website, WebsiteJSON, ZipCode, ZipCodeJSON } from "./types";
|
|
1
|
+
import { Affiliation, AffiliationJSON, AffiliationOrganization, AffiliationOrganizationJSON, AffiliationRole, AffiliationRoleJSON, AffiliationUnit, AffiliationUnitJSON, BirthCity, BirthCityJSON, BirthCountry, BirthCountryJSON, BirthDate, BirthDateJSON, BirthDay, BirthDayJSON, BirthMonth, BirthMonthJSON, BirthName, BirthNameJSON, BirthPlace, BirthPlaceJSON, BirthState, BirthStateJSON, BirthYear, BirthYearJSON, Citizenship, CitizenshipJSON, City, CityJSON, CommunicationLanguage, CommunicationLanguageJSON, Consent, ConsentJSON, Country, CountryJSON, DeliveryBoxAddress, DeliveryBoxAddressJSON, DisplayName, DisplayNameJSON, EMailAddress, EMailAddressJSON, FaxNumber, FaxNumberJSON, FileReference, FileReferenceJSON, GivenName, GivenNameJSON, HonorificPrefix, HonorificPrefixJSON, HonorificSuffix, HonorificSuffixJSON, HouseNumber, HouseNumberJSON, IAffiliation, IAffiliationOrganization, IAffiliationRole, IAffiliationUnit, IBirthCity, IBirthCountry, IBirthDate, IBirthDay, IBirthMonth, IBirthName, IBirthPlace, IBirthState, IBirthYear, ICitizenship, ICity, ICommunicationLanguage, IConsent, ICountry, IDeliveryBoxAddress, IDisplayName, IEMailAddress, IFaxNumber, IFileReference, IGivenName, IHonorificPrefix, IHonorificSuffix, IHouseNumber, IJobTitle, IMiddleName, INationality, IPersonName, IPhoneNumber, IPostOfficeBoxAddress, IProprietaryBoolean, IProprietaryCountry, IProprietaryEMailAddress, IProprietaryFileReference, IProprietaryFloat, IProprietaryHEXColor, IProprietaryInteger, IProprietaryJSON, IProprietaryLanguage, IProprietaryPhoneNumber, IProprietaryString, IProprietaryURL, IProprietaryXML, IPseudonym, ISex, IState, IStreet, IStreetAddress, ISurname, IWebsite, IZipCode, JobTitle, JobTitleJSON, MiddleName, MiddleNameJSON, Nationality, NationalityJSON, PersonName, PersonNameJSON, PhoneNumber, PhoneNumberJSON, PostOfficeBoxAddress, PostOfficeBoxAddressJSON, ProprietaryBoolean, ProprietaryBooleanJSON, ProprietaryCountry, ProprietaryCountryJSON, ProprietaryEMailAddress, ProprietaryEMailAddressJSON, ProprietaryFileReference, ProprietaryFileReferenceJSON, ProprietaryFloat, ProprietaryFloatJSON, ProprietaryHEXColor, ProprietaryHEXColorJSON, ProprietaryInteger, ProprietaryIntegerJSON, ProprietaryJSON, ProprietaryJSONJSON, ProprietaryLanguage, ProprietaryLanguageJSON, ProprietaryPhoneNumber, ProprietaryPhoneNumberJSON, ProprietaryString, ProprietaryStringJSON, ProprietaryURL, ProprietaryURLJSON, ProprietaryXML, ProprietaryXMLJSON, Pseudonym, PseudonymJSON, SchematizedXML, SchematizedXMLJSON, Sex, SexJSON, State, StateJSON, Street, StreetAddress, StreetAddressJSON, StreetJSON, Surname, SurnameJSON, Website, WebsiteJSON, ZipCode, ZipCodeJSON } from "./types";
|
|
2
2
|
export declare module AttributeValues {
|
|
3
3
|
module Identity {
|
|
4
4
|
module Editable {
|
|
5
|
-
type Json = AffiliationJSON | BirthDateJSON | BirthNameJSON | BirthPlaceJSON | CitizenshipJSON | CommunicationLanguageJSON | DeliveryBoxAddressJSON | DisplayNameJSON | EMailAddressJSON | FaxNumberJSON | FileReferenceJSON | JobTitleJSON | NationalityJSON | PersonNameJSON | PhoneNumberJSON | PostOfficeBoxAddressJSON | PseudonymJSON | SexJSON | StreetAddressJSON | WebsiteJSON;
|
|
6
|
-
type Interface = IAffiliation | IBirthDate | IBirthName | IBirthPlace | ICitizenship | ICommunicationLanguage | IDeliveryBoxAddress | IDisplayName | IEMailAddress | IFaxNumber | IFileReference | IJobTitle | INationality | IPersonName | IPhoneNumber | IPostOfficeBoxAddress | IPseudonym | ISex | IStreetAddress | IWebsite;
|
|
7
|
-
type Class = Affiliation | BirthDate | BirthName | BirthPlace | Citizenship | CommunicationLanguage | DeliveryBoxAddress | DisplayName | EMailAddress | FaxNumber | FileReference | JobTitle | Nationality | PersonName | PhoneNumber | PostOfficeBoxAddress | Pseudonym | Sex | StreetAddress | Website;
|
|
8
|
-
const CLASSES: (typeof CommunicationLanguage | typeof EMailAddress | typeof FaxNumber | typeof PhoneNumber | typeof Website | typeof DeliveryBoxAddress | typeof PostOfficeBoxAddress | typeof StreetAddress | typeof Affiliation | typeof BirthDate | typeof BirthPlace | typeof DisplayName | typeof FileReference | typeof BirthName | typeof PersonName | typeof Pseudonym | typeof Citizenship | typeof JobTitle | typeof Nationality | typeof Sex)[];
|
|
9
|
-
const TYPE_NAMES: readonly ["Affiliation", "BirthDate", "BirthName", "BirthPlace", "Citizenship", "CommunicationLanguage", "DeliveryBoxAddress", "DisplayName", "EMailAddress", "FaxNumber", "FileReference", "JobTitle", "Nationality", "PersonName", "PhoneNumber", "PostOfficeBoxAddress", "Pseudonym", "Sex", "StreetAddress", "Website"];
|
|
5
|
+
type Json = AffiliationJSON | BirthDateJSON | BirthNameJSON | BirthPlaceJSON | CitizenshipJSON | CommunicationLanguageJSON | DeliveryBoxAddressJSON | DisplayNameJSON | EMailAddressJSON | FaxNumberJSON | FileReferenceJSON | SchematizedXMLJSON | JobTitleJSON | NationalityJSON | PersonNameJSON | PhoneNumberJSON | PostOfficeBoxAddressJSON | PseudonymJSON | SexJSON | StreetAddressJSON | WebsiteJSON;
|
|
6
|
+
type Interface = IAffiliation | IBirthDate | IBirthName | IBirthPlace | ICitizenship | ICommunicationLanguage | IDeliveryBoxAddress | IDisplayName | IEMailAddress | IFaxNumber | IFileReference | SchematizedXML | IJobTitle | INationality | IPersonName | IPhoneNumber | IPostOfficeBoxAddress | IPseudonym | ISex | IStreetAddress | IWebsite;
|
|
7
|
+
type Class = Affiliation | BirthDate | BirthName | BirthPlace | Citizenship | CommunicationLanguage | DeliveryBoxAddress | DisplayName | EMailAddress | FaxNumber | FileReference | SchematizedXML | JobTitle | Nationality | PersonName | PhoneNumber | PostOfficeBoxAddress | Pseudonym | Sex | StreetAddress | Website;
|
|
8
|
+
const CLASSES: (typeof CommunicationLanguage | typeof EMailAddress | typeof FaxNumber | typeof PhoneNumber | typeof Website | typeof DeliveryBoxAddress | typeof PostOfficeBoxAddress | typeof StreetAddress | typeof Affiliation | typeof BirthDate | typeof BirthPlace | typeof DisplayName | typeof FileReference | typeof SchematizedXML | typeof BirthName | typeof PersonName | typeof Pseudonym | typeof Citizenship | typeof JobTitle | typeof Nationality | typeof Sex)[];
|
|
9
|
+
const TYPE_NAMES: readonly ["Affiliation", "BirthDate", "BirthName", "BirthPlace", "Citizenship", "CommunicationLanguage", "DeliveryBoxAddress", "DisplayName", "EMailAddress", "FaxNumber", "FileReference", "SchematizedXML", "JobTitle", "Nationality", "PersonName", "PhoneNumber", "PostOfficeBoxAddress", "Pseudonym", "Sex", "StreetAddress", "Website"];
|
|
10
10
|
const TYPE_NAMES_STRINGIFIED: string;
|
|
11
11
|
type TypeName = (typeof TYPE_NAMES)[number];
|
|
12
12
|
}
|
|
@@ -24,15 +24,15 @@ export declare module AttributeValues {
|
|
|
24
24
|
type Class = Editable.Class | Uneditable.Class;
|
|
25
25
|
const CLASSES: (typeof City | typeof DeliveryBoxAddress | typeof PostOfficeBoxAddress | typeof StreetAddress | typeof Affiliation | typeof BirthDay | typeof BirthMonth | typeof BirthYear | typeof BirthDate | typeof BirthPlace | typeof PersonName)[];
|
|
26
26
|
type TypeName = Editable.TypeName | Uneditable.TypeName;
|
|
27
|
-
const TYPE_NAMES: ("City" | "Country" | "StreetAddress" | "DeliveryBoxAddress" | "PostOfficeBoxAddress" | "CommunicationLanguage" | "EMailAddress" | "FaxNumber" | "PhoneNumber" | "Website" | "State" | "ZipCode" | "HouseNumber" | "Street" | "AffiliationOrganization" | "AffiliationRole" | "AffiliationUnit" | "Affiliation" | "BirthCity" | "BirthCountry" | "BirthDay" | "BirthMonth" | "BirthYear" | "BirthDate" | "BirthState" | "BirthPlace" | "DisplayName" | "FileReference" | "BirthName" | "GivenName" | "HonorificPrefix" | "HonorificSuffix" | "MiddleName" | "Surname" | "PersonName" | "Pseudonym" | "Citizenship" | "JobTitle" | "Nationality" | "Sex")[];
|
|
27
|
+
const TYPE_NAMES: ("City" | "Country" | "StreetAddress" | "DeliveryBoxAddress" | "PostOfficeBoxAddress" | "CommunicationLanguage" | "EMailAddress" | "FaxNumber" | "PhoneNumber" | "Website" | "State" | "ZipCode" | "HouseNumber" | "Street" | "AffiliationOrganization" | "AffiliationRole" | "AffiliationUnit" | "Affiliation" | "BirthCity" | "BirthCountry" | "BirthDay" | "BirthMonth" | "BirthYear" | "BirthDate" | "BirthState" | "BirthPlace" | "DisplayName" | "FileReference" | "SchematizedXML" | "BirthName" | "GivenName" | "HonorificPrefix" | "HonorificSuffix" | "MiddleName" | "Surname" | "PersonName" | "Pseudonym" | "Citizenship" | "JobTitle" | "Nationality" | "Sex")[];
|
|
28
28
|
const TYPE_NAMES_STRINGIFIED: string;
|
|
29
29
|
}
|
|
30
30
|
module Relationship {
|
|
31
|
-
type Json = ProprietaryBooleanJSON | ProprietaryCountryJSON | ProprietaryEMailAddressJSON | ProprietaryFileReferenceJSON | ProprietaryFloatJSON | ProprietaryHEXColorJSON | ProprietaryIntegerJSON | ProprietaryLanguageJSON | ProprietaryPhoneNumberJSON | ProprietaryStringJSON | ProprietaryURLJSON | ProprietaryJSONJSON | ConsentJSON;
|
|
32
|
-
type Interface = IProprietaryBoolean | IProprietaryCountry | IProprietaryEMailAddress | IProprietaryFileReference | IProprietaryFloat | IProprietaryHEXColor | IProprietaryInteger | IProprietaryLanguage | IProprietaryPhoneNumber | IProprietaryString | IProprietaryURL | IProprietaryJSON | IConsent;
|
|
33
|
-
type Class = ProprietaryBoolean | ProprietaryCountry | ProprietaryEMailAddress | ProprietaryFileReference | ProprietaryFloat | ProprietaryHEXColor | ProprietaryInteger | ProprietaryLanguage | ProprietaryPhoneNumber | ProprietaryString | ProprietaryURL | ProprietaryJSON | Consent;
|
|
34
|
-
const CLASSES: (typeof ProprietaryBoolean | typeof ProprietaryCountry | typeof ProprietaryEMailAddress | typeof ProprietaryFileReference | typeof ProprietaryFloat | typeof ProprietaryHEXColor | typeof ProprietaryInteger | typeof ProprietaryJSON | typeof ProprietaryLanguage | typeof ProprietaryPhoneNumber | typeof ProprietaryString | typeof ProprietaryURL | typeof Consent)[];
|
|
35
|
-
const TYPE_NAMES: readonly ["ProprietaryBoolean", "ProprietaryCountry", "ProprietaryEMailAddress", "ProprietaryFileReference", "ProprietaryFloat", "ProprietaryHEXColor", "ProprietaryInteger", "ProprietaryLanguage", "ProprietaryPhoneNumber", "ProprietaryString", "ProprietaryURL", "ProprietaryJSON", "Consent"];
|
|
31
|
+
type Json = ProprietaryBooleanJSON | ProprietaryCountryJSON | ProprietaryEMailAddressJSON | ProprietaryFileReferenceJSON | ProprietaryFloatJSON | ProprietaryHEXColorJSON | ProprietaryIntegerJSON | ProprietaryLanguageJSON | ProprietaryPhoneNumberJSON | ProprietaryStringJSON | ProprietaryURLJSON | ProprietaryJSONJSON | ProprietaryXMLJSON | ConsentJSON;
|
|
32
|
+
type Interface = IProprietaryBoolean | IProprietaryCountry | IProprietaryEMailAddress | IProprietaryFileReference | IProprietaryFloat | IProprietaryHEXColor | IProprietaryInteger | IProprietaryLanguage | IProprietaryPhoneNumber | IProprietaryString | IProprietaryURL | IProprietaryJSON | IProprietaryXML | IConsent;
|
|
33
|
+
type Class = ProprietaryBoolean | ProprietaryCountry | ProprietaryEMailAddress | ProprietaryFileReference | ProprietaryFloat | ProprietaryHEXColor | ProprietaryInteger | ProprietaryLanguage | ProprietaryPhoneNumber | ProprietaryString | ProprietaryURL | ProprietaryJSON | ProprietaryXML | Consent;
|
|
34
|
+
const CLASSES: (typeof ProprietaryBoolean | typeof ProprietaryCountry | typeof ProprietaryEMailAddress | typeof ProprietaryFileReference | typeof ProprietaryFloat | typeof ProprietaryHEXColor | typeof ProprietaryInteger | typeof ProprietaryJSON | typeof ProprietaryLanguage | typeof ProprietaryPhoneNumber | typeof ProprietaryString | typeof ProprietaryURL | typeof ProprietaryXML | typeof Consent)[];
|
|
35
|
+
const TYPE_NAMES: readonly ["ProprietaryBoolean", "ProprietaryCountry", "ProprietaryEMailAddress", "ProprietaryFileReference", "ProprietaryFloat", "ProprietaryHEXColor", "ProprietaryInteger", "ProprietaryLanguage", "ProprietaryPhoneNumber", "ProprietaryString", "ProprietaryURL", "ProprietaryJSON", "ProprietaryXML", "Consent"];
|
|
36
36
|
const TYPE_NAMES_STRINGIFIED: string;
|
|
37
37
|
type TypeName = (typeof TYPE_NAMES)[number];
|
|
38
38
|
}
|
|
@@ -41,6 +41,6 @@ export declare module AttributeValues {
|
|
|
41
41
|
type Class = Identity.Class | Relationship.Class;
|
|
42
42
|
const CLASSES: (typeof City | typeof DeliveryBoxAddress | typeof PostOfficeBoxAddress | typeof StreetAddress | typeof Affiliation | typeof BirthDay | typeof BirthMonth | typeof BirthYear | typeof BirthDate | typeof BirthPlace | typeof PersonName | typeof ProprietaryBoolean | typeof ProprietaryFloat | typeof ProprietaryInteger | typeof ProprietaryJSON | typeof Consent)[];
|
|
43
43
|
type TypeName = Identity.TypeName | Relationship.TypeName;
|
|
44
|
-
const TYPE_NAMES: ("City" | "Country" | "StreetAddress" | "DeliveryBoxAddress" | "PostOfficeBoxAddress" | "CommunicationLanguage" | "EMailAddress" | "FaxNumber" | "PhoneNumber" | "Website" | "State" | "ZipCode" | "HouseNumber" | "Street" | "AffiliationOrganization" | "AffiliationRole" | "AffiliationUnit" | "Affiliation" | "BirthCity" | "BirthCountry" | "BirthDay" | "BirthMonth" | "BirthYear" | "BirthDate" | "BirthState" | "BirthPlace" | "DisplayName" | "FileReference" | "BirthName" | "GivenName" | "HonorificPrefix" | "HonorificSuffix" | "MiddleName" | "Surname" | "PersonName" | "Pseudonym" | "Citizenship" | "JobTitle" | "Nationality" | "Sex" | "ProprietaryBoolean" | "ProprietaryCountry" | "ProprietaryEMailAddress" | "ProprietaryFileReference" | "ProprietaryFloat" | "ProprietaryHEXColor" | "ProprietaryInteger" | "ProprietaryJSON" | "ProprietaryLanguage" | "ProprietaryPhoneNumber" | "ProprietaryString" | "ProprietaryURL" | "Consent")[];
|
|
44
|
+
const TYPE_NAMES: ("City" | "Country" | "StreetAddress" | "DeliveryBoxAddress" | "PostOfficeBoxAddress" | "CommunicationLanguage" | "EMailAddress" | "FaxNumber" | "PhoneNumber" | "Website" | "State" | "ZipCode" | "HouseNumber" | "Street" | "AffiliationOrganization" | "AffiliationRole" | "AffiliationUnit" | "Affiliation" | "BirthCity" | "BirthCountry" | "BirthDay" | "BirthMonth" | "BirthYear" | "BirthDate" | "BirthState" | "BirthPlace" | "DisplayName" | "FileReference" | "SchematizedXML" | "BirthName" | "GivenName" | "HonorificPrefix" | "HonorificSuffix" | "MiddleName" | "Surname" | "PersonName" | "Pseudonym" | "Citizenship" | "JobTitle" | "Nationality" | "Sex" | "ProprietaryBoolean" | "ProprietaryCountry" | "ProprietaryEMailAddress" | "ProprietaryFileReference" | "ProprietaryFloat" | "ProprietaryHEXColor" | "ProprietaryInteger" | "ProprietaryJSON" | "ProprietaryLanguage" | "ProprietaryPhoneNumber" | "ProprietaryString" | "ProprietaryURL" | "ProprietaryXML" | "Consent")[];
|
|
45
45
|
const TYPE_NAMES_STRINGIFIED: string;
|
|
46
46
|
}
|
|
@@ -21,6 +21,7 @@ var AttributeValues;
|
|
|
21
21
|
types_1.EMailAddress,
|
|
22
22
|
types_1.FaxNumber,
|
|
23
23
|
types_1.FileReference,
|
|
24
|
+
types_1.SchematizedXML,
|
|
24
25
|
types_1.JobTitle,
|
|
25
26
|
types_1.Nationality,
|
|
26
27
|
types_1.PersonName,
|
|
@@ -43,6 +44,7 @@ var AttributeValues;
|
|
|
43
44
|
"EMailAddress",
|
|
44
45
|
"FaxNumber",
|
|
45
46
|
"FileReference",
|
|
47
|
+
"SchematizedXML",
|
|
46
48
|
"JobTitle",
|
|
47
49
|
"Nationality",
|
|
48
50
|
"PersonName",
|
|
@@ -122,6 +124,7 @@ var AttributeValues;
|
|
|
122
124
|
types_1.ProprietaryString,
|
|
123
125
|
types_1.ProprietaryURL,
|
|
124
126
|
types_1.ProprietaryJSON,
|
|
127
|
+
types_1.ProprietaryXML,
|
|
125
128
|
types_1.Consent
|
|
126
129
|
];
|
|
127
130
|
Relationship.TYPE_NAMES = [
|
|
@@ -137,6 +140,7 @@ var AttributeValues;
|
|
|
137
140
|
"ProprietaryString",
|
|
138
141
|
"ProprietaryURL",
|
|
139
142
|
"ProprietaryJSON",
|
|
143
|
+
"ProprietaryXML",
|
|
140
144
|
"Consent"
|
|
141
145
|
];
|
|
142
146
|
Relationship.TYPE_NAMES_STRINGIFIED = JSON.stringify(Relationship.TYPE_NAMES);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributeValueTypes.js","sourceRoot":"","sources":["../../src/attributes/AttributeValueTypes.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"AttributeValueTypes.js","sourceRoot":"","sources":["../../src/attributes/AttributeValueTypes.ts"],"names":[],"mappings":";;;AAAA,mCAqKgB;AAEhB,+JAA+J;AAE/J,IAAc,eAAe,CAwV5B;AAxVD,WAAc,eAAe;IACzB,IAAc,QAAQ,CAuPrB;IAvPD,WAAc,QAAQ;QAClB,IAAc,QAAQ,CAwHrB;QAxHD,WAAc,QAAQ;YAsEL,gBAAO,GAAG;gBACnB,mBAAW;gBACX,iBAAS;gBACT,iBAAS;gBACT,kBAAU;gBACV,mBAAW;gBACX,6BAAqB;gBACrB,0BAAkB;gBAClB,mBAA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Q,CAAC,UAAU,EAAE,GAAG,YAAY,CAAC,UAAU,CAAC,CAAA;IACjE,sCAAsB,GAAG,IAAI,CAAC,SAAS,CAAC,gBAAA,UAAU,CAAC,CAAA;AACpE,CAAC,EAxVa,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAwV5B"}
|
|
@@ -7,6 +7,7 @@ export declare enum RenderHintsDataType {
|
|
|
7
7
|
PhoneNumber = "PhoneNumber",
|
|
8
8
|
URL = "URL",
|
|
9
9
|
FileReference = "FileReference",
|
|
10
|
+
SchematizedXML = "SchematizedXML",
|
|
10
11
|
Date = "Date",
|
|
11
12
|
DatePeriod = "DatePeriod",
|
|
12
13
|
DateTime = "DateTime",
|
|
@@ -15,5 +16,6 @@ export declare enum RenderHintsDataType {
|
|
|
15
16
|
TimePeriod = "TimePeriod",
|
|
16
17
|
Day = "Day",
|
|
17
18
|
Month = "Month",
|
|
18
|
-
Year = "Year"
|
|
19
|
+
Year = "Year",
|
|
20
|
+
XML = "XML"
|
|
19
21
|
}
|
|
@@ -11,6 +11,7 @@ var RenderHintsDataType;
|
|
|
11
11
|
RenderHintsDataType["PhoneNumber"] = "PhoneNumber";
|
|
12
12
|
RenderHintsDataType["URL"] = "URL";
|
|
13
13
|
RenderHintsDataType["FileReference"] = "FileReference";
|
|
14
|
+
RenderHintsDataType["SchematizedXML"] = "SchematizedXML";
|
|
14
15
|
RenderHintsDataType["Date"] = "Date";
|
|
15
16
|
RenderHintsDataType["DatePeriod"] = "DatePeriod";
|
|
16
17
|
RenderHintsDataType["DateTime"] = "DateTime";
|
|
@@ -20,5 +21,6 @@ var RenderHintsDataType;
|
|
|
20
21
|
RenderHintsDataType["Day"] = "Day";
|
|
21
22
|
RenderHintsDataType["Month"] = "Month";
|
|
22
23
|
RenderHintsDataType["Year"] = "Year";
|
|
24
|
+
RenderHintsDataType["XML"] = "XML";
|
|
23
25
|
})(RenderHintsDataType = exports.RenderHintsDataType || (exports.RenderHintsDataType = {}));
|
|
24
26
|
//# sourceMappingURL=RenderHintsDataType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderHintsDataType.js","sourceRoot":"","sources":["../../../src/attributes/hints/RenderHintsDataType.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"RenderHintsDataType.js","sourceRoot":"","sources":["../../../src/attributes/hints/RenderHintsDataType.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAoBX;AApBD,WAAY,mBAAmB;IAC3B,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;IACnB,oDAA6B,CAAA;IAC7B,4CAAqB,CAAA;IACrB,4CAAqB,CAAA;IACrB,kDAA2B,CAAA;IAC3B,kCAAW,CAAA;IACX,sDAA+B,CAAA;IAC/B,wDAAiC,CAAA;IACjC,oCAAa,CAAA;IACb,gDAAyB,CAAA;IACzB,4CAAqB,CAAA;IACrB,wDAAiC,CAAA;IACjC,oCAAa,CAAA;IACb,gDAAyB,CAAA;IACzB,kCAAW,CAAA;IACX,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,kCAAW,CAAA;AACf,CAAC,EApBW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAoB9B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
import { AbstractXML } from "../strings/AbstractXML";
|
|
3
|
+
export interface SchematizedXMLJSON extends AbstractStringJSON {
|
|
4
|
+
"@type": "SchematizedXML";
|
|
5
|
+
}
|
|
6
|
+
export interface ISchematizedXML extends IAbstractString {
|
|
7
|
+
}
|
|
8
|
+
export declare class SchematizedXML extends AbstractXML implements ISchematizedXML {
|
|
9
|
+
schemaURL?: string;
|
|
10
|
+
static from(value: SchematizedXML | Omit<SchematizedXML, "@type"> | string): SchematizedXML;
|
|
11
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): SchematizedXML;
|
|
12
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SchematizedXML = void 0;
|
|
13
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const AbstractXML_1 = require("../strings/AbstractXML");
|
|
15
|
+
let SchematizedXML = class SchematizedXML extends AbstractXML_1.AbstractXML {
|
|
16
|
+
static from(value) {
|
|
17
|
+
return this.fromAny(value);
|
|
18
|
+
}
|
|
19
|
+
toJSON(verbose, serializeAsString) {
|
|
20
|
+
return super.toJSON(verbose, serializeAsString);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, ts_serval_1.serialize)(),
|
|
25
|
+
(0, ts_serval_1.validate)({
|
|
26
|
+
min: 3,
|
|
27
|
+
max: 1024,
|
|
28
|
+
regExp: new RegExp("^((([A-Za-z]{3,9}:(?:\\/\\/)?)(?:[-;:&=+$,\\w]+@)?[A-Za-z0-9.-]+|(?:www\\.|[-;:&=+$,\\w]+@)[A-Za-z0-9.-]+)((?:\\/[+~%/\\\\.\\w\\-_]*)?\\??(?:[-+=&;%@.\\w_]*)#?(?:[.!/\\\\\\w]*))?)$")
|
|
29
|
+
}),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], SchematizedXML.prototype, "schemaURL", void 0);
|
|
32
|
+
SchematizedXML = __decorate([
|
|
33
|
+
(0, ts_serval_1.type)("SchematizedXML")
|
|
34
|
+
], SchematizedXML);
|
|
35
|
+
exports.SchematizedXML = SchematizedXML;
|
|
36
|
+
//# sourceMappingURL=SchematizedXML.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchematizedXML.js","sourceRoot":"","sources":["../../../../src/attributes/types/identity/SchematizedXML.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAE9D,wDAAoD;AAS7C,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,yBAAW;IAWpC,MAAM,CAAC,IAAI,CAAC,KAA8D;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAmB,CAAA;IACrE,CAAC;CACJ,CAAA;AAjBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,IAAI;QACT,MAAM,EAAE,IAAI,MAAM,CACd,sLAAsL,CACzL;KACJ,CAAC;;iDACuB;AAThB,cAAc;IAD1B,IAAA,gBAAI,EAAC,gBAAgB,CAAC;GACV,cAAc,CAkB1B;AAlBY,wCAAc"}
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./DisplayName"), exports);
|
|
18
18
|
__exportStar(require("./FileReference"), exports);
|
|
19
|
+
__exportStar(require("./SchematizedXML"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/identity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,kDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/identity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,kDAA+B;AAC/B,mDAAgC"}
|
|
@@ -54,7 +54,7 @@ function validateValue(value) {
|
|
|
54
54
|
try {
|
|
55
55
|
const string = JSON.stringify(value);
|
|
56
56
|
if (string.length > 4096) {
|
|
57
|
-
return "stringified value must not be longer than
|
|
57
|
+
return "stringified value must not be longer than 4096 characters";
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
catch (e) {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ValueHints, ValueHintsOverride } from "../../hints";
|
|
2
|
+
import { AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
3
|
+
import { AbstractXML } from "../strings/AbstractXML";
|
|
4
|
+
import { IProprietaryAttributeValue, ProprietaryAttributeValueJSON } from "./ProprietaryAttributeValue";
|
|
5
|
+
export interface ProprietaryXMLJSON extends ProprietaryAttributeValueJSON, AbstractStringJSON {
|
|
6
|
+
"@type": "ProprietaryXML";
|
|
7
|
+
}
|
|
8
|
+
export interface IProprietaryXML extends IProprietaryAttributeValue, IAbstractString {
|
|
9
|
+
}
|
|
10
|
+
export declare class ProprietaryXML extends AbstractXML {
|
|
11
|
+
title: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
schemaURL?: string;
|
|
14
|
+
valueHintsOverride?: ValueHintsOverride;
|
|
15
|
+
static from(value: IProprietaryXML | Omit<ProprietaryXMLJSON, "@type">): ProprietaryXML;
|
|
16
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ProprietaryXMLJSON;
|
|
17
|
+
get valueHints(): ValueHints;
|
|
18
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ProprietaryXML = void 0;
|
|
13
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const hints_1 = require("../../hints");
|
|
15
|
+
const AbstractXML_1 = require("../strings/AbstractXML");
|
|
16
|
+
const ProprietaryAttributeValue_1 = require("./ProprietaryAttributeValue");
|
|
17
|
+
let ProprietaryXML = class ProprietaryXML extends AbstractXML_1.AbstractXML {
|
|
18
|
+
static from(value) {
|
|
19
|
+
return this.fromAny(value);
|
|
20
|
+
}
|
|
21
|
+
toJSON(verbose, serializeAsString) {
|
|
22
|
+
return super.toJSON(verbose, serializeAsString);
|
|
23
|
+
}
|
|
24
|
+
get valueHints() {
|
|
25
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, ts_serval_1.serialize)(),
|
|
30
|
+
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], ProprietaryXML.prototype, "title", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, ts_serval_1.serialize)(),
|
|
35
|
+
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], ProprietaryXML.prototype, "description", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, ts_serval_1.serialize)(),
|
|
40
|
+
(0, ts_serval_1.validate)({
|
|
41
|
+
min: 3,
|
|
42
|
+
max: 1024,
|
|
43
|
+
regExp: new RegExp("^((([A-Za-z]{3,9}:(?:\\/\\/)?)(?:[-;:&=+$,\\w]+@)?[A-Za-z0-9.-]+|(?:www\\.|[-;:&=+$,\\w]+@)[A-Za-z0-9.-]+)((?:\\/[+~%/\\\\.\\w\\-_]*)?\\??(?:[-+=&;%@.\\w_]*)#?(?:[.!/\\\\\\w]*))?)$")
|
|
44
|
+
}),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], ProprietaryXML.prototype, "schemaURL", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, ts_serval_1.serialize)(),
|
|
49
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
50
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
51
|
+
], ProprietaryXML.prototype, "valueHintsOverride", void 0);
|
|
52
|
+
ProprietaryXML = __decorate([
|
|
53
|
+
(0, ts_serval_1.type)("ProprietaryXML")
|
|
54
|
+
], ProprietaryXML);
|
|
55
|
+
exports.ProprietaryXML = ProprietaryXML;
|
|
56
|
+
//# sourceMappingURL=ProprietaryXML.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProprietaryXML.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryXML.ts"],"names":[],"mappings":";;;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./ProprietaryString"), exports);
|
|
28
28
|
__exportStar(require("./ProprietaryURL"), exports);
|
|
29
|
+
__exportStar(require("./ProprietaryXML"), exports);
|
|
29
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,uDAAoC;AACpC,4DAAyC;AACzC,6DAA0C;AAC1C,qDAAkC;AAClC,wDAAqC;AACrC,uDAAoC;AACpC,oDAAiC;AACjC,wDAAqC;AACrC,2DAAwC;AACxC,sDAAmC;AACnC,mDAAgC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,uDAAoC;AACpC,4DAAyC;AACzC,6DAA0C;AAC1C,qDAAkC;AAClC,wDAAqC;AACrC,uDAAoC;AACpC,oDAAiC;AACjC,wDAAqC;AACrC,2DAAwC;AACxC,sDAAmC;AACnC,mDAAgC;AAChC,mDAAgC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { RenderHints, ValueHints } from "../../../attributes/hints";
|
|
2
|
+
import { AbstractString } from "../AbstractString";
|
|
3
|
+
export declare abstract class AbstractXML extends AbstractString {
|
|
4
|
+
value: string;
|
|
5
|
+
static get valueHints(): ValueHints;
|
|
6
|
+
static get renderHints(): RenderHints;
|
|
7
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AbstractXML = void 0;
|
|
13
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const hints_1 = require("../../../attributes/hints");
|
|
15
|
+
const AbstractString_1 = require("../AbstractString");
|
|
16
|
+
class AbstractXML extends AbstractString_1.AbstractString {
|
|
17
|
+
static get valueHints() {
|
|
18
|
+
return hints_1.ValueHints.from({
|
|
19
|
+
max: 50000
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
static get renderHints() {
|
|
23
|
+
return super.renderHints.copyWith({
|
|
24
|
+
editType: hints_1.RenderHintsEditType.InputLike,
|
|
25
|
+
dataType: hints_1.RenderHintsDataType.XML
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, ts_serval_1.serialize)(),
|
|
31
|
+
(0, ts_serval_1.validate)({ max: 50000 }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], AbstractXML.prototype, "value", void 0);
|
|
34
|
+
exports.AbstractXML = AbstractXML;
|
|
35
|
+
//# sourceMappingURL=AbstractXML.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AbstractXML.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractXML.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,sDAAkD;AAElD,MAAsB,WAAY,SAAQ,+BAAc;IAK7C,MAAM,KAAc,UAAU;QACjC,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,GAAG,EAAE,KAAK;SACb,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,SAAS;YACvC,QAAQ,EAAE,2BAAmB,CAAC,GAAG;SACpC,CAAC,CAAA;IACN,CAAC;CACJ;AAhBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;;0CACI;AAHjC,kCAiBC"}
|
|
@@ -21,4 +21,5 @@ __exportStar(require("./AbstractHEXColor"), exports);
|
|
|
21
21
|
__exportStar(require("./AbstractLanguage"), exports);
|
|
22
22
|
__exportStar(require("./AbstractPhoneNumber"), exports);
|
|
23
23
|
__exportStar(require("./AbstractURL"), exports);
|
|
24
|
+
__exportStar(require("./AbstractXML"), exports);
|
|
24
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,yDAAsC;AACtC,0DAAuC;AACvC,qDAAkC;AAClC,qDAAkC;AAClC,wDAAqC;AACrC,gDAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,yDAAsC;AACtC,0DAAuC;AACvC,qDAAkC;AAClC,qDAAkC;AAClC,wDAAqC;AACrC,gDAA6B;AAC7B,gDAA6B"}
|
package/dist/buildInformation.js
CHANGED
|
@@ -5,10 +5,10 @@ const ts_serval_1 = require("@js-soft/ts-serval");
|
|
|
5
5
|
const crypto_1 = require("@nmshd/crypto");
|
|
6
6
|
const transport_1 = require("@nmshd/transport");
|
|
7
7
|
exports.buildInformation = {
|
|
8
|
-
version: "2.
|
|
9
|
-
build: "
|
|
10
|
-
date: "2023-07-25T08:
|
|
11
|
-
commit: "
|
|
8
|
+
version: "2.4.0",
|
|
9
|
+
build: "137",
|
|
10
|
+
date: "2023-07-25T08:35:59+00:00",
|
|
11
|
+
commit: "2eac6ec587bf7c3a324bb629ed05a80574778d7d",
|
|
12
12
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","@nmshd/iql":"^0.0.1","easy-tsnameof":"^3.0.6","mocha-param":"^2.0.1"},
|
|
13
13
|
libraries: {
|
|
14
14
|
serval: ts_serval_1.buildInformation,
|