@defra/forms-model 3.0.162 → 3.0.164
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/module/components/component-types.js +0 -8
- package/dist/module/components/component-types.js.map +1 -1
- package/dist/module/components/enums.js +0 -1
- package/dist/module/components/enums.js.map +1 -1
- package/dist/module/components/types.js.map +1 -1
- package/dist/types/components/component-types.d.ts.map +1 -1
- package/dist/types/components/enums.d.ts +0 -1
- package/dist/types/components/enums.d.ts.map +1 -1
- package/dist/types/components/types.d.ts +3 -6
- package/dist/types/components/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/component-types.ts +0 -9
- package/src/components/enums.ts +0 -1
- package/src/components/types.ts +0 -7
- package/dist/module/conditions/inline-condition-model.js +0 -385
- package/dist/module/conditions/inline-condition-model.js.map +0 -1
- package/dist/module/conditions/inline-condition-operators.js +0 -111
- package/dist/module/conditions/inline-condition-operators.js.map +0 -1
- package/dist/module/conditions/inline-condition-values.js +0 -134
- package/dist/module/conditions/inline-condition-values.js.map +0 -1
- package/dist/types/conditions/inline-condition-model.d.ts +0 -86
- package/dist/types/conditions/inline-condition-model.d.ts.map +0 -1
- package/dist/types/conditions/inline-condition-operators.d.ts +0 -175
- package/dist/types/conditions/inline-condition-operators.d.ts.map +0 -1
- package/dist/types/conditions/inline-condition-values.d.ts +0 -93
- package/dist/types/conditions/inline-condition-values.d.ts.map +0 -1
@@ -1,93 +0,0 @@
|
|
1
|
-
declare class Registration {
|
2
|
-
type: any;
|
3
|
-
constructor(type: any, factory: any);
|
4
|
-
}
|
5
|
-
export declare class AbstractConditionValue {
|
6
|
-
type: any;
|
7
|
-
constructor(registration: any);
|
8
|
-
toPresentationString(): void;
|
9
|
-
toExpression(): void;
|
10
|
-
}
|
11
|
-
export declare class ConditionValue extends AbstractConditionValue {
|
12
|
-
value: any;
|
13
|
-
display: any;
|
14
|
-
constructor(value: any, display: any);
|
15
|
-
toPresentationString(): any;
|
16
|
-
toExpression(): any;
|
17
|
-
static from(obj: any): ConditionValue;
|
18
|
-
clone(): ConditionValue;
|
19
|
-
}
|
20
|
-
export declare const dateDirections: {
|
21
|
-
FUTURE: string;
|
22
|
-
PAST: string;
|
23
|
-
};
|
24
|
-
export declare const dateUnits: {
|
25
|
-
YEARS: {
|
26
|
-
display: string;
|
27
|
-
value: string;
|
28
|
-
};
|
29
|
-
MONTHS: {
|
30
|
-
display: string;
|
31
|
-
value: string;
|
32
|
-
};
|
33
|
-
DAYS: {
|
34
|
-
display: string;
|
35
|
-
value: string;
|
36
|
-
};
|
37
|
-
};
|
38
|
-
export declare const timeUnits: {
|
39
|
-
HOURS: {
|
40
|
-
display: string;
|
41
|
-
value: string;
|
42
|
-
};
|
43
|
-
MINUTES: {
|
44
|
-
display: string;
|
45
|
-
value: string;
|
46
|
-
};
|
47
|
-
SECONDS: {
|
48
|
-
display: string;
|
49
|
-
value: string;
|
50
|
-
};
|
51
|
-
};
|
52
|
-
export declare const dateTimeUnits: {
|
53
|
-
YEARS: {
|
54
|
-
display: string;
|
55
|
-
value: string;
|
56
|
-
};
|
57
|
-
MONTHS: {
|
58
|
-
display: string;
|
59
|
-
value: string;
|
60
|
-
};
|
61
|
-
DAYS: {
|
62
|
-
display: string;
|
63
|
-
value: string;
|
64
|
-
};
|
65
|
-
} & {
|
66
|
-
HOURS: {
|
67
|
-
display: string;
|
68
|
-
value: string;
|
69
|
-
};
|
70
|
-
MINUTES: {
|
71
|
-
display: string;
|
72
|
-
value: string;
|
73
|
-
};
|
74
|
-
SECONDS: {
|
75
|
-
display: string;
|
76
|
-
value: string;
|
77
|
-
};
|
78
|
-
};
|
79
|
-
export declare const relativeTimeValueType: Registration;
|
80
|
-
export declare class RelativeTimeValue extends AbstractConditionValue {
|
81
|
-
timePeriod: any;
|
82
|
-
timeUnit: any;
|
83
|
-
direction: any;
|
84
|
-
timeOnly: any;
|
85
|
-
constructor(timePeriod: any, timeUnit: any, direction: any, timeOnly?: boolean);
|
86
|
-
toPresentationString(): string;
|
87
|
-
toExpression(): string;
|
88
|
-
static from(obj: any): RelativeTimeValue;
|
89
|
-
clone(): RelativeTimeValue;
|
90
|
-
}
|
91
|
-
export declare function valueFrom(obj: any): any;
|
92
|
-
export {};
|
93
|
-
//# sourceMappingURL=inline-condition-values.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"inline-condition-values.d.ts","sourceRoot":"","sources":["../../../src/conditions/inline-condition-values.ts"],"names":[],"mappings":"AAEA,cAAM,YAAY;IAChB,IAAI,MAAA;gBAEQ,IAAI,KAAA,EAAE,OAAO,KAAA;CAI1B;AAED,qBAAa,sBAAsB;IACjC,IAAI,MAAA;gBAEQ,YAAY,KAAA;IAYxB,oBAAoB;IACpB,YAAY;CACb;AAGD,qBAAa,cAAe,SAAQ,sBAAsB;IACxD,KAAK,MAAA;IACL,OAAO,MAAA;gBAEK,KAAK,KAAA,EAAE,OAAO,KAAA;IAY1B,oBAAoB;IAIpB,YAAY;IAIZ,MAAM,CAAC,IAAI,CAAC,GAAG,KAAA;IAIf,KAAK;CAGN;AAED,eAAO,MAAM,cAAc;;;CAG1B,CAAA;AAED,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAIrB,CAAA;AACD,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAIrB,CAAA;AACD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0C,CAAA;AAEpE,eAAO,MAAM,qBAAqB,cAEjC,CAAA;AACD,qBAAa,iBAAkB,SAAQ,sBAAsB;IAC3D,UAAU,MAAA;IACV,QAAQ,MAAA;IACR,SAAS,MAAA;IACT,QAAQ,MAAA;gBAEI,UAAU,KAAA,EAAE,QAAQ,KAAA,EAAE,SAAS,KAAA,EAAE,QAAQ,UAAQ;IAqB7D,oBAAoB;IAIpB,YAAY;IAUZ,MAAM,CAAC,IAAI,CAAC,GAAG,KAAA;IASf,KAAK;CAGN;AAaD,wBAAgB,SAAS,CAAC,GAAG,KAAA,OAE5B"}
|