@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,248 +0,0 @@
|
|
1
|
-
import { ComponentType, ComponentDef } from '../components';
|
2
|
-
import { ConditionValueAbstract } from './condition-value-abstract';
|
3
|
-
export declare const customOperators: {
|
4
|
-
CheckboxesField: {
|
5
|
-
contains: {
|
6
|
-
expression: (field: ComponentDef, value: any) => string;
|
7
|
-
};
|
8
|
-
'does not contain': {
|
9
|
-
expression: (field: ComponentDef, value: any) => string;
|
10
|
-
};
|
11
|
-
};
|
12
|
-
NumberField: {
|
13
|
-
'is at least': {
|
14
|
-
expression: (field: ComponentDef, value: any) => string;
|
15
|
-
};
|
16
|
-
'is at most': {
|
17
|
-
expression: (field: ComponentDef, value: any) => string;
|
18
|
-
};
|
19
|
-
'is less than': {
|
20
|
-
expression: (field: ComponentDef, value: any) => string;
|
21
|
-
};
|
22
|
-
'is more than': {
|
23
|
-
expression: (field: ComponentDef, value: any) => string;
|
24
|
-
};
|
25
|
-
} & {
|
26
|
-
is: {
|
27
|
-
expression: (field: ComponentDef, value: any) => string;
|
28
|
-
};
|
29
|
-
'is not': {
|
30
|
-
expression: (field: ComponentDef, value: any) => string;
|
31
|
-
};
|
32
|
-
};
|
33
|
-
DateField: {
|
34
|
-
is: {
|
35
|
-
expression: (field: ComponentDef, value: any) => string;
|
36
|
-
};
|
37
|
-
'is not': {
|
38
|
-
expression: (field: ComponentDef, value: any) => string;
|
39
|
-
};
|
40
|
-
'is before': {
|
41
|
-
expression: (field: ComponentDef, value: any) => string;
|
42
|
-
};
|
43
|
-
'is after': {
|
44
|
-
expression: (field: ComponentDef, value: any) => string;
|
45
|
-
};
|
46
|
-
} & {
|
47
|
-
'is at least': {
|
48
|
-
units: any;
|
49
|
-
expression: (field: ComponentDef, value: any) => string;
|
50
|
-
};
|
51
|
-
'is at most': {
|
52
|
-
units: any;
|
53
|
-
expression: (field: ComponentDef, value: any) => string;
|
54
|
-
};
|
55
|
-
'is less than': {
|
56
|
-
units: any;
|
57
|
-
expression: (field: ComponentDef, value: any) => string;
|
58
|
-
};
|
59
|
-
'is more than': {
|
60
|
-
units: any;
|
61
|
-
expression: (field: ComponentDef, value: any) => string;
|
62
|
-
};
|
63
|
-
};
|
64
|
-
TimeField: {
|
65
|
-
is: {
|
66
|
-
expression: (field: ComponentDef, value: any) => string;
|
67
|
-
};
|
68
|
-
'is not': {
|
69
|
-
expression: (field: ComponentDef, value: any) => string;
|
70
|
-
};
|
71
|
-
'is before': {
|
72
|
-
expression: (field: ComponentDef, value: any) => string;
|
73
|
-
};
|
74
|
-
'is after': {
|
75
|
-
expression: (field: ComponentDef, value: any) => string;
|
76
|
-
};
|
77
|
-
} & {
|
78
|
-
'is at least': {
|
79
|
-
units: any;
|
80
|
-
expression: (field: ComponentDef, value: any) => string;
|
81
|
-
};
|
82
|
-
'is at most': {
|
83
|
-
units: any;
|
84
|
-
expression: (field: ComponentDef, value: any) => string;
|
85
|
-
};
|
86
|
-
'is less than': {
|
87
|
-
units: any;
|
88
|
-
expression: (field: ComponentDef, value: any) => string;
|
89
|
-
};
|
90
|
-
'is more than': {
|
91
|
-
units: any;
|
92
|
-
expression: (field: ComponentDef, value: any) => string;
|
93
|
-
};
|
94
|
-
};
|
95
|
-
DatePartsField: {
|
96
|
-
is: {
|
97
|
-
expression: (field: ComponentDef, value: any) => string;
|
98
|
-
};
|
99
|
-
'is not': {
|
100
|
-
expression: (field: ComponentDef, value: any) => string;
|
101
|
-
};
|
102
|
-
'is before': {
|
103
|
-
expression: (field: ComponentDef, value: any) => string;
|
104
|
-
};
|
105
|
-
'is after': {
|
106
|
-
expression: (field: ComponentDef, value: any) => string;
|
107
|
-
};
|
108
|
-
} & {
|
109
|
-
'is at least': {
|
110
|
-
units: any;
|
111
|
-
expression: (field: ComponentDef, value: any) => string;
|
112
|
-
};
|
113
|
-
'is at most': {
|
114
|
-
units: any;
|
115
|
-
expression: (field: ComponentDef, value: any) => string;
|
116
|
-
};
|
117
|
-
'is less than': {
|
118
|
-
units: any;
|
119
|
-
expression: (field: ComponentDef, value: any) => string;
|
120
|
-
};
|
121
|
-
'is more than': {
|
122
|
-
units: any;
|
123
|
-
expression: (field: ComponentDef, value: any) => string;
|
124
|
-
};
|
125
|
-
};
|
126
|
-
DateTimeField: {
|
127
|
-
is: {
|
128
|
-
expression: (field: ComponentDef, value: any) => string;
|
129
|
-
};
|
130
|
-
'is not': {
|
131
|
-
expression: (field: ComponentDef, value: any) => string;
|
132
|
-
};
|
133
|
-
'is before': {
|
134
|
-
expression: (field: ComponentDef, value: any) => string;
|
135
|
-
};
|
136
|
-
'is after': {
|
137
|
-
expression: (field: ComponentDef, value: any) => string;
|
138
|
-
};
|
139
|
-
} & {
|
140
|
-
'is at least': {
|
141
|
-
units: any;
|
142
|
-
expression: (field: ComponentDef, value: any) => string;
|
143
|
-
};
|
144
|
-
'is at most': {
|
145
|
-
units: any;
|
146
|
-
expression: (field: ComponentDef, value: any) => string;
|
147
|
-
};
|
148
|
-
'is less than': {
|
149
|
-
units: any;
|
150
|
-
expression: (field: ComponentDef, value: any) => string;
|
151
|
-
};
|
152
|
-
'is more than': {
|
153
|
-
units: any;
|
154
|
-
expression: (field: ComponentDef, value: any) => string;
|
155
|
-
};
|
156
|
-
};
|
157
|
-
DateTimePartsField: {
|
158
|
-
is: {
|
159
|
-
expression: (field: ComponentDef, value: any) => string;
|
160
|
-
};
|
161
|
-
'is not': {
|
162
|
-
expression: (field: ComponentDef, value: any) => string;
|
163
|
-
};
|
164
|
-
'is before': {
|
165
|
-
expression: (field: ComponentDef, value: any) => string;
|
166
|
-
};
|
167
|
-
'is after': {
|
168
|
-
expression: (field: ComponentDef, value: any) => string;
|
169
|
-
};
|
170
|
-
} & {
|
171
|
-
'is at least': {
|
172
|
-
units: any;
|
173
|
-
expression: (field: ComponentDef, value: any) => string;
|
174
|
-
};
|
175
|
-
'is at most': {
|
176
|
-
units: any;
|
177
|
-
expression: (field: ComponentDef, value: any) => string;
|
178
|
-
};
|
179
|
-
'is less than': {
|
180
|
-
units: any;
|
181
|
-
expression: (field: ComponentDef, value: any) => string;
|
182
|
-
};
|
183
|
-
'is more than': {
|
184
|
-
units: any;
|
185
|
-
expression: (field: ComponentDef, value: any) => string;
|
186
|
-
};
|
187
|
-
};
|
188
|
-
TextField: {
|
189
|
-
'is longer than': {
|
190
|
-
expression: (field: ComponentDef, value: any) => string;
|
191
|
-
};
|
192
|
-
'is shorter than': {
|
193
|
-
expression: (field: ComponentDef, value: any) => string;
|
194
|
-
};
|
195
|
-
'has length': {
|
196
|
-
expression: (field: ComponentDef, value: any) => string;
|
197
|
-
};
|
198
|
-
} & {
|
199
|
-
is: {
|
200
|
-
expression: (field: ComponentDef, value: any) => string;
|
201
|
-
};
|
202
|
-
'is not': {
|
203
|
-
expression: (field: ComponentDef, value: any) => string;
|
204
|
-
};
|
205
|
-
};
|
206
|
-
MultilineTextField: {
|
207
|
-
'is longer than': {
|
208
|
-
expression: (field: ComponentDef, value: any) => string;
|
209
|
-
};
|
210
|
-
'is shorter than': {
|
211
|
-
expression: (field: ComponentDef, value: any) => string;
|
212
|
-
};
|
213
|
-
'has length': {
|
214
|
-
expression: (field: ComponentDef, value: any) => string;
|
215
|
-
};
|
216
|
-
} & {
|
217
|
-
is: {
|
218
|
-
expression: (field: ComponentDef, value: any) => string;
|
219
|
-
};
|
220
|
-
'is not': {
|
221
|
-
expression: (field: ComponentDef, value: any) => string;
|
222
|
-
};
|
223
|
-
};
|
224
|
-
EmailAddressField: {
|
225
|
-
'is longer than': {
|
226
|
-
expression: (field: ComponentDef, value: any) => string;
|
227
|
-
};
|
228
|
-
'is shorter than': {
|
229
|
-
expression: (field: ComponentDef, value: any) => string;
|
230
|
-
};
|
231
|
-
'has length': {
|
232
|
-
expression: (field: ComponentDef, value: any) => string;
|
233
|
-
};
|
234
|
-
} & {
|
235
|
-
is: {
|
236
|
-
expression: (field: ComponentDef, value: any) => string;
|
237
|
-
};
|
238
|
-
'is not': {
|
239
|
-
expression: (field: ComponentDef, value: any) => string;
|
240
|
-
};
|
241
|
-
};
|
242
|
-
};
|
243
|
-
export declare function getOperatorNames(fieldType: any): string[];
|
244
|
-
export declare function getExpression(fieldType: ComponentType, fieldName: string, operator: string, value: ConditionValueAbstract): any;
|
245
|
-
export declare function getOperatorConfig(fieldType: ComponentType, operator: any): any;
|
246
|
-
export declare const absoluteDateOrTimeOperatorNames: string[];
|
247
|
-
export declare const relativeDateOrTimeOperatorNames: string[];
|
248
|
-
//# sourceMappingURL=condition-operators.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"condition-operators.d.ts","sourceRoot":"","sources":["../../../src/conditions/condition-operators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AA0CnE,eAAO,MAAM,eAAe;;;gCAiFJ,YAAY;;;gCAOZ,YAAY;;;;;gCArBZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;;;gCA0CZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;;;gCAYZ,YAAY;;;;gCAAZ,YAAY;;;;gCAAZ,YAAY;;;;gCAAZ,YAAY;;;;;gCAZZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;;;gCAYZ,YAAY;;;;gCAAZ,YAAY;;;;gCAAZ,YAAY;;;;gCAAZ,YAAY;;;;;gCAZZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;;;gCAYZ,YAAY;;;;gCAAZ,YAAY;;;;gCAAZ,YAAY;;;;gCAAZ,YAAY;;;;;gCAZZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;;;gCAYZ,YAAY;;;;gCAAZ,YAAY;;;;gCAAZ,YAAY;;;;gCAAZ,YAAY;;;;;gCAZZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;;;gCAYZ,YAAY;;;;gCAAZ,YAAY;;;;gCAAZ,YAAY;;;;gCAAZ,YAAY;;;;;gCA/CZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;;gCAPZ,YAAY;;;gCAAZ,YAAY;;;;;gCAOZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;;gCAPZ,YAAY;;;gCAAZ,YAAY;;;;;gCAOZ,YAAY;;;gCAAZ,YAAY;;;gCAAZ,YAAY;;;;gCAPZ,YAAY;;;gCAAZ,YAAY;;;CA5BnC,CAAA;AAED,wBAAgB,gBAAgB,CAAC,SAAS,KAAA,YAEzC;AAED,wBAAgB,aAAa,CAC3B,SAAS,EAAE,aAAa,EACxB,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,sBAAsB,OAM9B;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,aAAa,EAAE,QAAQ,KAAA,OAEnE;AAyCD,eAAO,MAAM,+BAA+B,UAE3C,CAAA;AACD,eAAO,MAAM,+BAA+B,UAE3C,CAAA"}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { ConditionAbstract } from './condition-abstract';
|
2
|
-
import { Coordinator } from './enums';
|
3
|
-
export declare class ConditionRef extends ConditionAbstract {
|
4
|
-
conditionName: string;
|
5
|
-
conditionDisplayName: string;
|
6
|
-
constructor(conditionName: string, conditionDisplayName: string, coordinator: Coordinator | undefined);
|
7
|
-
asFirstCondition(): this;
|
8
|
-
conditionString(): string;
|
9
|
-
conditionExpression(): string;
|
10
|
-
clone(): ConditionRef;
|
11
|
-
}
|
12
|
-
//# sourceMappingURL=condition-ref.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"condition-ref.d.ts","sourceRoot":"","sources":["../../../src/conditions/condition-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAErC,qBAAa,YAAa,SAAQ,iBAAiB;IACjD,aAAa,EAAE,MAAM,CAAA;IACrB,oBAAoB,EAAE,MAAM,CAAA;gBAG1B,aAAa,EAAE,MAAM,EACrB,oBAAoB,EAAE,MAAM,EAC5B,WAAW,EAAE,WAAW,GAAG,SAAS;IAgBtC,gBAAgB;IAKhB,eAAe;IAIf,mBAAmB;IAInB,KAAK;CAON"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { Registration } from './condition-value-registration';
|
2
|
-
export declare class ConditionValueAbstract {
|
3
|
-
type: string;
|
4
|
-
constructor(registration: Registration);
|
5
|
-
toPresentationString(): void;
|
6
|
-
toExpression(): void;
|
7
|
-
}
|
8
|
-
//# sourceMappingURL=condition-value-abstract.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"condition-value-abstract.d.ts","sourceRoot":"","sources":["../../../src/conditions/condition-value-abstract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAA;AAE7D,qBAAa,sBAAsB;IACjC,IAAI,EAAE,MAAM,CAAA;gBAEA,YAAY,EAAE,YAAY;IActC,oBAAoB;IAMpB,YAAY;CAKb"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
export declare class Registration {
|
2
|
-
type: string;
|
3
|
-
constructor(type: string, factory: (obj: any) => Registration);
|
4
|
-
static register(type: string, factory: (obj: any) => Registration): Registration;
|
5
|
-
static conditionValueFrom(obj: {
|
6
|
-
type: string;
|
7
|
-
[prop: string]: any;
|
8
|
-
}): any;
|
9
|
-
}
|
10
|
-
//# sourceMappingURL=condition-value-registration.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"condition-value-registration.d.ts","sourceRoot":"","sources":["../../../src/conditions/condition-value-registration.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;IACvB,IAAI,EAAE,MAAM,CAAA;gBAEA,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,YAAY;IAK7D,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,YAAY;IAIjE,MAAM,CAAC,kBAAkB,CAAC,GAAG,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE;CAGrE"}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
import { ConditionValueAbstract } from './condition-value-abstract';
|
2
|
-
import { Registration } from './condition-value-registration';
|
3
|
-
import { DateTimeUnitValues, DateUnits, TimeUnits } from './types';
|
4
|
-
export declare class ConditionValue extends ConditionValueAbstract {
|
5
|
-
value: string;
|
6
|
-
display: string;
|
7
|
-
constructor(value: string, display?: string);
|
8
|
-
toPresentationString(): string;
|
9
|
-
toExpression(): string;
|
10
|
-
static from(obj: {
|
11
|
-
value: string;
|
12
|
-
display?: string;
|
13
|
-
}): ConditionValue;
|
14
|
-
clone(): ConditionValue;
|
15
|
-
}
|
16
|
-
export declare enum DateDirections {
|
17
|
-
FUTURE = "in the future",
|
18
|
-
PAST = "in the past"
|
19
|
-
}
|
20
|
-
export declare const dateUnits: DateUnits;
|
21
|
-
export declare const timeUnits: TimeUnits;
|
22
|
-
export declare const dateTimeUnits: DateUnits & TimeUnits;
|
23
|
-
export declare class RelativeTimeValue extends ConditionValueAbstract {
|
24
|
-
timePeriod: string;
|
25
|
-
timeUnit: DateTimeUnitValues;
|
26
|
-
direction: DateDirections;
|
27
|
-
timeOnly: boolean;
|
28
|
-
constructor(timePeriod: string, timeUnit: DateTimeUnitValues, direction: DateDirections, timeOnly?: boolean);
|
29
|
-
toPresentationString(): string;
|
30
|
-
toExpression(): string;
|
31
|
-
static from(obj: any): RelativeTimeValue;
|
32
|
-
clone(): RelativeTimeValue;
|
33
|
-
}
|
34
|
-
export declare const relativeTimeValueType: Registration;
|
35
|
-
type ConditionValueFrom = Pick<ConditionValue, 'type' | 'value' | 'display'> | Pick<RelativeTimeValue, 'type' | 'timePeriod' | 'timeUnit' | 'direction' | 'timeOnly'>;
|
36
|
-
export declare function conditionValueFrom(obj: ConditionValueFrom): any;
|
37
|
-
export {};
|
38
|
-
//# sourceMappingURL=condition-values.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"condition-values.d.ts","sourceRoot":"","sources":["../../../src/conditions/condition-values.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAA;AAC7D,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAElE,qBAAa,cAAe,SAAQ,sBAAsB;IACxD,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;gBAEH,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;IAe3C,oBAAoB;IAIpB,YAAY;IAIZ,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE;IAIpD,KAAK;CAGN;AAMD,oBAAY,cAAc;IACxB,MAAM,kBAAkB;IACxB,IAAI,gBAAgB;CACrB;AAED,eAAO,MAAM,SAAS,EAAE,SAIvB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,SAIvB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,SAAS,GAAG,SAIvC,CAAA;AAED,qBAAa,iBAAkB,SAAQ,sBAAsB;IAC3D,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,SAAS,EAAE,cAAc,CAAA;IACzB,QAAQ,EAAE,OAAO,CAAA;gBAGf,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,kBAAkB,EAC5B,SAAS,EAAE,cAAc,EACzB,QAAQ,UAAQ;IA0BlB,oBAAoB;IAIpB,YAAY,IAAI,MAAM;IAUtB,MAAM,CAAC,IAAI,CAAC,GAAG,KAAA;IASf,KAAK;CAGN;AAED,eAAO,MAAM,qBAAqB,cAGjC,CAAA;AAED,KAAK,kBAAkB,GACnB,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,GAClD,IAAI,CACF,iBAAiB,EACjB,MAAM,GAAG,YAAY,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,CAC9D,CAAA;AAEL,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,kBAAkB,OAEzD"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { ConditionField } from './condition-field';
|
2
|
-
import { ConditionAbstract } from './condition-abstract';
|
3
|
-
import { ConditionValue, RelativeTimeValue } from './condition-values';
|
4
|
-
import { Coordinator } from './enums';
|
5
|
-
export declare class Condition extends ConditionAbstract {
|
6
|
-
field: ConditionField;
|
7
|
-
operator: string;
|
8
|
-
value: ConditionValue | RelativeTimeValue;
|
9
|
-
constructor(field: ConditionField, operator: string, value: ConditionValue | RelativeTimeValue, coordinator?: Coordinator);
|
10
|
-
asFirstCondition(): this;
|
11
|
-
conditionString(): string;
|
12
|
-
conditionExpression(): any;
|
13
|
-
clone(): Condition;
|
14
|
-
}
|
15
|
-
//# sourceMappingURL=condition.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"condition.d.ts","sourceRoot":"","sources":["../../../src/conditions/condition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAExD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAErC,qBAAa,SAAU,SAAQ,iBAAiB;IAC9C,KAAK,EAAE,cAAc,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,cAAc,GAAG,iBAAiB,CAAA;gBAGvC,KAAK,EAAE,cAAc,EACrB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,cAAc,GAAG,iBAAiB,EACzC,WAAW,CAAC,EAAE,WAAW;IAmB3B,gBAAgB;IAKhB,eAAe;IAMf,mBAAmB;IASnB,KAAK;CAQN"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/conditions/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACrB,GAAG,QAAQ;IACX,EAAE,OAAO;CACV"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/conditions/helpers.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB,CAAC,SAAS,KAAA,UAE7C;AAED,wBAAgB,YAAY,CAAC,SAAS,KAAA,UAErC"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
export { getExpression, getOperatorConfig, getOperatorNames, absoluteDateOrTimeOperatorNames, relativeDateOrTimeOperatorNames } from './condition-operators';
|
2
|
-
export { timeUnits, dateUnits, dateTimeUnits, ConditionValue, DateDirections, RelativeTimeValue, conditionValueFrom } from './condition-values';
|
3
|
-
export { ConditionField } from './condition-field';
|
4
|
-
export { Condition } from './condition';
|
5
|
-
export { ConditionRef } from './condition-ref';
|
6
|
-
export { ConditionGroup } from './condition-group';
|
7
|
-
export { ConditionsModel } from './condition-model';
|
8
|
-
export { ConditionGroupDef } from './condition-group-def';
|
9
|
-
export { toExpression, toPresentationString } from './helpers';
|
10
|
-
export { Coordinator } from './enums';
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/conditions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,+BAA+B,EAC/B,+BAA+B,EAChC,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EACL,SAAS,EACT,SAAS,EACT,aAAa,EACb,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAE9D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA"}
|
@@ -1,86 +0,0 @@
|
|
1
|
-
export declare const coordinators: {
|
2
|
-
AND: string;
|
3
|
-
OR: string;
|
4
|
-
};
|
5
|
-
export declare class ConditionsModel {
|
6
|
-
#private;
|
7
|
-
constructor();
|
8
|
-
clone(): ConditionsModel;
|
9
|
-
clear(): this;
|
10
|
-
set name(name: any);
|
11
|
-
get name(): any;
|
12
|
-
add(condition: any): this;
|
13
|
-
replace(index: any, condition: any): this;
|
14
|
-
remove(indexes: any): this;
|
15
|
-
addGroups(groupDefs: any): this;
|
16
|
-
splitGroup(index: any): this;
|
17
|
-
moveEarlier(index: any): this;
|
18
|
-
moveLater(index: any): this;
|
19
|
-
switchCoordinators(): void;
|
20
|
-
get asPerUserGroupings(): any[];
|
21
|
-
get hasConditions(): boolean;
|
22
|
-
get lastIndex(): number;
|
23
|
-
toPresentationString(): any;
|
24
|
-
toExpression(): any;
|
25
|
-
_applyGroups(userGroupedConditions: any): any;
|
26
|
-
_group(conditions: any, groupDefs: any): any;
|
27
|
-
_ungroup(conditions: any, splitIndex: any): any;
|
28
|
-
_autoGroupDefs(conditions: any): GroupDef[];
|
29
|
-
toJSON(): {
|
30
|
-
name: any;
|
31
|
-
conditions: any;
|
32
|
-
};
|
33
|
-
static from(obj: any): ConditionsModel;
|
34
|
-
}
|
35
|
-
export declare class GroupDef {
|
36
|
-
first: any;
|
37
|
-
last: any;
|
38
|
-
constructor(first: any, last: any);
|
39
|
-
contains(index: any): boolean;
|
40
|
-
startsWith(index: any): boolean;
|
41
|
-
applyTo(conditions: any): any[];
|
42
|
-
}
|
43
|
-
export declare function toPresentationString(condition: any): string;
|
44
|
-
export declare function toExpression(condition: any): string;
|
45
|
-
export declare class Field {
|
46
|
-
name: any;
|
47
|
-
type: any;
|
48
|
-
display: any;
|
49
|
-
constructor(name: any, type: any, display: any);
|
50
|
-
static from(obj: any): Field;
|
51
|
-
}
|
52
|
-
declare class AbstractCondition {
|
53
|
-
coordinator: any;
|
54
|
-
constructor(coordinator: any);
|
55
|
-
coordinatorString(): string;
|
56
|
-
getCoordinator(): any;
|
57
|
-
setCoordinator(coordinator: any): void;
|
58
|
-
isGroup(): boolean;
|
59
|
-
getGroupedConditions(): this[];
|
60
|
-
_asFirstCondition(): void;
|
61
|
-
asFirstCondition(): void;
|
62
|
-
clone(): void;
|
63
|
-
conditionString(): void;
|
64
|
-
conditionExpression(): void;
|
65
|
-
}
|
66
|
-
export declare class Condition extends AbstractCondition {
|
67
|
-
field: any;
|
68
|
-
operator: any;
|
69
|
-
value: any;
|
70
|
-
constructor(field: any, operator: any, value: any, coordinator: any);
|
71
|
-
asFirstCondition(): this;
|
72
|
-
conditionString(): string;
|
73
|
-
conditionExpression(): any;
|
74
|
-
clone(): Condition;
|
75
|
-
}
|
76
|
-
export declare class ConditionRef extends AbstractCondition {
|
77
|
-
conditionName: any;
|
78
|
-
conditionDisplayName: any;
|
79
|
-
constructor(conditionName: any, conditionDisplayName: any, coordinator: any);
|
80
|
-
asFirstCondition(): this;
|
81
|
-
conditionString(): string;
|
82
|
-
conditionExpression(): any;
|
83
|
-
clone(): ConditionRef;
|
84
|
-
}
|
85
|
-
export {};
|
86
|
-
//# sourceMappingURL=inline-condition-model.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"inline-condition-model.d.ts","sourceRoot":"","sources":["../../../src/conditions/inline-condition-model.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;CAGxB,CAAA;AAED,qBAAa,eAAe;;;IAU1B,KAAK;IAYL,KAAK;IAOL,IAAI,IAAI,CAAC,IAAI,KAAA,EAEZ;IAED,IAAI,IAAI,QAEP;IAED,GAAG,CAAC,SAAS,KAAA;IAYb,OAAO,CAAC,KAAK,KAAA,EAAE,SAAS,KAAA;IAgBxB,MAAM,CAAC,OAAO,KAAA;IAWd,SAAS,CAAC,SAAS,KAAA;IASnB,UAAU,CAAC,KAAK,KAAA;IAShB,WAAW,CAAC,KAAK,KAAA;IAejB,SAAS,CAAC,KAAK,KAAA;IAef,kBAAkB;IAOlB,IAAI,kBAAkB,UAErB;IAED,IAAI,aAAa,YAEhB;IAED,IAAI,SAAS,WAEZ;IAED,oBAAoB;IAMpB,YAAY;IAMZ,YAAY,CAAC,qBAAqB,KAAA;IAiBlC,MAAM,CAAC,UAAU,KAAA,EAAE,SAAS,KAAA;IAe5B,QAAQ,CAAC,UAAU,KAAA,EAAE,UAAU,KAAA;IAa/B,cAAc,CAAC,UAAU,KAAA;IA8BzB,MAAM;;;;IASN,MAAM,CAAC,IAAI,CAAC,GAAG,KAAA;CAchB;AAuBD,qBAAa,QAAQ;IACnB,KAAK,MAAA;IACL,IAAI,MAAA;gBAEQ,KAAK,KAAA,EAAE,IAAI,KAAA;IAUvB,QAAQ,CAAC,KAAK,KAAA;IAId,UAAU,CAAC,KAAK,KAAA;IAIhB,OAAO,CAAC,UAAU,KAAA;CAGnB;AA4DD,wBAAgB,oBAAoB,CAAC,SAAS,KAAA,UAE7C;AAED,wBAAgB,YAAY,CAAC,SAAS,KAAA,UAErC;AAED,qBAAa,KAAK;IAChB,IAAI,MAAA;IACJ,IAAI,MAAA;IACJ,OAAO,MAAA;gBAEK,IAAI,KAAA,EAAE,IAAI,KAAA,EAAE,OAAO,KAAA;IAe/B,MAAM,CAAC,IAAI,CAAC,GAAG,KAAA;CAGhB;AAED,cAAM,iBAAiB;IACrB,WAAW,MAAA;gBAEC,WAAW,KAAA;IAOvB,iBAAiB;IAIjB,cAAc;IAId,cAAc,CAAC,WAAW,KAAA;IAI1B,OAAO;IAIP,oBAAoB;IAIpB,iBAAiB;IAIjB,gBAAgB;IAMhB,KAAK;IAML,eAAe;IAMf,mBAAmB;CAKpB;AAED,qBAAa,SAAU,SAAQ,iBAAiB;IAC9C,KAAK,MAAA;IACL,QAAQ,MAAA;IACR,KAAK,MAAA;gBAEO,KAAK,KAAA,EAAE,QAAQ,KAAA,EAAE,KAAK,KAAA,EAAE,WAAW,KAAA;IAgB/C,gBAAgB;IAKhB,eAAe;IAMf,mBAAmB;IASnB,KAAK;CAQN;AAED,qBAAa,YAAa,SAAQ,iBAAiB;IACjD,aAAa,MAAA;IACb,oBAAoB,MAAA;gBAER,aAAa,KAAA,EAAE,oBAAoB,KAAA,EAAE,WAAW,KAAA;IAY5D,gBAAgB;IAKhB,eAAe;IAIf,mBAAmB;IAInB,KAAK;CAON"}
|
@@ -1,175 +0,0 @@
|
|
1
|
-
export declare const customOperators: {
|
2
|
-
CheckboxesField: {
|
3
|
-
contains: {
|
4
|
-
expression: (field: any, value: any) => string;
|
5
|
-
};
|
6
|
-
'does not contain': {
|
7
|
-
expression: (field: any, value: any) => string;
|
8
|
-
};
|
9
|
-
};
|
10
|
-
NumberField: any;
|
11
|
-
DateField: {
|
12
|
-
is: {
|
13
|
-
expression: (field: any, value: any) => string;
|
14
|
-
};
|
15
|
-
'is not': {
|
16
|
-
expression: (field: any, value: any) => string;
|
17
|
-
};
|
18
|
-
'is before': {
|
19
|
-
expression: (field: any, value: any) => string;
|
20
|
-
};
|
21
|
-
'is after': {
|
22
|
-
expression: (field: any, value: any) => string;
|
23
|
-
};
|
24
|
-
} & {
|
25
|
-
'is at least': {
|
26
|
-
units: any;
|
27
|
-
expression: (field: any, value: any) => string;
|
28
|
-
};
|
29
|
-
'is at most': {
|
30
|
-
units: any;
|
31
|
-
expression: (field: any, value: any) => string;
|
32
|
-
};
|
33
|
-
'is less than': {
|
34
|
-
units: any;
|
35
|
-
expression: (field: any, value: any) => string;
|
36
|
-
};
|
37
|
-
'is more than': {
|
38
|
-
units: any;
|
39
|
-
expression: (field: any, value: any) => string;
|
40
|
-
};
|
41
|
-
};
|
42
|
-
TimeField: {
|
43
|
-
is: {
|
44
|
-
expression: (field: any, value: any) => string;
|
45
|
-
};
|
46
|
-
'is not': {
|
47
|
-
expression: (field: any, value: any) => string;
|
48
|
-
};
|
49
|
-
'is before': {
|
50
|
-
expression: (field: any, value: any) => string;
|
51
|
-
};
|
52
|
-
'is after': {
|
53
|
-
expression: (field: any, value: any) => string;
|
54
|
-
};
|
55
|
-
} & {
|
56
|
-
'is at least': {
|
57
|
-
units: any;
|
58
|
-
expression: (field: any, value: any) => string;
|
59
|
-
};
|
60
|
-
'is at most': {
|
61
|
-
units: any;
|
62
|
-
expression: (field: any, value: any) => string;
|
63
|
-
};
|
64
|
-
'is less than': {
|
65
|
-
units: any;
|
66
|
-
expression: (field: any, value: any) => string;
|
67
|
-
};
|
68
|
-
'is more than': {
|
69
|
-
units: any;
|
70
|
-
expression: (field: any, value: any) => string;
|
71
|
-
};
|
72
|
-
};
|
73
|
-
DatePartsField: {
|
74
|
-
is: {
|
75
|
-
expression: (field: any, value: any) => string;
|
76
|
-
};
|
77
|
-
'is not': {
|
78
|
-
expression: (field: any, value: any) => string;
|
79
|
-
};
|
80
|
-
'is before': {
|
81
|
-
expression: (field: any, value: any) => string;
|
82
|
-
};
|
83
|
-
'is after': {
|
84
|
-
expression: (field: any, value: any) => string;
|
85
|
-
};
|
86
|
-
} & {
|
87
|
-
'is at least': {
|
88
|
-
units: any;
|
89
|
-
expression: (field: any, value: any) => string;
|
90
|
-
};
|
91
|
-
'is at most': {
|
92
|
-
units: any;
|
93
|
-
expression: (field: any, value: any) => string;
|
94
|
-
};
|
95
|
-
'is less than': {
|
96
|
-
units: any;
|
97
|
-
expression: (field: any, value: any) => string;
|
98
|
-
};
|
99
|
-
'is more than': {
|
100
|
-
units: any;
|
101
|
-
expression: (field: any, value: any) => string;
|
102
|
-
};
|
103
|
-
};
|
104
|
-
DateTimeField: {
|
105
|
-
is: {
|
106
|
-
expression: (field: any, value: any) => string;
|
107
|
-
};
|
108
|
-
'is not': {
|
109
|
-
expression: (field: any, value: any) => string;
|
110
|
-
};
|
111
|
-
'is before': {
|
112
|
-
expression: (field: any, value: any) => string;
|
113
|
-
};
|
114
|
-
'is after': {
|
115
|
-
expression: (field: any, value: any) => string;
|
116
|
-
};
|
117
|
-
} & {
|
118
|
-
'is at least': {
|
119
|
-
units: any;
|
120
|
-
expression: (field: any, value: any) => string;
|
121
|
-
};
|
122
|
-
'is at most': {
|
123
|
-
units: any;
|
124
|
-
expression: (field: any, value: any) => string;
|
125
|
-
};
|
126
|
-
'is less than': {
|
127
|
-
units: any;
|
128
|
-
expression: (field: any, value: any) => string;
|
129
|
-
};
|
130
|
-
'is more than': {
|
131
|
-
units: any;
|
132
|
-
expression: (field: any, value: any) => string;
|
133
|
-
};
|
134
|
-
};
|
135
|
-
DateTimePartsField: {
|
136
|
-
is: {
|
137
|
-
expression: (field: any, value: any) => string;
|
138
|
-
};
|
139
|
-
'is not': {
|
140
|
-
expression: (field: any, value: any) => string;
|
141
|
-
};
|
142
|
-
'is before': {
|
143
|
-
expression: (field: any, value: any) => string;
|
144
|
-
};
|
145
|
-
'is after': {
|
146
|
-
expression: (field: any, value: any) => string;
|
147
|
-
};
|
148
|
-
} & {
|
149
|
-
'is at least': {
|
150
|
-
units: any;
|
151
|
-
expression: (field: any, value: any) => string;
|
152
|
-
};
|
153
|
-
'is at most': {
|
154
|
-
units: any;
|
155
|
-
expression: (field: any, value: any) => string;
|
156
|
-
};
|
157
|
-
'is less than': {
|
158
|
-
units: any;
|
159
|
-
expression: (field: any, value: any) => string;
|
160
|
-
};
|
161
|
-
'is more than': {
|
162
|
-
units: any;
|
163
|
-
expression: (field: any, value: any) => string;
|
164
|
-
};
|
165
|
-
};
|
166
|
-
TextField: any;
|
167
|
-
MultilineTextField: any;
|
168
|
-
EmailAddressField: any;
|
169
|
-
};
|
170
|
-
export declare function getOperatorNames(fieldType: any): string[];
|
171
|
-
export declare function getExpression(fieldType: any, fieldName: any, operator: any, value: any): any;
|
172
|
-
export declare function getOperatorConfig(fieldType: any, operator: any): any;
|
173
|
-
export declare const absoluteDateOrTimeOperatorNames: string[];
|
174
|
-
export declare const relativeDateOrTimeOperatorNames: string[];
|
175
|
-
//# sourceMappingURL=inline-condition-operators.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"inline-condition-operators.d.ts","sourceRoot":"","sources":["../../../src/conditions/inline-condition-operators.ts"],"names":[],"mappings":"AAsCA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuC3B,CAAA;AAED,wBAAgB,gBAAgB,CAAC,SAAS,KAAA,YAEzC;AAED,wBAAgB,aAAa,CAAC,SAAS,KAAA,EAAE,SAAS,KAAA,EAAE,QAAQ,KAAA,EAAE,KAAK,KAAA,OAKlE;AAED,wBAAgB,iBAAiB,CAAC,SAAS,KAAA,EAAE,QAAQ,KAAA,OAEpD;AAyCD,eAAO,MAAM,+BAA+B,UAE3C,CAAA;AACD,eAAO,MAAM,+BAA+B,UAE3C,CAAA"}
|