@roqua/quby-frontend 0.10.4 → 0.10.5
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/core/questionnaire_json.d.ts +7 -1
- package/dist/quby-frontend.es.js +578 -554
- package/dist/quby-frontend.umd.js +47 -47
- package/package.json +1 -1
|
@@ -234,6 +234,12 @@ export interface IVisibilityIfEqual {
|
|
|
234
234
|
fieldKey: string;
|
|
235
235
|
value: string;
|
|
236
236
|
}
|
|
237
|
+
export interface IVisibilityNumericCompare {
|
|
238
|
+
type: "numeric_compare";
|
|
239
|
+
fieldKey: string;
|
|
240
|
+
op: "gt" | "gteq" | "lt" | "lteq" | "eq";
|
|
241
|
+
value: number;
|
|
242
|
+
}
|
|
237
243
|
export interface IVisibilityIfContains {
|
|
238
244
|
type: "contains";
|
|
239
245
|
fieldKey: string;
|
|
@@ -260,7 +266,7 @@ export interface IVisibilityThenHide {
|
|
|
260
266
|
type: "hide_question";
|
|
261
267
|
fieldKey: string;
|
|
262
268
|
}
|
|
263
|
-
export type VisibilityIf = IVisibilityIfEqual | IVisibilityIfContains | IVisibilityConditionAlways | IVisibilityConditionFlagEqual | IVisibilityConditionAnswered;
|
|
269
|
+
export type VisibilityIf = IVisibilityIfEqual | IVisibilityNumericCompare | IVisibilityIfContains | IVisibilityConditionAlways | IVisibilityConditionFlagEqual | IVisibilityConditionAnswered;
|
|
264
270
|
export type VisibilityThen = IVisibilityThenShow | IVisibilityThenHide;
|
|
265
271
|
export interface IVisibilityRule {
|
|
266
272
|
condition: VisibilityIf;
|