@nmshd/content 2.0.0-alpha.13 → 2.0.0-alpha.16
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/AbstractAttributeQuery.d.ts +3 -3
- package/dist/attributes/AbstractAttributeQuery.js +0 -1
- package/dist/attributes/AbstractAttributeQuery.js.map +1 -1
- package/dist/attributes/AbstractAttributeValue.d.ts +3 -0
- package/dist/attributes/AbstractAttributeValue.js +6 -0
- package/dist/attributes/AbstractAttributeValue.js.map +1 -1
- package/dist/attributes/RelationshipAttribute.d.ts +36 -0
- package/dist/attributes/RelationshipAttribute.js +51 -2
- package/dist/attributes/RelationshipAttribute.js.map +1 -1
- package/dist/attributes/RelationshipAttributeQuery.d.ts +7 -0
- package/dist/attributes/RelationshipAttributeQuery.js +11 -0
- package/dist/attributes/RelationshipAttributeQuery.js.map +1 -1
- package/dist/attributes/hints/RelationshipAttributeHints.d.ts +30 -0
- package/dist/attributes/hints/RelationshipAttributeHints.js +63 -0
- package/dist/attributes/hints/RelationshipAttributeHints.js.map +1 -0
- package/dist/attributes/hints/RenderHints.d.ts +70 -0
- package/dist/attributes/hints/RenderHints.js +111 -0
- package/dist/attributes/hints/RenderHints.js.map +1 -0
- package/dist/attributes/hints/ValueHints.d.ts +44 -0
- package/dist/attributes/hints/ValueHints.js +103 -0
- package/dist/attributes/hints/ValueHints.js.map +1 -0
- package/dist/attributes/hints/ValueHintsValue.d.ts +14 -0
- package/dist/attributes/hints/ValueHintsValue.js +33 -0
- package/dist/attributes/hints/ValueHintsValue.js.map +1 -0
- package/dist/attributes/hints/index.d.ts +4 -0
- package/dist/attributes/hints/index.js +21 -0
- package/dist/attributes/hints/index.js.map +1 -0
- package/dist/attributes/index.d.ts +1 -0
- package/dist/attributes/index.js +1 -0
- package/dist/attributes/index.js.map +1 -1
- package/dist/attributes/types/AbstractInteger.d.ts +4 -0
- package/dist/attributes/types/AbstractInteger.js +13 -0
- package/dist/attributes/types/AbstractInteger.js.map +1 -1
- package/dist/attributes/types/birth/BirthMonth.d.ts +2 -0
- package/dist/attributes/types/birth/BirthMonth.js +5 -0
- package/dist/attributes/types/birth/BirthMonth.js.map +1 -1
- package/dist/attributes/types/dates/AbstractMonth.d.ts +3 -1
- package/dist/attributes/types/dates/AbstractMonth.js +6 -0
- package/dist/attributes/types/dates/AbstractMonth.js.map +1 -1
- package/dist/attributes/types/files/FileReference.d.ts +3 -0
- package/dist/attributes/types/files/FileReference.js +18 -0
- package/dist/attributes/types/files/FileReference.js.map +1 -0
- package/dist/attributes/types/files/index.d.ts +1 -0
- package/dist/attributes/types/files/index.js +18 -0
- package/dist/attributes/types/files/index.js.map +1 -0
- 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/proprietary/ProprietaryFileReference.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js +18 -0
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js.map +1 -0
- package/dist/attributes/types/proprietary/ProprietaryInteger.d.ts +11 -1
- package/dist/attributes/types/proprietary/ProprietaryInteger.js +23 -0
- package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -1
- package/dist/attributes/types/proprietary/index.d.ts +1 -0
- package/dist/attributes/types/proprietary/index.js +1 -0
- package/dist/attributes/types/proprietary/index.js.map +1 -1
- package/dist/attributes/types/strings/AbstractFileReference.d.ts +3 -0
- package/dist/attributes/types/strings/AbstractFileReference.js +8 -0
- package/dist/attributes/types/strings/AbstractFileReference.js.map +1 -0
- package/dist/attributes/types/strings/index.d.ts +1 -0
- package/dist/attributes/types/strings/index.js +1 -0
- package/dist/attributes/types/strings/index.js.map +1 -1
- package/dist/buildInformation.js +4 -4
- package/dist/relationships/RelationshipTemplateBody.d.ts +6 -6
- package/dist/relationships/RelationshipTemplateBody.js +2 -2
- package/dist/relationships/RelationshipTemplateBody.js.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.d.ts +11 -0
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js +30 -0
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -0
- package/dist/requests/items/readAttribute/ReadAttributeResponseItem.d.ts +16 -0
- package/dist/requests/items/readAttribute/ReadAttributeResponseItem.js +36 -0
- package/dist/requests/items/readAttribute/ReadAttributeResponseItem.js.map +1 -0
- package/lib-web/nmshd.content.js +599 -9
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var ValueHints_1;
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.ValueHintsOverride = exports.ValueHints = void 0;
|
|
14
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
15
|
+
const ValueHintsValue_1 = require("./ValueHintsValue");
|
|
16
|
+
let ValueHints = ValueHints_1 = class ValueHints extends ts_serval_1.Serializable {
|
|
17
|
+
static from(value) {
|
|
18
|
+
return this.fromAny(value);
|
|
19
|
+
}
|
|
20
|
+
toJSON() {
|
|
21
|
+
return super.toJSON();
|
|
22
|
+
}
|
|
23
|
+
copyWith(override) {
|
|
24
|
+
return ValueHints_1.from({ ...this.toJSON(), ...override });
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, ts_serval_1.serialize)(),
|
|
29
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], ValueHints.prototype, "editHelp", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, ts_serval_1.serialize)(),
|
|
34
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], ValueHints.prototype, "min", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, ts_serval_1.serialize)(),
|
|
39
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], ValueHints.prototype, "max", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, ts_serval_1.serialize)(),
|
|
44
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], ValueHints.prototype, "pattern", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, ts_serval_1.serialize)({ type: ValueHintsValue_1.ValueHintsValue }),
|
|
49
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], ValueHints.prototype, "values", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, ts_serval_1.serialize)({ any: true }),
|
|
54
|
+
(0, ts_serval_1.validate)({ nullable: true, allowedTypes: [ts_serval_1.PrimitiveType.Number, ts_serval_1.PrimitiveType.String, ts_serval_1.PrimitiveType.Boolean] }),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], ValueHints.prototype, "defaultValue", void 0);
|
|
57
|
+
ValueHints = ValueHints_1 = __decorate([
|
|
58
|
+
(0, ts_serval_1.type)("ValueHints")
|
|
59
|
+
], ValueHints);
|
|
60
|
+
exports.ValueHints = ValueHints;
|
|
61
|
+
let ValueHintsOverride = class ValueHintsOverride extends ts_serval_1.Serializable {
|
|
62
|
+
static from(value) {
|
|
63
|
+
return this.fromAny(value);
|
|
64
|
+
}
|
|
65
|
+
toJSON() {
|
|
66
|
+
return super.toJSON();
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, ts_serval_1.serialize)(),
|
|
71
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], ValueHintsOverride.prototype, "editHelp", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, ts_serval_1.serialize)(),
|
|
76
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
77
|
+
__metadata("design:type", Number)
|
|
78
|
+
], ValueHintsOverride.prototype, "min", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, ts_serval_1.serialize)(),
|
|
81
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
82
|
+
__metadata("design:type", Number)
|
|
83
|
+
], ValueHintsOverride.prototype, "max", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, ts_serval_1.serialize)(),
|
|
86
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], ValueHintsOverride.prototype, "pattern", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, ts_serval_1.serialize)({ type: ValueHintsValue_1.ValueHintsValue }),
|
|
91
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
92
|
+
__metadata("design:type", Array)
|
|
93
|
+
], ValueHintsOverride.prototype, "values", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, ts_serval_1.serialize)({ unionTypes: [Boolean, Number, String] }),
|
|
96
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
97
|
+
__metadata("design:type", Object)
|
|
98
|
+
], ValueHintsOverride.prototype, "defaultValue", void 0);
|
|
99
|
+
ValueHintsOverride = __decorate([
|
|
100
|
+
(0, ts_serval_1.type)("ValueHintsOverride")
|
|
101
|
+
], ValueHintsOverride);
|
|
102
|
+
exports.ValueHintsOverride = ValueHintsOverride;
|
|
103
|
+
//# sourceMappingURL=ValueHints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValueHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/ValueHints.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA0G;AAE1G,uDAA0F;AAyB1F,IAAa,UAAU,kBAAvB,MAAa,UAAW,SAAQ,wBAAY;IAyBjC,MAAM,CAAC,IAAI,CAAC,KAAmC;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAAoB,CAAA;IAC3C,CAAC;IAEM,QAAQ,CAAC,QAA0C;QACtD,OAAO,YAAU,CAAC,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,MAAM,EAAE,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAA;IAC7D,CAAC;CACJ,CAAA;AAjCG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACL;AAIxB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACV;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACV;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACN;AAIvB;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,iCAAe,EAAE,CAAC;IACpC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACI;AAIjC;IAFC,IAAA,qBAAS,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,yBAAa,CAAC,MAAM,EAAE,yBAAa,CAAC,MAAM,EAAE,yBAAa,CAAC,OAAO,CAAC,EAAE,CAAC;;gDACvF;AAvBhB,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAoCtB;AApCY,gCAAU;AAuCvB,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,wBAAY;IAyBzC,MAAM,CAAC,IAAI,CAAC,KAAmD;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAAE,CAAA;IACzB,CAAC;CACJ,CAAA;AA7BG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACL;AAIxB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACV;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACV;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACN;AAIvB;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,iCAAe,EAAE,CAAC;IACpC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACI;AAIjC;IAFC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IACpD,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACkB;AAvBtC,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAgC9B;AAhCY,gDAAkB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
+
export interface ValueHintsValueJSON {
|
|
3
|
+
key: any;
|
|
4
|
+
displayName: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IValueHintsValue extends ISerializable {
|
|
7
|
+
key: any;
|
|
8
|
+
displayName: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class ValueHintsValue extends Serializable implements IValueHintsValue {
|
|
11
|
+
displayName: string;
|
|
12
|
+
key: any;
|
|
13
|
+
static from(value: IValueHintsValue | ValueHintsValueJSON): ValueHintsValue;
|
|
14
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.ValueHintsValue = void 0;
|
|
13
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
let ValueHintsValue = class ValueHintsValue extends ts_serval_1.Serializable {
|
|
15
|
+
static from(value) {
|
|
16
|
+
return this.fromAny(value);
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, ts_serval_1.serialize)(),
|
|
21
|
+
(0, ts_serval_1.validate)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], ValueHintsValue.prototype, "displayName", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, ts_serval_1.serialize)({ any: true }),
|
|
26
|
+
(0, ts_serval_1.validate)({ allowedTypes: [ts_serval_1.PrimitiveType.Number, ts_serval_1.PrimitiveType.String, ts_serval_1.PrimitiveType.Boolean] }),
|
|
27
|
+
__metadata("design:type", Object)
|
|
28
|
+
], ValueHintsValue.prototype, "key", void 0);
|
|
29
|
+
ValueHintsValue = __decorate([
|
|
30
|
+
(0, ts_serval_1.type)("ValueHintsValue")
|
|
31
|
+
], ValueHintsValue);
|
|
32
|
+
exports.ValueHintsValue = ValueHintsValue;
|
|
33
|
+
//# sourceMappingURL=ValueHintsValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValueHintsValue.js","sourceRoot":"","sources":["../../../src/attributes/hints/ValueHintsValue.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA0G;AAa1G,IAAa,eAAe,GAA5B,MAAa,eAAgB,SAAQ,wBAAY;IAStC,MAAM,CAAC,IAAI,CAAC,KAA6C;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;oDACe;AAI1B;IAFC,IAAA,qBAAS,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,oBAAQ,EAAC,EAAE,YAAY,EAAE,CAAC,yBAAa,CAAC,MAAM,EAAE,yBAAa,CAAC,MAAM,EAAE,yBAAa,CAAC,OAAO,CAAC,EAAE,CAAC;;4CACjF;AAPN,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAY3B;AAZY,0CAAe"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./RelationshipAttributeHints"), exports);
|
|
18
|
+
__exportStar(require("./RenderHints"), exports);
|
|
19
|
+
__exportStar(require("./ValueHints"), exports);
|
|
20
|
+
__exportStar(require("./ValueHintsValue"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/hints/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA4C;AAC5C,gDAA6B;AAC7B,+CAA4B;AAC5B,oDAAiC"}
|
|
@@ -4,6 +4,7 @@ export * from "./AbstractAttributeValue";
|
|
|
4
4
|
export * from "./AbstractComplexValue";
|
|
5
5
|
export * from "./Attribute";
|
|
6
6
|
export * from "./constants";
|
|
7
|
+
export * from "./hints";
|
|
7
8
|
export * from "./IdentityAttribute";
|
|
8
9
|
export * from "./IdentityAttributeQuery";
|
|
9
10
|
export * from "./RelationshipAttribute";
|
package/dist/attributes/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./AbstractAttributeValue"), exports);
|
|
|
20
20
|
__exportStar(require("./AbstractComplexValue"), exports);
|
|
21
21
|
__exportStar(require("./Attribute"), exports);
|
|
22
22
|
__exportStar(require("./constants"), exports);
|
|
23
|
+
__exportStar(require("./hints"), exports);
|
|
23
24
|
__exportStar(require("./IdentityAttribute"), exports);
|
|
24
25
|
__exportStar(require("./IdentityAttributeQuery"), exports);
|
|
25
26
|
__exportStar(require("./RelationshipAttribute"), 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,8CAA2B;AAC3B,8CAA2B;AAC3B,sDAAmC;AACnC,2DAAwC;AACxC,0DAAuC;AACvC,+DAA4C;AAC5C,0CAAuB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/attributes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,2DAAwC;AACxC,2DAAwC;AACxC,yDAAsC;AACtC,8CAA2B;AAC3B,8CAA2B;AAC3B,0CAAuB;AACvB,sDAAmC;AACnC,2DAAwC;AACxC,0DAAuC;AACvC,+DAA4C;AAC5C,0CAAuB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AbstractAttributeValue, AbstractAttributeValueJSON, IAbstractAttributeValue } from "../AbstractAttributeValue";
|
|
2
|
+
import { RenderHints, ValueHints } from "../hints";
|
|
2
3
|
export declare type AbstractIntegerJSON = IAbstractIntegerValue | number;
|
|
3
4
|
export interface IAbstractIntegerValue extends AbstractAttributeValueJSON {
|
|
4
5
|
value: number;
|
|
@@ -10,4 +11,7 @@ export declare class AbstractInteger extends AbstractAttributeValue implements I
|
|
|
10
11
|
value: number;
|
|
11
12
|
static preFrom(value: any): any;
|
|
12
13
|
toString(): string;
|
|
14
|
+
static get valueHints(): ValueHints;
|
|
15
|
+
static get renderHints(): RenderHints;
|
|
16
|
+
static from(value: IAbstractInteger): AbstractInteger;
|
|
13
17
|
}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.AbstractInteger = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
14
|
const AbstractAttributeValue_1 = require("../AbstractAttributeValue");
|
|
15
|
+
const hints_1 = require("../hints");
|
|
15
16
|
class AbstractInteger extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
16
17
|
static preFrom(value) {
|
|
17
18
|
if (typeof value === "number")
|
|
@@ -21,6 +22,18 @@ class AbstractInteger extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
21
22
|
toString() {
|
|
22
23
|
return `${this.value}`;
|
|
23
24
|
}
|
|
25
|
+
static get valueHints() {
|
|
26
|
+
return hints_1.ValueHints.from({});
|
|
27
|
+
}
|
|
28
|
+
static get renderHints() {
|
|
29
|
+
return hints_1.RenderHints.from({
|
|
30
|
+
editType: hints_1.RenderHintsEditType.InputLike,
|
|
31
|
+
technicalType: hints_1.RenderHintsTechnicalType.Integer
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
static from(value) {
|
|
35
|
+
return this.fromAny(value);
|
|
36
|
+
}
|
|
24
37
|
}
|
|
25
38
|
__decorate([
|
|
26
39
|
(0, ts_serval_1.serialize)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractInteger.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractInteger.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;
|
|
1
|
+
{"version":3,"file":"AbstractInteger.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractInteger.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;AAYjG,MAAa,eAAgB,SAAQ,+CAAsB;IAKhD,MAAM,CAAU,OAAO,CAAC,KAAU;QACrC,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,KAAK,GAAG,EAAE,KAAK,EAAE,CAAA;QAChD,OAAO,KAAK,CAAA;IAChB,CAAC;IAEe,QAAQ;QACpB,OAAO,GAAG,IAAI,CAAC,KAAK,EAAE,CAAA;IAC1B,CAAC;IAEM,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,KAAK,WAAW;QACzB,OAAO,mBAAW,CAAC,IAAI,CAAC;YACpB,QAAQ,EAAE,2BAAmB,CAAC,SAAS;YACvC,aAAa,EAAE,gCAAwB,CAAC,OAAO;SAClD,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAuB;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ;AAzBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;;8CAC5E;AAHxB,0CA4BC"}
|
|
@@ -10,6 +10,11 @@ exports.BirthMonth = void 0;
|
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const AbstractMonth_1 = require("../dates/AbstractMonth");
|
|
12
12
|
let BirthMonth = class BirthMonth extends AbstractMonth_1.AbstractMonth {
|
|
13
|
+
static get valueHints() {
|
|
14
|
+
return super.valueHints.copyWith({
|
|
15
|
+
editHelp: "i18n://yourBirthMonth"
|
|
16
|
+
});
|
|
17
|
+
}
|
|
13
18
|
};
|
|
14
19
|
BirthMonth = __decorate([
|
|
15
20
|
(0, ts_serval_1.type)("BirthMonth")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BirthMonth.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthMonth.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;
|
|
1
|
+
{"version":3,"file":"BirthMonth.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthMonth.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,0DAAsD;AAGtD,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,6BAAa;IAClC,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,QAAQ,EAAE,uBAAuB;SACpC,CAAC,CAAA;IACN,CAAC;CACJ,CAAA;AANY,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAMtB;AANY,gCAAU"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ValueHints } from "../../hints/ValueHints";
|
|
1
2
|
import { AbstractInteger } from "../AbstractInteger";
|
|
2
3
|
/**
|
|
3
4
|
* Month values: 1 (january) - 12 (december)
|
|
@@ -19,7 +20,8 @@ declare enum Month {
|
|
|
19
20
|
/**
|
|
20
21
|
* Month value are continuously numbered: 1 (january) - 12 (december)
|
|
21
22
|
*/
|
|
22
|
-
export declare
|
|
23
|
+
export declare class AbstractMonth extends AbstractInteger {
|
|
23
24
|
value: Month;
|
|
25
|
+
static get valueHints(): ValueHints;
|
|
24
26
|
}
|
|
25
27
|
export {};
|
|
@@ -34,6 +34,12 @@ var Month;
|
|
|
34
34
|
* Month value are continuously numbered: 1 (january) - 12 (december)
|
|
35
35
|
*/
|
|
36
36
|
class AbstractMonth extends AbstractInteger_1.AbstractInteger {
|
|
37
|
+
static get valueHints() {
|
|
38
|
+
return super.valueHints.copyWith({
|
|
39
|
+
min: 1,
|
|
40
|
+
max: 12
|
|
41
|
+
});
|
|
42
|
+
}
|
|
37
43
|
}
|
|
38
44
|
__decorate([
|
|
39
45
|
(0, ts_serval_1.serialize)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractMonth.js","sourceRoot":"","sources":["../../../../src/attributes/types/dates/AbstractMonth.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;
|
|
1
|
+
{"version":3,"file":"AbstractMonth.js","sourceRoot":"","sources":["../../../../src/attributes/types/dates/AbstractMonth.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AAExD,wDAAoD;AAEpD;;GAEG;AACH,IAAK,KAaJ;AAbD,WAAK,KAAK;IACN,uCAAW,CAAA;IACX,yCAAY,CAAA;IACZ,mCAAS,CAAA;IACT,mCAAS,CAAA;IACT,+BAAO,CAAA;IACP,iCAAQ,CAAA;IACR,iCAAQ,CAAA;IACR,qCAAU,CAAA;IACV,2CAAa,CAAA;IACb,wCAAY,CAAA;IACZ,0CAAa,CAAA;IACb,0CAAa,CAAA;AACjB,CAAC,EAbI,KAAK,KAAL,KAAK,QAaT;AAED;;GAEG;AACH,MAAa,aAAc,SAAQ,iCAAe;IAUvC,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,EAAE;SACV,CAAC,CAAA;IACN,CAAC;CACJ;AARG;IAPC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;YAC7B,CAAC,CAAC,oCAAoC,KAAK,CAAC,OAAO,QAAQ,KAAK,CAAC,QAAQ,EAAE;YAC3E,CAAC,CAAC,SAAS;KACtB,CAAC;;4CAC0B;AARhC,sCAgBC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.FileReference = void 0;
|
|
10
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
|
+
const strings_1 = require("../strings");
|
|
12
|
+
let FileReference = class FileReference extends strings_1.AbstractFileReference {
|
|
13
|
+
};
|
|
14
|
+
FileReference = __decorate([
|
|
15
|
+
(0, ts_serval_1.type)("FileReference")
|
|
16
|
+
], FileReference);
|
|
17
|
+
exports.FileReference = FileReference;
|
|
18
|
+
//# sourceMappingURL=FileReference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileReference.js","sourceRoot":"","sources":["../../../../src/attributes/types/files/FileReference.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,wCAAkD;AAGlD,IAAa,aAAa,GAA1B,MAAa,aAAc,SAAQ,+BAAqB;CAAG,CAAA;AAA9C,aAAa;IADzB,IAAA,gBAAI,EAAC,eAAe,CAAC;GACT,aAAa,CAAiC;AAA9C,sCAAa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./FileReference";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./FileReference"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/files/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA+B"}
|
|
@@ -24,6 +24,7 @@ __exportStar(require("./AttributeTypeMapping"), exports);
|
|
|
24
24
|
__exportStar(require("./birth"), exports);
|
|
25
25
|
__exportStar(require("./communication"), exports);
|
|
26
26
|
__exportStar(require("./dates"), exports);
|
|
27
|
+
__exportStar(require("./files"), exports);
|
|
27
28
|
__exportStar(require("./measurements"), exports);
|
|
28
29
|
__exportStar(require("./name"), exports);
|
|
29
30
|
__exportStar(require("./person"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,kDAA+B;AAC/B,oDAAiC;AACjC,mDAAgC;AAChC,4CAAyB;AACzB,kDAA+B;AAC/B,yDAAsC;AACtC,0CAAuB;AACvB,kDAA+B;AAC/B,0CAAuB;AACvB,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,kDAA+B;AAC/B,yDAAsC;AACtC,0CAAuB;AACvB,kDAA+B;AAC/B,0CAAuB;AACvB,0CAAuB;AACvB,iDAA8B;AAC9B,yCAAsB;AACtB,2CAAwB;AACxB,gDAA6B;AAC7B,4CAAyB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.ProprietaryFileReference = void 0;
|
|
10
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
|
+
const strings_1 = require("../strings");
|
|
12
|
+
let ProprietaryFileReference = class ProprietaryFileReference extends strings_1.AbstractFileReference {
|
|
13
|
+
};
|
|
14
|
+
ProprietaryFileReference = __decorate([
|
|
15
|
+
(0, ts_serval_1.type)("ProprietaryFileReference")
|
|
16
|
+
], ProprietaryFileReference);
|
|
17
|
+
exports.ProprietaryFileReference = ProprietaryFileReference;
|
|
18
|
+
//# sourceMappingURL=ProprietaryFileReference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProprietaryFileReference.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryFileReference.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,wCAAkD;AAGlD,IAAa,wBAAwB,GAArC,MAAa,wBAAyB,SAAQ,+BAAqB;CAAG,CAAA;AAAzD,wBAAwB;IADpC,IAAA,gBAAI,EAAC,0BAA0B,CAAC;GACpB,wBAAwB,CAAiC;AAAzD,4DAAwB"}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IValueHintsOverride, RenderHints, RenderHintsOverride, ValueHints, ValueHintsOverride } from "../../hints";
|
|
2
|
+
import { AbstractInteger, AbstractIntegerJSON, IAbstractInteger } from "../AbstractInteger";
|
|
3
|
+
export declare type ProprietaryIntegerJSON = AbstractIntegerJSON;
|
|
4
|
+
export interface IProprietaryInteger extends IAbstractInteger {
|
|
5
|
+
valueHintsOverride?: IValueHintsOverride;
|
|
6
|
+
}
|
|
2
7
|
export declare class ProprietaryInteger extends AbstractInteger {
|
|
8
|
+
get valueHints(): ValueHints;
|
|
9
|
+
get renderHints(): RenderHints;
|
|
10
|
+
valueHintsOverride?: ValueHintsOverride;
|
|
11
|
+
renderHintsOverride?: RenderHintsOverride;
|
|
12
|
+
static from(value: IProprietaryInteger): ProprietaryInteger;
|
|
3
13
|
}
|
|
@@ -5,12 +5,35 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
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
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
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
|
+
};
|
|
8
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
12
|
exports.ProprietaryInteger = void 0;
|
|
10
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const hints_1 = require("../../hints");
|
|
11
15
|
const AbstractInteger_1 = require("../AbstractInteger");
|
|
12
16
|
let ProprietaryInteger = class ProprietaryInteger extends AbstractInteger_1.AbstractInteger {
|
|
17
|
+
get valueHints() {
|
|
18
|
+
return this.constructor.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
19
|
+
}
|
|
20
|
+
get renderHints() {
|
|
21
|
+
return this.constructor.renderHints.copyWith(this.renderHintsOverride?.toJSON());
|
|
22
|
+
}
|
|
23
|
+
static from(value) {
|
|
24
|
+
return this.fromAny(value);
|
|
25
|
+
}
|
|
13
26
|
};
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, ts_serval_1.serialize)(),
|
|
29
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
30
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
31
|
+
], ProprietaryInteger.prototype, "valueHintsOverride", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, ts_serval_1.serialize)(),
|
|
34
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
35
|
+
__metadata("design:type", hints_1.RenderHintsOverride)
|
|
36
|
+
], ProprietaryInteger.prototype, "renderHintsOverride", void 0);
|
|
14
37
|
ProprietaryInteger = __decorate([
|
|
15
38
|
(0, ts_serval_1.type)("ProprietaryInteger")
|
|
16
39
|
], ProprietaryInteger);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProprietaryInteger.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryInteger.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProprietaryInteger.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryInteger.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uCAAmH;AACnH,wDAA2F;AAS3F,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,iCAAe;IACnD,IAAoB,UAAU;QAC1B,OAAS,IAAI,CAAC,WAAmB,CAAC,UAAyB,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE,CAAC,CAAA;IAC3G,CAAC;IAED,IAAoB,WAAW;QAC3B,OAAS,IAAI,CAAC,WAAmB,CAAC,WAA2B,CAAC,QAAQ,CAAC,IAAI,CAAC,mBAAmB,EAAE,MAAM,EAAE,CAAC,CAAA;IAC9G,CAAC;IAUM,MAAM,CAAU,IAAI,CAAC,KAA0B;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACD,0BAAkB;8DAAA;AAI9C;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACA,2BAAmB;+DAAA;AAfvC,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAoB9B;AApBY,gDAAkB"}
|
|
@@ -2,6 +2,7 @@ export * from "./ProprietaryBoolean";
|
|
|
2
2
|
export * from "./ProprietaryCountry";
|
|
3
3
|
export * from "./ProprietaryDataURL";
|
|
4
4
|
export * from "./ProprietaryEMailAddress";
|
|
5
|
+
export * from "./ProprietaryFileReference";
|
|
5
6
|
export * from "./ProprietaryFloat";
|
|
6
7
|
export * from "./ProprietaryHEXColor";
|
|
7
8
|
export * from "./ProprietaryInteger";
|
|
@@ -18,6 +18,7 @@ __exportStar(require("./ProprietaryBoolean"), exports);
|
|
|
18
18
|
__exportStar(require("./ProprietaryCountry"), exports);
|
|
19
19
|
__exportStar(require("./ProprietaryDataURL"), exports);
|
|
20
20
|
__exportStar(require("./ProprietaryEMailAddress"), exports);
|
|
21
|
+
__exportStar(require("./ProprietaryFileReference"), exports);
|
|
21
22
|
__exportStar(require("./ProprietaryFloat"), exports);
|
|
22
23
|
__exportStar(require("./ProprietaryHEXColor"), exports);
|
|
23
24
|
__exportStar(require("./ProprietaryInteger"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,uDAAoC;AACpC,uDAAoC;AACpC,4DAAyC;AACzC,qDAAkC;AAClC,wDAAqC;AACrC,uDAAoC;AACpC,wDAAqC;AACrC,2DAAwC;AACxC,sDAAmC;AACnC,mDAAgC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,uDAAoC;AACpC,uDAAoC;AACpC,4DAAyC;AACzC,6DAA0C;AAC1C,qDAAkC;AAClC,wDAAqC;AACrC,uDAAoC;AACpC,wDAAqC;AACrC,2DAAwC;AACxC,sDAAmC;AACnC,mDAAgC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AbstractFileReference = void 0;
|
|
4
|
+
const AbstractString_1 = require("../AbstractString");
|
|
5
|
+
class AbstractFileReference extends AbstractString_1.AbstractString {
|
|
6
|
+
}
|
|
7
|
+
exports.AbstractFileReference = AbstractFileReference;
|
|
8
|
+
//# sourceMappingURL=AbstractFileReference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AbstractFileReference.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractFileReference.ts"],"names":[],"mappings":";;;AAAA,sDAAkD;AAElD,MAAa,qBAAsB,SAAQ,+BAAc;CAAG;AAA5D,sDAA4D"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AbstractCountry";
|
|
2
2
|
export * from "./AbstractDataURL";
|
|
3
3
|
export * from "./AbstractEMailAddress";
|
|
4
|
+
export * from "./AbstractFileReference";
|
|
4
5
|
export * from "./AbstractHEXColor";
|
|
5
6
|
export * from "./AbstractLanguage";
|
|
6
7
|
export * from "./AbstractPhoneNumber";
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./AbstractCountry"), exports);
|
|
18
18
|
__exportStar(require("./AbstractDataURL"), exports);
|
|
19
19
|
__exportStar(require("./AbstractEMailAddress"), exports);
|
|
20
|
+
__exportStar(require("./AbstractFileReference"), exports);
|
|
20
21
|
__exportStar(require("./AbstractHEXColor"), exports);
|
|
21
22
|
__exportStar(require("./AbstractLanguage"), exports);
|
|
22
23
|
__exportStar(require("./AbstractPhoneNumber"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,oDAAiC;AACjC,yDAAsC;AACtC,qDAAkC;AAClC,qDAAkC;AAClC,wDAAqC;AACrC,gDAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,oDAAiC;AACjC,yDAAsC;AACtC,0DAAuC;AACvC,qDAAkC;AAClC,qDAAkC;AAClC,wDAAqC;AACrC,gDAA6B"}
|
package/dist/buildInformation.js
CHANGED
|
@@ -5,10 +5,10 @@ const ts_serval_1 = require("@js-soft/ts-serval");
|
|
|
5
5
|
const crypto_1 = require("@nmshd/crypto");
|
|
6
6
|
const transport_1 = require("@nmshd/transport");
|
|
7
7
|
exports.buildInformation = {
|
|
8
|
-
version: "2.0.0-alpha.
|
|
9
|
-
build: "
|
|
10
|
-
date: "2022-05-
|
|
11
|
-
commit: "
|
|
8
|
+
version: "2.0.0-alpha.16",
|
|
9
|
+
build: "45",
|
|
10
|
+
date: "2022-05-23T07:16:31+00:00",
|
|
11
|
+
commit: "73637b35d4d8c2a607ee48efc2e631db5a03df03",
|
|
12
12
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
|
|
13
13
|
libraries: {
|
|
14
14
|
serval: ts_serval_1.buildInformation,
|
|
@@ -4,19 +4,19 @@ import { IRequest, Request, RequestJSON } from "../requests/Request";
|
|
|
4
4
|
export interface RelationshipTemplateBodyJSON extends ContentJSON {
|
|
5
5
|
title?: string;
|
|
6
6
|
metadata?: object;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
onNewRelationship: RequestJSON;
|
|
8
|
+
onExistingRelationship?: RequestJSON;
|
|
9
9
|
}
|
|
10
10
|
export interface IRelationshipTemplateBody extends ISerializable {
|
|
11
11
|
title?: string;
|
|
12
12
|
metadata?: object;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
onNewRelationship: IRequest;
|
|
14
|
+
onExistingRelationship?: IRequest;
|
|
15
15
|
}
|
|
16
16
|
export declare class RelationshipTemplateBody extends Serializable implements IRelationshipTemplateBody {
|
|
17
17
|
title?: string;
|
|
18
18
|
metadata?: object;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
onNewRelationship: Request;
|
|
20
|
+
onExistingRelationship?: Request;
|
|
21
21
|
static from(value: IRelationshipTemplateBody | RelationshipTemplateBodyJSON): RelationshipTemplateBody;
|
|
22
22
|
}
|