@rocapine/react-native-onboarding 1.60.0 → 1.61.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/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/infra/provider/OnboardingProvider.d.ts +12 -1
- package/dist/infra/provider/OnboardingProvider.d.ts.map +1 -1
- package/dist/infra/provider/OnboardingProvider.js +15 -1
- package/dist/infra/provider/OnboardingProvider.js.map +1 -1
- package/dist/products/adapters/expoIap.d.ts +4 -0
- package/dist/products/adapters/expoIap.d.ts.map +1 -0
- package/dist/products/adapters/expoIap.js +95 -0
- package/dist/products/adapters/expoIap.js.map +1 -0
- package/dist/products/adapters/revenueCat.d.ts +7 -0
- package/dist/products/adapters/revenueCat.d.ts.map +1 -0
- package/dist/products/adapters/revenueCat.js +116 -0
- package/dist/products/adapters/revenueCat.js.map +1 -0
- package/dist/products/adapters/stub.d.ts +8 -0
- package/dist/products/adapters/stub.d.ts.map +1 -0
- package/dist/products/adapters/stub.js +21 -0
- package/dist/products/adapters/stub.js.map +1 -0
- package/dist/products/derive.d.ts +19 -0
- package/dist/products/derive.d.ts.map +1 -0
- package/dist/products/derive.js +79 -0
- package/dist/products/derive.js.map +1 -0
- package/dist/products/duration.d.ts +3 -0
- package/dist/products/duration.d.ts.map +1 -0
- package/dist/products/duration.js +25 -0
- package/dist/products/duration.js.map +1 -0
- package/dist/products/index.d.ts +9 -0
- package/dist/products/index.d.ts.map +1 -0
- package/dist/products/index.js +20 -0
- package/dist/products/index.js.map +1 -0
- package/dist/products/toVariables.d.ts +18 -0
- package/dist/products/toVariables.d.ts.map +1 -0
- package/dist/products/toVariables.js +52 -0
- package/dist/products/toVariables.js.map +1 -0
- package/dist/products/types.d.ts +96 -0
- package/dist/products/types.d.ts.map +1 -0
- package/dist/products/types.js +3 -0
- package/dist/products/types.js.map +1 -0
- package/dist/products/useProducts.d.ts +12 -0
- package/dist/products/useProducts.d.ts.map +1 -0
- package/dist/products/useProducts.js +90 -0
- package/dist/products/useProducts.js.map +1 -0
- package/dist/screens/elements/AnimatedTextElement.d.ts +1 -24
- package/dist/screens/elements/AnimatedTextElement.d.ts.map +1 -1
- package/dist/screens/elements/BaseBoxProps.d.ts +1 -24
- package/dist/screens/elements/BaseBoxProps.d.ts.map +1 -1
- package/dist/screens/elements/ButtonElement.d.ts +6 -121
- package/dist/screens/elements/ButtonElement.d.ts.map +1 -1
- package/dist/screens/elements/CarouselElement.d.ts +1 -24
- package/dist/screens/elements/CarouselElement.d.ts.map +1 -1
- package/dist/screens/elements/CheckboxGroupElement.d.ts +1 -24
- package/dist/screens/elements/CheckboxGroupElement.d.ts.map +1 -1
- package/dist/screens/elements/DatePickerElement.d.ts +1 -24
- package/dist/screens/elements/DatePickerElement.d.ts.map +1 -1
- package/dist/screens/elements/DrawingPadElement.d.ts +1 -24
- package/dist/screens/elements/DrawingPadElement.d.ts.map +1 -1
- package/dist/screens/elements/IconElement.d.ts +1 -24
- package/dist/screens/elements/IconElement.d.ts.map +1 -1
- package/dist/screens/elements/ImageElement.d.ts +1 -24
- package/dist/screens/elements/ImageElement.d.ts.map +1 -1
- package/dist/screens/elements/InputElement.d.ts +1 -24
- package/dist/screens/elements/InputElement.d.ts.map +1 -1
- package/dist/screens/elements/KeyboardAvoidingViewElement.d.ts +1 -24
- package/dist/screens/elements/KeyboardAvoidingViewElement.d.ts.map +1 -1
- package/dist/screens/elements/LottieElement.d.ts +1 -24
- package/dist/screens/elements/LottieElement.d.ts.map +1 -1
- package/dist/screens/elements/ProgressIndicatorElement.d.ts +1 -24
- package/dist/screens/elements/ProgressIndicatorElement.d.ts.map +1 -1
- package/dist/screens/elements/ProgressiveBlurImageElement.d.ts +1 -24
- package/dist/screens/elements/ProgressiveBlurImageElement.d.ts.map +1 -1
- package/dist/screens/elements/RadioGroupElement.d.ts +1 -24
- package/dist/screens/elements/RadioGroupElement.d.ts.map +1 -1
- package/dist/screens/elements/RichTextElement.d.ts +1 -24
- package/dist/screens/elements/RichTextElement.d.ts.map +1 -1
- package/dist/screens/elements/RiveElement.d.ts +1 -24
- package/dist/screens/elements/RiveElement.d.ts.map +1 -1
- package/dist/screens/elements/SafeAreaViewElement.d.ts +1 -24
- package/dist/screens/elements/SafeAreaViewElement.d.ts.map +1 -1
- package/dist/screens/elements/ScrollViewElement.d.ts +1 -24
- package/dist/screens/elements/ScrollViewElement.d.ts.map +1 -1
- package/dist/screens/elements/SliderElement.d.ts +1 -24
- package/dist/screens/elements/SliderElement.d.ts.map +1 -1
- package/dist/screens/elements/StackElement.d.ts +1 -24
- package/dist/screens/elements/StackElement.d.ts.map +1 -1
- package/dist/screens/elements/TextElement.d.ts +1 -24
- package/dist/screens/elements/TextElement.d.ts.map +1 -1
- package/dist/screens/elements/TypewriterTextElement.d.ts +1 -24
- package/dist/screens/elements/TypewriterTextElement.d.ts.map +1 -1
- package/dist/screens/elements/VideoElement.d.ts +1 -24
- package/dist/screens/elements/VideoElement.d.ts.map +1 -1
- package/dist/screens/elements/WheelPickerElement.d.ts +1 -24
- package/dist/screens/elements/WheelPickerElement.d.ts.map +1 -1
- package/dist/screens/elements/ZStackElement.d.ts +1 -24
- package/dist/screens/elements/ZStackElement.d.ts.map +1 -1
- package/dist/steps/Carousel/types.d.ts +1 -1
- package/dist/steps/Commitment/types.d.ts +1 -1
- package/dist/steps/ComposableScreen/types.d.ts +1 -1
- package/dist/steps/Loader/types.d.ts +1 -1
- package/dist/steps/MediaContent/types.d.ts +1 -1
- package/dist/steps/Picker/types.d.ts +1 -1
- package/dist/steps/Question/types.d.ts +1 -1
- package/dist/steps/Ratings/types.d.ts +1 -1
- package/dist/steps/common.types.d.ts +23 -30
- package/dist/steps/common.types.d.ts.map +1 -1
- package/dist/steps/common.types.js +18 -3
- package/dist/steps/common.types.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/productAdapters.test.ts +58 -0
- package/src/__tests__/productDerive.test.ts +111 -0
- package/src/__tests__/productVariables.test.ts +109 -0
- package/src/index.ts +2 -0
- package/src/infra/provider/OnboardingProvider.tsx +29 -0
- package/src/products/adapters/expoIap.ts +93 -0
- package/src/products/adapters/revenueCat.ts +108 -0
- package/src/products/adapters/stub.ts +20 -0
- package/src/products/derive.ts +93 -0
- package/src/products/duration.ts +21 -0
- package/src/products/index.ts +19 -0
- package/src/products/toVariables.ts +54 -0
- package/src/products/types.ts +88 -0
- package/src/products/useProducts.ts +106 -0
- package/src/steps/common.types.ts +50 -6
|
@@ -247,30 +247,7 @@ export declare const SafeAreaViewElementPropsSchema: z.ZodObject<{
|
|
|
247
247
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
248
248
|
}, z.core.$strip>>;
|
|
249
249
|
}, z.core.$strip>>;
|
|
250
|
-
onPress: z.ZodOptional<z.ZodArray<z.
|
|
251
|
-
type: z.ZodLiteral<"custom">;
|
|
252
|
-
function: z.ZodString;
|
|
253
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
254
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
255
|
-
type: z.ZodLiteral<"setVariable">;
|
|
256
|
-
name: z.ZodString;
|
|
257
|
-
value: z.ZodString;
|
|
258
|
-
label: z.ZodOptional<z.ZodString>;
|
|
259
|
-
valueMode: z.ZodOptional<z.ZodEnum<{
|
|
260
|
-
literal: "literal";
|
|
261
|
-
expression: "expression";
|
|
262
|
-
}>>;
|
|
263
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
264
|
-
string: "string";
|
|
265
|
-
int: "int";
|
|
266
|
-
float: "float";
|
|
267
|
-
}>>;
|
|
268
|
-
arrayOp: z.ZodOptional<z.ZodEnum<{
|
|
269
|
-
append: "append";
|
|
270
|
-
remove: "remove";
|
|
271
|
-
toggle: "toggle";
|
|
272
|
-
}>>;
|
|
273
|
-
}, z.core.$strip>]>>>;
|
|
250
|
+
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
274
251
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
275
252
|
margin: "margin";
|
|
276
253
|
padding: "padding";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SafeAreaViewElement.d.ts","sourceRoot":"","sources":["../../../src/screens/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/screens/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"}
|
|
@@ -260,30 +260,7 @@ export declare const ScrollViewElementPropsSchema: z.ZodObject<{
|
|
|
260
260
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
261
261
|
}, z.core.$strip>>;
|
|
262
262
|
}, z.core.$strip>>;
|
|
263
|
-
onPress: z.ZodOptional<z.ZodArray<z.
|
|
264
|
-
type: z.ZodLiteral<"custom">;
|
|
265
|
-
function: z.ZodString;
|
|
266
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
267
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
268
|
-
type: z.ZodLiteral<"setVariable">;
|
|
269
|
-
name: z.ZodString;
|
|
270
|
-
value: z.ZodString;
|
|
271
|
-
label: z.ZodOptional<z.ZodString>;
|
|
272
|
-
valueMode: z.ZodOptional<z.ZodEnum<{
|
|
273
|
-
literal: "literal";
|
|
274
|
-
expression: "expression";
|
|
275
|
-
}>>;
|
|
276
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
277
|
-
string: "string";
|
|
278
|
-
int: "int";
|
|
279
|
-
float: "float";
|
|
280
|
-
}>>;
|
|
281
|
-
arrayOp: z.ZodOptional<z.ZodEnum<{
|
|
282
|
-
append: "append";
|
|
283
|
-
remove: "remove";
|
|
284
|
-
toggle: "toggle";
|
|
285
|
-
}>>;
|
|
286
|
-
}, z.core.$strip>]>>>;
|
|
263
|
+
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
287
264
|
horizontal: z.ZodOptional<z.ZodBoolean>;
|
|
288
265
|
bounces: z.ZodOptional<z.ZodBoolean>;
|
|
289
266
|
showsVerticalScrollIndicator: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollViewElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/ScrollViewElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,MAAM,sBAAsB,GAAG;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,yBAAyB,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;IAC3D,UAAU,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,U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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYvC,CAAC"}
|
|
@@ -261,30 +261,7 @@ export declare const SliderElementPropsSchema: z.ZodObject<{
|
|
|
261
261
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
262
262
|
}, z.core.$strip>>;
|
|
263
263
|
}, z.core.$strip>>;
|
|
264
|
-
onPress: z.ZodOptional<z.ZodArray<z.
|
|
265
|
-
type: z.ZodLiteral<"custom">;
|
|
266
|
-
function: z.ZodString;
|
|
267
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
268
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
269
|
-
type: z.ZodLiteral<"setVariable">;
|
|
270
|
-
name: z.ZodString;
|
|
271
|
-
value: z.ZodString;
|
|
272
|
-
label: z.ZodOptional<z.ZodString>;
|
|
273
|
-
valueMode: z.ZodOptional<z.ZodEnum<{
|
|
274
|
-
literal: "literal";
|
|
275
|
-
expression: "expression";
|
|
276
|
-
}>>;
|
|
277
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
278
|
-
string: "string";
|
|
279
|
-
int: "int";
|
|
280
|
-
float: "float";
|
|
281
|
-
}>>;
|
|
282
|
-
arrayOp: z.ZodOptional<z.ZodEnum<{
|
|
283
|
-
append: "append";
|
|
284
|
-
remove: "remove";
|
|
285
|
-
toggle: "toggle";
|
|
286
|
-
}>>;
|
|
287
|
-
}, z.core.$strip>]>>>;
|
|
264
|
+
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
288
265
|
variableName: z.ZodOptional<z.ZodString>;
|
|
289
266
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
290
267
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliderElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/SliderElement.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,6FAA6F;IAC7F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8BAA8B;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,8BAA8B;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,mDAAmD;IACnD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,oDAAoD;IACpD,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,iCAAiC;IACjC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"SliderElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/SliderElement.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,6FAA6F;IAC7F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8BAA8B;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,8BAA8B;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,mDAAmD;IACnD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,oDAAoD;IACpD,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,iCAAiC;IACjC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAcnC,CAAC"}
|
|
@@ -247,30 +247,7 @@ export declare const StackElementPropsSchema: z.ZodObject<{
|
|
|
247
247
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
248
248
|
}, z.core.$strip>>;
|
|
249
249
|
}, z.core.$strip>>;
|
|
250
|
-
onPress: z.ZodOptional<z.ZodArray<z.
|
|
251
|
-
type: z.ZodLiteral<"custom">;
|
|
252
|
-
function: z.ZodString;
|
|
253
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
254
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
255
|
-
type: z.ZodLiteral<"setVariable">;
|
|
256
|
-
name: z.ZodString;
|
|
257
|
-
value: z.ZodString;
|
|
258
|
-
label: z.ZodOptional<z.ZodString>;
|
|
259
|
-
valueMode: z.ZodOptional<z.ZodEnum<{
|
|
260
|
-
literal: "literal";
|
|
261
|
-
expression: "expression";
|
|
262
|
-
}>>;
|
|
263
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
264
|
-
string: "string";
|
|
265
|
-
int: "int";
|
|
266
|
-
float: "float";
|
|
267
|
-
}>>;
|
|
268
|
-
arrayOp: z.ZodOptional<z.ZodEnum<{
|
|
269
|
-
append: "append";
|
|
270
|
-
remove: "remove";
|
|
271
|
-
toggle: "toggle";
|
|
272
|
-
}>>;
|
|
273
|
-
}, z.core.$strip>]>>>;
|
|
250
|
+
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
274
251
|
gap: z.ZodOptional<z.ZodNumber>;
|
|
275
252
|
alignItems: z.ZodOptional<z.ZodEnum<{
|
|
276
253
|
center: "center";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackElement.d.ts","sourceRoot":"","sources":["../../../src/screens/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/screens/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"}
|
|
@@ -324,30 +324,7 @@ export declare const TextElementPropsSchema: z.ZodObject<{
|
|
|
324
324
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
325
325
|
}, z.core.$strip>>;
|
|
326
326
|
}, z.core.$strip>>;
|
|
327
|
-
onPress: z.ZodOptional<z.ZodArray<z.
|
|
328
|
-
type: z.ZodLiteral<"custom">;
|
|
329
|
-
function: z.ZodString;
|
|
330
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
331
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
332
|
-
type: z.ZodLiteral<"setVariable">;
|
|
333
|
-
name: z.ZodString;
|
|
334
|
-
value: z.ZodString;
|
|
335
|
-
label: z.ZodOptional<z.ZodString>;
|
|
336
|
-
valueMode: z.ZodOptional<z.ZodEnum<{
|
|
337
|
-
literal: "literal";
|
|
338
|
-
expression: "expression";
|
|
339
|
-
}>>;
|
|
340
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
341
|
-
string: "string";
|
|
342
|
-
int: "int";
|
|
343
|
-
float: "float";
|
|
344
|
-
}>>;
|
|
345
|
-
arrayOp: z.ZodOptional<z.ZodEnum<{
|
|
346
|
-
append: "append";
|
|
347
|
-
remove: "remove";
|
|
348
|
-
toggle: "toggle";
|
|
349
|
-
}>>;
|
|
350
|
-
}, z.core.$strip>]>>>;
|
|
327
|
+
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
351
328
|
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
|
|
352
329
|
text: z.ZodString;
|
|
353
330
|
fontWeight: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/TextElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IAC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AAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAWjC,CAAC"}
|
|
@@ -300,30 +300,7 @@ export declare const TypewriterTextElementPropsSchema: z.ZodObject<{
|
|
|
300
300
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
301
301
|
}, z.core.$strip>>;
|
|
302
302
|
}, z.core.$strip>>;
|
|
303
|
-
onPress: z.ZodOptional<z.ZodArray<z.
|
|
304
|
-
type: z.ZodLiteral<"custom">;
|
|
305
|
-
function: z.ZodString;
|
|
306
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
307
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
308
|
-
type: z.ZodLiteral<"setVariable">;
|
|
309
|
-
name: z.ZodString;
|
|
310
|
-
value: z.ZodString;
|
|
311
|
-
label: z.ZodOptional<z.ZodString>;
|
|
312
|
-
valueMode: z.ZodOptional<z.ZodEnum<{
|
|
313
|
-
literal: "literal";
|
|
314
|
-
expression: "expression";
|
|
315
|
-
}>>;
|
|
316
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
317
|
-
string: "string";
|
|
318
|
-
int: "int";
|
|
319
|
-
float: "float";
|
|
320
|
-
}>>;
|
|
321
|
-
arrayOp: z.ZodOptional<z.ZodEnum<{
|
|
322
|
-
append: "append";
|
|
323
|
-
remove: "remove";
|
|
324
|
-
toggle: "toggle";
|
|
325
|
-
}>>;
|
|
326
|
-
}, z.core.$strip>]>>>;
|
|
303
|
+
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
327
304
|
content: z.ZodString;
|
|
328
305
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
329
306
|
expression: "expression";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypewriterTextElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/TypewriterTextElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,YAAY,EAEZ,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,YAAY,EAIlB,MAAM,gBAAgB,CAAC;AAExB;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,0BAA0B,GAAG,YAAY,GAAG;IACtD;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;IAC9B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC;IACjC,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yEAAyE;IACzE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4EAA4E;IAC5E,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,kFAAkF;IAClF,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,uFAAuF;IACvF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sEAAsE;IACtE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,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,gCAAgC
|
|
1
|
+
{"version":3,"file":"TypewriterTextElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/TypewriterTextElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,YAAY,EAEZ,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,YAAY,EAIlB,MAAM,gBAAgB,CAAC;AAExB;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,0BAA0B,GAAG,YAAY,GAAG;IACtD;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;IAC9B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC;IACjC,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yEAAyE;IACzE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4EAA4E;IAC5E,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,kFAAkF;IAClF,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,uFAAuF;IACvF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sEAAsE;IACtE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,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,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqB3C,CAAC"}
|
|
@@ -249,30 +249,7 @@ export declare const VideoElementPropsSchema: z.ZodObject<{
|
|
|
249
249
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
250
250
|
}, z.core.$strip>>;
|
|
251
251
|
}, z.core.$strip>>;
|
|
252
|
-
onPress: z.ZodOptional<z.ZodArray<z.
|
|
253
|
-
type: z.ZodLiteral<"custom">;
|
|
254
|
-
function: z.ZodString;
|
|
255
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
256
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
257
|
-
type: z.ZodLiteral<"setVariable">;
|
|
258
|
-
name: z.ZodString;
|
|
259
|
-
value: z.ZodString;
|
|
260
|
-
label: z.ZodOptional<z.ZodString>;
|
|
261
|
-
valueMode: z.ZodOptional<z.ZodEnum<{
|
|
262
|
-
literal: "literal";
|
|
263
|
-
expression: "expression";
|
|
264
|
-
}>>;
|
|
265
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
266
|
-
string: "string";
|
|
267
|
-
int: "int";
|
|
268
|
-
float: "float";
|
|
269
|
-
}>>;
|
|
270
|
-
arrayOp: z.ZodOptional<z.ZodEnum<{
|
|
271
|
-
append: "append";
|
|
272
|
-
remove: "remove";
|
|
273
|
-
toggle: "toggle";
|
|
274
|
-
}>>;
|
|
275
|
-
}, z.core.$strip>]>>>;
|
|
252
|
+
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
276
253
|
url: z.ZodString;
|
|
277
254
|
autoPlay: z.ZodOptional<z.ZodBoolean>;
|
|
278
255
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoElement.d.ts","sourceRoot":"","sources":["../../../src/screens/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/screens/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"}
|
|
@@ -276,30 +276,7 @@ export declare const WheelPickerElementPropsSchema: z.ZodObject<{
|
|
|
276
276
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
277
277
|
}, z.core.$strip>>;
|
|
278
278
|
}, z.core.$strip>>;
|
|
279
|
-
onPress: z.ZodOptional<z.ZodArray<z.
|
|
280
|
-
type: z.ZodLiteral<"custom">;
|
|
281
|
-
function: z.ZodString;
|
|
282
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
283
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
284
|
-
type: z.ZodLiteral<"setVariable">;
|
|
285
|
-
name: z.ZodString;
|
|
286
|
-
value: z.ZodString;
|
|
287
|
-
label: z.ZodOptional<z.ZodString>;
|
|
288
|
-
valueMode: z.ZodOptional<z.ZodEnum<{
|
|
289
|
-
literal: "literal";
|
|
290
|
-
expression: "expression";
|
|
291
|
-
}>>;
|
|
292
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
293
|
-
string: "string";
|
|
294
|
-
int: "int";
|
|
295
|
-
float: "float";
|
|
296
|
-
}>>;
|
|
297
|
-
arrayOp: z.ZodOptional<z.ZodEnum<{
|
|
298
|
-
append: "append";
|
|
299
|
-
remove: "remove";
|
|
300
|
-
toggle: "toggle";
|
|
301
|
-
}>>;
|
|
302
|
-
}, z.core.$strip>]>>>;
|
|
279
|
+
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
303
280
|
variableName: z.ZodOptional<z.ZodString>;
|
|
304
281
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
305
282
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WheelPickerElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/WheelPickerElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,eAAe,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,YAAY,GAAG;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE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AE,MAAM,CAAC;IACnB,sDAAsD;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wDAAwD;IACxD,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAMF;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,gBAAgB,GAAG,eAAe,EAAE,CAcxF;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,uBAAuB,GAAG,eAAe,EAAE,CAIzF;AAcD,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwCxC,CAAC"}
|
|
@@ -245,30 +245,7 @@ export declare const ZStackElementPropsSchema: z.ZodObject<{
|
|
|
245
245
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
246
246
|
}, z.core.$strip>>;
|
|
247
247
|
}, z.core.$strip>>;
|
|
248
|
-
onPress: z.ZodOptional<z.ZodArray<z.
|
|
249
|
-
type: z.ZodLiteral<"custom">;
|
|
250
|
-
function: z.ZodString;
|
|
251
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
252
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
253
|
-
type: z.ZodLiteral<"setVariable">;
|
|
254
|
-
name: z.ZodString;
|
|
255
|
-
value: z.ZodString;
|
|
256
|
-
label: z.ZodOptional<z.ZodString>;
|
|
257
|
-
valueMode: z.ZodOptional<z.ZodEnum<{
|
|
258
|
-
literal: "literal";
|
|
259
|
-
expression: "expression";
|
|
260
|
-
}>>;
|
|
261
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
262
|
-
string: "string";
|
|
263
|
-
int: "int";
|
|
264
|
-
float: "float";
|
|
265
|
-
}>>;
|
|
266
|
-
arrayOp: z.ZodOptional<z.ZodEnum<{
|
|
267
|
-
append: "append";
|
|
268
|
-
remove: "remove";
|
|
269
|
-
toggle: "toggle";
|
|
270
|
-
}>>;
|
|
271
|
-
}, z.core.$strip>]>>>;
|
|
248
|
+
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
272
249
|
justifyContent: z.ZodOptional<z.ZodEnum<{
|
|
273
250
|
center: "center";
|
|
274
251
|
"flex-start": "flex-start";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZStackElement.d.ts","sourceRoot":"","sources":["../../../src/screens/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,GAAG;IAC9C,cAAc,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,eAAe,GAAG,cAAc,CAAC;IACzF,UAAU,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;CAC5E,CAAC;AAEF,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"ZStackElement.d.ts","sourceRoot":"","sources":["../../../src/screens/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,GAAG;IAC9C,cAAc,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,eAAe,GAAG,cAAc,CAAC;IACzF,UAAU,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;CAC5E,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGnC,CAAC"}
|
|
@@ -60,6 +60,7 @@ export declare const CarouselStepTypeSchema: z.ZodObject<{
|
|
|
60
60
|
condition: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
61
61
|
variable: z.ZodString;
|
|
62
62
|
operator: z.ZodEnum<{
|
|
63
|
+
in: "in";
|
|
63
64
|
eq: "eq";
|
|
64
65
|
neq: "neq";
|
|
65
66
|
gt: "gt";
|
|
@@ -67,7 +68,6 @@ export declare const CarouselStepTypeSchema: z.ZodObject<{
|
|
|
67
68
|
gte: "gte";
|
|
68
69
|
lte: "lte";
|
|
69
70
|
contains: "contains";
|
|
70
|
-
in: "in";
|
|
71
71
|
not_in: "not_in";
|
|
72
72
|
is_empty: "is_empty";
|
|
73
73
|
is_not_empty: "is_not_empty";
|
|
@@ -32,6 +32,7 @@ export declare const CommitmentStepTypeSchema: z.ZodObject<{
|
|
|
32
32
|
condition: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
33
33
|
variable: z.ZodString;
|
|
34
34
|
operator: z.ZodEnum<{
|
|
35
|
+
in: "in";
|
|
35
36
|
eq: "eq";
|
|
36
37
|
neq: "neq";
|
|
37
38
|
gt: "gt";
|
|
@@ -39,7 +40,6 @@ export declare const CommitmentStepTypeSchema: z.ZodObject<{
|
|
|
39
40
|
gte: "gte";
|
|
40
41
|
lte: "lte";
|
|
41
42
|
contains: "contains";
|
|
42
|
-
in: "in";
|
|
43
43
|
not_in: "not_in";
|
|
44
44
|
is_empty: "is_empty";
|
|
45
45
|
is_not_empty: "is_not_empty";
|
|
@@ -20,6 +20,7 @@ export declare const ComposableScreenStepTypeSchema: z.ZodObject<{
|
|
|
20
20
|
condition: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
21
21
|
variable: z.ZodString;
|
|
22
22
|
operator: z.ZodEnum<{
|
|
23
|
+
in: "in";
|
|
23
24
|
eq: "eq";
|
|
24
25
|
neq: "neq";
|
|
25
26
|
gt: "gt";
|
|
@@ -27,7 +28,6 @@ export declare const ComposableScreenStepTypeSchema: z.ZodObject<{
|
|
|
27
28
|
gte: "gte";
|
|
28
29
|
lte: "lte";
|
|
29
30
|
contains: "contains";
|
|
30
|
-
in: "in";
|
|
31
31
|
not_in: "not_in";
|
|
32
32
|
is_empty: "is_empty";
|
|
33
33
|
is_not_empty: "is_not_empty";
|
|
@@ -40,6 +40,7 @@ export declare const LoaderStepTypeSchema: z.ZodObject<{
|
|
|
40
40
|
condition: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
41
41
|
variable: z.ZodString;
|
|
42
42
|
operator: z.ZodEnum<{
|
|
43
|
+
in: "in";
|
|
43
44
|
eq: "eq";
|
|
44
45
|
neq: "neq";
|
|
45
46
|
gt: "gt";
|
|
@@ -47,7 +48,6 @@ export declare const LoaderStepTypeSchema: z.ZodObject<{
|
|
|
47
48
|
gte: "gte";
|
|
48
49
|
lte: "lte";
|
|
49
50
|
contains: "contains";
|
|
50
|
-
in: "in";
|
|
51
51
|
not_in: "not_in";
|
|
52
52
|
is_empty: "is_empty";
|
|
53
53
|
is_not_empty: "is_not_empty";
|
|
@@ -42,6 +42,7 @@ export declare const MediaContentStepTypeSchema: z.ZodObject<{
|
|
|
42
42
|
condition: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
43
43
|
variable: z.ZodString;
|
|
44
44
|
operator: z.ZodEnum<{
|
|
45
|
+
in: "in";
|
|
45
46
|
eq: "eq";
|
|
46
47
|
neq: "neq";
|
|
47
48
|
gt: "gt";
|
|
@@ -49,7 +50,6 @@ export declare const MediaContentStepTypeSchema: z.ZodObject<{
|
|
|
49
50
|
gte: "gte";
|
|
50
51
|
lte: "lte";
|
|
51
52
|
contains: "contains";
|
|
52
|
-
in: "in";
|
|
53
53
|
not_in: "not_in";
|
|
54
54
|
is_empty: "is_empty";
|
|
55
55
|
is_not_empty: "is_not_empty";
|
|
@@ -38,6 +38,7 @@ export declare const PickerStepTypeSchema: z.ZodObject<{
|
|
|
38
38
|
condition: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
39
39
|
variable: z.ZodString;
|
|
40
40
|
operator: z.ZodEnum<{
|
|
41
|
+
in: "in";
|
|
41
42
|
eq: "eq";
|
|
42
43
|
neq: "neq";
|
|
43
44
|
gt: "gt";
|
|
@@ -45,7 +46,6 @@ export declare const PickerStepTypeSchema: z.ZodObject<{
|
|
|
45
46
|
gte: "gte";
|
|
46
47
|
lte: "lte";
|
|
47
48
|
contains: "contains";
|
|
48
|
-
in: "in";
|
|
49
49
|
not_in: "not_in";
|
|
50
50
|
is_empty: "is_empty";
|
|
51
51
|
is_not_empty: "is_not_empty";
|
|
@@ -37,6 +37,7 @@ export declare const QuestionStepTypeSchema: z.ZodObject<{
|
|
|
37
37
|
condition: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
38
38
|
variable: z.ZodString;
|
|
39
39
|
operator: z.ZodEnum<{
|
|
40
|
+
in: "in";
|
|
40
41
|
eq: "eq";
|
|
41
42
|
neq: "neq";
|
|
42
43
|
gt: "gt";
|
|
@@ -44,7 +45,6 @@ export declare const QuestionStepTypeSchema: z.ZodObject<{
|
|
|
44
45
|
gte: "gte";
|
|
45
46
|
lte: "lte";
|
|
46
47
|
contains: "contains";
|
|
47
|
-
in: "in";
|
|
48
48
|
not_in: "not_in";
|
|
49
49
|
is_empty: "is_empty";
|
|
50
50
|
is_not_empty: "is_not_empty";
|
|
@@ -26,6 +26,7 @@ export declare const RatingsStepTypeSchema: z.ZodObject<{
|
|
|
26
26
|
condition: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
27
27
|
variable: z.ZodString;
|
|
28
28
|
operator: z.ZodEnum<{
|
|
29
|
+
in: "in";
|
|
29
30
|
eq: "eq";
|
|
30
31
|
neq: "neq";
|
|
31
32
|
gt: "gt";
|
|
@@ -33,7 +34,6 @@ export declare const RatingsStepTypeSchema: z.ZodObject<{
|
|
|
33
34
|
gte: "gte";
|
|
34
35
|
lte: "lte";
|
|
35
36
|
contains: "contains";
|
|
36
|
-
in: "in";
|
|
37
37
|
not_in: "not_in";
|
|
38
38
|
is_empty: "is_empty";
|
|
39
39
|
is_not_empty: "is_not_empty";
|
|
@@ -88,32 +88,26 @@ export declare const SetVariableButtonActionSchema: z.ZodObject<{
|
|
|
88
88
|
toggle: "toggle";
|
|
89
89
|
}>>;
|
|
90
90
|
}, z.core.$strip>;
|
|
91
|
-
export type
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}>>;
|
|
110
|
-
arrayOp: z.ZodOptional<z.ZodEnum<{
|
|
111
|
-
append: "append";
|
|
112
|
-
remove: "remove";
|
|
113
|
-
toggle: "toggle";
|
|
114
|
-
}>>;
|
|
115
|
-
}, z.core.$strip>]>;
|
|
91
|
+
export type PurchaseButtonAction = {
|
|
92
|
+
type: "purchase";
|
|
93
|
+
/** A product slot key, or an interpolable ref like "{{plan}}". */
|
|
94
|
+
product: string;
|
|
95
|
+
onSuccess?: ButtonAction[];
|
|
96
|
+
onCancel?: ButtonAction[];
|
|
97
|
+
onError?: ButtonAction[];
|
|
98
|
+
};
|
|
99
|
+
export type RestoreButtonAction = {
|
|
100
|
+
type: "restore";
|
|
101
|
+
onSuccess?: ButtonAction[];
|
|
102
|
+
onNothingToRestore?: ButtonAction[];
|
|
103
|
+
onError?: ButtonAction[];
|
|
104
|
+
};
|
|
105
|
+
export type ButtonAction = "continue" | CustomButtonAction | SetVariableButtonAction | PurchaseButtonAction | RestoreButtonAction;
|
|
106
|
+
export declare const PurchaseButtonActionSchema: z.ZodType<PurchaseButtonAction>;
|
|
107
|
+
export declare const RestoreButtonActionSchema: z.ZodType<RestoreButtonAction>;
|
|
108
|
+
export declare const ButtonActionSchema: z.ZodType<ButtonAction>;
|
|
116
109
|
export declare const ConditionOperatorSchema: z.ZodEnum<{
|
|
110
|
+
in: "in";
|
|
117
111
|
eq: "eq";
|
|
118
112
|
neq: "neq";
|
|
119
113
|
gt: "gt";
|
|
@@ -121,7 +115,6 @@ export declare const ConditionOperatorSchema: z.ZodEnum<{
|
|
|
121
115
|
gte: "gte";
|
|
122
116
|
lte: "lte";
|
|
123
117
|
contains: "contains";
|
|
124
|
-
in: "in";
|
|
125
118
|
not_in: "not_in";
|
|
126
119
|
is_empty: "is_empty";
|
|
127
120
|
is_not_empty: "is_not_empty";
|
|
@@ -140,6 +133,7 @@ export type ConditionValue = z.infer<typeof ConditionValueSchema>;
|
|
|
140
133
|
export declare const LeafConditionSchema: z.ZodObject<{
|
|
141
134
|
variable: z.ZodString;
|
|
142
135
|
operator: z.ZodEnum<{
|
|
136
|
+
in: "in";
|
|
143
137
|
eq: "eq";
|
|
144
138
|
neq: "neq";
|
|
145
139
|
gt: "gt";
|
|
@@ -147,7 +141,6 @@ export declare const LeafConditionSchema: z.ZodObject<{
|
|
|
147
141
|
gte: "gte";
|
|
148
142
|
lte: "lte";
|
|
149
143
|
contains: "contains";
|
|
150
|
-
in: "in";
|
|
151
144
|
not_in: "not_in";
|
|
152
145
|
is_empty: "is_empty";
|
|
153
146
|
is_not_empty: "is_not_empty";
|
|
@@ -166,6 +159,7 @@ export declare const BranchSchema: z.ZodObject<{
|
|
|
166
159
|
condition: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
167
160
|
variable: z.ZodString;
|
|
168
161
|
operator: z.ZodEnum<{
|
|
162
|
+
in: "in";
|
|
169
163
|
eq: "eq";
|
|
170
164
|
neq: "neq";
|
|
171
165
|
gt: "gt";
|
|
@@ -173,7 +167,6 @@ export declare const BranchSchema: z.ZodObject<{
|
|
|
173
167
|
gte: "gte";
|
|
174
168
|
lte: "lte";
|
|
175
169
|
contains: "contains";
|
|
176
|
-
in: "in";
|
|
177
170
|
not_in: "not_in";
|
|
178
171
|
is_empty: "is_empty";
|
|
179
172
|
is_not_empty: "is_not_empty";
|
|
@@ -191,6 +184,7 @@ export declare const NextStepSchema: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
|
191
184
|
condition: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
192
185
|
variable: z.ZodString;
|
|
193
186
|
operator: z.ZodEnum<{
|
|
187
|
+
in: "in";
|
|
194
188
|
eq: "eq";
|
|
195
189
|
neq: "neq";
|
|
196
190
|
gt: "gt";
|
|
@@ -198,7 +192,6 @@ export declare const NextStepSchema: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
|
198
192
|
gte: "gte";
|
|
199
193
|
lte: "lte";
|
|
200
194
|
contains: "contains";
|
|
201
|
-
in: "in";
|
|
202
195
|
not_in: "not_in";
|
|
203
196
|
is_empty: "is_empty";
|
|
204
197
|
is_not_empty: "is_not_empty";
|
|
@@ -236,6 +229,7 @@ export declare const BaseStepTypeSchema: z.ZodObject<{
|
|
|
236
229
|
condition: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
237
230
|
variable: z.ZodString;
|
|
238
231
|
operator: z.ZodEnum<{
|
|
232
|
+
in: "in";
|
|
239
233
|
eq: "eq";
|
|
240
234
|
neq: "neq";
|
|
241
235
|
gt: "gt";
|
|
@@ -243,7 +237,6 @@ export declare const BaseStepTypeSchema: z.ZodObject<{
|
|
|
243
237
|
gte: "gte";
|
|
244
238
|
lte: "lte";
|
|
245
239
|
contains: "contains";
|
|
246
|
-
in: "in";
|
|
247
240
|
not_in: "not_in";
|
|
248
241
|
is_empty: "is_empty";
|
|
249
242
|
is_not_empty: "is_not_empty";
|