@nmshd/content 2.0.0-alpha.23 → 2.0.0-alpha.26
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 +1 -2
- package/dist/attributes/AbstractAttributeQuery.js.map +1 -1
- package/dist/attributes/AbstractComplexValue.d.ts +3 -2
- package/dist/attributes/AbstractComplexValue.js.map +1 -1
- package/dist/attributes/IdentityAttribute.d.ts +1 -0
- package/dist/attributes/IdentityAttribute.js +3 -0
- package/dist/attributes/IdentityAttribute.js.map +1 -1
- package/dist/attributes/IdentityAttributeQuery.d.ts +1 -0
- package/dist/attributes/IdentityAttributeQuery.js +3 -0
- package/dist/attributes/IdentityAttributeQuery.js.map +1 -1
- package/dist/attributes/RelationshipAttribute.d.ts +1 -0
- package/dist/attributes/RelationshipAttribute.js +3 -0
- package/dist/attributes/RelationshipAttribute.js.map +1 -1
- package/dist/attributes/RelationshipAttributeQuery.d.ts +1 -0
- package/dist/attributes/RelationshipAttributeQuery.js +3 -0
- package/dist/attributes/RelationshipAttributeQuery.js.map +1 -1
- package/dist/attributes/hints/RenderHints.d.ts +12 -9
- package/dist/attributes/hints/RenderHints.js +6 -5
- package/dist/attributes/hints/RenderHints.js.map +1 -1
- package/dist/attributes/hints/ValueHints.d.ts +2 -2
- package/dist/attributes/hints/ValueHints.js +2 -1
- package/dist/attributes/hints/ValueHints.js.map +1 -1
- package/dist/attributes/types/AbstractBoolean.d.ts +3 -0
- package/dist/attributes/types/AbstractBoolean.js +10 -0
- package/dist/attributes/types/AbstractBoolean.js.map +1 -1
- package/dist/attributes/types/AbstractFloat.d.ts +3 -0
- package/dist/attributes/types/AbstractFloat.js +10 -0
- package/dist/attributes/types/AbstractFloat.js.map +1 -1
- package/dist/attributes/types/AbstractInteger.js +1 -1
- package/dist/attributes/types/AbstractInteger.js.map +1 -1
- package/dist/attributes/types/AbstractString.d.ts +3 -0
- package/dist/attributes/types/AbstractString.js +13 -1
- package/dist/attributes/types/AbstractString.js.map +1 -1
- package/dist/attributes/types/dates/AbstractDateString.d.ts +3 -0
- package/dist/attributes/types/dates/AbstractDateString.js +15 -0
- package/dist/attributes/types/dates/AbstractDateString.js.map +1 -1
- package/dist/attributes/types/dates/AbstractDay.d.ts +3 -0
- package/dist/attributes/types/dates/AbstractDay.js +13 -0
- package/dist/attributes/types/dates/AbstractDay.js.map +1 -1
- package/dist/attributes/types/dates/AbstractMonth.d.ts +2 -0
- package/dist/attributes/types/dates/AbstractMonth.js +7 -0
- package/dist/attributes/types/dates/AbstractMonth.js.map +1 -1
- package/dist/attributes/types/dates/AbstractYear.d.ts +3 -0
- package/dist/attributes/types/dates/AbstractYear.js +13 -0
- package/dist/attributes/types/dates/AbstractYear.js.map +1 -1
- package/dist/attributes/types/person/Age.d.ts +2 -0
- package/dist/attributes/types/person/Age.js +6 -0
- package/dist/attributes/types/person/Age.js.map +1 -1
- package/dist/attributes/types/person/Sex.d.ts +3 -0
- package/dist/attributes/types/person/Sex.js +11 -0
- package/dist/attributes/types/person/Sex.js.map +1 -1
- package/dist/attributes/types/strings/AbstractCountry.d.ts +3 -0
- package/dist/attributes/types/strings/AbstractCountry.js +14 -0
- package/dist/attributes/types/strings/AbstractCountry.js.map +1 -1
- package/dist/attributes/types/strings/AbstractDataURL.d.ts +3 -0
- package/dist/attributes/types/strings/AbstractDataURL.js +15 -0
- package/dist/attributes/types/strings/AbstractDataURL.js.map +1 -1
- package/dist/attributes/types/strings/AbstractEMailAddress.d.ts +3 -0
- package/dist/attributes/types/strings/AbstractEMailAddress.js +16 -0
- package/dist/attributes/types/strings/AbstractEMailAddress.js.map +1 -1
- package/dist/attributes/types/strings/AbstractFileReference.d.ts +4 -0
- package/dist/attributes/types/strings/AbstractFileReference.js +31 -0
- package/dist/attributes/types/strings/AbstractFileReference.js.map +1 -1
- package/dist/attributes/types/strings/AbstractHEXColor.d.ts +3 -0
- package/dist/attributes/types/strings/AbstractHEXColor.js +15 -1
- package/dist/attributes/types/strings/AbstractHEXColor.js.map +1 -1
- package/dist/attributes/types/strings/AbstractLanguage.d.ts +3 -0
- package/dist/attributes/types/strings/AbstractLanguage.js +16 -0
- package/dist/attributes/types/strings/AbstractLanguage.js.map +1 -1
- package/dist/attributes/types/strings/AbstractPhoneNumber.d.ts +3 -0
- package/dist/attributes/types/strings/AbstractPhoneNumber.js +15 -1
- package/dist/attributes/types/strings/AbstractPhoneNumber.js.map +1 -1
- package/dist/attributes/types/strings/AbstractURL.d.ts +3 -0
- package/dist/attributes/types/strings/AbstractURL.js +15 -0
- package/dist/attributes/types/strings/AbstractURL.js.map +1 -1
- package/dist/buildInformation.js +4 -4
- package/dist/requests/items/createAttribute/CreateAttributeAcceptResponseItem.d.ts +13 -0
- package/dist/requests/items/createAttribute/CreateAttributeAcceptResponseItem.js +29 -0
- package/dist/requests/items/createAttribute/CreateAttributeAcceptResponseItem.js.map +1 -0
- package/dist/requests/items/createAttribute/CreateAttributeRequestItem.d.ts +13 -0
- package/dist/requests/items/createAttribute/CreateAttributeRequestItem.js +29 -0
- package/dist/requests/items/createAttribute/CreateAttributeRequestItem.js.map +1 -0
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.d.ts +3 -2
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -1
- package/lib-web/nmshd.content.js +262 -17
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +3 -3
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { CoreDate, CoreSerializable, ICoreDate, ICoreSerializable } from "@nmshd/transport";
|
|
2
2
|
import { ContentJSON } from "../ContentJSON";
|
|
3
3
|
export interface AbstractAttributeQueryJSON extends ContentJSON {
|
|
4
|
-
valueType
|
|
4
|
+
valueType: string;
|
|
5
5
|
validFrom?: string;
|
|
6
6
|
validTo?: string;
|
|
7
7
|
}
|
|
8
8
|
export interface IAbstractAttributeQuery extends ICoreSerializable {
|
|
9
|
-
valueType
|
|
9
|
+
valueType: string;
|
|
10
10
|
validFrom?: ICoreDate;
|
|
11
11
|
validTo?: ICoreDate;
|
|
12
12
|
}
|
|
13
13
|
export declare abstract class AbstractAttributeQuery extends CoreSerializable implements IAbstractAttributeQuery {
|
|
14
|
-
valueType
|
|
14
|
+
valueType: string;
|
|
15
15
|
validFrom?: CoreDate;
|
|
16
16
|
validTo?: CoreDate;
|
|
17
17
|
}
|
|
@@ -17,8 +17,7 @@ class AbstractAttributeQuery extends transport_1.CoreSerializable {
|
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, ts_serval_1.serialize)(),
|
|
19
19
|
(0, ts_serval_1.validate)({
|
|
20
|
-
customValidator: (v) => (v === "" ? "must not be an empty string" : undefined)
|
|
21
|
-
nullable: true
|
|
20
|
+
customValidator: (v) => (v === "" ? "must not be an empty string" : undefined)
|
|
22
21
|
}),
|
|
23
22
|
__metadata("design:type", String)
|
|
24
23
|
], AbstractAttributeQuery.prototype, "valueType", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/AbstractAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,gDAA2F;AAe3F,MAAsB,sBAAuB,SAAQ,4BAAgB;
|
|
1
|
+
{"version":3,"file":"AbstractAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/AbstractAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,gDAA2F;AAe3F,MAAsB,sBAAuB,SAAQ,4BAAgB;CAcpE;AATG;IAJC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,6BAA6B,CAAC,CAAC,CAAC,SAAS,CAAC;KACjF,CAAC;;yDACsB;AAIxB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACV,oBAAQ;yDAAA;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACZ,oBAAQ;uDAAA;AAb7B,wDAcC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { AbstractAttributeValue, AbstractAttributeValueJSON, IAbstractAttributeValue } from "./AbstractAttributeValue";
|
|
2
|
-
export interface AbstractComplexValueJSON extends AbstractAttributeValueJSON {
|
|
2
|
+
export interface AbstractComplexValueJSON extends AbstractAttributeValueJSON, Record<string, unknown> {
|
|
3
3
|
}
|
|
4
|
-
export interface IAbstractComplexValue extends IAbstractAttributeValue {
|
|
4
|
+
export interface IAbstractComplexValue extends IAbstractAttributeValue, Record<string, unknown> {
|
|
5
5
|
}
|
|
6
6
|
export declare abstract class AbstractComplexValue extends AbstractAttributeValue implements IAbstractComplexValue {
|
|
7
|
+
[key: string]: unknown;
|
|
7
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractComplexValue.js","sourceRoot":"","sources":["../../src/attributes/AbstractComplexValue.ts"],"names":[],"mappings":";;;AAAA,qEAAsH;AAMtH,MAAsB,oBAAqB,SAAQ,+CAAsB;
|
|
1
|
+
{"version":3,"file":"AbstractComplexValue.js","sourceRoot":"","sources":["../../src/attributes/AbstractComplexValue.ts"],"names":[],"mappings":";;;AAAA,qEAAsH;AAMtH,MAAsB,oBAAqB,SAAQ,+CAAsB;CAExE;AAFD,oDAEC"}
|
|
@@ -12,4 +12,5 @@ export declare class IdentityAttribute<TValueClass extends AbstractAttributeValu
|
|
|
12
12
|
value: TValueClass;
|
|
13
13
|
tags?: string[];
|
|
14
14
|
static from<TValueClass extends AbstractAttributeValue = AbstractAttributeValue, TValueInterface extends IAbstractAttributeValue = IAbstractAttributeValue, TValueJSONInterface extends AbstractAttributeValueJSON = AbstractAttributeValueJSON>(value: IIdentityAttribute<TValueInterface> | IdentityAttributeJSON<TValueJSONInterface>): IdentityAttribute<TValueClass>;
|
|
15
|
+
toJSON(): IdentityAttributeJSON;
|
|
15
16
|
}
|
|
@@ -17,6 +17,9 @@ let IdentityAttribute = class IdentityAttribute extends AbstractAttribute_1.Abst
|
|
|
17
17
|
static from(value) {
|
|
18
18
|
return this.fromAny(value);
|
|
19
19
|
}
|
|
20
|
+
toJSON() {
|
|
21
|
+
return super.toJSON();
|
|
22
|
+
}
|
|
20
23
|
};
|
|
21
24
|
__decorate([
|
|
22
25
|
(0, ts_serval_1.serialize)({ unionTypes: [AbstractAttributeValue_1.AbstractAttributeValue] }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IdentityAttribute.js","sourceRoot":"","sources":["../../src/attributes/IdentityAttribute.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,2DAAkG;AAClG,qEAAsH;AAgBtH,IAAa,iBAAiB,GAA9B,MAAa,iBACT,SAAQ,qCAAiB;IAYlB,MAAM,CAAC,IAAI,CAKd,KAAuF;QAEvF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAmC,CAAA;IAChE,CAAC;CACJ,CAAA;
|
|
1
|
+
{"version":3,"file":"IdentityAttribute.js","sourceRoot":"","sources":["../../src/attributes/IdentityAttribute.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,2DAAkG;AAClG,qEAAsH;AAgBtH,IAAa,iBAAiB,GAA9B,MAAa,iBACT,SAAQ,qCAAiB;IAYlB,MAAM,CAAC,IAAI,CAKd,KAAuF;QAEvF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAmC,CAAA;IAChE,CAAC;IAEe,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAA2B,CAAA;IAClD,CAAC;CACJ,CAAA;AAnBG;IAFC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,+CAAsB,CAAC,EAAE,CAAC;IACnD,IAAA,oBAAQ,GAAE;;gDACc;AAIzB;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAC3B,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACP;AAXb,iBAAiB;IAD7B,IAAA,gBAAI,EAAC,mBAAmB,CAAC;GACb,iBAAiB,CA0B7B;AA1BY,8CAAiB"}
|
|
@@ -8,4 +8,5 @@ export interface IIdentityAttributeQuery extends IAbstractAttributeQuery {
|
|
|
8
8
|
export declare class IdentityAttributeQuery extends AbstractAttributeQuery implements IIdentityAttributeQuery {
|
|
9
9
|
tags?: string[];
|
|
10
10
|
static from(value: IIdentityAttributeQuery | IdentityAttributeQueryJSON): IdentityAttributeQuery;
|
|
11
|
+
toJSON(): IdentityAttributeQueryJSON;
|
|
11
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IdentityAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/IdentityAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,qEAAsH;AAWtH,IAAa,sBAAsB,GAAnC,MAAa,sBAAuB,SAAQ,+CAAsB;IAKvD,MAAM,CAAC,IAAI,CAAC,KAA2D;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;
|
|
1
|
+
{"version":3,"file":"IdentityAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/IdentityAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,qEAAsH;AAWtH,IAAa,sBAAsB,GAAnC,MAAa,sBAAuB,SAAQ,+CAAsB;IAKvD,MAAM,CAAC,IAAI,CAAC,KAA2D;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAAgC,CAAA;IACvD,CAAC;CACJ,CAAA;AATG;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAC3B,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACP;AAHb,sBAAsB;IADlC,IAAA,gBAAI,EAAC,wBAAwB,CAAC;GAClB,sBAAsB,CAYlC;AAZY,wDAAsB"}
|
|
@@ -49,4 +49,5 @@ export declare class RelationshipAttribute<TValueClass extends AbstractAttribute
|
|
|
49
49
|
confidentiality: RelationshipAttributeConfidentiality;
|
|
50
50
|
protected static preFrom(value: any): any;
|
|
51
51
|
static from<TValueClass extends AbstractAttributeValue = AbstractAttributeValue, TValueInterface extends IAbstractAttributeValue = IAbstractAttributeValue, TValueJSONInterface extends AbstractAttributeValueJSON = AbstractAttributeValueJSON>(value: IRelationshipAttribute<TValueInterface> | RelationshipAttributeJSON<TValueJSONInterface>): RelationshipAttribute<TValueClass>;
|
|
52
|
+
toJSON(): RelationshipAttributeJSON;
|
|
52
53
|
}
|
|
@@ -53,6 +53,9 @@ let RelationshipAttribute = class RelationshipAttribute extends AbstractAttribut
|
|
|
53
53
|
static from(value) {
|
|
54
54
|
return this.fromAny(value);
|
|
55
55
|
}
|
|
56
|
+
toJSON() {
|
|
57
|
+
return super.toJSON();
|
|
58
|
+
}
|
|
56
59
|
};
|
|
57
60
|
__decorate([
|
|
58
61
|
(0, ts_serval_1.serialize)({ unionTypes: [AbstractAttributeValue_1.AbstractAttributeValue] }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipAttribute.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttribute.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,2DAAkG;AAClG,qEAAsH;AAEtH,IAAY,oCA6BX;AA7BD,WAAY,oCAAoC;IAC5C;;;;;;;;;OASG;IACH,yDAAiB,CAAA;IACjB;;;;;;OAMG;IACH,2DAAmB,CAAA;IACnB;;;;;;;OAOG;IACH,+DAAuB,CAAA;AAC3B,CAAC,EA7BW,oCAAoC,GAApC,4CAAoC,KAApC,4CAAoC,QA6B/C;AAoBD,IAAa,qBAAqB,GAAlC,MAAa,qBACT,SAAQ,qCAAiB;IAyBf,MAAM,CAAU,OAAO,CAAC,KAAU;QACxC,IAAI,OAAO,KAAK,CAAC,WAAW,KAAK,WAAW;YAAE,KAAK,CAAC,WAAW,GAAG,KAAK,CAAA;QAEvE,OAAO,KAAK,CAAA;IAChB,CAAC;IAEM,MAAM,CAAC,IAAI,CAKd,KAA+F;QAE/F,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAuC,CAAA;IACpE,CAAC;CACJ,CAAA;
|
|
1
|
+
{"version":3,"file":"RelationshipAttribute.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttribute.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,2DAAkG;AAClG,qEAAsH;AAEtH,IAAY,oCA6BX;AA7BD,WAAY,oCAAoC;IAC5C;;;;;;;;;OASG;IACH,yDAAiB,CAAA;IACjB;;;;;;OAMG;IACH,2DAAmB,CAAA;IACnB;;;;;;;OAOG;IACH,+DAAuB,CAAA;AAC3B,CAAC,EA7BW,oCAAoC,GAApC,4CAAoC,KAApC,4CAAoC,QA6B/C;AAoBD,IAAa,qBAAqB,GAAlC,MAAa,qBACT,SAAQ,qCAAiB;IAyBf,MAAM,CAAU,OAAO,CAAC,KAAU;QACxC,IAAI,OAAO,KAAK,CAAC,WAAW,KAAK,WAAW;YAAE,KAAK,CAAC,WAAW,GAAG,KAAK,CAAA;QAEvE,OAAO,KAAK,CAAA;IAChB,CAAC;IAEM,MAAM,CAAC,IAAI,CAKd,KAA+F;QAE/F,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAuC,CAAA;IACpE,CAAC;IAEe,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAA+B,CAAA;IACtD,CAAC;CACJ,CAAA;AAtCG;IAFC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,+CAAsB,CAAC,EAAE,CAAC;IACnD,IAAA,oBAAQ,GAAE;;oDACc;AAIzB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;kDACO;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACF;AAS3B;IAPC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,MAAM,CAAC,MAAM,CAAC,oCAAoC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;YAC5D,CAAC,CAAC,mBAAmB,MAAM,CAAC,MAAM,CAAC,oCAAoC,CAAC,EAAE;YAC1E,CAAC,CAAC,SAAS;KACtB,CAAC;;8DAC0D;AAxBnD,qBAAqB;IADjC,IAAA,gBAAI,EAAC,uBAAuB,CAAC;GACjB,qBAAqB,CA6CjC;AA7CY,sDAAqB"}
|
|
@@ -19,4 +19,5 @@ export declare class RelationshipAttributeQuery extends AbstractAttributeQuery i
|
|
|
19
19
|
attributeHints: RelationshipAttributeHints;
|
|
20
20
|
thirdParty?: CoreAddress;
|
|
21
21
|
static from(value: IRelationshipAttributeQuery | RelationshipAttributeQueryJSON): RelationshipAttributeQuery;
|
|
22
|
+
toJSON(): RelationshipAttributeQueryJSON;
|
|
22
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA4D;AAC5D,qEAAsH;AACtH,mFAI2C;AAiB3C,IAAa,0BAA0B,GAAvC,MAAa,0BAA2B,SAAQ,+CAAsB;IAiB3D,MAAM,CAAC,IAAI,CACd,KAAmE;QAEnE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;
|
|
1
|
+
{"version":3,"file":"RelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA4D;AAC5D,qEAAsH;AACtH,mFAI2C;AAiB3C,IAAa,0BAA0B,GAAvC,MAAa,0BAA2B,SAAQ,+CAAsB;IAiB3D,MAAM,CAAC,IAAI,CACd,KAAmE;QAEnE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAAoC,CAAA;IAC3D,CAAC;CACJ,CAAA;AAvBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;uDACO;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACG,uBAAW;yDAAA;AAIzB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACY,uDAA0B;kEAAA;AAIjD;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACT,uBAAW;8DAAA;AAftB,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CA0BtC;AA1BY,gEAA0B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Serializable } from "@js-soft/ts-serval";
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
+
import { ContentJSON } from "../../ContentJSON";
|
|
2
3
|
export declare enum RenderHintsTechnicalType {
|
|
3
4
|
Boolean = "Boolean",
|
|
4
5
|
Float = "Float",
|
|
@@ -30,14 +31,17 @@ export declare enum RenderHintsDataType {
|
|
|
30
31
|
DateTime = "DateTime",
|
|
31
32
|
DateTimePeriod = "DateTimePeriod",
|
|
32
33
|
Time = "Time",
|
|
33
|
-
TimePeriod = "TimePeriod"
|
|
34
|
+
TimePeriod = "TimePeriod",
|
|
35
|
+
Day = "Day",
|
|
36
|
+
Month = "Month",
|
|
37
|
+
Year = "Year"
|
|
34
38
|
}
|
|
35
|
-
export interface RenderHintsJSON {
|
|
39
|
+
export interface RenderHintsJSON extends ContentJSON {
|
|
36
40
|
technicalType: RenderHintsTechnicalType;
|
|
37
41
|
editType: RenderHintsEditType;
|
|
38
42
|
dataType?: RenderHintsDataType;
|
|
39
43
|
}
|
|
40
|
-
export interface IRenderHints {
|
|
44
|
+
export interface IRenderHints extends ISerializable {
|
|
41
45
|
technicalType: RenderHintsTechnicalType;
|
|
42
46
|
editType: RenderHintsEditType;
|
|
43
47
|
dataType?: RenderHintsDataType;
|
|
@@ -47,8 +51,8 @@ export declare class RenderHints extends Serializable implements IRenderHints {
|
|
|
47
51
|
editType: RenderHintsEditType;
|
|
48
52
|
dataType?: RenderHintsDataType;
|
|
49
53
|
static from(value: IRenderHints): RenderHints;
|
|
50
|
-
toJSON():
|
|
51
|
-
copyWith(override?: Partial<IRenderHintsOverride>): RenderHints;
|
|
54
|
+
toJSON(): RenderHintsJSON;
|
|
55
|
+
copyWith(override?: Partial<IRenderHintsOverride | RenderHintsOverrideJSON | RenderHintsOverride>): RenderHints;
|
|
52
56
|
}
|
|
53
57
|
export interface RenderHintsOverrideJSON {
|
|
54
58
|
technicalType?: RenderHintsTechnicalType;
|
|
@@ -64,7 +68,6 @@ export declare class RenderHintsOverride extends Serializable implements IRender
|
|
|
64
68
|
technicalType?: RenderHintsTechnicalType;
|
|
65
69
|
editType?: RenderHintsEditType;
|
|
66
70
|
dataType?: RenderHintsDataType;
|
|
67
|
-
static from(value:
|
|
68
|
-
toJSON():
|
|
69
|
-
with(override: Partial<RenderHintsOverrideJSON>): RenderHints;
|
|
71
|
+
static from(value: IRenderHintsOverride | RenderHintsOverrideJSON): RenderHintsOverride;
|
|
72
|
+
toJSON(): RenderHintsOverrideJSON;
|
|
70
73
|
}
|
|
@@ -47,6 +47,9 @@ var RenderHintsDataType;
|
|
|
47
47
|
RenderHintsDataType["DateTimePeriod"] = "DateTimePeriod";
|
|
48
48
|
RenderHintsDataType["Time"] = "Time";
|
|
49
49
|
RenderHintsDataType["TimePeriod"] = "TimePeriod";
|
|
50
|
+
RenderHintsDataType["Day"] = "Day";
|
|
51
|
+
RenderHintsDataType["Month"] = "Month";
|
|
52
|
+
RenderHintsDataType["Year"] = "Year";
|
|
50
53
|
})(RenderHintsDataType = exports.RenderHintsDataType || (exports.RenderHintsDataType = {}));
|
|
51
54
|
let RenderHints = RenderHints_1 = class RenderHints extends ts_serval_1.Serializable {
|
|
52
55
|
static from(value) {
|
|
@@ -56,7 +59,8 @@ let RenderHints = RenderHints_1 = class RenderHints extends ts_serval_1.Serializ
|
|
|
56
59
|
return super.toJSON();
|
|
57
60
|
}
|
|
58
61
|
copyWith(override) {
|
|
59
|
-
|
|
62
|
+
const overrideJson = override && override instanceof ts_serval_1.Serializable ? override.toJSON() : override;
|
|
63
|
+
return RenderHints_1.from({ ...this.toJSON(), ...overrideJson });
|
|
60
64
|
}
|
|
61
65
|
};
|
|
62
66
|
__decorate([
|
|
@@ -85,9 +89,6 @@ let RenderHintsOverride = class RenderHintsOverride extends ts_serval_1.Serializ
|
|
|
85
89
|
toJSON() {
|
|
86
90
|
return super.toJSON();
|
|
87
91
|
}
|
|
88
|
-
with(override) {
|
|
89
|
-
return RenderHints.from({ ...this.toJSON(), ...override });
|
|
90
|
-
}
|
|
91
92
|
};
|
|
92
93
|
__decorate([
|
|
93
94
|
(0, ts_serval_1.serialize)(),
|
|
@@ -105,7 +106,7 @@ __decorate([
|
|
|
105
106
|
__metadata("design:type", String)
|
|
106
107
|
], RenderHintsOverride.prototype, "dataType", void 0);
|
|
107
108
|
RenderHintsOverride = __decorate([
|
|
108
|
-
(0, ts_serval_1.type)("
|
|
109
|
+
(0, ts_serval_1.type)("RenderHintsOverride")
|
|
109
110
|
], RenderHintsOverride);
|
|
110
111
|
exports.RenderHintsOverride = RenderHintsOverride;
|
|
111
112
|
//# sourceMappingURL=RenderHints.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/RenderHints.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"RenderHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/RenderHints.ts"],"names":[],"mappings":"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"}
|
|
@@ -9,7 +9,7 @@ export interface ValueHintsJSON extends ContentJSON {
|
|
|
9
9
|
values?: ValueHintsValueJSON[];
|
|
10
10
|
defaultValue?: string | number | boolean;
|
|
11
11
|
}
|
|
12
|
-
export interface ValueHintsOverrideJSON extends Partial<
|
|
12
|
+
export interface ValueHintsOverrideJSON extends Partial<ValueHintsJSON> {
|
|
13
13
|
}
|
|
14
14
|
export interface IValueHints extends ISerializable {
|
|
15
15
|
editHelp?: string;
|
|
@@ -30,7 +30,7 @@ export declare class ValueHints extends Serializable implements IValueHints {
|
|
|
30
30
|
defaultValue?: number | string | boolean;
|
|
31
31
|
static from(value: IValueHints | ValueHintsJSON): ValueHints;
|
|
32
32
|
toJSON(): ValueHintsJSON;
|
|
33
|
-
copyWith(override?: Partial<ValueHintsOverrideJSON>): ValueHints;
|
|
33
|
+
copyWith(override?: Partial<IValueHintsOverride | ValueHintsOverrideJSON | ValueHintsOverride>): ValueHints;
|
|
34
34
|
}
|
|
35
35
|
export declare class ValueHintsOverride extends Serializable implements IValueHintsOverride {
|
|
36
36
|
editHelp?: string;
|
|
@@ -21,7 +21,8 @@ let ValueHints = ValueHints_1 = class ValueHints extends ts_serval_1.Serializabl
|
|
|
21
21
|
return super.toJSON();
|
|
22
22
|
}
|
|
23
23
|
copyWith(override) {
|
|
24
|
-
|
|
24
|
+
const overrideJson = override && override instanceof ts_serval_1.Serializable ? override.toJSON() : override;
|
|
25
|
+
return ValueHints_1.from({ ...this.toJSON(), ...overrideJson });
|
|
25
26
|
}
|
|
26
27
|
};
|
|
27
28
|
__decorate([
|
|
@@ -1 +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,
|
|
1
|
+
{"version":3,"file":"ValueHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/ValueHints.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AbstractAttributeValue, AbstractAttributeValueJSON, IAbstractAttributeValue } from "../AbstractAttributeValue";
|
|
2
|
+
import { RenderHints, ValueHints } from "../hints";
|
|
2
3
|
export declare type AbstractBooleanJSON = IAbstractBooleanJSON | number;
|
|
3
4
|
export interface IAbstractBooleanJSON extends AbstractAttributeValueJSON {
|
|
4
5
|
value: boolean;
|
|
@@ -10,4 +11,6 @@ export declare class AbstractBoolean extends AbstractAttributeValue implements I
|
|
|
10
11
|
value: boolean;
|
|
11
12
|
static preFrom(value: any): any;
|
|
12
13
|
toString(): string;
|
|
14
|
+
static get valueHints(): ValueHints;
|
|
15
|
+
static get renderHints(): RenderHints;
|
|
13
16
|
}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.AbstractBoolean = 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 AbstractBoolean extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
16
17
|
static preFrom(value) {
|
|
17
18
|
if (typeof value === "boolean")
|
|
@@ -21,6 +22,15 @@ class AbstractBoolean 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.Boolean
|
|
32
|
+
});
|
|
33
|
+
}
|
|
24
34
|
}
|
|
25
35
|
__decorate([
|
|
26
36
|
(0, ts_serval_1.serialize)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractBoolean.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractBoolean.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;
|
|
1
|
+
{"version":3,"file":"AbstractBoolean.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractBoolean.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,SAAS;YAAE,KAAK,GAAG,EAAE,KAAK,EAAE,CAAA;QACjD,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;CACJ;AArBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;8CACU;AAHzB,0CAwBC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AbstractAttributeValue, AbstractAttributeValueJSON, IAbstractAttributeValue } from "../AbstractAttributeValue";
|
|
2
|
+
import { RenderHints, ValueHints } from "../hints";
|
|
2
3
|
export declare type AbstractFloatJSON = IAbstractFloatJSON | number;
|
|
3
4
|
export interface IAbstractFloatJSON extends AbstractAttributeValueJSON {
|
|
4
5
|
value: number;
|
|
@@ -10,4 +11,6 @@ export declare class AbstractFloat extends AbstractAttributeValue implements IAb
|
|
|
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;
|
|
13
16
|
}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.AbstractFloat = 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 AbstractFloat extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
16
17
|
static preFrom(value) {
|
|
17
18
|
if (typeof value === "number")
|
|
@@ -21,6 +22,15 @@ class AbstractFloat 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.ButtonLike,
|
|
31
|
+
technicalType: hints_1.RenderHintsTechnicalType.Float
|
|
32
|
+
});
|
|
33
|
+
}
|
|
24
34
|
}
|
|
25
35
|
__decorate([
|
|
26
36
|
(0, ts_serval_1.serialize)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractFloat.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractFloat.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;
|
|
1
|
+
{"version":3,"file":"AbstractFloat.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractFloat.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;AAYjG,MAAa,aAAc,SAAQ,+CAAsB;IAK9C,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,UAAU;YACxC,aAAa,EAAE,gCAAwB,CAAC,KAAK;SAChD,CAAC,CAAA;IACN,CAAC;CACJ;AArBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;4CACS;AAHxB,sCAwBC"}
|
|
@@ -27,7 +27,7 @@ class AbstractInteger extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
27
27
|
}
|
|
28
28
|
static get renderHints() {
|
|
29
29
|
return hints_1.RenderHints.from({
|
|
30
|
-
editType: hints_1.RenderHintsEditType.
|
|
30
|
+
editType: hints_1.RenderHintsEditType.ButtonLike,
|
|
31
31
|
technicalType: hints_1.RenderHintsTechnicalType.Integer
|
|
32
32
|
});
|
|
33
33
|
}
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,UAAU;YACxC,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"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AbstractAttributeValue, AbstractAttributeValueJSON, IAbstractAttributeValue } from "../AbstractAttributeValue";
|
|
2
|
+
import { RenderHints, ValueHints } from "../hints";
|
|
2
3
|
export declare type AbstractStringJSON = IAbstractStringJSON | string;
|
|
3
4
|
export interface IAbstractStringJSON extends AbstractAttributeValueJSON {
|
|
4
5
|
value: string;
|
|
@@ -10,4 +11,6 @@ export declare class AbstractString extends AbstractAttributeValue implements IA
|
|
|
10
11
|
value: string;
|
|
11
12
|
static preFrom(value: any): any;
|
|
12
13
|
toString(): string;
|
|
14
|
+
static get valueHints(): ValueHints;
|
|
15
|
+
static get renderHints(): RenderHints;
|
|
13
16
|
}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.AbstractString = 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 AbstractString extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
16
17
|
static preFrom(value) {
|
|
17
18
|
if (typeof value === "string")
|
|
@@ -21,10 +22,21 @@ class AbstractString 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
|
+
max: 200
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
static get renderHints() {
|
|
31
|
+
return hints_1.RenderHints.from({
|
|
32
|
+
editType: hints_1.RenderHintsEditType.InputLike,
|
|
33
|
+
technicalType: hints_1.RenderHintsTechnicalType.String
|
|
34
|
+
});
|
|
35
|
+
}
|
|
24
36
|
}
|
|
25
37
|
__decorate([
|
|
26
38
|
(0, ts_serval_1.serialize)(),
|
|
27
|
-
(0, ts_serval_1.validate)(),
|
|
39
|
+
(0, ts_serval_1.validate)({ max: 200 }),
|
|
28
40
|
__metadata("design:type", String)
|
|
29
41
|
], AbstractString.prototype, "value", void 0);
|
|
30
42
|
exports.AbstractString = AbstractString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractString.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;
|
|
1
|
+
{"version":3,"file":"AbstractString.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;AAYjG,MAAa,cAAe,SAAQ,+CAAsB;IAK/C,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;YACnB,GAAG,EAAE,GAAG;SACX,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAK,WAAW;QACzB,OAAO,mBAAW,CAAC,IAAI,CAAC;YACpB,QAAQ,EAAE,2BAAmB,CAAC,SAAS;YACvC,aAAa,EAAE,gCAAwB,CAAC,MAAM;SACjD,CAAC,CAAA;IACN,CAAC;CACJ;AAvBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;;6CACH;AAHxB,wCA0BC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { RenderHints, ValueHints } from "../../../attributes/hints";
|
|
1
2
|
import { AbstractString } from "../AbstractString";
|
|
2
3
|
export declare abstract class AbstractDateString extends AbstractString {
|
|
3
4
|
private static readonly format;
|
|
4
5
|
value: string;
|
|
6
|
+
static get valueHints(): ValueHints;
|
|
7
|
+
static get renderHints(): RenderHints;
|
|
5
8
|
}
|
|
@@ -12,13 +12,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.AbstractDateString = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
14
|
const luxon_1 = require("luxon");
|
|
15
|
+
const hints_1 = require("../../../attributes/hints");
|
|
15
16
|
const AbstractString_1 = require("../AbstractString");
|
|
16
17
|
class AbstractDateString extends AbstractString_1.AbstractString {
|
|
18
|
+
static get valueHints() {
|
|
19
|
+
return super.valueHints.copyWith({
|
|
20
|
+
min: 10,
|
|
21
|
+
max: 10
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
static get renderHints() {
|
|
25
|
+
return super.renderHints.copyWith({
|
|
26
|
+
editType: hints_1.RenderHintsEditType.SelectLike,
|
|
27
|
+
dataType: hints_1.RenderHintsDataType.Date
|
|
28
|
+
});
|
|
29
|
+
}
|
|
17
30
|
}
|
|
18
31
|
AbstractDateString.format = "yyyy-MM-dd";
|
|
19
32
|
__decorate([
|
|
20
33
|
(0, ts_serval_1.serialize)(),
|
|
21
34
|
(0, ts_serval_1.validate)({
|
|
35
|
+
min: 10,
|
|
36
|
+
max: 10,
|
|
22
37
|
customValidator: (v) => !luxon_1.DateTime.fromFormat(v, AbstractDateString.format).isValid
|
|
23
38
|
? `must match the following format: '${AbstractDateString.format}'`
|
|
24
39
|
: undefined
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractDateString.js","sourceRoot":"","sources":["../../../../src/attributes/types/dates/AbstractDateString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,iCAAgC;AAChC,sDAAkD;AAElD,MAAsB,kBAAmB,SAAQ,+BAAc;;
|
|
1
|
+
{"version":3,"file":"AbstractDateString.js","sourceRoot":"","sources":["../../../../src/attributes/types/dates/AbstractDateString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,iCAAgC;AAChC,qDAA6G;AAC7G,sDAAkD;AAElD,MAAsB,kBAAmB,SAAQ,+BAAc;IAcpD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,EAAE;YACP,GAAG,EAAE,EAAE;SACV,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,QAAQ,EAAE,2BAAmB,CAAC,IAAI;SACrC,CAAC,CAAA;IACN,CAAC;;AAzBuB,yBAAM,GAAG,YAAY,CAAA;AAW7C;IATC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,gBAAQ,CAAC,UAAU,CAAC,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,OAAO;YACtD,CAAC,CAAC,qCAAqC,kBAAkB,CAAC,MAAM,GAAG;YACnE,CAAC,CAAC,SAAS;KACtB,CAAC;;iDAC2B;AAZjC,gDA2BC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { RenderHints, ValueHints } from "../../../attributes/hints";
|
|
1
2
|
import { AbstractInteger } from "../AbstractInteger";
|
|
2
3
|
/**
|
|
3
4
|
* day values start with 1 = first day of month
|
|
4
5
|
*/
|
|
5
6
|
export declare abstract class AbstractDay extends AbstractInteger {
|
|
6
7
|
value: number;
|
|
8
|
+
static get valueHints(): ValueHints;
|
|
9
|
+
static get renderHints(): RenderHints;
|
|
7
10
|
}
|
|
@@ -11,11 +11,24 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AbstractDay = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const hints_1 = require("../../../attributes/hints");
|
|
14
15
|
const AbstractInteger_1 = require("../AbstractInteger");
|
|
15
16
|
/**
|
|
16
17
|
* day values start with 1 = first day of month
|
|
17
18
|
*/
|
|
18
19
|
class AbstractDay extends AbstractInteger_1.AbstractInteger {
|
|
20
|
+
static get valueHints() {
|
|
21
|
+
return super.valueHints.copyWith({
|
|
22
|
+
min: 1,
|
|
23
|
+
max: 31
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
static get renderHints() {
|
|
27
|
+
return super.renderHints.copyWith({
|
|
28
|
+
editType: hints_1.RenderHintsEditType.SelectLike,
|
|
29
|
+
dataType: hints_1.RenderHintsDataType.Day
|
|
30
|
+
});
|
|
31
|
+
}
|
|
19
32
|
}
|
|
20
33
|
__decorate([
|
|
21
34
|
(0, ts_serval_1.serialize)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractDay.js","sourceRoot":"","sources":["../../../../src/attributes/types/dates/AbstractDay.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,wDAAoD;AAEpD;;GAEG;AACH,MAAsB,WAAY,SAAQ,iCAAe;
|
|
1
|
+
{"version":3,"file":"AbstractDay.js","sourceRoot":"","sources":["../../../../src/attributes/types/dates/AbstractDay.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,wDAAoD;AAEpD;;GAEG;AACH,MAAsB,WAAY,SAAQ,iCAAe;IAQ9C,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,EAAE;SACV,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,QAAQ,EAAE,2BAAmB,CAAC,GAAG;SACpC,CAAC,CAAA;IACN,CAAC;CACJ;AAfG;IALC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,2CAA2C,CAAC,CAAC,CAAC,SAAS;KACxG,CAAC;;0CAC2B;AANjC,kCAqBC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RenderHints } from "../../../attributes/hints";
|
|
1
2
|
import { ValueHints } from "../../hints/ValueHints";
|
|
2
3
|
import { AbstractInteger } from "../AbstractInteger";
|
|
3
4
|
/**
|
|
@@ -23,5 +24,6 @@ declare enum Month {
|
|
|
23
24
|
export declare class AbstractMonth extends AbstractInteger {
|
|
24
25
|
value: Month;
|
|
25
26
|
static get valueHints(): ValueHints;
|
|
27
|
+
static get renderHints(): RenderHints;
|
|
26
28
|
}
|
|
27
29
|
export {};
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AbstractMonth = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const hints_1 = require("../../../attributes/hints");
|
|
14
15
|
const AbstractInteger_1 = require("../AbstractInteger");
|
|
15
16
|
/**
|
|
16
17
|
* Month values: 1 (january) - 12 (december)
|
|
@@ -40,6 +41,12 @@ class AbstractMonth extends AbstractInteger_1.AbstractInteger {
|
|
|
40
41
|
max: 12
|
|
41
42
|
});
|
|
42
43
|
}
|
|
44
|
+
static get renderHints() {
|
|
45
|
+
return super.renderHints.copyWith({
|
|
46
|
+
editType: hints_1.RenderHintsEditType.SelectLike,
|
|
47
|
+
dataType: hints_1.RenderHintsDataType.Month
|
|
48
|
+
});
|
|
49
|
+
}
|
|
43
50
|
}
|
|
44
51
|
__decorate([
|
|
45
52
|
(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;AACxD,qDAAiG;AAEjG,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;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,QAAQ,EAAE,2BAAmB,CAAC,KAAK;SACtC,CAAC,CAAA;IACN,CAAC;CACJ;AAfG;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,sCAuBC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { RenderHints, ValueHints } from "../../../attributes/hints";
|
|
1
2
|
import { AbstractInteger } from "../AbstractInteger";
|
|
2
3
|
export declare abstract class AbstractYear extends AbstractInteger {
|
|
3
4
|
value: number;
|
|
5
|
+
static get valueHints(): ValueHints;
|
|
6
|
+
static get renderHints(): RenderHints;
|
|
4
7
|
}
|