@rocapine/react-native-onboarding-ui 1.7.0 → 1.8.1
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/UI/OnboardingPage.js +1 -1
- package/dist/UI/OnboardingPage.js.map +1 -1
- package/dist/UI/Pages/ComposableScreen/Renderer.d.ts +0 -2
- package/dist/UI/Pages/ComposableScreen/Renderer.d.ts.map +1 -1
- package/dist/UI/Pages/ComposableScreen/Renderer.js +13 -274
- package/dist/UI/Pages/ComposableScreen/Renderer.js.map +1 -1
- package/dist/UI/Pages/ComposableScreen/elements/BaseBoxProps.d.ts +39 -0
- package/dist/UI/Pages/ComposableScreen/elements/BaseBoxProps.d.ts.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/BaseBoxProps.js +20 -0
- package/dist/UI/Pages/ComposableScreen/elements/BaseBoxProps.js.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/ButtonElement.d.ts +67 -0
- package/dist/UI/Pages/ComposableScreen/elements/ButtonElement.d.ts.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/ButtonElement.js +65 -0
- package/dist/UI/Pages/ComposableScreen/elements/ButtonElement.js.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/IconElement.d.ts +49 -0
- package/dist/UI/Pages/ComposableScreen/elements/IconElement.d.ts.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/IconElement.js +37 -0
- package/dist/UI/Pages/ComposableScreen/elements/IconElement.js.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/ImageElement.d.ts +50 -0
- package/dist/UI/Pages/ComposableScreen/elements/ImageElement.d.ts.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/ImageElement.js +34 -0
- package/dist/UI/Pages/ComposableScreen/elements/ImageElement.js.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/InputElement.d.ts +110 -0
- package/dist/UI/Pages/ComposableScreen/elements/InputElement.d.ts.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/InputElement.js +66 -0
- package/dist/UI/Pages/ComposableScreen/elements/InputElement.js.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/LottieElement.d.ts +47 -0
- package/dist/UI/Pages/ComposableScreen/elements/LottieElement.d.ts.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/LottieElement.js +60 -0
- package/dist/UI/Pages/ComposableScreen/elements/LottieElement.js.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/RadioGroupElement.d.ts +86 -0
- package/dist/UI/Pages/ComposableScreen/elements/RadioGroupElement.d.ts.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/RadioGroupElement.js +120 -0
- package/dist/UI/Pages/ComposableScreen/elements/RadioGroupElement.js.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/RiveElement.d.ts +70 -0
- package/dist/UI/Pages/ComposableScreen/elements/RiveElement.d.ts.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/RiveElement.js +68 -0
- package/dist/UI/Pages/ComposableScreen/elements/RiveElement.js.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/StackElement.d.ts +94 -0
- package/dist/UI/Pages/ComposableScreen/elements/StackElement.d.ts.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/StackElement.js +66 -0
- package/dist/UI/Pages/ComposableScreen/elements/StackElement.js.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/TextElement.d.ts +66 -0
- package/dist/UI/Pages/ComposableScreen/elements/TextElement.d.ts.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/TextElement.js +59 -0
- package/dist/UI/Pages/ComposableScreen/elements/TextElement.js.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/VideoElement.d.ts +49 -0
- package/dist/UI/Pages/ComposableScreen/elements/VideoElement.d.ts.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/VideoElement.js +84 -0
- package/dist/UI/Pages/ComposableScreen/elements/VideoElement.js.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/renderElement.d.ts +5 -0
- package/dist/UI/Pages/ComposableScreen/elements/renderElement.d.ts.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/renderElement.js +49 -0
- package/dist/UI/Pages/ComposableScreen/elements/renderElement.js.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/shared.d.ts +13 -0
- package/dist/UI/Pages/ComposableScreen/elements/shared.d.ts.map +1 -0
- package/dist/UI/Pages/ComposableScreen/elements/shared.js +6 -0
- package/dist/UI/Pages/ComposableScreen/elements/shared.js.map +1 -0
- package/dist/UI/Pages/ComposableScreen/types.d.ts +40 -114
- package/dist/UI/Pages/ComposableScreen/types.d.ts.map +1 -1
- package/dist/UI/Pages/ComposableScreen/types.js +33 -122
- package/dist/UI/Pages/ComposableScreen/types.js.map +1 -1
- package/dist/UI/Provider/OnboardingProgressProvider.d.ts +6 -2
- package/dist/UI/Provider/OnboardingProgressProvider.d.ts.map +1 -1
- package/dist/UI/Provider/OnboardingProgressProvider.js +4 -3
- package/dist/UI/Provider/OnboardingProgressProvider.js.map +1 -1
- package/package.json +2 -2
- package/src/UI/OnboardingPage.tsx +1 -1
- package/src/UI/Pages/ComposableScreen/Renderer.tsx +22 -431
- package/src/UI/Pages/ComposableScreen/elements/BaseBoxProps.ts +33 -0
- package/src/UI/Pages/ComposableScreen/elements/ButtonElement.tsx +96 -0
- package/src/UI/Pages/ComposableScreen/elements/IconElement.tsx +67 -0
- package/src/UI/Pages/ComposableScreen/elements/ImageElement.tsx +52 -0
- package/src/UI/Pages/ComposableScreen/elements/InputElement.tsx +109 -0
- package/src/UI/Pages/ComposableScreen/elements/LottieElement.tsx +97 -0
- package/src/UI/Pages/ComposableScreen/elements/RadioGroupElement.tsx +182 -0
- package/src/UI/Pages/ComposableScreen/elements/RiveElement.tsx +105 -0
- package/src/UI/Pages/ComposableScreen/elements/StackElement.tsx +106 -0
- package/src/UI/Pages/ComposableScreen/elements/TextElement.tsx +95 -0
- package/src/UI/Pages/ComposableScreen/elements/VideoElement.tsx +113 -0
- package/src/UI/Pages/ComposableScreen/elements/renderElement.tsx +61 -0
- package/src/UI/Pages/ComposableScreen/elements/shared.ts +15 -0
- package/src/UI/Pages/ComposableScreen/types.ts +56 -235
- package/src/UI/Provider/OnboardingProgressProvider.tsx +8 -5
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { BaseBoxProps } from "./BaseBoxProps";
|
|
4
|
+
import { UIElement } from "../types";
|
|
5
|
+
import { RenderContext } from "./shared";
|
|
6
|
+
export type VideoElementProps = BaseBoxProps & {
|
|
7
|
+
url: string;
|
|
8
|
+
autoPlay?: boolean;
|
|
9
|
+
loop?: boolean;
|
|
10
|
+
muted?: boolean;
|
|
11
|
+
controls?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare const VideoElementPropsSchema: z.ZodObject<{
|
|
14
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
auto: "auto";
|
|
18
|
+
center: "center";
|
|
19
|
+
"flex-start": "flex-start";
|
|
20
|
+
"flex-end": "flex-end";
|
|
21
|
+
stretch: "stretch";
|
|
22
|
+
baseline: "baseline";
|
|
23
|
+
}>>;
|
|
24
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
margin: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
marginHorizontal: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
marginVertical: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
paddingHorizontal: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
paddingVertical: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
borderColor: z.ZodOptional<z.ZodString>;
|
|
34
|
+
url: z.ZodString;
|
|
35
|
+
autoPlay: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
muted: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
+
controls: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
type VideoUIElement = Extract<UIElement, {
|
|
41
|
+
type: "Video";
|
|
42
|
+
}>;
|
|
43
|
+
type Props = {
|
|
44
|
+
element: VideoUIElement;
|
|
45
|
+
ctx: RenderContext;
|
|
46
|
+
};
|
|
47
|
+
export declare const VideoElementRenderer: ({ element, ctx }: Props) => React.ReactElement;
|
|
48
|
+
export {};
|
|
49
|
+
//# sourceMappingURL=VideoElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoElement.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Pages/ComposableScreen/elements/VideoElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGzC,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;CACpB,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMlC,CAAC;AAEH,KAAK,cAAc,GAAG,OAAO,CAAC,SAAS,EAAE;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAmC5D,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,cAAc,CAAC;IACxB,GAAG,EAAE,aAAa,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,kBAAkB,KAAK,KAAG,KAAK,CAAC,YAiCpE,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VideoElementRenderer = exports.VideoElementPropsSchema = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const zod_1 = require("zod");
|
|
7
|
+
const react_native_1 = require("react-native");
|
|
8
|
+
const BaseBoxProps_1 = require("./BaseBoxProps");
|
|
9
|
+
const helpers_1 = require("../../../Theme/helpers");
|
|
10
|
+
exports.VideoElementPropsSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
|
|
11
|
+
url: zod_1.z.string().min(1, "url must not be empty"),
|
|
12
|
+
autoPlay: zod_1.z.boolean().optional(),
|
|
13
|
+
loop: zod_1.z.boolean().optional(),
|
|
14
|
+
muted: zod_1.z.boolean().optional(),
|
|
15
|
+
controls: zod_1.z.boolean().optional(),
|
|
16
|
+
});
|
|
17
|
+
let VideoElementComponent = null;
|
|
18
|
+
try {
|
|
19
|
+
const { VideoView, useVideoPlayer } = require("expo-video");
|
|
20
|
+
VideoElementComponent = ({ element, style }) => {
|
|
21
|
+
var _a;
|
|
22
|
+
const player = useVideoPlayer(element.props.url, (p) => {
|
|
23
|
+
var _a, _b;
|
|
24
|
+
p.loop = (_a = element.props.loop) !== null && _a !== void 0 ? _a : false;
|
|
25
|
+
p.muted = (_b = element.props.muted) !== null && _b !== void 0 ? _b : true;
|
|
26
|
+
if (element.props.autoPlay)
|
|
27
|
+
p.play();
|
|
28
|
+
});
|
|
29
|
+
(0, react_1.useEffect)(() => {
|
|
30
|
+
var _a, _b;
|
|
31
|
+
player.loop = (_a = element.props.loop) !== null && _a !== void 0 ? _a : false;
|
|
32
|
+
player.muted = (_b = element.props.muted) !== null && _b !== void 0 ? _b : true;
|
|
33
|
+
if (element.props.autoPlay) {
|
|
34
|
+
player.play();
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
player.pause();
|
|
38
|
+
}
|
|
39
|
+
}, [element.props.loop, element.props.muted, element.props.autoPlay]);
|
|
40
|
+
return ((0, jsx_runtime_1.jsx)(VideoView, { player: player, style: style, allowsFullscreen: false, nativeControls: (_a = element.props.controls) !== null && _a !== void 0 ? _a : false }));
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
catch (_a) {
|
|
44
|
+
// expo-video not installed
|
|
45
|
+
}
|
|
46
|
+
const VideoElementRenderer = ({ element, ctx }) => {
|
|
47
|
+
var _a, _b;
|
|
48
|
+
const { theme } = ctx;
|
|
49
|
+
const wrapperStyle = {
|
|
50
|
+
width: (_a = element.props.width) !== null && _a !== void 0 ? _a : "100%",
|
|
51
|
+
height: (_b = element.props.height) !== null && _b !== void 0 ? _b : 200,
|
|
52
|
+
opacity: element.props.opacity,
|
|
53
|
+
margin: element.props.margin,
|
|
54
|
+
marginHorizontal: element.props.marginHorizontal,
|
|
55
|
+
marginVertical: element.props.marginVertical,
|
|
56
|
+
padding: element.props.padding,
|
|
57
|
+
paddingHorizontal: element.props.paddingHorizontal,
|
|
58
|
+
paddingVertical: element.props.paddingVertical,
|
|
59
|
+
borderWidth: element.props.borderWidth,
|
|
60
|
+
borderRadius: element.props.borderRadius,
|
|
61
|
+
borderColor: element.props.borderColor,
|
|
62
|
+
overflow: "hidden",
|
|
63
|
+
};
|
|
64
|
+
if (!VideoElementComponent) {
|
|
65
|
+
return ((0, jsx_runtime_1.jsx)(react_native_1.View, { style: [wrapperStyle, styles.mediaFallback, { backgroundColor: theme.colors.neutral.lowest }], children: (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: [styles.mediaFallbackText, (0, helpers_1.getTextStyle)(theme, "caption"), { color: theme.colors.text.tertiary }], children: "Install expo-video to render videos." }) }));
|
|
66
|
+
}
|
|
67
|
+
return ((0, jsx_runtime_1.jsx)(react_native_1.View, { style: wrapperStyle, children: (0, jsx_runtime_1.jsx)(VideoElementComponent, { element: element, style: styles.fill }) }));
|
|
68
|
+
};
|
|
69
|
+
exports.VideoElementRenderer = VideoElementRenderer;
|
|
70
|
+
const styles = react_native_1.StyleSheet.create({
|
|
71
|
+
fill: {
|
|
72
|
+
width: "100%",
|
|
73
|
+
height: "100%",
|
|
74
|
+
},
|
|
75
|
+
mediaFallback: {
|
|
76
|
+
alignItems: "center",
|
|
77
|
+
justifyContent: "center",
|
|
78
|
+
},
|
|
79
|
+
mediaFallbackText: {
|
|
80
|
+
textAlign: "center",
|
|
81
|
+
paddingHorizontal: 16,
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
//# sourceMappingURL=VideoElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoElement.js","sourceRoot":"","sources":["../../../../../src/UI/Pages/ComposableScreen/elements/VideoElement.tsx"],"names":[],"mappings":";;;;AAAA,iCAAyC;AACzC,6BAAwB;AACxB,+CAAsD;AACtD,iDAAkE;AAGlE,oDAAsD;AAUzC,QAAA,uBAAuB,GAAG,iCAAkB,CAAC,MAAM,CAAC;IAC/D,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,uBAAuB,CAAC;IAC/C,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAChC,IAAI,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC5B,KAAK,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC7B,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC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CAAC,MAAM,CAAC,iBAAiB,EAAE,IAAA,sBAAY,EAAC,KAAK,EAAE,SAAS,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,qDAEvG,GACF,CACR,CAAC;IACJ,CAAC;IAED,OAAO,CACL,uBAAC,mBAAI,IAAC,KAAK,EAAE,YAAY,YACvB,uBAAC,qBAAqB,IAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,IAAI,GAAI,GAC1D,CACR,CAAC;AACJ,CAAC,CAAC;AAjCW,QAAA,oBAAoB,wBAiC/B;AAEF,MAAM,MAAM,GAAG,yBAAU,CAAC,MAAM,CAAC;IAC/B,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;KACf;IACD,aAAa,EAAE;QACb,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,QAAQ;KACzB;IACD,iBAAiB,EAAE;QACjB,SAAS,EAAE,QAAQ;QACnB,iBAAiB,EAAE,EAAE;KACtB;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { UIElement } from "../types";
|
|
3
|
+
import { RenderContext } from "./shared";
|
|
4
|
+
export declare const renderElement: (element: UIElement, ctx: RenderContext, parentType?: "XStack" | "YStack") => React.ReactNode;
|
|
5
|
+
//# sourceMappingURL=renderElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderElement.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Pages/ComposableScreen/elements/renderElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAYzC,eAAO,MAAM,aAAa,GACxB,SAAS,SAAS,EAClB,KAAK,aAAa,EAClB,aAAa,QAAQ,GAAG,QAAQ,KAC/B,KAAK,CAAC,SA0CR,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.renderElement = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const StackElement_1 = require("./StackElement");
|
|
6
|
+
const TextElement_1 = require("./TextElement");
|
|
7
|
+
const ImageElement_1 = require("./ImageElement");
|
|
8
|
+
const LottieElement_1 = require("./LottieElement");
|
|
9
|
+
const RiveElement_1 = require("./RiveElement");
|
|
10
|
+
const IconElement_1 = require("./IconElement");
|
|
11
|
+
const VideoElement_1 = require("./VideoElement");
|
|
12
|
+
const InputElement_1 = require("./InputElement");
|
|
13
|
+
const RadioGroupElement_1 = require("./RadioGroupElement");
|
|
14
|
+
const ButtonElement_1 = require("./ButtonElement");
|
|
15
|
+
const renderElement = (element, ctx, parentType) => {
|
|
16
|
+
if (element.type === "YStack" || element.type === "XStack") {
|
|
17
|
+
return (0, jsx_runtime_1.jsx)(StackElement_1.StackElementComponent, { element: element, ctx: ctx, parentType: parentType }, element.id);
|
|
18
|
+
}
|
|
19
|
+
if (element.type === "Text") {
|
|
20
|
+
return (0, jsx_runtime_1.jsx)(TextElement_1.TextElementComponent, { element: element, ctx: ctx, parentType: parentType }, element.id);
|
|
21
|
+
}
|
|
22
|
+
if (element.type === "Image") {
|
|
23
|
+
return (0, jsx_runtime_1.jsx)(ImageElement_1.ImageElementComponent, { element: element, ctx: ctx }, element.id);
|
|
24
|
+
}
|
|
25
|
+
if (element.type === "Lottie") {
|
|
26
|
+
return (0, jsx_runtime_1.jsx)(LottieElement_1.LottieElementComponent, { element: element, ctx: ctx }, element.id);
|
|
27
|
+
}
|
|
28
|
+
if (element.type === "Rive") {
|
|
29
|
+
return (0, jsx_runtime_1.jsx)(RiveElement_1.RiveElementRenderer, { element: element, ctx: ctx }, element.id);
|
|
30
|
+
}
|
|
31
|
+
if (element.type === "Icon") {
|
|
32
|
+
return (0, jsx_runtime_1.jsx)(IconElement_1.IconElementComponent, { element: element, ctx: ctx }, element.id);
|
|
33
|
+
}
|
|
34
|
+
if (element.type === "Video") {
|
|
35
|
+
return (0, jsx_runtime_1.jsx)(VideoElement_1.VideoElementRenderer, { element: element, ctx: ctx }, element.id);
|
|
36
|
+
}
|
|
37
|
+
if (element.type === "Input") {
|
|
38
|
+
return (0, jsx_runtime_1.jsx)(InputElement_1.InputElementComponent, { element: element, ctx: ctx }, element.id);
|
|
39
|
+
}
|
|
40
|
+
if (element.type === "RadioGroup") {
|
|
41
|
+
return (0, jsx_runtime_1.jsx)(RadioGroupElement_1.RadioGroupComponent, { element: element, ctx: ctx }, element.id);
|
|
42
|
+
}
|
|
43
|
+
if (element.type === "Button") {
|
|
44
|
+
return (0, jsx_runtime_1.jsx)(ButtonElement_1.ButtonElementComponent, { element: element, ctx: ctx }, element.id);
|
|
45
|
+
}
|
|
46
|
+
return null;
|
|
47
|
+
};
|
|
48
|
+
exports.renderElement = renderElement;
|
|
49
|
+
//# sourceMappingURL=renderElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderElement.js","sourceRoot":"","sources":["../../../../../src/UI/Pages/ComposableScreen/elements/renderElement.tsx"],"names":[],"mappings":";;;;AAGA,iDAAuD;AACvD,+CAAqD;AACrD,iDAAuD;AACvD,mDAAyD;AACzD,+CAAoD;AACpD,+CAAqD;AACrD,iDAAsD;AACtD,iDAAuD;AACvD,2DAA0D;AAC1D,mDAAyD;AAElD,MAAM,aAAa,GAAG,CAC3B,OAAkB,EAClB,GAAkB,EAClB,UAAgC,EACf,EAAE;IACnB,IAAI,OAAO,CAAC,IAAI,KAAK,QAAQ,IAAI,OAAO,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC3D,OAAO,uBAAC,oCAAqB,IAAkB,OAAO,EAAE,OAAO,EAAE,GAAG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AI,KAAK,OAAO,EAAE,CAAC;QAC7B,OAAO,uBAAC,oCAAqB,IAAkB,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,IAAtC,OAAO,CAAC,EAAE,CAAgC,CAAC;IAChF,CAAC;IAED,IAAI,OAAO,CAAC,IAAI,KAAK,YAAY,EAAE,CAAC;QAClC,OAAO,uBAAC,uCAAmB,IAAkB,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,IAAtC,OAAO,CAAC,EAAE,CAAgC,CAAC;IAC9E,CAAC;IAED,IAAI,OAAO,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC9B,OAAO,uBAAC,sCAAsB,IAAkB,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,IAAtC,OAAO,CAAC,EAAE,CAAgC,CAAC;IACjF,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AA9CW,QAAA,aAAa,iBA8CxB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { UIElement } from "../types";
|
|
3
|
+
import { Theme } from "../../../Theme/types";
|
|
4
|
+
import { ComposableVariableEntry } from "../../../Provider/OnboardingProgressProvider";
|
|
5
|
+
export type RenderContext = {
|
|
6
|
+
theme: Theme;
|
|
7
|
+
variables: Record<string, ComposableVariableEntry>;
|
|
8
|
+
setVariable: (key: string, entry: ComposableVariableEntry) => void;
|
|
9
|
+
onContinue: () => void;
|
|
10
|
+
renderChildren: (elements: UIElement[], parentType: "XStack" | "YStack") => React.ReactNode;
|
|
11
|
+
};
|
|
12
|
+
export declare const interpolate: (template: string, variables: Record<string, ComposableVariableEntry>) => string;
|
|
13
|
+
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Pages/ComposableScreen/elements/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AAEvF,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC;IACnD,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACnE,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,cAAc,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,EAAE,UAAU,EAAE,QAAQ,GAAG,QAAQ,KAAK,KAAK,CAAC,SAAS,CAAC;CAC7F,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,UAAU,MAAM,EAAE,WAAW,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,KAAG,MACM,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.interpolate = void 0;
|
|
4
|
+
const interpolate = (template, variables) => template.replace(/\{\{([^}]+?)\}\}/g, (_, key) => { var _a, _b, _c, _d; return (_d = (_b = (_a = variables[key]) === null || _a === void 0 ? void 0 : _a.label) !== null && _b !== void 0 ? _b : (_c = variables[key]) === null || _c === void 0 ? void 0 : _c.value) !== null && _d !== void 0 ? _d : ""; });
|
|
5
|
+
exports.interpolate = interpolate;
|
|
6
|
+
//# sourceMappingURL=shared.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../src/UI/Pages/ComposableScreen/elements/shared.ts"],"names":[],"mappings":";;;AAaO,MAAM,WAAW,GAAG,CAAC,QAAgB,EAAE,SAAkD,EAAU,EAAE,CAC1G,QAAQ,CAAC,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,uBAAC,OAAA,MAAA,MAAA,MAAA,SAAS,CAAC,GAAG,CAAC,0CAAE,KAAK,mCAAI,MAAA,SAAS,CAAC,GAAG,CAAC,0CAAE,KAAK,mCAAI,EAAE,CAAA,EAAA,CAAC,CAAC;AAD7F,QAAA,WAAW,eACkF"}
|
|
@@ -1,150 +1,77 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
type
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
2
|
+
import { type StackElementProps } from "./elements/StackElement";
|
|
3
|
+
import { type TextElementProps } from "./elements/TextElement";
|
|
4
|
+
import { type ImageElementProps } from "./elements/ImageElement";
|
|
5
|
+
import { type LottieElementProps } from "./elements/LottieElement";
|
|
6
|
+
import { type RiveElementProps } from "./elements/RiveElement";
|
|
7
|
+
import { type IconElementProps } from "./elements/IconElement";
|
|
8
|
+
import { type VideoElementProps } from "./elements/VideoElement";
|
|
9
|
+
import { type InputElementProps } from "./elements/InputElement";
|
|
10
|
+
import { type ButtonElementProps } from "./elements/ButtonElement";
|
|
11
|
+
import { type RadioGroupElementProps } from "./elements/RadioGroupElement";
|
|
12
|
+
export type { BaseBoxProps } from "./elements/BaseBoxProps";
|
|
13
|
+
export { BaseBoxPropsSchema } from "./elements/BaseBoxProps";
|
|
14
|
+
export type { StackElementProps } from "./elements/StackElement";
|
|
15
|
+
export type { TextElementProps } from "./elements/TextElement";
|
|
16
|
+
export type { ImageElementProps } from "./elements/ImageElement";
|
|
17
|
+
export type { LottieElementProps } from "./elements/LottieElement";
|
|
18
|
+
export type { RiveElementProps } from "./elements/RiveElement";
|
|
19
|
+
export type { IconElementProps } from "./elements/IconElement";
|
|
20
|
+
export type { VideoElementProps } from "./elements/VideoElement";
|
|
21
|
+
export type { InputElementProps } from "./elements/InputElement";
|
|
22
|
+
export type { ButtonElementProps } from "./elements/ButtonElement";
|
|
23
|
+
export type { RadioGroupElementProps } from "./elements/RadioGroupElement";
|
|
16
24
|
export type UIElement = {
|
|
17
25
|
id: string;
|
|
18
26
|
name?: string;
|
|
19
27
|
type: "YStack" | "XStack";
|
|
20
|
-
props:
|
|
21
|
-
gap?: number;
|
|
22
|
-
padding?: number;
|
|
23
|
-
paddingHorizontal?: number;
|
|
24
|
-
paddingVertical?: number;
|
|
25
|
-
margin?: number;
|
|
26
|
-
marginHorizontal?: number;
|
|
27
|
-
marginVertical?: number;
|
|
28
|
-
flex?: number;
|
|
29
|
-
width?: number;
|
|
30
|
-
height?: number;
|
|
31
|
-
minWidth?: number;
|
|
32
|
-
maxWidth?: number;
|
|
33
|
-
minHeight?: number;
|
|
34
|
-
maxHeight?: number;
|
|
35
|
-
alignItems?: "flex-start" | "center" | "flex-end" | "stretch";
|
|
36
|
-
justifyContent?: "flex-start" | "center" | "flex-end" | "space-between" | "space-around";
|
|
37
|
-
backgroundColor?: string;
|
|
38
|
-
flexWrap?: "wrap" | "nowrap";
|
|
39
|
-
flexShrink?: number;
|
|
40
|
-
borderWidth?: number;
|
|
41
|
-
borderRadius?: number;
|
|
42
|
-
borderColor?: string;
|
|
43
|
-
overflow?: "hidden" | "visible" | "scroll";
|
|
44
|
-
opacity?: number;
|
|
45
|
-
};
|
|
28
|
+
props: StackElementProps;
|
|
46
29
|
children: UIElement[];
|
|
47
30
|
} | {
|
|
48
31
|
id: string;
|
|
49
32
|
name?: string;
|
|
50
33
|
type: "Text";
|
|
51
|
-
props:
|
|
52
|
-
content: string;
|
|
53
|
-
mode?: "plain" | "expression";
|
|
54
|
-
fontSize?: number;
|
|
55
|
-
fontWeight?: string;
|
|
56
|
-
fontFamily?: string;
|
|
57
|
-
color?: string;
|
|
58
|
-
textAlign?: "left" | "center" | "right";
|
|
59
|
-
letterSpacing?: number;
|
|
60
|
-
lineHeight?: number;
|
|
61
|
-
backgroundColor?: string;
|
|
62
|
-
padding?: number;
|
|
63
|
-
paddingHorizontal?: number;
|
|
64
|
-
paddingVertical?: number;
|
|
65
|
-
margin?: number;
|
|
66
|
-
marginHorizontal?: number;
|
|
67
|
-
marginVertical?: number;
|
|
68
|
-
borderWidth?: number;
|
|
69
|
-
borderRadius?: number;
|
|
70
|
-
borderColor?: string;
|
|
71
|
-
opacity?: number;
|
|
72
|
-
};
|
|
34
|
+
props: TextElementProps;
|
|
73
35
|
} | {
|
|
74
36
|
id: string;
|
|
75
37
|
name?: string;
|
|
76
38
|
type: "Image";
|
|
77
|
-
props:
|
|
78
|
-
url: string;
|
|
79
|
-
aspectRatio?: number;
|
|
80
|
-
resizeMode?: "cover" | "contain" | "stretch" | "center";
|
|
81
|
-
};
|
|
39
|
+
props: ImageElementProps;
|
|
82
40
|
} | {
|
|
83
41
|
id: string;
|
|
84
42
|
name?: string;
|
|
85
43
|
type: "Lottie";
|
|
86
|
-
props:
|
|
87
|
-
source: string;
|
|
88
|
-
autoPlay?: boolean;
|
|
89
|
-
loop?: boolean;
|
|
90
|
-
speed?: number;
|
|
91
|
-
};
|
|
44
|
+
props: LottieElementProps;
|
|
92
45
|
} | {
|
|
93
46
|
id: string;
|
|
94
47
|
name?: string;
|
|
95
48
|
type: "Rive";
|
|
96
|
-
props:
|
|
97
|
-
url: string;
|
|
98
|
-
autoplay?: boolean;
|
|
99
|
-
fit?: "Contain" | "Cover" | "Fill" | "FitWidth" | "FitHeight" | "None" | "ScaleDown" | "Layout";
|
|
100
|
-
alignment?: "TopLeft" | "TopCenter" | "TopRight" | "CenterLeft" | "Center" | "CenterRight" | "BottomLeft" | "BottomCenter" | "BottomRight";
|
|
101
|
-
artboardName?: string;
|
|
102
|
-
stateMachineName?: string;
|
|
103
|
-
};
|
|
49
|
+
props: RiveElementProps;
|
|
104
50
|
} | {
|
|
105
51
|
id: string;
|
|
106
52
|
name?: string;
|
|
107
53
|
type: "Icon";
|
|
108
|
-
props:
|
|
109
|
-
name: string;
|
|
110
|
-
size?: number;
|
|
111
|
-
color?: string;
|
|
112
|
-
strokeWidth?: number;
|
|
113
|
-
};
|
|
54
|
+
props: IconElementProps;
|
|
114
55
|
} | {
|
|
115
56
|
id: string;
|
|
116
57
|
name?: string;
|
|
117
58
|
type: "Video";
|
|
118
|
-
props:
|
|
119
|
-
url: string;
|
|
120
|
-
autoPlay?: boolean;
|
|
121
|
-
loop?: boolean;
|
|
122
|
-
muted?: boolean;
|
|
123
|
-
controls?: boolean;
|
|
124
|
-
};
|
|
59
|
+
props: VideoElementProps;
|
|
125
60
|
} | {
|
|
126
61
|
id: string;
|
|
127
62
|
name?: string;
|
|
128
63
|
type: "Input";
|
|
129
|
-
props:
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
editable?: boolean;
|
|
141
|
-
color?: string;
|
|
142
|
-
backgroundColor?: string;
|
|
143
|
-
fontSize?: number;
|
|
144
|
-
fontWeight?: string;
|
|
145
|
-
textAlign?: "left" | "center" | "right";
|
|
146
|
-
placeholderColor?: string;
|
|
147
|
-
};
|
|
64
|
+
props: InputElementProps;
|
|
65
|
+
} | {
|
|
66
|
+
id: string;
|
|
67
|
+
name?: string;
|
|
68
|
+
type: "Button";
|
|
69
|
+
props: ButtonElementProps;
|
|
70
|
+
} | {
|
|
71
|
+
id: string;
|
|
72
|
+
name?: string;
|
|
73
|
+
type: "RadioGroup";
|
|
74
|
+
props: RadioGroupElementProps;
|
|
148
75
|
};
|
|
149
76
|
export declare const UIElementSchema: z.ZodType<UIElement>;
|
|
150
77
|
export declare const ComposableScreenStepPayloadSchema: z.ZodObject<{
|
|
@@ -163,5 +90,4 @@ export declare const ComposableScreenStepTypeSchema: z.ZodObject<{
|
|
|
163
90
|
figmaUrl: z.ZodNullable<z.ZodString>;
|
|
164
91
|
}, z.core.$strip>;
|
|
165
92
|
export type ComposableScreenStepType = z.infer<typeof ComposableScreenStepTypeSchema>;
|
|
166
|
-
export {};
|
|
167
93
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/UI/Pages/ComposableScreen/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/UI/Pages/ComposableScreen/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,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,EAA2B,MAAM,yBAAyB,CAAC;AAC1F,OAAO,EAAE,KAAK,iBAAiB,EAA2B,MAAM,yBAAyB,CAAC;AAC1F,OAAO,EAAE,KAAK,kBAAkB,EAA4B,MAAM,0BAA0B,CAAC;AAC7F,OAAO,EAAE,KAAK,sBAAsB,EAAgC,MAAM,8BAA8B,CAAC;AAEzG,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,YAAY,EAAE,iBAAiB,EAAE,MAAM,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