@defra/forms-model 3.0.6 → 3.0.8
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/package.json +3 -5
- package/dist/module/components/component-types.d.ts +0 -3
- package/dist/module/components/component-types.d.ts.map +0 -1
- package/dist/module/components/conditional-component-types.d.ts +0 -3
- package/dist/module/components/conditional-component-types.d.ts.map +0 -1
- package/dist/module/components/enums.d.ts +0 -27
- package/dist/module/components/enums.d.ts.map +0 -1
- package/dist/module/components/index.d.ts +0 -5
- package/dist/module/components/index.d.ts.map +0 -1
- package/dist/module/components/types.d.ts +0 -215
- package/dist/module/components/types.d.ts.map +0 -1
- package/dist/module/conditions/condition-abstract.d.ts +0 -16
- package/dist/module/conditions/condition-abstract.d.ts.map +0 -1
- package/dist/module/conditions/condition-field.d.ts +0 -13
- package/dist/module/conditions/condition-field.d.ts.map +0 -1
- package/dist/module/conditions/condition-group-def.d.ts +0 -10
- package/dist/module/conditions/condition-group-def.d.ts.map +0 -1
- package/dist/module/conditions/condition-group.d.ts +0 -16
- package/dist/module/conditions/condition-group.d.ts.map +0 -1
- package/dist/module/conditions/condition-model.d.ts +0 -41
- package/dist/module/conditions/condition-model.d.ts.map +0 -1
- package/dist/module/conditions/condition-operators.d.ts +0 -248
- package/dist/module/conditions/condition-operators.d.ts.map +0 -1
- package/dist/module/conditions/condition-ref.d.ts +0 -12
- package/dist/module/conditions/condition-ref.d.ts.map +0 -1
- package/dist/module/conditions/condition-value-abstract.d.ts +0 -8
- package/dist/module/conditions/condition-value-abstract.d.ts.map +0 -1
- package/dist/module/conditions/condition-value-registration.d.ts +0 -10
- package/dist/module/conditions/condition-value-registration.d.ts.map +0 -1
- package/dist/module/conditions/condition-values.d.ts +0 -38
- package/dist/module/conditions/condition-values.d.ts.map +0 -1
- package/dist/module/conditions/condition.d.ts +0 -15
- package/dist/module/conditions/condition.d.ts.map +0 -1
- package/dist/module/conditions/enums.d.ts +0 -5
- package/dist/module/conditions/enums.d.ts.map +0 -1
- package/dist/module/conditions/helpers.d.ts +0 -3
- package/dist/module/conditions/helpers.d.ts.map +0 -1
- package/dist/module/conditions/index.d.ts +0 -11
- package/dist/module/conditions/index.d.ts.map +0 -1
- package/dist/module/conditions/inline-condition-model.d.ts +0 -86
- package/dist/module/conditions/inline-condition-model.d.ts.map +0 -1
- package/dist/module/conditions/inline-condition-operators.d.ts +0 -175
- package/dist/module/conditions/inline-condition-operators.d.ts.map +0 -1
- package/dist/module/conditions/inline-condition-values.d.ts +0 -93
- package/dist/module/conditions/inline-condition-values.d.ts.map +0 -1
- package/dist/module/conditions/types.d.ts +0 -34
- package/dist/module/conditions/types.d.ts.map +0 -1
- package/dist/module/data-model/conditions-wrapper.d.ts +0 -19
- package/dist/module/data-model/conditions-wrapper.d.ts.map +0 -1
- package/dist/module/data-model/enums.d.ts +0 -6
- package/dist/module/data-model/enums.d.ts.map +0 -1
- package/dist/module/data-model/index.d.ts +0 -5
- package/dist/module/data-model/index.d.ts.map +0 -1
- package/dist/module/data-model/input-wrapper.d.ts +0 -16
- package/dist/module/data-model/input-wrapper.d.ts.map +0 -1
- package/dist/module/data-model/types.d.ts +0 -149
- package/dist/module/data-model/types.d.ts.map +0 -1
- package/dist/module/form/form-configuration.d.ts +0 -8
- package/dist/module/form/form-configuration.d.ts.map +0 -1
- package/dist/module/form/index.d.ts +0 -2
- package/dist/module/form/index.d.ts.map +0 -1
- package/dist/module/index.d.ts +0 -11
- package/dist/module/index.d.ts.map +0 -1
- package/dist/module/migration/index.d.ts +0 -2
- package/dist/module/migration/index.d.ts.map +0 -1
- package/dist/module/migration/migration.0-2.d.ts +0 -3
- package/dist/module/migration/migration.0-2.d.ts.map +0 -1
- package/dist/module/migration/migration.1-2.d.ts +0 -3
- package/dist/module/migration/migration.1-2.d.ts.map +0 -1
- package/dist/module/migration/types.d.ts +0 -2
- package/dist/module/migration/types.d.ts.map +0 -1
- package/dist/module/migration/whichMigrations.d.ts +0 -7
- package/dist/module/migration/whichMigrations.d.ts.map +0 -1
- package/dist/module/schema/index.d.ts +0 -2
- package/dist/module/schema/index.d.ts.map +0 -1
- package/dist/module/schema/schema.d.ts +0 -20
- package/dist/module/schema/schema.d.ts.map +0 -1
- package/dist/module/utils/helpers.d.ts +0 -9
- package/dist/module/utils/helpers.d.ts.map +0 -1
- package/dist/module/utils/logger.d.ts +0 -11
- package/dist/module/utils/logger.d.ts.map +0 -1
- /package/dist/{browser → types}/components/component-types.d.ts +0 -0
- /package/dist/{browser → types}/components/component-types.d.ts.map +0 -0
- /package/dist/{browser → types}/components/conditional-component-types.d.ts +0 -0
- /package/dist/{browser → types}/components/conditional-component-types.d.ts.map +0 -0
- /package/dist/{browser → types}/components/enums.d.ts +0 -0
- /package/dist/{browser → types}/components/enums.d.ts.map +0 -0
- /package/dist/{browser → types}/components/index.d.ts +0 -0
- /package/dist/{browser → types}/components/index.d.ts.map +0 -0
- /package/dist/{browser → types}/components/types.d.ts +0 -0
- /package/dist/{browser → types}/components/types.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/condition-abstract.d.ts +0 -0
- /package/dist/{browser → types}/conditions/condition-abstract.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/condition-field.d.ts +0 -0
- /package/dist/{browser → types}/conditions/condition-field.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/condition-group-def.d.ts +0 -0
- /package/dist/{browser → types}/conditions/condition-group-def.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/condition-group.d.ts +0 -0
- /package/dist/{browser → types}/conditions/condition-group.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/condition-model.d.ts +0 -0
- /package/dist/{browser → types}/conditions/condition-model.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/condition-operators.d.ts +0 -0
- /package/dist/{browser → types}/conditions/condition-operators.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/condition-ref.d.ts +0 -0
- /package/dist/{browser → types}/conditions/condition-ref.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/condition-value-abstract.d.ts +0 -0
- /package/dist/{browser → types}/conditions/condition-value-abstract.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/condition-value-registration.d.ts +0 -0
- /package/dist/{browser → types}/conditions/condition-value-registration.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/condition-values.d.ts +0 -0
- /package/dist/{browser → types}/conditions/condition-values.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/condition.d.ts +0 -0
- /package/dist/{browser → types}/conditions/condition.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/enums.d.ts +0 -0
- /package/dist/{browser → types}/conditions/enums.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/helpers.d.ts +0 -0
- /package/dist/{browser → types}/conditions/helpers.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/index.d.ts +0 -0
- /package/dist/{browser → types}/conditions/index.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/inline-condition-model.d.ts +0 -0
- /package/dist/{browser → types}/conditions/inline-condition-model.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/inline-condition-operators.d.ts +0 -0
- /package/dist/{browser → types}/conditions/inline-condition-operators.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/inline-condition-values.d.ts +0 -0
- /package/dist/{browser → types}/conditions/inline-condition-values.d.ts.map +0 -0
- /package/dist/{browser → types}/conditions/types.d.ts +0 -0
- /package/dist/{browser → types}/conditions/types.d.ts.map +0 -0
- /package/dist/{browser → types}/data-model/conditions-wrapper.d.ts +0 -0
- /package/dist/{browser → types}/data-model/conditions-wrapper.d.ts.map +0 -0
- /package/dist/{browser → types}/data-model/enums.d.ts +0 -0
- /package/dist/{browser → types}/data-model/enums.d.ts.map +0 -0
- /package/dist/{browser → types}/data-model/index.d.ts +0 -0
- /package/dist/{browser → types}/data-model/index.d.ts.map +0 -0
- /package/dist/{browser → types}/data-model/input-wrapper.d.ts +0 -0
- /package/dist/{browser → types}/data-model/input-wrapper.d.ts.map +0 -0
- /package/dist/{browser → types}/data-model/types.d.ts +0 -0
- /package/dist/{browser → types}/data-model/types.d.ts.map +0 -0
- /package/dist/{browser → types}/form/form-configuration.d.ts +0 -0
- /package/dist/{browser → types}/form/form-configuration.d.ts.map +0 -0
- /package/dist/{browser → types}/form/index.d.ts +0 -0
- /package/dist/{browser → types}/form/index.d.ts.map +0 -0
- /package/dist/{browser → types}/index.d.ts +0 -0
- /package/dist/{browser → types}/index.d.ts.map +0 -0
- /package/dist/{browser → types}/migration/index.d.ts +0 -0
- /package/dist/{browser → types}/migration/index.d.ts.map +0 -0
- /package/dist/{browser → types}/migration/migration.0-2.d.ts +0 -0
- /package/dist/{browser → types}/migration/migration.0-2.d.ts.map +0 -0
- /package/dist/{browser → types}/migration/migration.1-2.d.ts +0 -0
- /package/dist/{browser → types}/migration/migration.1-2.d.ts.map +0 -0
- /package/dist/{browser → types}/migration/types.d.ts +0 -0
- /package/dist/{browser → types}/migration/types.d.ts.map +0 -0
- /package/dist/{browser → types}/migration/whichMigrations.d.ts +0 -0
- /package/dist/{browser → types}/migration/whichMigrations.d.ts.map +0 -0
- /package/dist/{browser → types}/schema/index.d.ts +0 -0
- /package/dist/{browser → types}/schema/index.d.ts.map +0 -0
- /package/dist/{browser → types}/schema/schema.d.ts +0 -0
- /package/dist/{browser → types}/schema/schema.d.ts.map +0 -0
- /package/dist/{browser → types}/utils/helpers.d.ts +0 -0
- /package/dist/{browser → types}/utils/helpers.d.ts.map +0 -0
- /package/dist/{browser → types}/utils/logger.d.ts +0 -0
- /package/dist/{browser → types}/utils/logger.d.ts.map +0 -0
@@ -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"}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
import { Condition } from './condition';
|
2
|
-
import { ConditionRef } from './condition-ref';
|
3
|
-
import { ConditionGroup } from './condition-group';
|
4
|
-
export type ConditionsArray = (Condition | ConditionGroup | ConditionRef)[];
|
5
|
-
export type DateTimeUnitValues = 'years' | 'months' | 'days' | 'hours' | 'minutes' | 'seconds';
|
6
|
-
export type DateUnits = {
|
7
|
-
YEARS: {
|
8
|
-
display: 'year(s)';
|
9
|
-
value: 'years';
|
10
|
-
};
|
11
|
-
MONTHS: {
|
12
|
-
display: 'month(s)';
|
13
|
-
value: 'months';
|
14
|
-
};
|
15
|
-
DAYS: {
|
16
|
-
display: 'day(s)';
|
17
|
-
value: 'days';
|
18
|
-
};
|
19
|
-
};
|
20
|
-
export type TimeUnits = {
|
21
|
-
HOURS: {
|
22
|
-
display: 'hour(s)';
|
23
|
-
value: 'hours';
|
24
|
-
};
|
25
|
-
MINUTES: {
|
26
|
-
display: 'minute(s)';
|
27
|
-
value: 'minutes';
|
28
|
-
};
|
29
|
-
SECONDS: {
|
30
|
-
display: 'second(s)';
|
31
|
-
value: 'seconds';
|
32
|
-
};
|
33
|
-
};
|
34
|
-
//# sourceMappingURL=types.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/conditions/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAElD,MAAM,MAAM,eAAe,GAAG,CAAC,SAAS,GAAG,cAAc,GAAG,YAAY,CAAC,EAAE,CAAA;AAE3E,MAAM,MAAM,kBAAkB,GAC1B,OAAO,GACP,QAAQ,GACR,MAAM,GACN,OAAO,GACP,SAAS,GACT,SAAS,CAAA;AAEb,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE;QAAE,OAAO,EAAE,SAAS,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,CAAA;IAC7C,MAAM,EAAE;QAAE,OAAO,EAAE,UAAU,CAAC;QAAC,KAAK,EAAE,QAAQ,CAAA;KAAE,CAAA;IAChD,IAAI,EAAE;QAAE,OAAO,EAAE,QAAQ,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CAC3C,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE;QAAE,OAAO,EAAE,SAAS,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,CAAA;IAC7C,OAAO,EAAE;QAAE,OAAO,EAAE,WAAW,CAAC;QAAC,KAAK,EAAE,SAAS,CAAA;KAAE,CAAA;IACnD,OAAO,EAAE;QAAE,OAAO,EAAE,WAAW,CAAC;QAAC,KAAK,EAAE,SAAS,CAAA;KAAE,CAAA;CACpD,CAAA"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { Condition } from '../conditions/condition';
|
2
|
-
export type ConditionWrapperValue = string | {
|
3
|
-
name: string;
|
4
|
-
conditions: Condition[];
|
5
|
-
};
|
6
|
-
export type ConditionRawData = {
|
7
|
-
name: string;
|
8
|
-
displayName: string;
|
9
|
-
value: ConditionWrapperValue;
|
10
|
-
};
|
11
|
-
export declare class ConditionsWrapper {
|
12
|
-
name: string;
|
13
|
-
displayName: string;
|
14
|
-
value: ConditionWrapperValue;
|
15
|
-
constructor(rawData: ConditionRawData);
|
16
|
-
get expression(): string;
|
17
|
-
clone(): ConditionsWrapper;
|
18
|
-
}
|
19
|
-
//# sourceMappingURL=conditions-wrapper.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"conditions-wrapper.d.ts","sourceRoot":"","sources":["../../../src/data-model/conditions-wrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAGnD,MAAM,MAAM,qBAAqB,GAC7B,MAAM,GACN;IACE,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,SAAS,EAAE,CAAA;CACxB,CAAA;AAEL,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,qBAAqB,CAAA;CAC7B,CAAA;AAED,qBAAa,iBAAiB;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,qBAAqB,CAAA;gBAEhB,OAAO,EAAE,gBAAgB;IAOrC,IAAI,UAAU,WAQb;IAED,KAAK,IAAI,iBAAiB;CAG3B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/data-model/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB"}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
export { InputWrapper } from './input-wrapper';
|
2
|
-
export { ConditionsWrapper, ConditionRawData } from './conditions-wrapper';
|
3
|
-
export { Page, Item, Section, List, ConfirmationPage } from './types';
|
4
|
-
export { OutputType } from './enums';
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/data-model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { ComponentDef } from '../components/types';
|
2
|
-
import { Page } from './types';
|
3
|
-
export declare class InputWrapper {
|
4
|
-
#private;
|
5
|
-
name: string | undefined;
|
6
|
-
title: string | undefined;
|
7
|
-
type: string | undefined;
|
8
|
-
propertyPath: string | undefined;
|
9
|
-
page: Page;
|
10
|
-
constructor(rawData: ComponentDef, page: Page, options: {
|
11
|
-
ignoreSection?: boolean;
|
12
|
-
parentItemName?: string;
|
13
|
-
});
|
14
|
-
get displayName(): string | undefined;
|
15
|
-
}
|
16
|
-
//# sourceMappingURL=input-wrapper.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"input-wrapper.d.ts","sourceRoot":"","sources":["../../../src/data-model/input-wrapper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,qBAAa,YAAY;;IACvB,IAAI,EAAE,MAAM,GAAG,SAAS,CAAY;IACpC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAY;IACrC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAY;IACpC,YAAY,EAAE,MAAM,GAAG,SAAS,CAAA;IAEhC,IAAI,EAAE,IAAI,CAAA;gBAGR,OAAO,EAAE,YAAY,EACrB,IAAI,EAAE,IAAI,EACV,OAAO,EAAE;QAAE,aAAa,CAAC,EAAE,OAAO,CAAC;QAAC,cAAc,CAAC,EAAE,MAAM,CAAA;KAAE;IAe/D,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAQpC;CACF"}
|
@@ -1,149 +0,0 @@
|
|
1
|
-
import { ConditionRawData } from '.';
|
2
|
-
import { ComponentDef } from '../components/types';
|
3
|
-
import { OutputType } from './enums';
|
4
|
-
type Toggleable<T> = boolean | T;
|
5
|
-
export interface Next {
|
6
|
-
path: string;
|
7
|
-
condition?: string;
|
8
|
-
}
|
9
|
-
export type Link = Next;
|
10
|
-
export interface Page {
|
11
|
-
title: string;
|
12
|
-
path: string;
|
13
|
-
controller: string;
|
14
|
-
components?: ComponentDef[];
|
15
|
-
section: string;
|
16
|
-
next?: {
|
17
|
-
path: string;
|
18
|
-
condition?: string;
|
19
|
-
}[];
|
20
|
-
}
|
21
|
-
export interface RepeatingFieldPage extends Page {
|
22
|
-
controller: 'RepeatingFieldPageController';
|
23
|
-
options: {
|
24
|
-
summaryDisplayMode?: {
|
25
|
-
samePage?: boolean;
|
26
|
-
separatePage?: boolean;
|
27
|
-
hideRowTitles?: boolean;
|
28
|
-
};
|
29
|
-
customText?: {
|
30
|
-
separatePageTitle?: string;
|
31
|
-
};
|
32
|
-
};
|
33
|
-
}
|
34
|
-
export interface Section {
|
35
|
-
name: string;
|
36
|
-
title: string;
|
37
|
-
hideTitle: boolean;
|
38
|
-
}
|
39
|
-
export interface Item {
|
40
|
-
text: string;
|
41
|
-
value: string | number | boolean;
|
42
|
-
description?: string;
|
43
|
-
condition?: string;
|
44
|
-
}
|
45
|
-
export interface List {
|
46
|
-
name: string;
|
47
|
-
title: string;
|
48
|
-
type: 'string' | 'number' | 'boolean';
|
49
|
-
items: Item[];
|
50
|
-
}
|
51
|
-
export interface Feedback {
|
52
|
-
feedbackForm?: boolean;
|
53
|
-
url?: string;
|
54
|
-
emailAddress?: string;
|
55
|
-
}
|
56
|
-
export type PhaseBanner = {
|
57
|
-
phase?: 'alpha' | 'beta';
|
58
|
-
feedbackUrl?: string;
|
59
|
-
};
|
60
|
-
export type MultipleApiKeys = {
|
61
|
-
test?: string;
|
62
|
-
production?: string;
|
63
|
-
};
|
64
|
-
export type EmailOutputConfiguration = {
|
65
|
-
emailAddress: string;
|
66
|
-
};
|
67
|
-
export type NotifyOutputConfiguration = {
|
68
|
-
apiKey: string;
|
69
|
-
templateId: string;
|
70
|
-
emailField: string;
|
71
|
-
personalisation: string[];
|
72
|
-
personalisationFieldCustomisation?: {
|
73
|
-
[personalisationName: string]: string[];
|
74
|
-
};
|
75
|
-
addReferencesToPersonalisation?: boolean;
|
76
|
-
emailReplyToIdConfiguration?: {
|
77
|
-
emailReplyToId: string;
|
78
|
-
condition?: string | undefined;
|
79
|
-
}[];
|
80
|
-
};
|
81
|
-
export type WebhookOutputConfiguration = {
|
82
|
-
url: string;
|
83
|
-
};
|
84
|
-
export type OutputConfiguration = EmailOutputConfiguration | NotifyOutputConfiguration | WebhookOutputConfiguration;
|
85
|
-
export type Output = {
|
86
|
-
name: string;
|
87
|
-
title: string;
|
88
|
-
type: OutputType;
|
89
|
-
outputConfiguration: OutputConfiguration;
|
90
|
-
};
|
91
|
-
export type ConfirmationPage = {
|
92
|
-
customText: {
|
93
|
-
title: string;
|
94
|
-
paymentSkipped: Toggleable<string>;
|
95
|
-
nextSteps: Toggleable<string>;
|
96
|
-
};
|
97
|
-
components: ComponentDef[];
|
98
|
-
};
|
99
|
-
export type PaymentSkippedWarningPage = {
|
100
|
-
customText: {
|
101
|
-
title: string;
|
102
|
-
caption: string;
|
103
|
-
body: string;
|
104
|
-
};
|
105
|
-
};
|
106
|
-
export type SpecialPages = {
|
107
|
-
confirmationPage?: ConfirmationPage;
|
108
|
-
paymentSkippedWarningPage?: PaymentSkippedWarningPage;
|
109
|
-
};
|
110
|
-
export declare function isMultipleApiKey(payApiKey: string | MultipleApiKeys | undefined): payApiKey is MultipleApiKeys;
|
111
|
-
export type Fee = {
|
112
|
-
description: string;
|
113
|
-
amount: number;
|
114
|
-
multiplier?: string;
|
115
|
-
condition?: string;
|
116
|
-
prefix?: string;
|
117
|
-
};
|
118
|
-
export type FeeOptions = {
|
119
|
-
paymentReferenceFormat?: string;
|
120
|
-
payReturnUrl?: string;
|
121
|
-
allowSubmissionWithoutPayment: boolean;
|
122
|
-
maxAttempts: number;
|
123
|
-
customPayErrorMessage?: string;
|
124
|
-
showPaymentSkippedWarningPage: boolean;
|
125
|
-
};
|
126
|
-
/**
|
127
|
-
* `FormDefinition` is a typescript representation of `Schema`
|
128
|
-
*/
|
129
|
-
export type FormDefinition = {
|
130
|
-
pages: Array<Page | RepeatingFieldPage>;
|
131
|
-
conditions: ConditionRawData[];
|
132
|
-
lists: List[];
|
133
|
-
sections: Section[];
|
134
|
-
startPage?: Page['path'] | undefined;
|
135
|
-
name?: string | undefined;
|
136
|
-
feedback?: Feedback;
|
137
|
-
phaseBanner?: PhaseBanner;
|
138
|
-
fees: Fee[];
|
139
|
-
skipSummary?: boolean | undefined;
|
140
|
-
outputs: Output[];
|
141
|
-
declaration?: string | undefined;
|
142
|
-
metadata?: Record<string, any>;
|
143
|
-
payApiKey?: string | MultipleApiKeys | undefined;
|
144
|
-
specialPages?: SpecialPages;
|
145
|
-
paymentReferenceFormat?: string;
|
146
|
-
feeOptions: FeeOptions;
|
147
|
-
};
|
148
|
-
export {};
|
149
|
-
//# sourceMappingURL=types.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/data-model/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAA;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEpC,KAAK,UAAU,CAAC,CAAC,IAAI,OAAO,GAAG,CAAC,CAAA;AAEhC,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AACD,MAAM,MAAM,IAAI,GAAG,IAAI,CAAA;AAEvB,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,YAAY,EAAE,CAAA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O,GAAG,SAAS,CAAA;IACjC,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAAA;IAChD,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,UAAU,EAAE,UAAU,CAAA;CACvB,CAAA"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export declare class FormConfiguration {
|
2
|
-
Key: string;
|
3
|
-
DisplayName: string;
|
4
|
-
LastModified: string | undefined;
|
5
|
-
feedbackForm: boolean | undefined;
|
6
|
-
constructor(Key: string, DisplayName?: string, LastModified?: string, feedbackForm?: boolean);
|
7
|
-
}
|
8
|
-
//# sourceMappingURL=form-configuration.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"form-configuration.d.ts","sourceRoot":"","sources":["../../../src/form/form-configuration.ts"],"names":[],"mappings":"AAAA,qBAAa,iBAAiB;IAC5B,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,YAAY,EAAE,OAAO,GAAG,SAAS,CAAA;gBAG/B,GAAG,EAAE,MAAM,EACX,WAAW,CAAC,EAAE,MAAM,EACpB,YAAY,CAAC,EAAE,MAAM,EACrB,YAAY,CAAC,EAAE,OAAO;CAUzB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA"}
|
package/dist/module/index.d.ts
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
export { Schema, componentSchema } from './schema';
|
2
|
-
export { ConditionRawData, ConditionsWrapper, OutputType } from './data-model';
|
3
|
-
export { Logger } from './utils/logger';
|
4
|
-
export { FormConfiguration } from './form';
|
5
|
-
export { ComponentTypeEnum, ComponentTypes, ConditionalComponentTypes } from './components';
|
6
|
-
export * from './conditions';
|
7
|
-
export * from './utils/helpers';
|
8
|
-
export * from './migration';
|
9
|
-
export type * from './components/types';
|
10
|
-
export type * from './data-model/types';
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAClD,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9E,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAC1C,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,yBAAyB,EAC1B,MAAM,cAAc,CAAA;AACrB,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,mBAAmB,oBAAoB,CAAA;AACvC,mBAAmB,oBAAoB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/migration/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"migration.0-2.d.ts","sourceRoot":"","sources":["../../../src/migration/migration.0-2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAQzC,wBAAgB,OAAO,CAAC,IAAI,KAAA,GAAG,eAAe,CAoB7C"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"migration.1-2.d.ts","sourceRoot":"","sources":["../../../src/migration/migration.1-2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAiFzC,wBAAgB,OAAO,CAAC,IAAI,KAAA,GAAG,eAAe,CAuB7C"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/migration/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAA"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { MigrationScript } from './types';
|
2
|
-
/**
|
3
|
-
* Returns which migrations that should be run against your Object with the given version
|
4
|
-
* @param version
|
5
|
-
*/
|
6
|
-
export declare function whichMigrations(version: number): Set<MigrationScript>;
|
7
|
-
//# sourceMappingURL=whichMigrations.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"whichMigrations.d.ts","sourceRoot":"","sources":["../../../src/migration/whichMigrations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAEzC;;;GAGG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,wBAc9C"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA"}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import joi from 'joi';
|
2
|
-
/**
|
3
|
-
* If an optional key is added, CURRENT_VERSION does not need to be incremented.
|
4
|
-
* Only breaking changes will require an increment, as well as a migration script.
|
5
|
-
*/
|
6
|
-
export declare const CURRENT_VERSION = 2;
|
7
|
-
export declare const componentSchema: joi.ObjectSchema<any>;
|
8
|
-
export declare const Schema: joi.ObjectSchema<any>;
|
9
|
-
/**
|
10
|
-
* Schema versions:
|
11
|
-
* Undefined / 0 - initial version as at 28/8/20. Conditions may be in object structure or string form.
|
12
|
-
* 1 - Relevant components (radio, checkbox, select, autocomplete) now contain
|
13
|
-
* options as 'values' rather than referencing a data list
|
14
|
-
* 2 - Reverse v1. Values populating radio, checkboxes, select, autocomplete are defined in Lists only.
|
15
|
-
* TODO:- merge fees and paymentReferenceFormat
|
16
|
-
* 2 - 2023-05-04 `feeOptions` has been introduced. paymentReferenceFormat and payApiKey can be configured in top level or feeOptions. feeOptions will take precedent.
|
17
|
-
* if feeOptions are empty, it will pull values from the top level keys.
|
18
|
-
* WARN: Fee/GOV.UK pay configurations (apart from fees) should no longer be stored in the top level, always within feeOptions.
|
19
|
-
**/
|
20
|
-
//# sourceMappingURL=schema.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/schema/schema.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAA;AAErB;;;GAGG;AACH,eAAO,MAAM,eAAe,IAAI,CAAA;AA2EhC,eAAO,MAAM,eAAe,uBAcZ,CAAA;AA0KhB,eAAO,MAAM,MAAM,uBAsBf,CAAA;AAEJ;;;;;;;;;;IAUI"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export declare const serialiseAndDeserialise: <T>(obj: T) => T;
|
2
|
-
export declare const clone: <T>(obj: T & {
|
3
|
-
clone?: () => T;
|
4
|
-
}) => T;
|
5
|
-
export declare function filter<T extends {
|
6
|
-
[key: string]: unknown;
|
7
|
-
}>(obj: T, predicate: (value: any) => boolean): Partial<T>;
|
8
|
-
export declare const nanoid: (size?: number | undefined) => string;
|
9
|
-
//# sourceMappingURL=helpers.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/utils/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,WAAY,CAAC,KAAG,CAMnD,CAAA;AAED,eAAO,MAAM,KAAK,WAAY,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC,CAAA;CAAE,KAAG,CASvD,CAAA;AAED,wBAAgB,MAAM,CAAC,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,EACzD,GAAG,EAAE,CAAC,EACN,SAAS,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,GACjC,OAAO,CAAC,CAAC,CAAC,CAUZ;AAED,eAAO,MAAM,MAAM,uCAA6D,CAAA"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
export declare class Logger {
|
2
|
-
server: any;
|
3
|
-
name: string;
|
4
|
-
constructor(server: any, name: string);
|
5
|
-
error(message: string): void;
|
6
|
-
warn(message: string): void;
|
7
|
-
info(message: string): void;
|
8
|
-
debug(message: string): void;
|
9
|
-
log(level: string, message: string): void;
|
10
|
-
}
|
11
|
-
//# sourceMappingURL=logger.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/utils/logger.ts"],"names":[],"mappings":"AAAA,qBAAa,MAAM;IACjB,MAAM,EAAE,GAAG,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;gBAEA,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM;IAKrC,KAAK,CAAC,OAAO,EAAE,MAAM;IAIrB,IAAI,CAAC,OAAO,EAAE,MAAM;IAIpB,IAAI,CAAC,OAAO,EAAE,MAAM;IAIpB,KAAK,CAAC,OAAO,EAAE,MAAM;IAIrB,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;CAGnC"}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|