@nmshd/content 2.0.0-alpha.42 → 2.0.0-alpha.45
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/AbstractComplexValue.d.ts +2 -0
- package/dist/attributes/AbstractComplexValue.js +7 -0
- package/dist/attributes/AbstractComplexValue.js.map +1 -1
- package/dist/attributes/hints/RenderHints.d.ts +13 -46
- package/dist/attributes/hints/RenderHints.js +51 -44
- package/dist/attributes/hints/RenderHints.js.map +1 -1
- package/dist/attributes/hints/RenderHintsDataType.d.ts +19 -0
- package/dist/attributes/hints/RenderHintsDataType.js +24 -0
- package/dist/attributes/hints/RenderHintsDataType.js.map +1 -0
- package/dist/attributes/hints/RenderHintsEditType.d.ts +11 -0
- package/dist/attributes/hints/RenderHintsEditType.js +16 -0
- package/dist/attributes/hints/RenderHintsEditType.js.map +1 -0
- package/dist/attributes/hints/RenderHintsTechnicalType.d.ts +7 -0
- package/dist/attributes/hints/RenderHintsTechnicalType.js +12 -0
- package/dist/attributes/hints/RenderHintsTechnicalType.js.map +1 -0
- package/dist/attributes/hints/ValueHints.d.ts +6 -0
- package/dist/attributes/hints/ValueHints.js +49 -4
- package/dist/attributes/hints/ValueHints.js.map +1 -1
- package/dist/attributes/hints/index.d.ts +3 -0
- package/dist/attributes/hints/index.js +3 -0
- package/dist/attributes/hints/index.js.map +1 -1
- package/dist/attributes/types/AbstractInteger.d.ts +2 -2
- package/dist/attributes/types/AbstractString.js +1 -1
- package/dist/attributes/types/AbstractString.js.map +1 -1
- package/dist/attributes/types/address/AbstractAddress.d.ts +274 -0
- package/dist/attributes/types/address/AbstractAddress.js +23 -0
- package/dist/attributes/types/address/AbstractAddress.js.map +1 -1
- package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +1685 -0
- package/dist/attributes/types/address/DeliveryBoxAddress.js +38 -0
- package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +1400 -0
- package/dist/attributes/types/address/PostOfficeBoxAddress.js +31 -0
- package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/StreetAddress.d.ts +1949 -0
- package/dist/attributes/types/address/StreetAddress.js +26 -0
- package/dist/attributes/types/address/StreetAddress.js.map +1 -1
- package/dist/attributes/types/birth/BirthDate.d.ts +1108 -0
- package/dist/attributes/types/birth/BirthDate.js +24 -0
- package/dist/attributes/types/birth/BirthDate.js.map +1 -1
- package/dist/attributes/types/birth/BirthPlace.d.ts +1108 -0
- package/dist/attributes/types/birth/BirthPlace.js +24 -0
- package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
- package/dist/attributes/types/measurements/AbstractLengthMeasurement.d.ts +2 -0
- package/dist/attributes/types/measurements/AbstractLengthMeasurement.js +13 -0
- package/dist/attributes/types/measurements/AbstractLengthMeasurement.js.map +1 -1
- package/dist/attributes/types/measurements/AbstractMeasurement.d.ts +288 -0
- package/dist/attributes/types/measurements/AbstractMeasurement.js +28 -0
- package/dist/attributes/types/measurements/AbstractMeasurement.js.map +1 -1
- package/dist/attributes/types/name/LegalNameDE.d.ts +1670 -0
- package/dist/attributes/types/name/LegalNameDE.js +28 -0
- package/dist/attributes/types/name/LegalNameDE.js.map +1 -1
- package/dist/attributes/types/name/Salutation.d.ts +1670 -0
- package/dist/attributes/types/name/Salutation.js +28 -0
- package/dist/attributes/types/name/Salutation.js.map +1 -1
- package/dist/attributes/types/person/Sex.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryInteger.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -1
- package/dist/buildInformation.js +5 -5
- package/dist/requests/items/createAttribute/CreateAttributeRequestItem.js +2 -1
- package/dist/requests/items/createAttribute/CreateAttributeRequestItem.js.map +1 -1
- package/lib-web/nmshd.content.js +590 -57
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +3 -2
|
@@ -8,15 +8,38 @@ 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
|
+
};
|
|
11
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
15
|
exports.BirthPlace = void 0;
|
|
13
16
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
17
|
+
const easy_tsnameof_1 = __importDefault(require("easy-tsnameof"));
|
|
14
18
|
const AbstractAttributeValue_1 = require("../../AbstractAttributeValue");
|
|
15
19
|
const AbstractComplexValue_1 = require("../../AbstractComplexValue");
|
|
20
|
+
const hints_1 = require("../../hints");
|
|
16
21
|
const BirthCity_1 = require("./BirthCity");
|
|
17
22
|
const BirthCountry_1 = require("./BirthCountry");
|
|
18
23
|
const BirthState_1 = require("./BirthState");
|
|
19
24
|
let BirthPlace = class BirthPlace extends AbstractComplexValue_1.AbstractComplexValue {
|
|
25
|
+
static get valueHints() {
|
|
26
|
+
return hints_1.ValueHints.from({
|
|
27
|
+
propertyHints: {
|
|
28
|
+
[this.propertyNames.city.$path]: BirthCity_1.BirthCity.valueHints,
|
|
29
|
+
[this.propertyNames.country.$path]: BirthCountry_1.BirthCountry.valueHints,
|
|
30
|
+
[this.propertyNames.state.$path]: BirthState_1.BirthState.valueHints
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
static get renderHints() {
|
|
35
|
+
return super.renderHints.copyWith({
|
|
36
|
+
propertyHints: {
|
|
37
|
+
[this.propertyNames.city.$path]: BirthCity_1.BirthCity.renderHints,
|
|
38
|
+
[this.propertyNames.country.$path]: BirthCountry_1.BirthCountry.renderHints,
|
|
39
|
+
[this.propertyNames.state.$path]: BirthState_1.BirthState.renderHints
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
}
|
|
20
43
|
static from(value) {
|
|
21
44
|
return this.fromAny(value);
|
|
22
45
|
}
|
|
@@ -29,6 +52,7 @@ let BirthPlace = class BirthPlace extends AbstractComplexValue_1.AbstractComplex
|
|
|
29
52
|
return value.join(", ");
|
|
30
53
|
}
|
|
31
54
|
};
|
|
55
|
+
BirthPlace.propertyNames = (0, easy_tsnameof_1.default)();
|
|
32
56
|
__decorate([
|
|
33
57
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
34
58
|
(0, ts_serval_1.validate)(),
|
|
@@ -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,kDAA8D;AAC9D,kEAAkC;AAClC,yEAAqE;AACrE,qEAAkH;AAClH,uCAAqD;AAErD,2CAAuC;AACvC,iDAA6C;AAC7C,6CAAyC;AAezC,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,2CAAoB;IAezC,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,qBAAS,CAAC,UAAU;gBACrD,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,2BAAY,CAAC,UAAU;gBAC3D,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,uBAAU,CAAC,UAAU;aAC1D;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,qBAAS,CAAC,WAAW;gBACtD,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,2BAAY,CAAC,WAAW;gBAC5D,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,uBAAU,CAAC,WAAW;aAC3D;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAmC;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,QAAQ;QACpB,MAAM,KAAK,GAAa,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;QAC9C,IAAI,IAAI,CAAC,KAAK,EAAE;YACZ,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAA;SACpC;QACD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;QAEnC,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC3B,CAAC;CACJ,CAAA;AA/C0B,wBAAa,GAAG,IAAA,uBAAM,GAAqB,CAAA;AAIlE;IAFC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACE,qBAAS;wCAAA;AAItB;IAFC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACK,2BAAY;2CAAA;AAI5B;IAFC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACd,uBAAU;yCAAA;AAbhB,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAgDtB;AAhDY,gCAAU"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ValueHints } from "../../hints";
|
|
1
2
|
import { AbstractMeasurement } from "./AbstractMeasurement";
|
|
2
3
|
export declare enum LengthUnit {
|
|
3
4
|
NM = "nm",
|
|
@@ -15,4 +16,5 @@ export declare enum LengthUnit {
|
|
|
15
16
|
}
|
|
16
17
|
export declare class AbstractLengthMeasurement extends AbstractMeasurement {
|
|
17
18
|
unit: LengthUnit;
|
|
19
|
+
static get valueHints(): ValueHints;
|
|
18
20
|
}
|
|
@@ -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 hints_1 = require("../../hints");
|
|
14
15
|
const AbstractMeasurement_1 = require("./AbstractMeasurement");
|
|
15
16
|
var LengthUnit;
|
|
16
17
|
(function (LengthUnit) {
|
|
@@ -28,6 +29,18 @@ var LengthUnit;
|
|
|
28
29
|
LengthUnit["IN"] = "in";
|
|
29
30
|
})(LengthUnit = exports.LengthUnit || (exports.LengthUnit = {}));
|
|
30
31
|
class AbstractLengthMeasurement extends AbstractMeasurement_1.AbstractMeasurement {
|
|
32
|
+
static get valueHints() {
|
|
33
|
+
return super.valueHints.copyWith({
|
|
34
|
+
propertyHints: {
|
|
35
|
+
[this.propertyNames.unit.$path]: hints_1.ValueHints.from({
|
|
36
|
+
values: Object.entries(LengthUnit).map((v) => hints_1.ValueHintsValue.from({
|
|
37
|
+
displayName: v[1],
|
|
38
|
+
key: v[0]
|
|
39
|
+
}))
|
|
40
|
+
})
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
}
|
|
31
44
|
}
|
|
32
45
|
__decorate([
|
|
33
46
|
(0, ts_serval_1.serialize)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractLengthMeasurement.js","sourceRoot":"","sources":["../../../../src/attributes/types/measurements/AbstractLengthMeasurement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,+DAA2D;AAE3D,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,GAAV,kBAAU,KAAV,kBAAU,QAarB;AAED,MAAa,yBAA0B,SAAQ,yCAAmB;
|
|
1
|
+
{"version":3,"file":"AbstractLengthMeasurement.js","sourceRoot":"","sources":["../../../../src/attributes/types/measurements/AbstractLengthMeasurement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,uCAAyD;AACzD,+DAA2D;AAE3D,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,GAAV,kBAAU,KAAV,kBAAU,QAarB;AAED,MAAa,yBAA0B,SAAQ,yCAAmB;IAQvD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC;oBAC7C,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,CAAA;IACN,CAAC;CACJ;AAhBG;IALC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,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;KAC1G,CAAC;;uDAC8B;AANpC,8DAsBC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AbstractComplexValue, AbstractComplexValueJSON, IAbstractComplexValue } from "../../AbstractComplexValue";
|
|
2
|
+
import { RenderHints, ValueHints } from "../../hints";
|
|
2
3
|
export interface AbstractMeasurementJSON extends AbstractComplexValueJSON {
|
|
3
4
|
unit: string;
|
|
4
5
|
value: number;
|
|
@@ -11,7 +12,294 @@ export interface IMeasurement extends IAbstractComplexValue {
|
|
|
11
12
|
* valid unit strings must be defined in the classes extending AbstractMeasurement as enum
|
|
12
13
|
*/
|
|
13
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
|
+
}>;
|
|
14
300
|
unit: string;
|
|
15
301
|
value: number;
|
|
302
|
+
static get valueHints(): ValueHints;
|
|
303
|
+
static get renderHints(): RenderHints;
|
|
16
304
|
toString(): string;
|
|
17
305
|
}
|
|
@@ -8,18 +8,46 @@ 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
|
+
};
|
|
11
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
15
|
exports.AbstractMeasurement = void 0;
|
|
13
16
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
17
|
+
const easy_tsnameof_1 = __importDefault(require("easy-tsnameof"));
|
|
14
18
|
const AbstractComplexValue_1 = require("../../AbstractComplexValue");
|
|
19
|
+
const hints_1 = require("../../hints");
|
|
15
20
|
/**
|
|
16
21
|
* valid unit strings must be defined in the classes extending AbstractMeasurement as enum
|
|
17
22
|
*/
|
|
18
23
|
class AbstractMeasurement extends AbstractComplexValue_1.AbstractComplexValue {
|
|
24
|
+
static get valueHints() {
|
|
25
|
+
return hints_1.ValueHints.from({
|
|
26
|
+
propertyHints: {
|
|
27
|
+
[this.propertyNames.unit.$path]: hints_1.ValueHints.from({}),
|
|
28
|
+
[this.propertyNames.value.$path]: hints_1.ValueHints.from({})
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
static get renderHints() {
|
|
33
|
+
return super.renderHints.copyWith({
|
|
34
|
+
propertyHints: {
|
|
35
|
+
[this.propertyNames.unit.$path]: hints_1.RenderHints.from({
|
|
36
|
+
editType: hints_1.RenderHintsEditType.InputLike,
|
|
37
|
+
technicalType: hints_1.RenderHintsTechnicalType.String
|
|
38
|
+
}),
|
|
39
|
+
[this.propertyNames.value.$path]: hints_1.RenderHints.from({
|
|
40
|
+
editType: hints_1.RenderHintsEditType.InputLike,
|
|
41
|
+
technicalType: hints_1.RenderHintsTechnicalType.Integer
|
|
42
|
+
})
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
}
|
|
19
46
|
toString() {
|
|
20
47
|
return `${this.value} ${this.unit}`;
|
|
21
48
|
}
|
|
22
49
|
}
|
|
50
|
+
AbstractMeasurement.propertyNames = (0, easy_tsnameof_1.default)();
|
|
23
51
|
__decorate([
|
|
24
52
|
(0, ts_serval_1.serialize)(),
|
|
25
53
|
(0, ts_serval_1.validate)(),
|
|
@@ -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,kDAAwD;AACxD,kEAAkC;AAClC,qEAAkH;AAClH,uCAAoG;AAYpG;;GAEG;AACH,MAAsB,mBAAoB,SAAQ,2CAAoB;IAW3D,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC;gBACpD,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC;aACxD;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,mBAAW,CAAC,IAAI,CAAC;oBAC9C,QAAQ,EAAE,2BAAmB,CAAC,SAAS;oBACvC,aAAa,EAAE,gCAAwB,CAAC,MAAM;iBACjD,CAAC;gBACF,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,mBAAW,CAAC,IAAI,CAAC;oBAC/C,QAAQ,EAAE,2BAAmB,CAAC,SAAS;oBACvC,aAAa,EAAE,gCAAwB,CAAC,OAAO;iBAClD,CAAC;aACL;SACJ,CAAC,CAAA;IACN,CAAC;IACe,QAAQ;QACpB,OAAO,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,EAAE,CAAA;IACvC,CAAC;;AAnCsB,iCAAa,GAAG,IAAA,uBAAM,GAA8B,CAAA;AAI3E;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iDACQ;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;kDACS;AATxB,kDAqCC"}
|