@nmshd/content 1.1.0 → 1.1.1
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/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: "1.1.
|
|
9
|
-
build: "
|
|
10
|
-
date: "2021-12-
|
|
11
|
-
commit: "
|
|
8
|
+
version: "1.1.1",
|
|
9
|
+
build: "8",
|
|
10
|
+
date: "2021-12-08T13:03:06+00:00",
|
|
11
|
+
commit: "424cbbd58d9280917dfbbe53985d25b8304e94ae",
|
|
12
12
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
|
|
13
13
|
libraries: {
|
|
14
14
|
serval: ts_serval_1.buildInformation,
|
package/dist/forms/Form.js
CHANGED
|
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Form = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
14
|
const FormItem_1 = require("./FormItem");
|
|
15
|
-
class Form extends ts_serval_1.Serializable {
|
|
16
|
-
}
|
|
15
|
+
let Form = class Form extends ts_serval_1.Serializable {
|
|
16
|
+
};
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, ts_serval_1.serialize)(),
|
|
19
19
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
@@ -29,5 +29,8 @@ __decorate([
|
|
|
29
29
|
(0, ts_serval_1.validate)(),
|
|
30
30
|
__metadata("design:type", Array)
|
|
31
31
|
], Form.prototype, "items", void 0);
|
|
32
|
+
Form = __decorate([
|
|
33
|
+
(0, ts_serval_1.type)("Form")
|
|
34
|
+
], Form);
|
|
32
35
|
exports.Form = Form;
|
|
33
36
|
//# sourceMappingURL=Form.js.map
|
package/dist/forms/Form.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.js","sourceRoot":"","sources":["../../src/forms/Form.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"Form.js","sourceRoot":"","sources":["../../src/forms/Form.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAE3F,yCAA8D;AAe9D,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,wBAAY;CAYrC,CAAA;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mCACR;AAIrB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACF;AAI3B;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,mBAAQ,EAAE,CAAC;IAC7B,IAAA,oBAAQ,GAAE;;mCACa;AAXf,IAAI;IADhB,IAAA,gBAAI,EAAC,MAAM,CAAC;GACA,IAAI,CAYhB;AAZY,oBAAI"}
|
package/dist/forms/FormItem.js
CHANGED
|
@@ -19,8 +19,8 @@ var FormType;
|
|
|
19
19
|
FormType["Date"] = "date";
|
|
20
20
|
FormType["Text"] = "text";
|
|
21
21
|
})(FormType = exports.FormType || (exports.FormType = {}));
|
|
22
|
-
class FormItem extends ts_serval_1.Serializable {
|
|
23
|
-
}
|
|
22
|
+
let FormItem = class FormItem extends ts_serval_1.Serializable {
|
|
23
|
+
};
|
|
24
24
|
__decorate([
|
|
25
25
|
(0, ts_serval_1.serialize)(),
|
|
26
26
|
(0, ts_serval_1.validate)(),
|
|
@@ -31,9 +31,12 @@ __decorate([
|
|
|
31
31
|
(0, ts_serval_1.validate)(),
|
|
32
32
|
__metadata("design:type", String)
|
|
33
33
|
], FormItem.prototype, "type", void 0);
|
|
34
|
+
FormItem = __decorate([
|
|
35
|
+
(0, ts_serval_1.type)("FormItem")
|
|
36
|
+
], FormItem);
|
|
34
37
|
exports.FormItem = FormItem;
|
|
35
|
-
class FormItemVisible extends FormItem {
|
|
36
|
-
}
|
|
38
|
+
let FormItemVisible = class FormItemVisible extends FormItem {
|
|
39
|
+
};
|
|
37
40
|
__decorate([
|
|
38
41
|
(0, ts_serval_1.serialize)(),
|
|
39
42
|
(0, ts_serval_1.validate)(),
|
|
@@ -49,5 +52,8 @@ __decorate([
|
|
|
49
52
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
50
53
|
__metadata("design:type", String)
|
|
51
54
|
], FormItemVisible.prototype, "help", void 0);
|
|
55
|
+
FormItemVisible = __decorate([
|
|
56
|
+
(0, ts_serval_1.type)("FormItemVisible")
|
|
57
|
+
], FormItemVisible);
|
|
52
58
|
exports.FormItemVisible = FormItemVisible;
|
|
53
59
|
//# sourceMappingURL=FormItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormItem.js","sourceRoot":"","sources":["../../src/forms/FormItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"FormItem.js","sourceRoot":"","sources":["../../src/forms/FormItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAG3F,IAAY,QAMX;AAND,WAAY,QAAQ;IAChB,mCAAuB,CAAA;IACvB,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,yBAAa,CAAA;AACjB,CAAC,EANW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAMnB;AAmBD,IAAsB,QAAQ,GAA9B,MAAsB,QAAS,SAAQ,wBAAY;CAQlD,CAAA;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;qCACO;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;sCACU;AAPH,QAAQ;IAD7B,IAAA,gBAAI,EAAC,UAAU,CAAC;GACK,QAAQ,CAQ7B;AARqB,4BAAQ;AAgB9B,IAAsB,eAAe,GAArC,MAAsB,eAAgB,SAAQ,QAAQ;CAYrD,CAAA;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;8CACS;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACJ;AAIzB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACT;AAXF,eAAe;IADpC,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACF,eAAe,CAYpC;AAZqB,0CAAe"}
|
package/lib-web/nmshd.content.js
CHANGED
|
@@ -240,10 +240,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
240
240
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
241
241
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
242
242
|
exports.buildInformation = {
|
|
243
|
-
version: "1.1.
|
|
244
|
-
build: "
|
|
245
|
-
date: "2021-12-
|
|
246
|
-
commit: "
|
|
243
|
+
version: "1.1.1",
|
|
244
|
+
build: "8",
|
|
245
|
+
date: "2021-12-08T13:03:06+00:00",
|
|
246
|
+
commit: "424cbbd58d9280917dfbbe53985d25b8304e94ae",
|
|
247
247
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
|
|
248
248
|
libraries: {
|
|
249
249
|
serval: ts_serval_1.buildInformation,
|
|
@@ -275,8 +275,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
275
275
|
exports.Form = void 0;
|
|
276
276
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
277
277
|
const FormItem_1 = __webpack_require__(/*! ./FormItem */ "./dist/forms/FormItem.js");
|
|
278
|
-
class Form extends ts_serval_1.Serializable {
|
|
279
|
-
}
|
|
278
|
+
let Form = class Form extends ts_serval_1.Serializable {
|
|
279
|
+
};
|
|
280
280
|
__decorate([
|
|
281
281
|
(0, ts_serval_1.serialize)(),
|
|
282
282
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
@@ -292,6 +292,9 @@ __decorate([
|
|
|
292
292
|
(0, ts_serval_1.validate)(),
|
|
293
293
|
__metadata("design:type", Array)
|
|
294
294
|
], Form.prototype, "items", void 0);
|
|
295
|
+
Form = __decorate([
|
|
296
|
+
(0, ts_serval_1.type)("Form")
|
|
297
|
+
], Form);
|
|
295
298
|
exports.Form = Form;
|
|
296
299
|
//# sourceMappingURL=Form.js.map
|
|
297
300
|
|
|
@@ -324,8 +327,8 @@ var FormType;
|
|
|
324
327
|
FormType["Date"] = "date";
|
|
325
328
|
FormType["Text"] = "text";
|
|
326
329
|
})(FormType = exports.FormType || (exports.FormType = {}));
|
|
327
|
-
class FormItem extends ts_serval_1.Serializable {
|
|
328
|
-
}
|
|
330
|
+
let FormItem = class FormItem extends ts_serval_1.Serializable {
|
|
331
|
+
};
|
|
329
332
|
__decorate([
|
|
330
333
|
(0, ts_serval_1.serialize)(),
|
|
331
334
|
(0, ts_serval_1.validate)(),
|
|
@@ -336,9 +339,12 @@ __decorate([
|
|
|
336
339
|
(0, ts_serval_1.validate)(),
|
|
337
340
|
__metadata("design:type", String)
|
|
338
341
|
], FormItem.prototype, "type", void 0);
|
|
342
|
+
FormItem = __decorate([
|
|
343
|
+
(0, ts_serval_1.type)("FormItem")
|
|
344
|
+
], FormItem);
|
|
339
345
|
exports.FormItem = FormItem;
|
|
340
|
-
class FormItemVisible extends FormItem {
|
|
341
|
-
}
|
|
346
|
+
let FormItemVisible = class FormItemVisible extends FormItem {
|
|
347
|
+
};
|
|
342
348
|
__decorate([
|
|
343
349
|
(0, ts_serval_1.serialize)(),
|
|
344
350
|
(0, ts_serval_1.validate)(),
|
|
@@ -354,6 +360,9 @@ __decorate([
|
|
|
354
360
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
355
361
|
__metadata("design:type", String)
|
|
356
362
|
], FormItemVisible.prototype, "help", void 0);
|
|
363
|
+
FormItemVisible = __decorate([
|
|
364
|
+
(0, ts_serval_1.type)("FormItemVisible")
|
|
365
|
+
], FormItemVisible);
|
|
357
366
|
exports.FormItemVisible = FormItemVisible;
|
|
358
367
|
//# sourceMappingURL=FormItem.js.map
|
|
359
368
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var NMSHDContent;(()=>{"use strict";var e={564:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},652:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Attribute=void 0;const n=i(194),l=i(663);let s=o=class Attribute extends l.CoreSerializable{get namespace(){if(!this.name)return;const e=this.name.split(".");return e.length<=1?void 0:e[0]}get attribute(){if(!this.name)return;return this.name.split(".").pop()}static from(e){return super.from(e,o)}static fromJSON(e){return this.from({name:e.name,value:e.value,validFrom:e.validFrom?l.CoreDate.from(e.validFrom):void 0,validTo:e.validTo?l.CoreDate.from(e.validTo):void 0})}};r([(0,n.serialize)(),(0,n.validate)(),a("design:type",String)],s.prototype,"name",void 0),r([(0,n.serialize)({any:!0}),(0,n.validate)({nullable:!0}),a("design:type",Object)],s.prototype,"value",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",l.CoreDate)],s.prototype,"validFrom",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",l.CoreDate)],s.prototype,"validTo",void 0),s=o=r([(0,n.type)("Attribute")],s),t.Attribute=s},97:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeName=void 0;const n=i(194);let l=o=class AttributeName extends n.Serializable{constructor(e){super(),this.checkName(e),this._name=e}set name(e){this.checkName(e),this._name=e}get name(){return this._name}checkName(e,t=!0){let i;if(e||(i=new Error("error.content.attribute.nameMustBeSet")),i&&t)throw i;return null}static from(e){return new o("string"==typeof e?e:e.name)}static deserialize(e){return new o(e)}toString(){return this._name}serialize(){return this._name}toJSON(){return this._name}};l=o=r([(0,n.type)("AttributeName"),a("design:paramtypes",[String])],l),t.AttributeName=l},144:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeNamespaces=void 0,function(e){e[e.Person=0]="Person",e[e.Thing=1]="Thing",e[e.Address=2]="Address",e[e.Payment=3]="Payment",e[e.Communication=4]="Communication",e[e.Corporation=5]="Corporation"}(t.AttributeNamespaces||(t.AttributeNamespaces={}))},825:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Authorization=void 0;const n=i(194);let l=o=class Authorization extends n.Serializable{static from(e){return super.from(e,o)}};r([(0,n.validate)(),(0,n.serialize)(),a("design:type",String)],l.prototype,"name",void 0),r([(0,n.validate)(),(0,n.serialize)(),a("design:type",String)],l.prototype,"value",void 0),l=o=r([(0,n.type)("Authorization")],l),t.Authorization=l},500:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.buildInformation=void 0;const o=i(194),r=i(890),a=i(663);t.buildInformation={version:"1.1.0",build:"7",date:"2021-12-08T09:58:00+00:00",commit:"9e3559dc487e74c6531bf27509c489e7d71f3326",dependencies:{"@js-soft/logging-abstractions":"^1.0.0"},libraries:{serval:o.buildInformation,crypto:r.buildInformation,transport:a.buildInformation}}},198:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Form=void 0;const a=i(194),n=i(331);class Form extends a.Serializable{}o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],Form.prototype,"title",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],Form.prototype,"description",void 0),o([(0,a.serialize)({type:n.FormItem}),(0,a.validate)(),r("design:type",Array)],Form.prototype,"items",void 0),t.Form=Form},331:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemVisible=t.FormItem=t.FormType=void 0;const a=i(194);!function(e){e.Invisible="invisible",e.String="string",e.Select="select",e.Date="date",e.Text="text"}(t.FormType||(t.FormType={}));class FormItem extends a.Serializable{}o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],FormItem.prototype,"key",void 0),o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],FormItem.prototype,"type",void 0),t.FormItem=FormItem;class FormItemVisible extends FormItem{}o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],FormItemVisible.prototype,"label",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Boolean)],FormItemVisible.prototype,"readonly",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],FormItemVisible.prototype,"help",void 0),t.FormItemVisible=FormItemVisible},985:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(198),t),r(i(331),t),r(i(644),t),r(i(488),t),r(i(717),t),r(i(106),t),r(i(440),t),r(i(897),t)},644:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemDate=void 0;const a=i(194),n=i(331);let l=class FormItemDate extends n.FormItemVisible{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"placeholder",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"value",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"minDate",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"maxDate",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"duration",void 0),l=o([(0,a.type)("FormItemDate")],l),t.FormItemDate=l},488:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemInvisible=void 0;const a=i(194),n=i(331);let l=class FormItemInvisible extends n.FormItem{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],l.prototype,"value",void 0),l=o([(0,a.type)("FormItemInvisible")],l),t.FormItemInvisible=l},717:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemSelect=void 0;const a=i(194),n=i(331),l=i(106);let s=class FormItemSelect extends n.FormItemVisible{};o([(0,a.serialize)({type:l.FormItemSelectItem}),(0,a.validate)(),r("design:type",Array)],s.prototype,"items",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],s.prototype,"selectedKey",void 0),s=o([(0,a.type)("FormItemSelect")],s),t.FormItemSelect=s},106:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemSelectItem=void 0;const a=i(194);let n=class FormItemSelectItem extends a.Serializable{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],n.prototype,"key",void 0),o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],n.prototype,"label",void 0),n=o([(0,a.type)("FormItemSelectItem")],n),t.FormItemSelectItem=n},440:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemString=void 0;const a=i(194),n=i(331);let l=class FormItemString extends n.FormItemVisible{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"placeholder",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"value",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"minLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"maxLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"allowedRegex",void 0),l=o([(0,a.type)("FormItemString")],l),t.FormItemString=l},897:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemText=void 0;const a=i(194),n=i(331);let l=class FormItemText extends n.FormItemVisible{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"placeholder",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"value",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"minLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"maxLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"allowedRegex",void 0),l=o([(0,a.type)("FormItemText")],l),t.FormItemText=l},590:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(652),t),r(i(97),t),r(i(144),t),r(i(825),t),r(i(500),t),r(i(564),t),r(i(985),t),r(i(502),t),r(i(127),t),r(i(260),t),r(i(146),t),r(i(623),t),r(i(451),t),r(i(583),t),r(i(455),t),r(i(90),t),r(i(532),t),r(i(72),t),r(i(236),t),r(i(365),t),r(i(563),t),r(i(16),t)},502:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Mail=void 0;const n=i(194),l=i(663);let s=o=class Mail extends n.SerializableAsync{static async from(e){return void 0===e.cc&&(e.cc=[]),void 0===e.body&&e.content&&(e.body=e.content,delete e.content),await super.fromT(e,o)}static async fromJSON(e){var t,i;return await this.from({body:e.body,subject:e.subject,to:null===(t=e.to)||void 0===t?void 0:t.map((e=>l.CoreAddress.from(e))),cc:null===(i=e.cc)||void 0===i?void 0:i.map((e=>l.CoreAddress.from(e)))})}};r([(0,n.serialize)({type:l.CoreAddress}),(0,n.validate)({customValidator:e=>e.length<1?"may not be empty":void 0}),a("design:type",Array)],s.prototype,"to",void 0),r([(0,n.serialize)({type:l.CoreAddress}),(0,n.validate)({nullable:!0}),a("design:type",Array)],s.prototype,"cc",void 0),r([(0,n.serialize)(),(0,n.validate)(),a("design:type",String)],s.prototype,"subject",void 0),r([(0,n.serialize)(),(0,n.validate)(),a("design:type",String)],s.prototype,"body",void 0),s=o=r([(0,n.type)("Mail")],s),t.Mail=s},127:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RequestMail=void 0;const n=i(194),l=i(502);let s=o=class RequestMail extends l.Mail{static async from(e){return await super.fromT(e,o)}static async fromJSON(e){const t=await l.Mail.fromJSON(e),i=await Promise.all(e.requests.map((e=>n.SerializableAsync.fromUnknown(e))));return await this.from({body:t.body,subject:t.subject,to:t.to,cc:t.cc,requests:i})}};r([(0,n.serialize)(),(0,n.validate)(),a("design:type",Array)],s.prototype,"requests",void 0),s=o=r([(0,n.type)("RequestMail")],s),t.RequestMail=s},260:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipCreationChangeRequestBody=void 0;const n=i(194),l=i(652),s=i(825),c=i(365),d=i(563);let p=o=class RelationshipCreationChangeRequestBody extends n.SerializableAsync{static async from(e){return await super.from(e,o)}};r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],p.prototype,"title",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],p.prototype,"sessionIdentifier",void 0),r([(0,n.serialize)({any:!0}),(0,n.validate)({nullable:!0}),a("design:type",Object)],p.prototype,"metadata",void 0),r([(0,n.serialize)({type:l.Attribute}),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedAttributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedCertificates",void 0),r([(0,n.serialize)({type:s.Authorization}),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedAuthorizations",void 0),r([(0,n.serialize)({type:c.FormRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedForms",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",d.PrivacyStatement)],p.prototype,"privacyStatementResponse",void 0),p=o=r([(0,n.type)("RelationshipCreationChangeRequestBody")],p),t.RelationshipCreationChangeRequestBody=p},146:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipExistsAction=void 0;const r=i(194);let a=class RelationshipExistsAction extends r.Serializable{};a=o([(0,r.type)("RelationshipExistsAction")],a),t.RelationshipExistsAction=a},623:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipExistsMessageAction=void 0;const a=i(194),n=i(146);let l=class RelationshipExistsMessageAction extends n.RelationshipExistsAction{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",a.SerializableAsync)],l.prototype,"content",void 0),l=o([(0,a.type)("RelationshipExistsMessageAction")],l),t.RelationshipExistsMessageAction=l},451:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipTemplateBody=void 0;const n=i(194),l=i(652),s=i(825),c=i(455),d=i(532),p=i(365),f=i(563),u=i(146);let y=o=class RelationshipTemplateBody extends n.SerializableAsync{static async from(e){return await super.from(e,o)}};r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],y.prototype,"title",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],y.prototype,"sessionIdentifier",void 0),r([(0,n.serialize)({any:!0}),(0,n.validate)({nullable:!0}),a("design:type",Object)],y.prototype,"metadata",void 0),r([(0,n.serialize)({type:l.Attribute}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"sharedAttributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"sharedCertificates",void 0),r([(0,n.serialize)({type:s.Authorization}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"sharedAuthorizations",void 0),r([(0,n.serialize)({type:l.Attribute}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedAttributesChanges",void 0),r([(0,n.serialize)({type:c.AttributesRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedAttributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedCertificates",void 0),r([(0,n.serialize)({type:d.AuthorizationGrantRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedAuthorizations",void 0),r([(0,n.serialize)({type:p.FormRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedForms",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",f.PrivacyStatement)],y.prototype,"privacyStatement",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",u.RelationshipExistsAction)],y.prototype,"relationshipExistsAction",void 0),y=o=r([(0,n.type)("RelationshipTemplateBody")],y),t.RelationshipTemplateBody=y},583:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesChangeRequest=void 0;const n=i(194),l=i(663),s=i(652),c=i(16);let d=o=class AttributesChangeRequest extends c.Request{static async from(e){return await super.from(e,o)}static async fromJSON(e){const t=await Promise.all(e.attributes.map((e=>s.Attribute.fromJSON(e))));return await this.from({id:e.id?l.CoreId.from(e.id):void 0,attributes:t,applyTo:e.applyTo?l.CoreAddress.from(e.applyTo):void 0,expiresAt:e.expiresAt?l.CoreDate.from(e.expiresAt):void 0,key:e.key,reason:e.reason})}};r([(0,n.serialize)({type:s.Attribute}),(0,n.validate)(),a("design:type",Array)],d.prototype,"attributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",l.CoreAddress)],d.prototype,"applyTo",void 0),d=o=r([(0,n.type)("AttributesChangeRequest")],d),t.AttributesChangeRequest=d},455:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesRequest=void 0;const n=i(194),l=i(663),s=i(16);let c=o=class AttributesRequest extends s.Request{static async from(e){return await super.from(e,o)}static async fromJSON(e){return await this.from({id:e.id?l.CoreId.from(e.id):void 0,expiresAt:e.expiresAt?l.CoreDate.from(e.expiresAt):void 0,key:e.key,reason:e.reason,names:e.names,required:e.required})}};r([(0,n.serialize)({type:String}),(0,n.validate)(),a("design:type",Array)],c.prototype,"names",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Boolean)],c.prototype,"required",void 0),c=o=r([(0,n.type)("AttributesRequest")],c),t.AttributesRequest=c},90:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesShareRequest=void 0;const n=i(194),l=i(663),s=i(16);let c=o=class AttributesShareRequest extends s.Request{static async from(e){return await super.fromT(e,o)}};r([(0,n.serialize)({type:String}),(0,n.validate)(),a("design:type",Array)],c.prototype,"attributes",void 0),r([(0,n.serialize)({type:l.CoreAddress}),(0,n.validate)(),a("design:type",Array)],c.prototype,"recipients",void 0),c=o=r([(0,n.type)("AttributesShareRequest")],c),t.AttributesShareRequest=c},532:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AuthorizationGrantRequest=void 0;const a=i(194),n=i(663),l=i(16);let s=class AuthorizationGrantRequest extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],s.prototype,"authorizationCode",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],s.prototype,"authorizationDescription",void 0),o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],s.prototype,"authorizationTitle",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",n.CoreDate)],s.prototype,"authorizationExpiresAt",void 0),s=o([(0,a.type)("AuthorizationGrantRequest")],s),t.AuthorizationGrantRequest=s},72:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeRequest=t.ChallengeJSONType=void 0;const a=i(194),n=i(663),l=i(16);!function(e){e.Identity="Identity",e.Device="Device",e.Relationship="Relationship"}(t.ChallengeJSONType||(t.ChallengeJSONType={}));let s=class ChallengeRequest extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",n.Challenge)],s.prototype,"challenge",void 0),s=o([(0,a.type)("ChallengeRequest")],s),t.ChallengeRequest=s},236:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeResponse=void 0;const a=i(194),n=i(663),l=i(16);let s=class ChallengeResponse extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",n.ChallengeSigned)],s.prototype,"signedChallenge",void 0),s=o([(0,a.type)("ChallengeResponse")],s),t.ChallengeResponse=s},365:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormRequest=void 0;const a=i(194),n=i(985),l=i(16);let s=class FormRequest extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",n.Form)],s.prototype,"form",void 0),s=o([(0,a.type)("FormRequest")],s),t.FormRequest=s},563:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.PrivacyStatement=void 0;const a=i(194),n=i(16);let l=class PrivacyStatement extends n.Request{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"title",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"text",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"consentText",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Boolean)],l.prototype,"required",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Boolean)],l.prototype,"activeConsent",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"uri",void 0),l=o([(0,a.type)("PrivacyStatement")],l),t.PrivacyStatement=l},16:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Request=void 0;const a=i(194),n=i(663);let l=class Request extends a.SerializableAsync{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",n.CoreId)],l.prototype,"id",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"key",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"reason",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",n.CoreDate)],l.prototype,"expiresAt",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"impact",void 0),l=o([(0,a.type)("Request")],l),t.Request=l},890:e=>{e.exports=NMSHDCrypto},663:e=>{e.exports=NMSHDTransport},194:e=>{e.exports=TSServal}},t={};var i=function __webpack_require__(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i].call(r.exports,r,r.exports,__webpack_require__),r.exports}(590);NMSHDContent=i})();
|
|
1
|
+
var NMSHDContent;(()=>{"use strict";var e={564:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},652:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Attribute=void 0;const n=i(194),l=i(663);let s=o=class Attribute extends l.CoreSerializable{get namespace(){if(!this.name)return;const e=this.name.split(".");return e.length<=1?void 0:e[0]}get attribute(){if(!this.name)return;return this.name.split(".").pop()}static from(e){return super.from(e,o)}static fromJSON(e){return this.from({name:e.name,value:e.value,validFrom:e.validFrom?l.CoreDate.from(e.validFrom):void 0,validTo:e.validTo?l.CoreDate.from(e.validTo):void 0})}};r([(0,n.serialize)(),(0,n.validate)(),a("design:type",String)],s.prototype,"name",void 0),r([(0,n.serialize)({any:!0}),(0,n.validate)({nullable:!0}),a("design:type",Object)],s.prototype,"value",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",l.CoreDate)],s.prototype,"validFrom",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",l.CoreDate)],s.prototype,"validTo",void 0),s=o=r([(0,n.type)("Attribute")],s),t.Attribute=s},97:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeName=void 0;const n=i(194);let l=o=class AttributeName extends n.Serializable{constructor(e){super(),this.checkName(e),this._name=e}set name(e){this.checkName(e),this._name=e}get name(){return this._name}checkName(e,t=!0){let i;if(e||(i=new Error("error.content.attribute.nameMustBeSet")),i&&t)throw i;return null}static from(e){return new o("string"==typeof e?e:e.name)}static deserialize(e){return new o(e)}toString(){return this._name}serialize(){return this._name}toJSON(){return this._name}};l=o=r([(0,n.type)("AttributeName"),a("design:paramtypes",[String])],l),t.AttributeName=l},144:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeNamespaces=void 0,function(e){e[e.Person=0]="Person",e[e.Thing=1]="Thing",e[e.Address=2]="Address",e[e.Payment=3]="Payment",e[e.Communication=4]="Communication",e[e.Corporation=5]="Corporation"}(t.AttributeNamespaces||(t.AttributeNamespaces={}))},825:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Authorization=void 0;const n=i(194);let l=o=class Authorization extends n.Serializable{static from(e){return super.from(e,o)}};r([(0,n.validate)(),(0,n.serialize)(),a("design:type",String)],l.prototype,"name",void 0),r([(0,n.validate)(),(0,n.serialize)(),a("design:type",String)],l.prototype,"value",void 0),l=o=r([(0,n.type)("Authorization")],l),t.Authorization=l},500:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.buildInformation=void 0;const o=i(194),r=i(890),a=i(663);t.buildInformation={version:"1.1.1",build:"8",date:"2021-12-08T13:03:06+00:00",commit:"424cbbd58d9280917dfbbe53985d25b8304e94ae",dependencies:{"@js-soft/logging-abstractions":"^1.0.0"},libraries:{serval:o.buildInformation,crypto:r.buildInformation,transport:a.buildInformation}}},198:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Form=void 0;const a=i(194),n=i(331);let l=class Form extends a.Serializable{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"title",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"description",void 0),o([(0,a.serialize)({type:n.FormItem}),(0,a.validate)(),r("design:type",Array)],l.prototype,"items",void 0),l=o([(0,a.type)("Form")],l),t.Form=l},331:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemVisible=t.FormItem=t.FormType=void 0;const a=i(194);!function(e){e.Invisible="invisible",e.String="string",e.Select="select",e.Date="date",e.Text="text"}(t.FormType||(t.FormType={}));let n=class FormItem extends a.Serializable{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],n.prototype,"key",void 0),o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],n.prototype,"type",void 0),n=o([(0,a.type)("FormItem")],n),t.FormItem=n;let l=class FormItemVisible extends n{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],l.prototype,"label",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Boolean)],l.prototype,"readonly",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"help",void 0),l=o([(0,a.type)("FormItemVisible")],l),t.FormItemVisible=l},985:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(198),t),r(i(331),t),r(i(644),t),r(i(488),t),r(i(717),t),r(i(106),t),r(i(440),t),r(i(897),t)},644:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemDate=void 0;const a=i(194),n=i(331);let l=class FormItemDate extends n.FormItemVisible{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"placeholder",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"value",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"minDate",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"maxDate",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"duration",void 0),l=o([(0,a.type)("FormItemDate")],l),t.FormItemDate=l},488:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemInvisible=void 0;const a=i(194),n=i(331);let l=class FormItemInvisible extends n.FormItem{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],l.prototype,"value",void 0),l=o([(0,a.type)("FormItemInvisible")],l),t.FormItemInvisible=l},717:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemSelect=void 0;const a=i(194),n=i(331),l=i(106);let s=class FormItemSelect extends n.FormItemVisible{};o([(0,a.serialize)({type:l.FormItemSelectItem}),(0,a.validate)(),r("design:type",Array)],s.prototype,"items",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],s.prototype,"selectedKey",void 0),s=o([(0,a.type)("FormItemSelect")],s),t.FormItemSelect=s},106:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemSelectItem=void 0;const a=i(194);let n=class FormItemSelectItem extends a.Serializable{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],n.prototype,"key",void 0),o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],n.prototype,"label",void 0),n=o([(0,a.type)("FormItemSelectItem")],n),t.FormItemSelectItem=n},440:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemString=void 0;const a=i(194),n=i(331);let l=class FormItemString extends n.FormItemVisible{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"placeholder",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"value",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"minLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"maxLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"allowedRegex",void 0),l=o([(0,a.type)("FormItemString")],l),t.FormItemString=l},897:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemText=void 0;const a=i(194),n=i(331);let l=class FormItemText extends n.FormItemVisible{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"placeholder",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"value",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"minLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"maxLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"allowedRegex",void 0),l=o([(0,a.type)("FormItemText")],l),t.FormItemText=l},590:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(652),t),r(i(97),t),r(i(144),t),r(i(825),t),r(i(500),t),r(i(564),t),r(i(985),t),r(i(502),t),r(i(127),t),r(i(260),t),r(i(146),t),r(i(623),t),r(i(451),t),r(i(583),t),r(i(455),t),r(i(90),t),r(i(532),t),r(i(72),t),r(i(236),t),r(i(365),t),r(i(563),t),r(i(16),t)},502:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Mail=void 0;const n=i(194),l=i(663);let s=o=class Mail extends n.SerializableAsync{static async from(e){return void 0===e.cc&&(e.cc=[]),void 0===e.body&&e.content&&(e.body=e.content,delete e.content),await super.fromT(e,o)}static async fromJSON(e){var t,i;return await this.from({body:e.body,subject:e.subject,to:null===(t=e.to)||void 0===t?void 0:t.map((e=>l.CoreAddress.from(e))),cc:null===(i=e.cc)||void 0===i?void 0:i.map((e=>l.CoreAddress.from(e)))})}};r([(0,n.serialize)({type:l.CoreAddress}),(0,n.validate)({customValidator:e=>e.length<1?"may not be empty":void 0}),a("design:type",Array)],s.prototype,"to",void 0),r([(0,n.serialize)({type:l.CoreAddress}),(0,n.validate)({nullable:!0}),a("design:type",Array)],s.prototype,"cc",void 0),r([(0,n.serialize)(),(0,n.validate)(),a("design:type",String)],s.prototype,"subject",void 0),r([(0,n.serialize)(),(0,n.validate)(),a("design:type",String)],s.prototype,"body",void 0),s=o=r([(0,n.type)("Mail")],s),t.Mail=s},127:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RequestMail=void 0;const n=i(194),l=i(502);let s=o=class RequestMail extends l.Mail{static async from(e){return await super.fromT(e,o)}static async fromJSON(e){const t=await l.Mail.fromJSON(e),i=await Promise.all(e.requests.map((e=>n.SerializableAsync.fromUnknown(e))));return await this.from({body:t.body,subject:t.subject,to:t.to,cc:t.cc,requests:i})}};r([(0,n.serialize)(),(0,n.validate)(),a("design:type",Array)],s.prototype,"requests",void 0),s=o=r([(0,n.type)("RequestMail")],s),t.RequestMail=s},260:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipCreationChangeRequestBody=void 0;const n=i(194),l=i(652),s=i(825),c=i(365),d=i(563);let p=o=class RelationshipCreationChangeRequestBody extends n.SerializableAsync{static async from(e){return await super.from(e,o)}};r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],p.prototype,"title",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],p.prototype,"sessionIdentifier",void 0),r([(0,n.serialize)({any:!0}),(0,n.validate)({nullable:!0}),a("design:type",Object)],p.prototype,"metadata",void 0),r([(0,n.serialize)({type:l.Attribute}),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedAttributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedCertificates",void 0),r([(0,n.serialize)({type:s.Authorization}),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedAuthorizations",void 0),r([(0,n.serialize)({type:c.FormRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedForms",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",d.PrivacyStatement)],p.prototype,"privacyStatementResponse",void 0),p=o=r([(0,n.type)("RelationshipCreationChangeRequestBody")],p),t.RelationshipCreationChangeRequestBody=p},146:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipExistsAction=void 0;const r=i(194);let a=class RelationshipExistsAction extends r.Serializable{};a=o([(0,r.type)("RelationshipExistsAction")],a),t.RelationshipExistsAction=a},623:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipExistsMessageAction=void 0;const a=i(194),n=i(146);let l=class RelationshipExistsMessageAction extends n.RelationshipExistsAction{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",a.SerializableAsync)],l.prototype,"content",void 0),l=o([(0,a.type)("RelationshipExistsMessageAction")],l),t.RelationshipExistsMessageAction=l},451:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipTemplateBody=void 0;const n=i(194),l=i(652),s=i(825),c=i(455),d=i(532),p=i(365),f=i(563),u=i(146);let y=o=class RelationshipTemplateBody extends n.SerializableAsync{static async from(e){return await super.from(e,o)}};r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],y.prototype,"title",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],y.prototype,"sessionIdentifier",void 0),r([(0,n.serialize)({any:!0}),(0,n.validate)({nullable:!0}),a("design:type",Object)],y.prototype,"metadata",void 0),r([(0,n.serialize)({type:l.Attribute}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"sharedAttributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"sharedCertificates",void 0),r([(0,n.serialize)({type:s.Authorization}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"sharedAuthorizations",void 0),r([(0,n.serialize)({type:l.Attribute}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedAttributesChanges",void 0),r([(0,n.serialize)({type:c.AttributesRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedAttributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedCertificates",void 0),r([(0,n.serialize)({type:d.AuthorizationGrantRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedAuthorizations",void 0),r([(0,n.serialize)({type:p.FormRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedForms",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",f.PrivacyStatement)],y.prototype,"privacyStatement",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",u.RelationshipExistsAction)],y.prototype,"relationshipExistsAction",void 0),y=o=r([(0,n.type)("RelationshipTemplateBody")],y),t.RelationshipTemplateBody=y},583:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesChangeRequest=void 0;const n=i(194),l=i(663),s=i(652),c=i(16);let d=o=class AttributesChangeRequest extends c.Request{static async from(e){return await super.from(e,o)}static async fromJSON(e){const t=await Promise.all(e.attributes.map((e=>s.Attribute.fromJSON(e))));return await this.from({id:e.id?l.CoreId.from(e.id):void 0,attributes:t,applyTo:e.applyTo?l.CoreAddress.from(e.applyTo):void 0,expiresAt:e.expiresAt?l.CoreDate.from(e.expiresAt):void 0,key:e.key,reason:e.reason})}};r([(0,n.serialize)({type:s.Attribute}),(0,n.validate)(),a("design:type",Array)],d.prototype,"attributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",l.CoreAddress)],d.prototype,"applyTo",void 0),d=o=r([(0,n.type)("AttributesChangeRequest")],d),t.AttributesChangeRequest=d},455:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesRequest=void 0;const n=i(194),l=i(663),s=i(16);let c=o=class AttributesRequest extends s.Request{static async from(e){return await super.from(e,o)}static async fromJSON(e){return await this.from({id:e.id?l.CoreId.from(e.id):void 0,expiresAt:e.expiresAt?l.CoreDate.from(e.expiresAt):void 0,key:e.key,reason:e.reason,names:e.names,required:e.required})}};r([(0,n.serialize)({type:String}),(0,n.validate)(),a("design:type",Array)],c.prototype,"names",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Boolean)],c.prototype,"required",void 0),c=o=r([(0,n.type)("AttributesRequest")],c),t.AttributesRequest=c},90:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesShareRequest=void 0;const n=i(194),l=i(663),s=i(16);let c=o=class AttributesShareRequest extends s.Request{static async from(e){return await super.fromT(e,o)}};r([(0,n.serialize)({type:String}),(0,n.validate)(),a("design:type",Array)],c.prototype,"attributes",void 0),r([(0,n.serialize)({type:l.CoreAddress}),(0,n.validate)(),a("design:type",Array)],c.prototype,"recipients",void 0),c=o=r([(0,n.type)("AttributesShareRequest")],c),t.AttributesShareRequest=c},532:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AuthorizationGrantRequest=void 0;const a=i(194),n=i(663),l=i(16);let s=class AuthorizationGrantRequest extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],s.prototype,"authorizationCode",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],s.prototype,"authorizationDescription",void 0),o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],s.prototype,"authorizationTitle",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",n.CoreDate)],s.prototype,"authorizationExpiresAt",void 0),s=o([(0,a.type)("AuthorizationGrantRequest")],s),t.AuthorizationGrantRequest=s},72:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeRequest=t.ChallengeJSONType=void 0;const a=i(194),n=i(663),l=i(16);!function(e){e.Identity="Identity",e.Device="Device",e.Relationship="Relationship"}(t.ChallengeJSONType||(t.ChallengeJSONType={}));let s=class ChallengeRequest extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",n.Challenge)],s.prototype,"challenge",void 0),s=o([(0,a.type)("ChallengeRequest")],s),t.ChallengeRequest=s},236:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeResponse=void 0;const a=i(194),n=i(663),l=i(16);let s=class ChallengeResponse extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",n.ChallengeSigned)],s.prototype,"signedChallenge",void 0),s=o([(0,a.type)("ChallengeResponse")],s),t.ChallengeResponse=s},365:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormRequest=void 0;const a=i(194),n=i(985),l=i(16);let s=class FormRequest extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",n.Form)],s.prototype,"form",void 0),s=o([(0,a.type)("FormRequest")],s),t.FormRequest=s},563:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.PrivacyStatement=void 0;const a=i(194),n=i(16);let l=class PrivacyStatement extends n.Request{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"title",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"text",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"consentText",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Boolean)],l.prototype,"required",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Boolean)],l.prototype,"activeConsent",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"uri",void 0),l=o([(0,a.type)("PrivacyStatement")],l),t.PrivacyStatement=l},16:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Request=void 0;const a=i(194),n=i(663);let l=class Request extends a.SerializableAsync{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",n.CoreId)],l.prototype,"id",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"key",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"reason",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",n.CoreDate)],l.prototype,"expiresAt",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"impact",void 0),l=o([(0,a.type)("Request")],l),t.Request=l},890:e=>{e.exports=NMSHDCrypto},663:e=>{e.exports=NMSHDTransport},194:e=>{e.exports=TSServal}},t={};var i=function __webpack_require__(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i].call(r.exports,r,r.exports,__webpack_require__),r.exports}(590);NMSHDContent=i})();
|
|
2
2
|
//# sourceMappingURL=nmshd.content.min.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nmshd/content",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "The content library defines data structures that can be transmitted using the transport library.",
|
|
5
5
|
"homepage": "https://enmeshed.eu",
|
|
6
6
|
"repository": "github:nmshd/cns-content",
|