@rocapine/react-native-onboarding 1.22.0 → 1.24.0
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/onboarding-example.d.ts +577 -0
- package/dist/onboarding-example.d.ts.map +1 -1
- package/dist/onboarding-example.js +93 -0
- package/dist/onboarding-example.js.map +1 -1
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.d.ts +21 -0
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.js +10 -1
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.js.map +1 -1
- package/dist/steps/ComposableScreen/elements/ButtonElement.d.ts +294 -2
- package/dist/steps/ComposableScreen/elements/ButtonElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/ButtonElement.js +14 -1
- package/dist/steps/ComposableScreen/elements/ButtonElement.js.map +1 -1
- package/dist/steps/ComposableScreen/elements/CarouselElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/CarouselElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/CheckboxGroupElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/CheckboxGroupElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/DatePickerElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/DatePickerElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/IconElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/IconElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/ImageElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/ImageElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/InputElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/InputElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/LottieElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/LottieElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/RadioGroupElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/RadioGroupElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/RiveElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/RiveElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/SafeAreaViewElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/SafeAreaViewElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/StackElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/StackElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/TextElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/TextElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/VideoElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/VideoElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/ZStackElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/ZStackElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/types.d.ts +17 -1
- package/dist/steps/ComposableScreen/types.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/types.js +15 -0
- package/dist/steps/ComposableScreen/types.js.map +1 -1
- package/package.json +1 -1
- package/src/onboarding-example.ts +93 -0
- package/src/steps/ComposableScreen/elements/BaseBoxProps.ts +20 -0
- package/src/steps/ComposableScreen/elements/ButtonElement.ts +36 -2
- package/src/steps/ComposableScreen/types.ts +37 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ButtonElementPropsSchema = exports.ButtonActionSchema = exports.CustomButtonActionSchema = void 0;
|
|
3
|
+
exports.ButtonElementPropsSchema = exports.ButtonStyleOverrideSchema = exports.ButtonActionSchema = exports.CustomButtonActionSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const BaseBoxProps_1 = require("./BaseBoxProps");
|
|
6
6
|
const common_types_1 = require("../../common.types");
|
|
@@ -13,6 +13,16 @@ exports.ButtonActionSchema = zod_1.z.union([
|
|
|
13
13
|
zod_1.z.literal("continue"),
|
|
14
14
|
exports.CustomButtonActionSchema,
|
|
15
15
|
]);
|
|
16
|
+
exports.ButtonStyleOverrideSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
|
|
17
|
+
variant: zod_1.z.enum(["filled", "outlined", "ghost"]).optional(),
|
|
18
|
+
backgroundColor: zod_1.z.string().optional(),
|
|
19
|
+
color: zod_1.z.string().optional(),
|
|
20
|
+
fontSize: zod_1.z.number().optional(),
|
|
21
|
+
fontWeight: zod_1.z.string().optional(),
|
|
22
|
+
fontFamily: zod_1.z.string().optional(),
|
|
23
|
+
fontStyle: zod_1.z.enum(["normal", "italic"]).optional(),
|
|
24
|
+
textAlign: zod_1.z.enum(["left", "center", "right"]).optional(),
|
|
25
|
+
}).partial();
|
|
16
26
|
exports.ButtonElementPropsSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
|
|
17
27
|
label: zod_1.z.string().min(1, "label must not be empty"),
|
|
18
28
|
actions: zod_1.z.array(exports.ButtonActionSchema).optional(),
|
|
@@ -28,5 +38,8 @@ exports.ButtonElementPropsSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
|
|
|
28
38
|
disabledWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
29
39
|
disabledBackgroundColor: zod_1.z.string().optional(),
|
|
30
40
|
disabledColor: zod_1.z.string().optional(),
|
|
41
|
+
pressedStyle: exports.ButtonStyleOverrideSchema.optional(),
|
|
42
|
+
disabledStyle: exports.ButtonStyleOverrideSchema.optional(),
|
|
43
|
+
transitionDurationMs: zod_1.z.number().min(0).optional(),
|
|
31
44
|
});
|
|
32
45
|
//# sourceMappingURL=ButtonElement.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonElement.js","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ButtonElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAkE;AAClE,qDAK4B;AAQf,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;IACzB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,4BAA4B,CAAC;IACzD,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC;AAIU,QAAA,kBAAkB,GAAG,OAAC,CAAC,KAAK,CAAC;IACxC,OAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IACrB,gCAAwB;CACzB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ButtonElement.js","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ButtonElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAkE;AAClE,qDAK4B;AAQf,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;IACzB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,4BAA4B,CAAC;IACzD,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC;AAIU,QAAA,kBAAkB,GAAG,OAAC,CAAC,KAAK,CAAC;IACxC,OAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IACrB,gCAAwB;CACzB,CAAC,CAAC;AA0DU,QAAA,yBAAyB,GAAG,iCAAkB,CAAC,MAAM,CAAC;IACjE,OAAO,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAA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AAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,SAAS,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,EAAE;IAClD,SAAS,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzD,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,kCAAmB,EAAE,mCAAoB,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC7E,uBAAuB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9C,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,YAAY,EAAE,iCAAyB,CAAC,QAAQ,EAAE;IAClD,aAAa,EAAE,iCAAyB,CAAC,QAAQ,EAAE;IACnD,oBAAoB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC"}
|
|
@@ -76,6 +76,14 @@ export declare const CarouselElementPropsSchema: z.ZodObject<{
|
|
|
76
76
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
77
77
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
78
78
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
79
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
80
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
81
|
+
width: z.ZodNumber;
|
|
82
|
+
height: z.ZodNumber;
|
|
83
|
+
}, z.core.$strip>>;
|
|
84
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
79
87
|
carouselType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
80
88
|
normal: "normal";
|
|
81
89
|
"left-align": "left-align";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/CarouselElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAAG;IAChD,YAAY,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"CarouselElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/CarouselElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAAG;IAChD,YAAY,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAcrC,CAAC"}
|
|
@@ -86,6 +86,14 @@ export declare const CheckboxGroupElementPropsSchema: z.ZodObject<{
|
|
|
86
86
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
87
87
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
88
88
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
89
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
90
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
width: z.ZodNumber;
|
|
92
|
+
height: z.ZodNumber;
|
|
93
|
+
}, z.core.$strip>>;
|
|
94
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
89
97
|
variableName: z.ZodOptional<z.ZodString>;
|
|
90
98
|
defaultValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
91
99
|
gap: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxGroupElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/CheckboxGroupElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,yBAAyB,GAAG,YAAY,GAAG;IACrD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACtC,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"CheckboxGroupElement.d.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,CAAC"}
|
|
@@ -72,6 +72,14 @@ export declare const DatePickerElementPropsSchema: z.ZodObject<{
|
|
|
72
72
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
73
73
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
74
74
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
75
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
76
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
77
|
+
width: z.ZodNumber;
|
|
78
|
+
height: z.ZodNumber;
|
|
79
|
+
}, z.core.$strip>>;
|
|
80
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
75
83
|
variableName: z.ZodOptional<z.ZodString>;
|
|
76
84
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
77
85
|
minimumDate: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePickerElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/DatePickerElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG;IAClD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;IACpC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"DatePickerElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/DatePickerElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG;IAClD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;IACpC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUvC,CAAC"}
|
|
@@ -67,6 +67,14 @@ export declare const IconElementPropsSchema: z.ZodObject<{
|
|
|
67
67
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
68
68
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
69
69
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
70
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
71
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
72
|
+
width: z.ZodNumber;
|
|
73
|
+
height: z.ZodNumber;
|
|
74
|
+
}, z.core.$strip>>;
|
|
75
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
70
78
|
name: z.ZodString;
|
|
71
79
|
size: z.ZodOptional<z.ZodNumber>;
|
|
72
80
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/IconElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"IconElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/IconElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMjC,CAAC"}
|
|
@@ -66,6 +66,14 @@ export declare const ImageElementPropsSchema: z.ZodObject<{
|
|
|
66
66
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
67
67
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
68
68
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
69
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
70
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
71
|
+
width: z.ZodNumber;
|
|
72
|
+
height: z.ZodNumber;
|
|
73
|
+
}, z.core.$strip>>;
|
|
74
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
75
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
69
77
|
url: z.ZodString;
|
|
70
78
|
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
71
79
|
resizeMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ImageElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAC7C,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"ImageElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ImageElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAC7C,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIlC,CAAC"}
|
|
@@ -87,6 +87,14 @@ export declare const InputElementPropsSchema: z.ZodObject<{
|
|
|
87
87
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
88
88
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
89
89
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
90
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
91
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
92
|
+
width: z.ZodNumber;
|
|
93
|
+
height: z.ZodNumber;
|
|
94
|
+
}, z.core.$strip>>;
|
|
95
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
90
98
|
variableName: z.ZodOptional<z.ZodString>;
|
|
91
99
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
92
100
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/InputElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB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CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACxC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsBlC,CAAC"}
|
|
@@ -67,6 +67,14 @@ export declare const LottieElementPropsSchema: z.ZodObject<{
|
|
|
67
67
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
68
68
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
69
69
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
70
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
71
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
72
|
+
width: z.ZodNumber;
|
|
73
|
+
height: z.ZodNumber;
|
|
74
|
+
}, z.core.$strip>>;
|
|
75
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
70
78
|
source: z.ZodString;
|
|
71
79
|
autoPlay: z.ZodOptional<z.ZodBoolean>;
|
|
72
80
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LottieElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/LottieElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"LottieElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/LottieElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKnC,CAAC"}
|
|
@@ -86,6 +86,14 @@ export declare const RadioGroupElementPropsSchema: z.ZodObject<{
|
|
|
86
86
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
87
87
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
88
88
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
89
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
90
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
width: z.ZodNumber;
|
|
92
|
+
height: z.ZodNumber;
|
|
93
|
+
}, z.core.$strip>>;
|
|
94
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
89
97
|
variableName: z.ZodOptional<z.ZodString>;
|
|
90
98
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
91
99
|
gap: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroupElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/RadioGroupElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG;IAClD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACtC,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BvC,CAAC"}
|
|
@@ -69,6 +69,14 @@ export declare const RiveElementPropsSchema: z.ZodObject<{
|
|
|
69
69
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
70
70
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
71
71
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
72
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
73
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
74
|
+
width: z.ZodNumber;
|
|
75
|
+
height: z.ZodNumber;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
72
80
|
url: z.ZodString;
|
|
73
81
|
autoPlay: z.ZodOptional<z.ZodBoolean>;
|
|
74
82
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RiveElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/RiveElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC;IAChG,SAAS,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,GAAG,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,aAAa,CAAC;IAC3I,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"RiveElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/RiveElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC;IAChG,SAAS,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,GAAG,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,aAAa,CAAC;IAC3I,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOjC,CAAC"}
|
|
@@ -67,6 +67,14 @@ export declare const SafeAreaViewElementPropsSchema: z.ZodObject<{
|
|
|
67
67
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
68
68
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
69
69
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
70
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
71
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
72
|
+
width: z.ZodNumber;
|
|
73
|
+
height: z.ZodNumber;
|
|
74
|
+
}, z.core.$strip>>;
|
|
75
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
70
78
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
71
79
|
margin: "margin";
|
|
72
80
|
padding: "padding";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SafeAreaViewElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/SafeAreaViewElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC/D,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,CAAC;AAE9D,MAAM,MAAM,wBAAwB,GAAG,YAAY,GAAG;IACpD,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,KAAK,CAAC,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC,CAAC;CAC1E,CAAC;AAKF,eAAO,MAAM,8BAA8B
|
|
1
|
+
{"version":3,"file":"SafeAreaViewElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/SafeAreaViewElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC/D,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,CAAC;AAE9D,MAAM,MAAM,wBAAwB,GAAG,YAAY,GAAG;IACpD,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,KAAK,CAAC,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC,CAAC;CAC1E,CAAC;AAKF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAazC,CAAC"}
|
|
@@ -67,6 +67,14 @@ export declare const StackElementPropsSchema: z.ZodObject<{
|
|
|
67
67
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
68
68
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
69
69
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
70
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
71
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
72
|
+
width: z.ZodNumber;
|
|
73
|
+
height: z.ZodNumber;
|
|
74
|
+
}, z.core.$strip>>;
|
|
75
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
70
78
|
gap: z.ZodOptional<z.ZodNumber>;
|
|
71
79
|
alignItems: z.ZodOptional<z.ZodEnum<{
|
|
72
80
|
"flex-start": "flex-start";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/StackElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;IAC9D,cAAc,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,eAAe,GAAG,cAAc,CAAC;IACzF,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"StackElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/StackElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;IAC9D,cAAc,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,eAAe,GAAG,cAAc,CAAC;IACzF,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKlC,CAAC"}
|
|
@@ -77,6 +77,14 @@ export declare const TextElementPropsSchema: z.ZodObject<{
|
|
|
77
77
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
78
78
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
79
79
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
80
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
81
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
82
|
+
width: z.ZodNumber;
|
|
83
|
+
height: z.ZodNumber;
|
|
84
|
+
}, z.core.$strip>>;
|
|
85
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
80
88
|
content: z.ZodString;
|
|
81
89
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
82
90
|
plain: "plain";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/TextElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"TextElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/TextElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAWjC,CAAC"}
|
|
@@ -69,6 +69,14 @@ export declare const VideoElementPropsSchema: z.ZodObject<{
|
|
|
69
69
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
70
70
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
71
71
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
72
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
73
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
74
|
+
width: z.ZodNumber;
|
|
75
|
+
height: z.ZodNumber;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
72
80
|
url: z.ZodString;
|
|
73
81
|
autoPlay: z.ZodOptional<z.ZodBoolean>;
|
|
74
82
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/VideoElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAC7C,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"VideoElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/VideoElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAC7C,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOlC,CAAC"}
|
|
@@ -62,5 +62,13 @@ export declare const ZStackElementPropsSchema: z.ZodObject<{
|
|
|
62
62
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
63
63
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
64
64
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
65
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
66
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
67
|
+
width: z.ZodNumber;
|
|
68
|
+
height: z.ZodNumber;
|
|
69
|
+
}, z.core.$strip>>;
|
|
70
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
65
73
|
}, z.core.$strip>;
|
|
66
74
|
//# sourceMappingURL=ZStackElement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZStackElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ZStackElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAE9C,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"ZStackElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ZStackElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAE9C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAqB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { type LeafCondition, type ConditionGroup } from "../common.types";
|
|
2
3
|
import { type StackElementProps } from "./elements/StackElement";
|
|
3
4
|
import { type TextElementProps } from "./elements/TextElement";
|
|
4
5
|
import { type ImageElementProps } from "./elements/ImageElement";
|
|
@@ -50,79 +51,94 @@ export type ComposableVariableEntry = {
|
|
|
50
51
|
type UIElement = {
|
|
51
52
|
id: string;
|
|
52
53
|
name?: string;
|
|
54
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
53
55
|
type: "YStack" | "XStack";
|
|
54
56
|
props: StackElementProps;
|
|
55
57
|
children: UIElement[];
|
|
56
58
|
} | {
|
|
57
59
|
id: string;
|
|
58
60
|
name?: string;
|
|
61
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
59
62
|
type: "Text";
|
|
60
63
|
props: TextElementProps;
|
|
61
64
|
} | {
|
|
62
65
|
id: string;
|
|
63
66
|
name?: string;
|
|
67
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
64
68
|
type: "Image";
|
|
65
69
|
props: ImageElementProps;
|
|
66
70
|
} | {
|
|
67
71
|
id: string;
|
|
68
72
|
name?: string;
|
|
73
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
69
74
|
type: "Lottie";
|
|
70
75
|
props: LottieElementProps;
|
|
71
76
|
} | {
|
|
72
77
|
id: string;
|
|
73
78
|
name?: string;
|
|
79
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
74
80
|
type: "Rive";
|
|
75
81
|
props: RiveElementProps;
|
|
76
82
|
} | {
|
|
77
83
|
id: string;
|
|
78
84
|
name?: string;
|
|
85
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
79
86
|
type: "Icon";
|
|
80
87
|
props: IconElementProps;
|
|
81
88
|
} | {
|
|
82
89
|
id: string;
|
|
83
90
|
name?: string;
|
|
91
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
84
92
|
type: "Video";
|
|
85
93
|
props: VideoElementProps;
|
|
86
94
|
} | {
|
|
87
95
|
id: string;
|
|
88
96
|
name?: string;
|
|
97
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
89
98
|
type: "Input";
|
|
90
99
|
props: InputElementProps;
|
|
91
100
|
} | {
|
|
92
101
|
id: string;
|
|
93
102
|
name?: string;
|
|
103
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
94
104
|
type: "Button";
|
|
95
105
|
props: ButtonElementProps;
|
|
96
106
|
} | {
|
|
97
107
|
id: string;
|
|
98
108
|
name?: string;
|
|
109
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
99
110
|
type: "RadioGroup";
|
|
100
111
|
props: RadioGroupElementProps;
|
|
101
112
|
} | {
|
|
102
113
|
id: string;
|
|
103
114
|
name?: string;
|
|
115
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
104
116
|
type: "CheckboxGroup";
|
|
105
117
|
props: CheckboxGroupElementProps;
|
|
106
118
|
} | {
|
|
107
119
|
id: string;
|
|
108
120
|
name?: string;
|
|
121
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
109
122
|
type: "DatePicker";
|
|
110
123
|
props: DatePickerElementProps;
|
|
111
124
|
} | {
|
|
112
125
|
id: string;
|
|
113
126
|
name?: string;
|
|
127
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
114
128
|
type: "Carousel";
|
|
115
129
|
props: CarouselElementProps;
|
|
116
130
|
children: UIElement[];
|
|
117
131
|
} | {
|
|
118
132
|
id: string;
|
|
119
133
|
name?: string;
|
|
134
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
120
135
|
type: "ZStack";
|
|
121
136
|
props: ZStackElementProps;
|
|
122
137
|
children: UIElement[];
|
|
123
138
|
} | {
|
|
124
139
|
id: string;
|
|
125
140
|
name?: string;
|
|
141
|
+
renderWhen?: LeafCondition | ConditionGroup;
|
|
126
142
|
type: "SafeAreaView";
|
|
127
143
|
props: SafeAreaViewElementProps;
|
|
128
144
|
children: UIElement[];
|
|
@@ -158,7 +174,7 @@ export declare const ComposableScreenStepTypeSchema: z.ZodObject<{
|
|
|
158
174
|
not_in: "not_in";
|
|
159
175
|
}>;
|
|
160
176
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
161
|
-
}, z.core.$strip>, z.ZodType<
|
|
177
|
+
}, z.core.$strip>, z.ZodType<ConditionGroup, unknown, z.core.$ZodTypeInternals<ConditionGroup, unknown>>]>>>;
|
|
162
178
|
targetStepId: z.ZodString;
|
|
163
179
|
}, z.core.$strip>>>;
|
|
164
180
|
}, z.core.$strip>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/steps/ComposableScreen/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/steps/ComposableScreen/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,cAAc,EAGpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,KAAK,iBAAiB,EAA2B,MAAM,yBAAyB,CAAC;AAC1F,OAAO,EAAE,KAAK,gBAAgB,EAA0B,MAAM,wBAAwB,CAAC;AACvF,OAAO,EAAE,KAAK,iBAAiB,EAA2B,MAAM,yBAAyB,CAAC;AAC1F,OAAO,EAAE,KAAK,kBAAkB,EAA4B,MAAM,0BAA0B,CAAC;AAC7F,OAAO,EAAE,KAAK,gBAAgB,EAA0B,MAAM,wBAAwB,CAAC;AACvF,OAAO,EAAE,KAAK,gBAAgB,EAA0B,MAAM,wBAAwB,CAAC;AACvF,OAAO,EAAE,KAAK,iBAAiB,EA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;;;;;;iBAGzC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
|
|
@@ -28,6 +28,7 @@ const UIElementSchema = zod_1.z.lazy(() => zod_1.z.union([
|
|
|
28
28
|
zod_1.z.object({
|
|
29
29
|
id: zod_1.z.string(),
|
|
30
30
|
name: zod_1.z.string().optional(),
|
|
31
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
31
32
|
type: zod_1.z.union([zod_1.z.literal("YStack"), zod_1.z.literal("XStack")]),
|
|
32
33
|
props: StackElement_1.StackElementPropsSchema,
|
|
33
34
|
children: zod_1.z.array(UIElementSchema),
|
|
@@ -35,72 +36,84 @@ const UIElementSchema = zod_1.z.lazy(() => zod_1.z.union([
|
|
|
35
36
|
zod_1.z.object({
|
|
36
37
|
id: zod_1.z.string(),
|
|
37
38
|
name: zod_1.z.string().optional(),
|
|
39
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
38
40
|
type: zod_1.z.literal("Text"),
|
|
39
41
|
props: TextElement_1.TextElementPropsSchema,
|
|
40
42
|
}),
|
|
41
43
|
zod_1.z.object({
|
|
42
44
|
id: zod_1.z.string(),
|
|
43
45
|
name: zod_1.z.string().optional(),
|
|
46
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
44
47
|
type: zod_1.z.literal("Image"),
|
|
45
48
|
props: ImageElement_1.ImageElementPropsSchema,
|
|
46
49
|
}),
|
|
47
50
|
zod_1.z.object({
|
|
48
51
|
id: zod_1.z.string(),
|
|
49
52
|
name: zod_1.z.string().optional(),
|
|
53
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
50
54
|
type: zod_1.z.literal("Lottie"),
|
|
51
55
|
props: LottieElement_1.LottieElementPropsSchema,
|
|
52
56
|
}),
|
|
53
57
|
zod_1.z.object({
|
|
54
58
|
id: zod_1.z.string(),
|
|
55
59
|
name: zod_1.z.string().optional(),
|
|
60
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
56
61
|
type: zod_1.z.literal("Rive"),
|
|
57
62
|
props: RiveElement_1.RiveElementPropsSchema,
|
|
58
63
|
}),
|
|
59
64
|
zod_1.z.object({
|
|
60
65
|
id: zod_1.z.string(),
|
|
61
66
|
name: zod_1.z.string().optional(),
|
|
67
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
62
68
|
type: zod_1.z.literal("Icon"),
|
|
63
69
|
props: IconElement_1.IconElementPropsSchema,
|
|
64
70
|
}),
|
|
65
71
|
zod_1.z.object({
|
|
66
72
|
id: zod_1.z.string(),
|
|
67
73
|
name: zod_1.z.string().optional(),
|
|
74
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
68
75
|
type: zod_1.z.literal("Video"),
|
|
69
76
|
props: VideoElement_1.VideoElementPropsSchema,
|
|
70
77
|
}),
|
|
71
78
|
zod_1.z.object({
|
|
72
79
|
id: zod_1.z.string(),
|
|
73
80
|
name: zod_1.z.string().optional(),
|
|
81
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
74
82
|
type: zod_1.z.literal("Input"),
|
|
75
83
|
props: InputElement_1.InputElementPropsSchema,
|
|
76
84
|
}),
|
|
77
85
|
zod_1.z.object({
|
|
78
86
|
id: zod_1.z.string(),
|
|
79
87
|
name: zod_1.z.string().optional(),
|
|
88
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
80
89
|
type: zod_1.z.literal("Button"),
|
|
81
90
|
props: ButtonElement_1.ButtonElementPropsSchema,
|
|
82
91
|
}),
|
|
83
92
|
zod_1.z.object({
|
|
84
93
|
id: zod_1.z.string(),
|
|
85
94
|
name: zod_1.z.string().optional(),
|
|
95
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
86
96
|
type: zod_1.z.literal("RadioGroup"),
|
|
87
97
|
props: RadioGroupElement_1.RadioGroupElementPropsSchema,
|
|
88
98
|
}),
|
|
89
99
|
zod_1.z.object({
|
|
90
100
|
id: zod_1.z.string(),
|
|
91
101
|
name: zod_1.z.string().optional(),
|
|
102
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
92
103
|
type: zod_1.z.literal("CheckboxGroup"),
|
|
93
104
|
props: CheckboxGroupElement_1.CheckboxGroupElementPropsSchema,
|
|
94
105
|
}),
|
|
95
106
|
zod_1.z.object({
|
|
96
107
|
id: zod_1.z.string(),
|
|
97
108
|
name: zod_1.z.string().optional(),
|
|
109
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
98
110
|
type: zod_1.z.literal("DatePicker"),
|
|
99
111
|
props: DatePickerElement_1.DatePickerElementPropsSchema,
|
|
100
112
|
}),
|
|
101
113
|
zod_1.z.object({
|
|
102
114
|
id: zod_1.z.string(),
|
|
103
115
|
name: zod_1.z.string().optional(),
|
|
116
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
104
117
|
type: zod_1.z.literal("Carousel"),
|
|
105
118
|
props: CarouselElement_1.CarouselElementPropsSchema,
|
|
106
119
|
children: zod_1.z.array(UIElementSchema),
|
|
@@ -108,6 +121,7 @@ const UIElementSchema = zod_1.z.lazy(() => zod_1.z.union([
|
|
|
108
121
|
zod_1.z.object({
|
|
109
122
|
id: zod_1.z.string(),
|
|
110
123
|
name: zod_1.z.string().optional(),
|
|
124
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
111
125
|
type: zod_1.z.literal("ZStack"),
|
|
112
126
|
props: ZStackElement_1.ZStackElementPropsSchema,
|
|
113
127
|
children: zod_1.z.array(UIElementSchema),
|
|
@@ -115,6 +129,7 @@ const UIElementSchema = zod_1.z.lazy(() => zod_1.z.union([
|
|
|
115
129
|
zod_1.z.object({
|
|
116
130
|
id: zod_1.z.string(),
|
|
117
131
|
name: zod_1.z.string().optional(),
|
|
132
|
+
renderWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
118
133
|
type: zod_1.z.literal("SafeAreaView"),
|
|
119
134
|
props: SafeAreaViewElement_1.SafeAreaViewElementPropsSchema,
|
|
120
135
|
children: zod_1.z.array(UIElementSchema),
|