@nmshd/content 2.0.0-beta.36 → 2.0.0-beta.38
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 +8 -8
- package/dist/attributes/AttributeValueTypes.js +4 -2
- package/dist/attributes/AttributeValueTypes.js.map +1 -1
- package/dist/attributes/index.d.ts +0 -1
- package/dist/attributes/index.js +0 -1
- package/dist/attributes/index.js.map +1 -1
- package/dist/attributes/types/index.d.ts +1 -0
- package/dist/attributes/types/index.js +1 -0
- package/dist/attributes/types/index.js.map +1 -1
- package/dist/attributes/types/relationship/Consent.d.ts +18 -0
- package/dist/attributes/types/relationship/Consent.js +73 -0
- package/dist/attributes/types/relationship/Consent.js.map +1 -0
- package/dist/attributes/types/relationship/index.d.ts +1 -0
- package/dist/{forms → attributes/types/relationship}/index.js +1 -8
- package/dist/attributes/types/relationship/index.js.map +1 -0
- package/dist/buildInformation.js +4 -4
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/requests/index.d.ts +0 -3
- package/dist/requests/index.js +0 -3
- package/dist/requests/index.js.map +1 -1
- package/lib-web/nmshd.content.js +219 -864
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +3 -3
- package/dist/attributes/Attribute.d.ts +0 -24
- package/dist/attributes/Attribute.js +0 -58
- package/dist/attributes/Attribute.js.map +0 -1
- package/dist/forms/Form.d.ts +0 -19
- package/dist/forms/Form.js +0 -36
- package/dist/forms/Form.js.map +0 -1
- package/dist/forms/FormItem.d.ts +0 -35
- package/dist/forms/FormItem.js +0 -53
- package/dist/forms/FormItem.js.map +0 -1
- package/dist/forms/index.d.ts +0 -8
- package/dist/forms/index.js.map +0 -1
- package/dist/forms/items/FormItemBoolean.d.ts +0 -8
- package/dist/forms/items/FormItemBoolean.js +0 -26
- package/dist/forms/items/FormItemBoolean.js.map +0 -1
- package/dist/forms/items/FormItemDate.d.ts +0 -16
- package/dist/forms/items/FormItemDate.js +0 -46
- package/dist/forms/items/FormItemDate.js.map +0 -1
- package/dist/forms/items/FormItemInvisible.d.ts +0 -7
- package/dist/forms/items/FormItemInvisible.js +0 -26
- package/dist/forms/items/FormItemInvisible.js.map +0 -1
- package/dist/forms/items/FormItemMultipleChoice.d.ts +0 -11
- package/dist/forms/items/FormItemMultipleChoice.js +0 -32
- package/dist/forms/items/FormItemMultipleChoice.js.map +0 -1
- package/dist/forms/items/FormItemMultipleChoiceItem.d.ts +0 -11
- package/dist/forms/items/FormItemMultipleChoiceItem.js +0 -30
- package/dist/forms/items/FormItemMultipleChoiceItem.js.map +0 -1
- package/dist/forms/items/FormItemSelect.d.ts +0 -11
- package/dist/forms/items/FormItemSelect.js +0 -32
- package/dist/forms/items/FormItemSelect.js.map +0 -1
- package/dist/forms/items/FormItemSelectItem.d.ts +0 -11
- package/dist/forms/items/FormItemSelectItem.js +0 -30
- package/dist/forms/items/FormItemSelectItem.js.map +0 -1
- package/dist/forms/items/FormItemString.d.ts +0 -16
- package/dist/forms/items/FormItemString.js +0 -46
- package/dist/forms/items/FormItemString.js.map +0 -1
- package/dist/forms/items/FormItemText.d.ts +0 -16
- package/dist/forms/items/FormItemText.js +0 -46
- package/dist/forms/items/FormItemText.js.map +0 -1
- package/dist/messages/RequestMail.d.ts +0 -29
- package/dist/messages/RequestMail.js +0 -54
- package/dist/messages/RequestMail.js.map +0 -1
- package/dist/requests/old/AttributesChangeRequest.d.ts +0 -54
- package/dist/requests/old/AttributesChangeRequest.js +0 -60
- package/dist/requests/old/AttributesChangeRequest.js.map +0 -1
- package/dist/requests/old/AttributesRequest.d.ts +0 -49
- package/dist/requests/old/AttributesRequest.js +0 -54
- package/dist/requests/old/AttributesRequest.js.map +0 -1
- package/dist/requests/old/AttributesShareRequest.d.ts +0 -53
- package/dist/requests/old/AttributesShareRequest.js +0 -59
- package/dist/requests/old/AttributesShareRequest.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
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, 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, ICountry, IDeliveryBoxAddress, IDisplayName, IEMailAddress, IFaxNumber, IFileReference, IGivenName, IHonorificPrefix, IHonorificSuffix, IHouseNumber, IJobTitle, IMiddleName, INationality, IPersonName, IPhoneNumber, IPostOfficeBoxAddress, IProprietaryBoolean, IProprietaryCountry, IProprietaryEMailAddress, IProprietaryFileReference, IProprietaryFloat, IProprietaryHEXColor, IProprietaryInteger, 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, 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, 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, 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";
|
|
2
2
|
export declare module AttributeValues {
|
|
3
3
|
module Identity {
|
|
4
4
|
module Editable {
|
|
@@ -28,19 +28,19 @@ export declare module AttributeValues {
|
|
|
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;
|
|
32
|
-
type Interface = IProprietaryBoolean | IProprietaryCountry | IProprietaryEMailAddress | IProprietaryFileReference | IProprietaryFloat | IProprietaryHEXColor | IProprietaryInteger | IProprietaryLanguage | IProprietaryPhoneNumber | IProprietaryString | IProprietaryURL;
|
|
33
|
-
type Class = ProprietaryBoolean | ProprietaryCountry | ProprietaryEMailAddress | ProprietaryFileReference | ProprietaryFloat | ProprietaryHEXColor | ProprietaryInteger | ProprietaryLanguage | ProprietaryPhoneNumber | ProprietaryString | ProprietaryURL;
|
|
34
|
-
const CLASSES: (typeof ProprietaryBoolean | typeof ProprietaryCountry | typeof ProprietaryEMailAddress | typeof ProprietaryFileReference | typeof ProprietaryFloat | typeof ProprietaryHEXColor | typeof ProprietaryInteger | typeof ProprietaryLanguage | typeof ProprietaryPhoneNumber | typeof ProprietaryString | typeof ProprietaryURL)[];
|
|
35
|
-
const TYPE_NAMES: readonly ["ProprietaryBoolean", "ProprietaryCountry", "ProprietaryEMailAddress", "ProprietaryFileReference", "ProprietaryFloat", "ProprietaryHEXColor", "ProprietaryInteger", "ProprietaryLanguage", "ProprietaryPhoneNumber", "ProprietaryString", "ProprietaryURL"];
|
|
31
|
+
type Json = ProprietaryBooleanJSON | ProprietaryCountryJSON | ProprietaryEMailAddressJSON | ProprietaryFileReferenceJSON | ProprietaryFloatJSON | ProprietaryHEXColorJSON | ProprietaryIntegerJSON | ProprietaryLanguageJSON | ProprietaryPhoneNumberJSON | ProprietaryStringJSON | ProprietaryURLJSON | ConsentJSON;
|
|
32
|
+
type Interface = IProprietaryBoolean | IProprietaryCountry | IProprietaryEMailAddress | IProprietaryFileReference | IProprietaryFloat | IProprietaryHEXColor | IProprietaryInteger | IProprietaryLanguage | IProprietaryPhoneNumber | IProprietaryString | IProprietaryURL | IConsent;
|
|
33
|
+
type Class = ProprietaryBoolean | ProprietaryCountry | ProprietaryEMailAddress | ProprietaryFileReference | ProprietaryFloat | ProprietaryHEXColor | ProprietaryInteger | ProprietaryLanguage | ProprietaryPhoneNumber | ProprietaryString | ProprietaryURL | Consent;
|
|
34
|
+
const CLASSES: (typeof ProprietaryBoolean | typeof ProprietaryCountry | typeof ProprietaryEMailAddress | typeof ProprietaryFileReference | typeof ProprietaryFloat | typeof ProprietaryHEXColor | typeof ProprietaryInteger | 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", "Consent"];
|
|
36
36
|
const TYPE_NAMES_STRINGIFIED: string;
|
|
37
37
|
type TypeName = typeof TYPE_NAMES[number];
|
|
38
38
|
}
|
|
39
39
|
type Json = Identity.Json | Relationship.Json;
|
|
40
40
|
type Interface = Identity.Interface | Relationship.Interface;
|
|
41
41
|
type Class = Identity.Class | Relationship.Class;
|
|
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)[];
|
|
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 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" | "ProprietaryLanguage" | "ProprietaryPhoneNumber" | "ProprietaryString" | "ProprietaryURL")[];
|
|
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" | "ProprietaryLanguage" | "ProprietaryPhoneNumber" | "ProprietaryString" | "ProprietaryURL" | "Consent")[];
|
|
45
45
|
const TYPE_NAMES_STRINGIFIED: string;
|
|
46
46
|
}
|
|
@@ -120,7 +120,8 @@ var AttributeValues;
|
|
|
120
120
|
types_1.ProprietaryLanguage,
|
|
121
121
|
types_1.ProprietaryPhoneNumber,
|
|
122
122
|
types_1.ProprietaryString,
|
|
123
|
-
types_1.ProprietaryURL
|
|
123
|
+
types_1.ProprietaryURL,
|
|
124
|
+
types_1.Consent
|
|
124
125
|
];
|
|
125
126
|
Relationship.TYPE_NAMES = [
|
|
126
127
|
"ProprietaryBoolean",
|
|
@@ -133,7 +134,8 @@ var AttributeValues;
|
|
|
133
134
|
"ProprietaryLanguage",
|
|
134
135
|
"ProprietaryPhoneNumber",
|
|
135
136
|
"ProprietaryString",
|
|
136
|
-
"ProprietaryURL"
|
|
137
|
+
"ProprietaryURL",
|
|
138
|
+
"Consent"
|
|
137
139
|
];
|
|
138
140
|
Relationship.TYPE_NAMES_STRINGIFIED = JSON.stringify(Relationship.TYPE_NAMES);
|
|
139
141
|
})(Relationship = AttributeValues.Relationship || (AttributeValues.Relationship = {}));
|
|
@@ -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,mCA6JgB;AAEhB,+JAA+J;AAE/J,IAAc,eAAe,CAyU5B;AAzUD,WAAc,eAAe;IACzB,IAAc,QAAQ,CAkPrB;IAlPD,WAAc,QAAQ;QAClB,IAAc,QAAQ,CAmHrB;QAnHD,WAAc,QAAQ;YAmEL,gBAAO,GAAG;gBACnB,mBAAW;gBACX,iBAAS;gBACT,iBAAS;gBACT,kBAAU;gBACV,mBAAW;gBACX,6BAAqB;gBACrB,0BAAkB;gBAClB,mBAAW;gBACX,oBAAY;gBACZ,iBAAS;gBACT,qBAAa;gBACb,gBAAQ;gBACR,mBAAW;gBACX,kBAAU;gBACV,mBAAW;gBACX,4BAAoB;gBACpB,iBAAS;gBACT,WAAG;gBACH,qBAAa;gBACb,eAAO;aACV,CAAA;YAEY,mBAAU,GAAG;gBACtB,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
export * from "./AbstractAttributeValue";
|
|
4
4
|
export * from "./AbstractComplexValue";
|
|
5
|
-
export * from "./Attribute";
|
|
6
5
|
export * from "./AttributeValueTypes";
|
|
7
6
|
export * from "./constants";
|
|
8
7
|
export * from "./hints";
|
package/dist/attributes/index.js
CHANGED
|
@@ -18,7 +18,6 @@ __exportStar(require("./AbstractAttribute"), exports);
|
|
|
18
18
|
__exportStar(require("./AbstractAttributeQuery"), exports);
|
|
19
19
|
__exportStar(require("./AbstractAttributeValue"), exports);
|
|
20
20
|
__exportStar(require("./AbstractComplexValue"), exports);
|
|
21
|
-
__exportStar(require("./Attribute"), exports);
|
|
22
21
|
__exportStar(require("./AttributeValueTypes"), exports);
|
|
23
22
|
__exportStar(require("./constants"), exports);
|
|
24
23
|
__exportStar(require("./hints"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/attributes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,2DAAwC;AACxC,2DAAwC;AACxC,yDAAsC;AACtC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/attributes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,2DAAwC;AACxC,2DAAwC;AACxC,yDAAsC;AACtC,wDAAqC;AACrC,8CAA2B;AAC3B,0CAAuB;AACvB,sDAAmC;AACnC,2DAAwC;AACxC,0DAAuC;AACvC,yEAAsD;AACtD,+DAA4C;AAC5C,yEAAsD;AACtD,0CAAuB"}
|
|
@@ -28,5 +28,6 @@ __exportStar(require("./measurements"), exports);
|
|
|
28
28
|
__exportStar(require("./name"), exports);
|
|
29
29
|
__exportStar(require("./person"), exports);
|
|
30
30
|
__exportStar(require("./proprietary"), exports);
|
|
31
|
+
__exportStar(require("./relationship"), exports);
|
|
31
32
|
__exportStar(require("./strings"), exports);
|
|
32
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -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,gDAA6B;AAC7B,0CAAuB;AACvB,kDAA+B;AAC/B,0CAAuB;AACvB,6CAA0B;AAC1B,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,iDAA8B;AAC9B,4CAAyB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AbstractAttributeValue, AbstractAttributeValueJSON, IAbstractAttributeValue } from "../../AbstractAttributeValue";
|
|
2
|
+
import { RenderHints, ValueHints } from "../../hints";
|
|
3
|
+
export interface ConsentJSON extends AbstractAttributeValueJSON {
|
|
4
|
+
consent: string;
|
|
5
|
+
link?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IConsent extends IAbstractAttributeValue {
|
|
8
|
+
consent: string;
|
|
9
|
+
link?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class Consent extends AbstractAttributeValue implements IConsent {
|
|
12
|
+
consent: string;
|
|
13
|
+
link?: string;
|
|
14
|
+
static from(value: IConsent | Omit<ConsentJSON, "@type">): Consent;
|
|
15
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ConsentJSON;
|
|
16
|
+
static get valueHints(): ValueHints;
|
|
17
|
+
static get renderHints(): RenderHints;
|
|
18
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.Consent = void 0;
|
|
13
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const AbstractAttributeValue_1 = require("../../AbstractAttributeValue");
|
|
15
|
+
const hints_1 = require("../../hints");
|
|
16
|
+
let Consent = class Consent extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
17
|
+
static from(value) {
|
|
18
|
+
return this.fromAny(value);
|
|
19
|
+
}
|
|
20
|
+
toJSON(verbose, serializeAsString) {
|
|
21
|
+
return super.toJSON(verbose, serializeAsString);
|
|
22
|
+
}
|
|
23
|
+
static get valueHints() {
|
|
24
|
+
return hints_1.ValueHints.from({
|
|
25
|
+
propertyHints: {
|
|
26
|
+
consent: { max: 2000 },
|
|
27
|
+
link: {
|
|
28
|
+
min: 3,
|
|
29
|
+
max: 1024
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
static get renderHints() {
|
|
35
|
+
return hints_1.RenderHints.from({
|
|
36
|
+
editType: hints_1.RenderHintsEditType.Complex,
|
|
37
|
+
technicalType: hints_1.RenderHintsTechnicalType.Object,
|
|
38
|
+
propertyHints: {
|
|
39
|
+
consent: {
|
|
40
|
+
editType: hints_1.RenderHintsEditType.TextArea,
|
|
41
|
+
technicalType: hints_1.RenderHintsTechnicalType.String
|
|
42
|
+
},
|
|
43
|
+
link: {
|
|
44
|
+
editType: hints_1.RenderHintsEditType.InputLike,
|
|
45
|
+
technicalType: hints_1.RenderHintsTechnicalType.String,
|
|
46
|
+
dataType: hints_1.RenderHintsDataType.URL
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, ts_serval_1.serialize)(),
|
|
54
|
+
(0, ts_serval_1.validate)({ max: 2000 }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], Consent.prototype, "consent", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, ts_serval_1.serialize)(),
|
|
59
|
+
(0, ts_serval_1.validate)({
|
|
60
|
+
nullable: true,
|
|
61
|
+
min: 3,
|
|
62
|
+
max: 1024,
|
|
63
|
+
regExp: new RegExp(
|
|
64
|
+
// eslint-disable-next-line no-useless-escape
|
|
65
|
+
/^((([A-Za-z]{3,9}:(?:\/\/)?)(?:[\-;:&=\+\$,\w]+@)?[A-Za-z0-9\.\-]+|(?:www\.|[\-;:&=\+\$,\w]+@)[A-Za-z0-9\.\-]+)((?:\/[\+~%\/\.\w\-_]*)?\??(?:[\-\+=&;%@\.\w_]*)#?(?:[\.\!\/\\\w]*))?)$/i)
|
|
66
|
+
}),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], Consent.prototype, "link", void 0);
|
|
69
|
+
Consent = __decorate([
|
|
70
|
+
(0, ts_serval_1.type)("Consent")
|
|
71
|
+
], Consent);
|
|
72
|
+
exports.Consent = Consent;
|
|
73
|
+
//# sourceMappingURL=Consent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Consent.js","sourceRoot":"","sources":["../../../../src/attributes/types/relationship/Consent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,yEAIqC;AACrC,uCAMoB;AAab,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,+CAAsB;IAiBxC,MAAM,CAAC,IAAI,CAAC,KAA4C;QAC3D,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,CAAgB,CAAA;IAClE,CAAC;IAEM,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,OAAO,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE;gBACtB,IAAI,EAAE;oBACF,GAAG,EAAE,CAAC;oBACN,GAAG,EAAE,IAAI;iBACZ;aACJ;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAK,WAAW;QACzB,OAAO,mBAAW,CAAC,IAAI,CAAC;YACpB,QAAQ,EAAE,2BAAmB,CAAC,OAAO;YACrC,aAAa,EAAE,gCAAwB,CAAC,MAAM;YAC9C,aAAa,EAAE;gBACX,OAAO,EAAE;oBACL,QAAQ,EAAE,2BAAmB,CAAC,QAAQ;oBACtC,aAAa,EAAE,gCAAwB,CAAC,MAAM;iBACjD;gBACD,IAAI,EAAE;oBACF,QAAQ,EAAE,2BAAmB,CAAC,SAAS;oBACvC,aAAa,EAAE,gCAAwB,CAAC,MAAM;oBAC9C,QAAQ,EAAE,2BAAmB,CAAC,GAAG;iBACpC;aACJ;SACJ,CAAC,CAAA;IACN,CAAC;CACJ,CAAA;AArDG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;;wCACF;AAEtB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,QAAQ,EAAE,IAAI;QACd,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,IAAI;QACT,MAAM,EAAE,IAAI,MAAM;QACd,6CAA6C;QAC7C,yLAAyL,CAC5L;KACJ,CAAC;;qCACkB;AAfX,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAsDnB;AAtDY,0BAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Consent";
|
|
@@ -14,12 +14,5 @@ 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("./
|
|
18
|
-
__exportStar(require("./FormItem"), exports);
|
|
19
|
-
__exportStar(require("./items/FormItemDate"), exports);
|
|
20
|
-
__exportStar(require("./items/FormItemInvisible"), exports);
|
|
21
|
-
__exportStar(require("./items/FormItemSelect"), exports);
|
|
22
|
-
__exportStar(require("./items/FormItemSelectItem"), exports);
|
|
23
|
-
__exportStar(require("./items/FormItemString"), exports);
|
|
24
|
-
__exportStar(require("./items/FormItemText"), exports);
|
|
17
|
+
__exportStar(require("./Consent"), exports);
|
|
25
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/relationship/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB"}
|
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.0.0-beta.
|
|
9
|
-
build: "
|
|
10
|
-
date: "2022-
|
|
11
|
-
commit: "
|
|
8
|
+
version: "2.0.0-beta.38",
|
|
9
|
+
build: "117",
|
|
10
|
+
date: "2022-10-06T08:30:50+00:00",
|
|
11
|
+
commit: "78bf4372bc196041975693387aee34c5f2a4975a",
|
|
12
12
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6","mocha-param":"^2.0.1"},
|
|
13
13
|
libraries: {
|
|
14
14
|
serval: ts_serval_1.buildInformation,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from "./attributes";
|
|
2
2
|
export * from "./buildInformation";
|
|
3
3
|
export * from "./ContentJSON";
|
|
4
|
-
export * from "./forms";
|
|
5
4
|
export * from "./messages/Mail";
|
|
6
|
-
export * from "./messages/RequestMail";
|
|
7
5
|
export * from "./relationships";
|
|
8
6
|
export * from "./requests";
|
package/dist/index.js
CHANGED
|
@@ -17,9 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./attributes"), exports);
|
|
18
18
|
__exportStar(require("./buildInformation"), exports);
|
|
19
19
|
__exportStar(require("./ContentJSON"), exports);
|
|
20
|
-
__exportStar(require("./forms"), exports);
|
|
21
20
|
__exportStar(require("./messages/Mail"), exports);
|
|
22
|
-
__exportStar(require("./messages/RequestMail"), exports);
|
|
23
21
|
__exportStar(require("./relationships"), exports);
|
|
24
22
|
__exportStar(require("./requests"), exports);
|
|
25
23
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,qDAAkC;AAClC,gDAA6B;AAC7B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,qDAAkC;AAClC,gDAA6B;AAC7B,kDAA+B;AAC/B,kDAA+B;AAC/B,6CAA0B"}
|
package/dist/requests/index.d.ts
CHANGED
package/dist/requests/index.js
CHANGED
|
@@ -15,9 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./items"), exports);
|
|
18
|
-
__exportStar(require("./old/AttributesChangeRequest"), exports);
|
|
19
|
-
__exportStar(require("./old/AttributesRequest"), exports);
|
|
20
|
-
__exportStar(require("./old/AttributesShareRequest"), exports);
|
|
21
18
|
__exportStar(require("./Request"), exports);
|
|
22
19
|
__exportStar(require("./RequestItem"), exports);
|
|
23
20
|
__exportStar(require("./RequestItemGroup"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,4CAAyB;AACzB,gDAA6B;AAC7B,qDAAkC;AAClC,6CAA0B"}
|