@nmshd/content 2.8.10 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/attributes/types/address/AbstractAddress.d.ts +0 -271
- package/dist/attributes/types/address/AbstractAddress.d.ts.map +1 -1
- package/dist/attributes/types/address/AbstractAddress.js +3 -7
- package/dist/attributes/types/address/AbstractAddress.js.map +1 -1
- package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +0 -1682
- package/dist/attributes/types/address/DeliveryBoxAddress.d.ts.map +1 -1
- package/dist/attributes/types/address/DeliveryBoxAddress.js +15 -19
- package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +0 -1397
- package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts.map +1 -1
- package/dist/attributes/types/address/PostOfficeBoxAddress.js +11 -15
- package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/StreetAddress.d.ts +0 -1946
- package/dist/attributes/types/address/StreetAddress.d.ts.map +1 -1
- package/dist/attributes/types/address/StreetAddress.js +13 -14
- package/dist/attributes/types/address/StreetAddress.js.map +1 -1
- package/dist/attributes/types/affiliation/Affiliation.d.ts +0 -1105
- package/dist/attributes/types/affiliation/Affiliation.d.ts.map +1 -1
- package/dist/attributes/types/affiliation/Affiliation.js +7 -11
- package/dist/attributes/types/affiliation/Affiliation.js.map +1 -1
- package/dist/attributes/types/birth/BirthDate.d.ts +0 -1105
- package/dist/attributes/types/birth/BirthDate.d.ts.map +1 -1
- package/dist/attributes/types/birth/BirthDate.js +8 -13
- package/dist/attributes/types/birth/BirthDate.js.map +1 -1
- package/dist/attributes/types/birth/BirthPlace.d.ts +0 -1105
- package/dist/attributes/types/birth/BirthPlace.d.ts.map +1 -1
- package/dist/attributes/types/birth/BirthPlace.js +7 -11
- package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
- package/dist/attributes/types/measurements/AbstractLengthMeasurement.d.ts.map +1 -1
- package/dist/attributes/types/measurements/AbstractLengthMeasurement.js +2 -1
- package/dist/attributes/types/measurements/AbstractLengthMeasurement.js.map +1 -1
- package/dist/attributes/types/measurements/AbstractMeasurement.d.ts +0 -285
- package/dist/attributes/types/measurements/AbstractMeasurement.d.ts.map +1 -1
- package/dist/attributes/types/measurements/AbstractMeasurement.js +5 -9
- package/dist/attributes/types/measurements/AbstractMeasurement.js.map +1 -1
- package/dist/attributes/types/name/PersonName.d.ts +0 -1661
- package/dist/attributes/types/name/PersonName.d.ts.map +1 -1
- package/dist/attributes/types/name/PersonName.js +11 -15
- package/dist/attributes/types/name/PersonName.js.map +1 -1
- package/dist/attributes/types/statement/AbstractIdentityDescriptor.d.ts +1 -2
- package/dist/attributes/types/statement/AbstractIdentityDescriptor.d.ts.map +1 -1
- package/dist/attributes/types/statement/AbstractIdentityDescriptor.js +3 -7
- package/dist/attributes/types/statement/AbstractIdentityDescriptor.js.map +1 -1
- package/dist/attributes/types/statement/AbstractStatement.d.ts +0 -1
- package/dist/attributes/types/statement/AbstractStatement.d.ts.map +1 -1
- package/dist/attributes/types/statement/AbstractStatement.js +12 -16
- package/dist/attributes/types/statement/AbstractStatement.js.map +1 -1
- package/dist/attributes/types/statement/DigitalIdentityDescriptor.d.ts +0 -1
- package/dist/attributes/types/statement/DigitalIdentityDescriptor.d.ts.map +1 -1
- package/dist/attributes/types/statement/DigitalIdentityDescriptor.js +3 -7
- package/dist/attributes/types/statement/DigitalIdentityDescriptor.js.map +1 -1
- package/dist/attributes/types/statement/StatementIssuerConditions.d.ts +0 -1
- package/dist/attributes/types/statement/StatementIssuerConditions.d.ts.map +1 -1
- package/dist/attributes/types/statement/StatementIssuerConditions.js +11 -15
- package/dist/attributes/types/statement/StatementIssuerConditions.js.map +1 -1
- package/dist/attributes/types/statement/StatementObject.d.ts +0 -1
- package/dist/attributes/types/statement/StatementObject.d.ts.map +1 -1
- package/dist/attributes/types/statement/StatementObject.js +3 -7
- package/dist/attributes/types/statement/StatementObject.js.map +1 -1
- package/dist/attributes/types/statement/StatementSubject.d.ts +0 -1
- package/dist/attributes/types/statement/StatementSubject.d.ts.map +1 -1
- package/dist/attributes/types/statement/StatementSubject.js +3 -7
- package/dist/attributes/types/statement/StatementSubject.js.map +1 -1
- package/dist/buildInformation.js +5 -5
- package/dist/notifications/items/OwnSharedAttributeDeletedByOwnerNotificationItem.d.ts +14 -0
- package/dist/notifications/items/OwnSharedAttributeDeletedByOwnerNotificationItem.d.ts.map +1 -0
- package/dist/notifications/items/OwnSharedAttributeDeletedByOwnerNotificationItem.js +30 -0
- package/dist/notifications/items/OwnSharedAttributeDeletedByOwnerNotificationItem.js.map +1 -0
- package/dist/notifications/items/PeerSharedAttributeDeletedByPeerNotificationItem.d.ts +14 -0
- package/dist/notifications/items/PeerSharedAttributeDeletedByPeerNotificationItem.d.ts.map +1 -0
- package/dist/notifications/items/PeerSharedAttributeDeletedByPeerNotificationItem.js +30 -0
- package/dist/notifications/items/PeerSharedAttributeDeletedByPeerNotificationItem.js.map +1 -0
- package/dist/notifications/items/PeerSharedAttributeSucceededNotificationItem.d.ts +2 -2
- package/dist/notifications/items/PeerSharedAttributeSucceededNotificationItem.d.ts.map +1 -1
- package/dist/notifications/items/PeerSharedAttributeSucceededNotificationItem.js.map +1 -1
- package/dist/notifications/items/ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.d.ts +14 -0
- package/dist/notifications/items/ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.d.ts.map +1 -0
- package/dist/notifications/items/ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.js +30 -0
- package/dist/notifications/items/ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.js.map +1 -0
- package/dist/notifications/items/index.d.ts +3 -0
- package/dist/notifications/items/index.d.ts.map +1 -1
- package/dist/notifications/items/index.js +3 -0
- package/dist/notifications/items/index.js.map +1 -1
- package/dist/requests/items/authentication/AuthenticationRequestItem.d.ts +1 -1
- package/dist/requests/items/authentication/AuthenticationRequestItem.d.ts.map +1 -1
- package/dist/requests/items/authentication/AuthenticationRequestItem.js.map +1 -1
- package/dist/requests/items/consent/ConsentRequestItem.d.ts +1 -1
- package/dist/requests/items/consent/ConsentRequestItem.d.ts.map +1 -1
- package/dist/requests/items/consent/ConsentRequestItem.js.map +1 -1
- package/dist/requests/items/createAttribute/CreateAttributeAcceptResponseItem.d.ts +1 -1
- package/dist/requests/items/createAttribute/CreateAttributeAcceptResponseItem.d.ts.map +1 -1
- package/dist/requests/items/createAttribute/CreateAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/createAttribute/CreateAttributeRequestItem.d.ts +2 -2
- package/dist/requests/items/createAttribute/CreateAttributeRequestItem.d.ts.map +1 -1
- package/dist/requests/items/createAttribute/CreateAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/deleteAttribute/DeleteAttributeAcceptResponseItem.d.ts +15 -0
- package/dist/requests/items/deleteAttribute/DeleteAttributeAcceptResponseItem.d.ts.map +1 -0
- package/dist/requests/items/deleteAttribute/DeleteAttributeAcceptResponseItem.js +33 -0
- package/dist/requests/items/deleteAttribute/DeleteAttributeAcceptResponseItem.js.map +1 -0
- package/dist/requests/items/deleteAttribute/DeleteAttributeRequestItem.d.ts +16 -0
- package/dist/requests/items/deleteAttribute/DeleteAttributeRequestItem.d.ts.map +1 -0
- package/dist/requests/items/deleteAttribute/DeleteAttributeRequestItem.js +33 -0
- package/dist/requests/items/deleteAttribute/DeleteAttributeRequestItem.js.map +1 -0
- package/dist/requests/items/freeText/FreeTextAcceptResponseItem.d.ts +1 -1
- package/dist/requests/items/freeText/FreeTextAcceptResponseItem.d.ts.map +1 -1
- package/dist/requests/items/freeText/FreeTextAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/freeText/FreeTextRequestItem.d.ts +1 -1
- package/dist/requests/items/freeText/FreeTextRequestItem.d.ts.map +1 -1
- package/dist/requests/items/freeText/FreeTextRequestItem.js.map +1 -1
- package/dist/requests/items/index.d.ts +2 -0
- package/dist/requests/items/index.d.ts.map +1 -1
- package/dist/requests/items/index.js +2 -0
- package/dist/requests/items/index.js.map +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.d.ts +2 -2
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.d.ts.map +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.d.ts +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.d.ts.map +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.d.ts +2 -2
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.d.ts.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.d.ts +2 -2
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.d.ts.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.d.ts +1 -1
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.d.ts.map +1 -1
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.d.ts +2 -2
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.d.ts.map +1 -1
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js.map +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.d.ts +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.d.ts.map +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +2 -2
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts.map +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
- package/lib-web/nmshd.content.js +328 -307
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BirthPlace.d.ts","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthPlace.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnH,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEvD,MAAM,WAAW,cAAe,SAAQ,wBAAwB;IAC5D,OAAO,EAAE,YAAY,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAY,SAAQ,qBAAqB;IACtD,IAAI,EAAE,UAAU,GAAG,MAAM,CAAC;IAC1B,OAAO,EAAE,aAAa,GAAG,MAAM,CAAC;IAChC,KAAK,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;CAChC;AAED,qBACa,UAAW,SAAQ,oBAAqB,YAAW,WAAW;
|
|
1
|
+
{"version":3,"file":"BirthPlace.d.ts","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthPlace.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnH,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEvD,MAAM,WAAW,cAAe,SAAQ,wBAAwB;IAC5D,OAAO,EAAE,YAAY,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAY,SAAQ,qBAAqB;IACtD,IAAI,EAAE,UAAU,GAAG,MAAM,CAAC;IAC1B,OAAO,EAAE,aAAa,GAAG,MAAM,CAAC;IAChC,KAAK,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;CAChC;AAED,qBACa,UAAW,SAAQ,oBAAqB,YAAW,WAAW;IAGhE,IAAI,EAAE,SAAS,CAAC;IAIhB,OAAO,EAAE,YAAY,CAAC;IAItB,KAAK,CAAC,EAAE,UAAU,CAAC;IAE1B,WAAkB,UAAU,IAAI,UAAU,CAQzC;IAED,WAA2B,WAAW,IAAI,WAAW,CAQpD;WAEa,IAAI,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG,UAAU;IAIlE,QAAQ,IAAI,MAAM;IAUlB,MAAM,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,cAAc;CAGjH"}
|
|
@@ -8,13 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
12
|
exports.BirthPlace = void 0;
|
|
16
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
17
|
-
const
|
|
14
|
+
const ts_simple_nameof_1 = require("ts-simple-nameof");
|
|
18
15
|
const AbstractAttributeValue_1 = require("../../AbstractAttributeValue");
|
|
19
16
|
const AbstractComplexValue_1 = require("../../AbstractComplexValue");
|
|
20
17
|
const hints_1 = require("../../hints");
|
|
@@ -22,22 +19,21 @@ const BirthCity_1 = require("./BirthCity");
|
|
|
22
19
|
const BirthCountry_1 = require("./BirthCountry");
|
|
23
20
|
const BirthState_1 = require("./BirthState");
|
|
24
21
|
let BirthPlace = class BirthPlace extends AbstractComplexValue_1.AbstractComplexValue {
|
|
25
|
-
static { this.propertyNames = (0, easy_tsnameof_1.default)(); }
|
|
26
22
|
static get valueHints() {
|
|
27
23
|
return hints_1.ValueHints.from({
|
|
28
24
|
propertyHints: {
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
25
|
+
[(0, ts_simple_nameof_1.nameof)((b) => b.city)]: BirthCity_1.BirthCity.valueHints,
|
|
26
|
+
[(0, ts_simple_nameof_1.nameof)((b) => b.country)]: BirthCountry_1.BirthCountry.valueHints,
|
|
27
|
+
[(0, ts_simple_nameof_1.nameof)((b) => b.state)]: BirthState_1.BirthState.valueHints
|
|
32
28
|
}
|
|
33
29
|
});
|
|
34
30
|
}
|
|
35
31
|
static get renderHints() {
|
|
36
32
|
return super.renderHints.copyWith({
|
|
37
33
|
propertyHints: {
|
|
38
|
-
[
|
|
39
|
-
[
|
|
40
|
-
[
|
|
34
|
+
[(0, ts_simple_nameof_1.nameof)((b) => b.city)]: BirthCity_1.BirthCity.renderHints,
|
|
35
|
+
[(0, ts_simple_nameof_1.nameof)((b) => b.country)]: BirthCountry_1.BirthCountry.renderHints,
|
|
36
|
+
[(0, ts_simple_nameof_1.nameof)((b) => b.state)]: BirthState_1.BirthState.renderHints
|
|
41
37
|
}
|
|
42
38
|
});
|
|
43
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BirthPlace.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthPlace.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BirthPlace.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthPlace.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,uDAA0C;AAC1C,yEAAsE;AACtE,qEAAmH;AACnH,uCAAsD;AACtD,2CAAoD;AACpD,iDAA6D;AAC7D,6CAAuD;AAgBhD,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,2CAAoB;IAazC,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAA,yBAAM,EAAa,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,qBAAS,CAAC,UAAU;gBACzD,CAAC,IAAA,yBAAM,EAAa,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,EAAE,2BAAY,CAAC,UAAU;gBAC/D,CAAC,IAAA,yBAAM,EAAa,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,uBAAU,CAAC,UAAU;aAC9D;SACJ,CAAC,CAAC;IACP,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,aAAa,EAAE;gBACX,CAAC,IAAA,yBAAM,EAAa,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,qBAAS,CAAC,WAAW;gBAC1D,CAAC,IAAA,yBAAM,EAAa,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,EAAE,2BAAY,CAAC,WAAW;gBAChE,CAAC,IAAA,yBAAM,EAAa,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,uBAAU,CAAC,WAAW;aAC/D;SACJ,CAAC,CAAC;IACP,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAkD;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAEe,QAAQ;QACpB,MAAM,KAAK,GAAa,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC/C,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACb,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEpC,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAmB,CAAC;IACtE,CAAC;CACJ,CAAA;AAlDY,gCAAU;AAGZ;IAFN,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACE,qBAAS;wCAAC;AAIhB;IAFN,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACK,2BAAY;2CAAC;AAItB;IAFN,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACd,uBAAU;yCAAC;qBAXjB,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAkDtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractLengthMeasurement.d.ts","sourceRoot":"","sources":["../../../../src/attributes/types/measurements/AbstractLengthMeasurement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AbstractLengthMeasurement.d.ts","sourceRoot":"","sources":["../../../../src/attributes/types/measurements/AbstractLengthMeasurement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAmB,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,oBAAY,UAAU;IAClB,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,CAAC,MAAM;IACP,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;CACZ;AAED,qBAAa,yBAA0B,SAAQ,mBAAmB;IAK9C,IAAI,EAAE,UAAU,CAAC;IAEjC,WAA2B,UAAU,IAAI,UAAU,CAalD;CACJ"}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AbstractLengthMeasurement = exports.LengthUnit = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const ts_simple_nameof_1 = require("ts-simple-nameof");
|
|
14
15
|
const hints_1 = require("../../hints");
|
|
15
16
|
const AbstractMeasurement_1 = require("./AbstractMeasurement");
|
|
16
17
|
var LengthUnit;
|
|
@@ -32,7 +33,7 @@ class AbstractLengthMeasurement extends AbstractMeasurement_1.AbstractMeasuremen
|
|
|
32
33
|
static get valueHints() {
|
|
33
34
|
return super.valueHints.copyWith({
|
|
34
35
|
propertyHints: {
|
|
35
|
-
[
|
|
36
|
+
[(0, ts_simple_nameof_1.nameof)((a) => a.unit)]: hints_1.ValueHints.from({
|
|
36
37
|
values: Object.entries(LengthUnit).map((v) => hints_1.ValueHintsValue.from({
|
|
37
38
|
displayName: v[1],
|
|
38
39
|
key: v[0]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractLengthMeasurement.js","sourceRoot":"","sources":["../../../../src/attributes/types/measurements/AbstractLengthMeasurement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAyD;AACzD,uCAA0D;AAC1D,+DAA4D;AAE5D,IAAY,UAaX;AAbD,WAAY,UAAU;IAClB,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,qBAAO,CAAA;IACP,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;AACb,CAAC,EAbW,UAAU,0BAAV,UAAU,QAarB;AAED,MAAa,yBAA0B,SAAQ,yCAAmB;IAOvD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,aAAa,EAAE;gBACX,CAAC,
|
|
1
|
+
{"version":3,"file":"AbstractLengthMeasurement.js","sourceRoot":"","sources":["../../../../src/attributes/types/measurements/AbstractLengthMeasurement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAyD;AACzD,uDAA0C;AAC1C,uCAA0D;AAC1D,+DAA4D;AAE5D,IAAY,UAaX;AAbD,WAAY,UAAU;IAClB,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,qBAAO,CAAA;IACP,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,uBAAS,CAAA;AACb,CAAC,EAbW,UAAU,0BAAV,UAAU,QAarB;AAED,MAAa,yBAA0B,SAAQ,yCAAmB;IAOvD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,aAAa,EAAE;gBACX,CAAC,IAAA,yBAAM,EAA4B,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC;oBAChE,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACzC,uBAAe,CAAC,IAAI,CAAC;wBACjB,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC;wBACjB,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;qBACZ,CAAC,CACL;iBACJ,CAAC;aACL;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AArBD,8DAqBC;AAhBmB;IAJf,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;KAChI,CAAC;;uDAC+B"}
|
|
@@ -12,291 +12,6 @@ export interface IMeasurement extends IAbstractComplexValue {
|
|
|
12
12
|
* valid unit strings must be defined in the classes extending AbstractMeasurement as enum
|
|
13
13
|
*/
|
|
14
14
|
export declare abstract class AbstractMeasurement extends AbstractComplexValue implements IMeasurement {
|
|
15
|
-
static readonly propertyNames: {
|
|
16
|
-
unit: import("easy-tsnameof").PathHandlers<{
|
|
17
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
18
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
19
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
20
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
21
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
22
|
-
}>;
|
|
23
|
-
value: import("easy-tsnameof").PathHandlers<{
|
|
24
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
25
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
26
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
27
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
28
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
29
|
-
}>;
|
|
30
|
-
toString: import("easy-tsnameof").PathHandlers<{
|
|
31
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
32
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
33
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
34
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
35
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
36
|
-
}>;
|
|
37
|
-
readonly valueHints: {
|
|
38
|
-
editHelp: import("easy-tsnameof").PathHandlers<{
|
|
39
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
40
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
41
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
42
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
43
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
44
|
-
}>;
|
|
45
|
-
min: import("easy-tsnameof").PathHandlers<{
|
|
46
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
47
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
48
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
49
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
50
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
51
|
-
}>;
|
|
52
|
-
max: import("easy-tsnameof").PathHandlers<{
|
|
53
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
54
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
55
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
56
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
57
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
58
|
-
}>;
|
|
59
|
-
pattern: import("easy-tsnameof").PathHandlers<{
|
|
60
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
61
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
62
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
63
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
64
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
65
|
-
}>;
|
|
66
|
-
values: ({
|
|
67
|
-
displayName: import("easy-tsnameof").PathHandlers<{
|
|
68
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
69
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
70
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
71
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
72
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
73
|
-
}>;
|
|
74
|
-
key: import("easy-tsnameof").PathHandlers<{
|
|
75
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
76
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
77
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
78
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
79
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
80
|
-
}>;
|
|
81
|
-
validate: import("easy-tsnameof").PathHandlers<{
|
|
82
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
83
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
84
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
85
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
86
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
87
|
-
}>;
|
|
88
|
-
validateProperty: import("easy-tsnameof").PathHandlers<{
|
|
89
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
90
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
91
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
92
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
93
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
94
|
-
}>;
|
|
95
|
-
serialize: import("easy-tsnameof").PathHandlers<{
|
|
96
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
97
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
98
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
99
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
100
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
101
|
-
}>;
|
|
102
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
103
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
104
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
105
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
106
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
107
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
108
|
-
}>;
|
|
109
|
-
} & import("easy-tsnameof").PathHandlers<{
|
|
110
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
111
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
112
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
113
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
114
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
115
|
-
}>)[] & import("easy-tsnameof").PathHandlers<{
|
|
116
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
117
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
118
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
119
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
120
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
121
|
-
}>;
|
|
122
|
-
defaultValue: import("easy-tsnameof").PathHandlers<{
|
|
123
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
124
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
125
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
126
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
127
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
128
|
-
}>;
|
|
129
|
-
propertyHints: {
|
|
130
|
-
[x: string]: any & import("easy-tsnameof").PathHandlers<{
|
|
131
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
132
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
133
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
134
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
135
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
136
|
-
}>;
|
|
137
|
-
} & import("easy-tsnameof").PathHandlers<{
|
|
138
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
139
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
140
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
141
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
142
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
143
|
-
}>;
|
|
144
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
145
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
146
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
147
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
148
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
149
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
150
|
-
}>;
|
|
151
|
-
copyWith: import("easy-tsnameof").PathHandlers<{
|
|
152
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
153
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
154
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
155
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
156
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
157
|
-
}>;
|
|
158
|
-
validate: import("easy-tsnameof").PathHandlers<{
|
|
159
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
160
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
161
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
162
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
163
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
164
|
-
}>;
|
|
165
|
-
validateProperty: import("easy-tsnameof").PathHandlers<{
|
|
166
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
167
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
168
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
169
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
170
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
171
|
-
}>;
|
|
172
|
-
serialize: import("easy-tsnameof").PathHandlers<{
|
|
173
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
174
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
175
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
176
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
177
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
178
|
-
}>;
|
|
179
|
-
} & import("easy-tsnameof").PathHandlers<{
|
|
180
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
181
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
182
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
183
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
184
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
185
|
-
}>;
|
|
186
|
-
readonly renderHints: {
|
|
187
|
-
technicalType: import("easy-tsnameof").PathHandlers<{
|
|
188
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
189
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
190
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
191
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
192
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
193
|
-
}>;
|
|
194
|
-
editType: import("easy-tsnameof").PathHandlers<{
|
|
195
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
196
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
197
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
198
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
199
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
200
|
-
}>;
|
|
201
|
-
dataType: import("easy-tsnameof").PathHandlers<{
|
|
202
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
203
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
204
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
205
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
206
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
207
|
-
}>;
|
|
208
|
-
propertyHints: {
|
|
209
|
-
[x: string]: any & import("easy-tsnameof").PathHandlers<{
|
|
210
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
211
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
212
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
213
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
214
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
215
|
-
}>;
|
|
216
|
-
} & import("easy-tsnameof").PathHandlers<{
|
|
217
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
218
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
219
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
220
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
221
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
222
|
-
}>;
|
|
223
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
224
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
225
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
226
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
227
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
228
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
229
|
-
}>;
|
|
230
|
-
copyWith: import("easy-tsnameof").PathHandlers<{
|
|
231
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
232
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
233
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
234
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
235
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
236
|
-
}>;
|
|
237
|
-
validate: import("easy-tsnameof").PathHandlers<{
|
|
238
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
239
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
240
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
241
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
242
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
243
|
-
}>;
|
|
244
|
-
validateProperty: import("easy-tsnameof").PathHandlers<{
|
|
245
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
246
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
247
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
248
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
249
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
250
|
-
}>;
|
|
251
|
-
serialize: import("easy-tsnameof").PathHandlers<{
|
|
252
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
253
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
254
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
255
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
256
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
257
|
-
}>;
|
|
258
|
-
} & import("easy-tsnameof").PathHandlers<{
|
|
259
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
260
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
261
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
262
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
263
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
264
|
-
}>;
|
|
265
|
-
validate: import("easy-tsnameof").PathHandlers<{
|
|
266
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
267
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
268
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
269
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
270
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
271
|
-
}>;
|
|
272
|
-
validateProperty: import("easy-tsnameof").PathHandlers<{
|
|
273
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
274
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
275
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
276
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
277
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
278
|
-
}>;
|
|
279
|
-
serialize: import("easy-tsnameof").PathHandlers<{
|
|
280
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
281
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
282
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
283
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
284
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
285
|
-
}>;
|
|
286
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
287
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
288
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
289
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
290
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
291
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
292
|
-
}>;
|
|
293
|
-
} & import("easy-tsnameof").PathHandlers<{
|
|
294
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
295
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
296
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
297
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
298
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
299
|
-
}>;
|
|
300
15
|
unit: string;
|
|
301
16
|
value: number;
|
|
302
17
|
static get valueHints(): ValueHints;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractMeasurement.d.ts","sourceRoot":"","sources":["../../../../src/attributes/types/measurements/AbstractMeasurement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnH,OAAO,EAAE,WAAW,EAAiD,UAAU,EAAE,MAAM,aAAa,CAAC;AAErG,MAAM,WAAW,uBAAwB,SAAQ,wBAAwB;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,YAAa,SAAQ,qBAAqB;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,8BAAsB,mBAAoB,SAAQ,oBAAqB,YAAW,YAAY;
|
|
1
|
+
{"version":3,"file":"AbstractMeasurement.d.ts","sourceRoot":"","sources":["../../../../src/attributes/types/measurements/AbstractMeasurement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnH,OAAO,EAAE,WAAW,EAAiD,UAAU,EAAE,MAAM,aAAa,CAAC;AAErG,MAAM,WAAW,uBAAwB,SAAQ,wBAAwB;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,YAAa,SAAQ,qBAAqB;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,8BAAsB,mBAAoB,SAAQ,oBAAqB,YAAW,YAAY;IAGnF,IAAI,EAAE,MAAM,CAAC;IAIb,KAAK,EAAE,MAAM,CAAC;IAErB,WAAkB,UAAU,IAAI,UAAU,CAOzC;IAED,WAA2B,WAAW,IAAI,WAAW,CAapD;IACe,QAAQ,IAAI,MAAM;CAGrC"}
|
|
@@ -8,36 +8,32 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
12
|
exports.AbstractMeasurement = void 0;
|
|
16
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
17
|
-
const
|
|
14
|
+
const ts_simple_nameof_1 = require("ts-simple-nameof");
|
|
18
15
|
const AbstractComplexValue_1 = require("../../AbstractComplexValue");
|
|
19
16
|
const hints_1 = require("../../hints");
|
|
20
17
|
/**
|
|
21
18
|
* valid unit strings must be defined in the classes extending AbstractMeasurement as enum
|
|
22
19
|
*/
|
|
23
20
|
class AbstractMeasurement extends AbstractComplexValue_1.AbstractComplexValue {
|
|
24
|
-
static { this.propertyNames = (0, easy_tsnameof_1.default)(); }
|
|
25
21
|
static get valueHints() {
|
|
26
22
|
return hints_1.ValueHints.from({
|
|
27
23
|
propertyHints: {
|
|
28
|
-
[
|
|
29
|
-
[
|
|
24
|
+
[(0, ts_simple_nameof_1.nameof)((a) => a.unit)]: hints_1.ValueHints.from({}),
|
|
25
|
+
[(0, ts_simple_nameof_1.nameof)((a) => a.value)]: hints_1.ValueHints.from({})
|
|
30
26
|
}
|
|
31
27
|
});
|
|
32
28
|
}
|
|
33
29
|
static get renderHints() {
|
|
34
30
|
return super.renderHints.copyWith({
|
|
35
31
|
propertyHints: {
|
|
36
|
-
[
|
|
32
|
+
[(0, ts_simple_nameof_1.nameof)((a) => a.unit)]: hints_1.RenderHints.from({
|
|
37
33
|
editType: hints_1.RenderHintsEditType.InputLike,
|
|
38
34
|
technicalType: hints_1.RenderHintsTechnicalType.String
|
|
39
35
|
}),
|
|
40
|
-
[
|
|
36
|
+
[(0, ts_simple_nameof_1.nameof)((a) => a.value)]: hints_1.RenderHints.from({
|
|
41
37
|
editType: hints_1.RenderHintsEditType.InputLike,
|
|
42
38
|
technicalType: hints_1.RenderHintsTechnicalType.Integer
|
|
43
39
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractMeasurement.js","sourceRoot":"","sources":["../../../../src/attributes/types/measurements/AbstractMeasurement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AbstractMeasurement.js","sourceRoot":"","sources":["../../../../src/attributes/types/measurements/AbstractMeasurement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAyD;AACzD,uDAA0C;AAC1C,qEAAmH;AACnH,uCAAqG;AAYrG;;GAEG;AACH,MAAsB,mBAAoB,SAAQ,2CAAoB;IAS3D,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAA,yBAAM,EAAsB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC;gBACjE,CAAC,IAAA,yBAAM,EAAsB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC;aACrE;SACJ,CAAC,CAAC;IACP,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,aAAa,EAAE;gBACX,CAAC,IAAA,yBAAM,EAAsB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,mBAAW,CAAC,IAAI,CAAC;oBAC3D,QAAQ,EAAE,2BAAmB,CAAC,SAAS;oBACvC,aAAa,EAAE,gCAAwB,CAAC,MAAM;iBACjD,CAAC;gBACF,CAAC,IAAA,yBAAM,EAAsB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,mBAAW,CAAC,IAAI,CAAC;oBAC5D,QAAQ,EAAE,2BAAmB,CAAC,SAAS;oBACvC,aAAa,EAAE,gCAAwB,CAAC,OAAO;iBAClD,CAAC;aACL;SACJ,CAAC,CAAC;IACP,CAAC;IACe,QAAQ;QACpB,OAAO,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;IACxC,CAAC;CACJ;AAnCD,kDAmCC;AAhCU;IAFN,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC;;iDACF;AAIb;IAFN,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;kDACU"}
|