@developer_tribe/react-builder 0.1.0 → 0.1.4

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.
Files changed (137) hide show
  1. package/dist/build-components/Button/Button.d.ts +2 -2
  2. package/dist/build-components/Carousel/Carousel.d.ts +2 -2
  3. package/dist/build-components/CarouselButtons/CarouselButtons.d.ts +2 -2
  4. package/dist/build-components/CarouselDots/CarouselDots.d.ts +2 -2
  5. package/dist/build-components/CarouselItem/CarouselItem.d.ts +2 -2
  6. package/dist/build-components/CarouselProvider/CarouselProvider.d.ts +2 -2
  7. package/dist/build-components/Image/Image.d.ts +2 -2
  8. package/dist/build-components/Onboard/Onboard.d.ts +2 -2
  9. package/dist/build-components/OnboardBoardTitle/OnboardBoardTitle.d.ts +2 -2
  10. package/dist/build-components/OnboardButton/OnboardButton.d.ts +2 -2
  11. package/dist/build-components/OnboardButtons/OnboardButtons.d.ts +2 -2
  12. package/dist/build-components/OnboardExpandingDot/OnboardExpandingDot.d.ts +2 -2
  13. package/dist/build-components/OnboardFooter/OnboardFooter.d.ts +2 -2
  14. package/dist/build-components/OnboardImage/OnboardImage.d.ts +2 -2
  15. package/dist/build-components/OnboardItem/OnboardItem.d.ts +2 -2
  16. package/dist/build-components/OnboardProvider/OnboardProvider.d.ts +2 -2
  17. package/dist/build-components/OnboardSubtitle/OnboardSubtitle.d.ts +2 -2
  18. package/dist/build-components/RenderNode.generated.d.ts +1 -1
  19. package/dist/build-components/Text/Text.d.ts +2 -2
  20. package/dist/build-components/View/View.d.ts +2 -2
  21. package/dist/build-components/other.d.ts +3 -0
  22. package/dist/utils/generateRandomKeyForNode.d.ts +1 -0
  23. package/package.json +12 -5
  24. package/scripts/prebuild/build-components.js +528 -0
  25. package/scripts/prebuild/prebuild.js +11 -0
  26. package/scripts/public/bin.js +57 -0
  27. package/scripts/public/scripts/build/index.js +31 -0
  28. package/scripts/public/scripts/build/info.json +11 -0
  29. package/scripts/public/scripts/build/utils/checkFolderAndFilesValid.js +41 -0
  30. package/scripts/public/scripts/build/utils/checkPathExists.js +9 -0
  31. package/scripts/public/scripts/build/utils/createMissingFoldersAndFiles.js +54 -0
  32. package/scripts/public/scripts/build/utils/createRenderNodeGenerated.js +82 -0
  33. package/scripts/public/scripts/build/utils/getAllComponents.js +11 -0
  34. package/src/AttributesEditor.tsx +107 -0
  35. package/src/RenderMainNode.tsx +37 -0
  36. package/src/RenderPage.tsx +61 -0
  37. package/src/assets/devices.json +730 -0
  38. package/src/assets/samples/carousel-sample.json +108 -0
  39. package/src/assets/samples/getSamples.ts +28 -0
  40. package/src/assets/samples/simple-1.json +46 -0
  41. package/src/assets/samples/simple-2.json +233 -0
  42. package/src/assets/samples/vpn-onboard-1.json +799 -0
  43. package/src/assets/samples/vpn-onboard-2.json +790 -0
  44. package/src/assets/samples/vpn-onboard-3.json +803 -0
  45. package/src/assets/samples/vpn-onboard-4.json +804 -0
  46. package/src/build-components/Button/Button.tsx +13 -0
  47. package/src/build-components/Button/ButtonProps.generated.ts +21 -0
  48. package/src/build-components/Button/pattern.json +25 -0
  49. package/src/build-components/Carousel/Carousel.tsx +27 -0
  50. package/src/build-components/Carousel/CarouselProps.generated.ts +6 -0
  51. package/src/build-components/Carousel/pattern.json +9 -0
  52. package/src/build-components/CarouselButtons/CarouselButtons.tsx +47 -0
  53. package/src/build-components/CarouselButtons/CarouselButtonsProps.generated.ts +9 -0
  54. package/src/build-components/CarouselButtons/pattern.json +12 -0
  55. package/src/build-components/CarouselDots/CarouselDots.tsx +40 -0
  56. package/src/build-components/CarouselDots/CarouselDotsProps.generated.ts +14 -0
  57. package/src/build-components/CarouselDots/pattern.json +18 -0
  58. package/src/build-components/CarouselItem/CarouselItem.tsx +18 -0
  59. package/src/build-components/CarouselItem/CarouselItemProps.generated.ts +6 -0
  60. package/src/build-components/CarouselItem/pattern.json +9 -0
  61. package/src/build-components/CarouselProvider/CarouselProvider.tsx +26 -0
  62. package/src/build-components/CarouselProvider/CarouselProviderProps.generated.ts +6 -0
  63. package/src/build-components/CarouselProvider/pattern.json +9 -0
  64. package/src/build-components/Image/Image.tsx +35 -0
  65. package/src/build-components/Image/ImageProps.generated.ts +12 -0
  66. package/src/build-components/Image/pattern.json +15 -0
  67. package/src/build-components/Onboard/Onboard.tsx +14 -0
  68. package/src/build-components/Onboard/OnboardProps.generated.ts +6 -0
  69. package/src/build-components/Onboard/pattern.json +9 -0
  70. package/src/build-components/OnboardBoardTitle/OnboardBoardTitle.tsx +28 -0
  71. package/src/build-components/OnboardBoardTitle/OnboardBoardTitleProps.generated.ts +21 -0
  72. package/src/build-components/OnboardBoardTitle/pattern.json +25 -0
  73. package/src/build-components/OnboardButton/OnboardButton.tsx +59 -0
  74. package/src/build-components/OnboardButton/OnboardButtonProps.generated.ts +13 -0
  75. package/src/build-components/OnboardButton/pattern.json +16 -0
  76. package/src/build-components/OnboardButtons/OnboardButtons.tsx +76 -0
  77. package/src/build-components/OnboardButtons/OnboardButtonsProps.generated.ts +12 -0
  78. package/src/build-components/OnboardButtons/pattern.json +15 -0
  79. package/src/build-components/OnboardExpandingDot/OnboardExpandingDot.tsx +14 -0
  80. package/src/build-components/OnboardExpandingDot/OnboardExpandingDotProps.generated.ts +14 -0
  81. package/src/build-components/OnboardExpandingDot/pattern.json +18 -0
  82. package/src/build-components/OnboardFooter/OnboardFooter.tsx +13 -0
  83. package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +24 -0
  84. package/src/build-components/OnboardFooter/pattern.json +28 -0
  85. package/src/build-components/OnboardImage/OnboardImage.tsx +14 -0
  86. package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +12 -0
  87. package/src/build-components/OnboardImage/pattern.json +15 -0
  88. package/src/build-components/OnboardItem/OnboardItem.tsx +29 -0
  89. package/src/build-components/OnboardItem/OnboardItemProps.generated.ts +6 -0
  90. package/src/build-components/OnboardItem/pattern.json +9 -0
  91. package/src/build-components/OnboardProvider/OnboardProvider.tsx +65 -0
  92. package/src/build-components/OnboardProvider/OnboardProviderProps.generated.ts +6 -0
  93. package/src/build-components/OnboardProvider/pattern.json +9 -0
  94. package/src/build-components/OnboardSubtitle/OnboardSubtitle.tsx +28 -0
  95. package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +21 -0
  96. package/src/build-components/OnboardSubtitle/pattern.json +25 -0
  97. package/src/build-components/RenderNode.generated.tsx +97 -0
  98. package/src/build-components/Text/Text.tsx +23 -0
  99. package/src/build-components/Text/TextProps.generated.ts +21 -0
  100. package/src/build-components/Text/pattern.json +26 -0
  101. package/src/build-components/View/View.tsx +62 -0
  102. package/src/build-components/View/ViewProps.generated.ts +24 -0
  103. package/src/build-components/View/pattern.json +28 -0
  104. package/src/build-components/other.ts +6 -0
  105. package/src/index.ts +24 -0
  106. package/src/styles/index.scss +114 -0
  107. package/src/types/Device.ts +12 -0
  108. package/src/types/Node.ts +19 -0
  109. package/src/types/PreviewConfig.ts +19 -0
  110. package/src/types/Project.ts +11 -0
  111. package/src/types/TargetedScreenSize.ts +4 -0
  112. package/src/utils/analyseNode.ts +77 -0
  113. package/src/utils/generateRandomKeyForNode.ts +3 -0
  114. package/src/utils/getDevices.ts +6 -0
  115. package/src/utils/isCarousel.ts +36 -0
  116. package/src/utils/isOnboard.ts +54 -0
  117. package/src/utils/novaToJson.ts +253 -0
  118. package/src/utils/patterns.ts +63 -0
  119. package/dist/build-components/Button/ButtonProps.d.ts +0 -3
  120. package/dist/build-components/Carousel/CarouselProps.d.ts +0 -3
  121. package/dist/build-components/CarouselButtons/CarouselButtonsProps.d.ts +0 -3
  122. package/dist/build-components/CarouselDots/CarouselDotsProps.d.ts +0 -3
  123. package/dist/build-components/CarouselItem/CarouselItemProps.d.ts +0 -3
  124. package/dist/build-components/CarouselProvider/CarouselProviderProps.d.ts +0 -3
  125. package/dist/build-components/Image/ImageProps.d.ts +0 -3
  126. package/dist/build-components/Onboard/OnboardProps.d.ts +0 -3
  127. package/dist/build-components/OnboardBoardTitle/OnboardBoardTitleProps.d.ts +0 -3
  128. package/dist/build-components/OnboardButton/OnboardButtonProps.d.ts +0 -3
  129. package/dist/build-components/OnboardButtons/OnboardButtonsProps.d.ts +0 -3
  130. package/dist/build-components/OnboardExpandingDot/OnboardExpandingDotProps.d.ts +0 -3
  131. package/dist/build-components/OnboardFooter/OnboardFooterProps.d.ts +0 -3
  132. package/dist/build-components/OnboardImage/OnboardImageProps.d.ts +0 -3
  133. package/dist/build-components/OnboardItem/OnboardItemProps.d.ts +0 -3
  134. package/dist/build-components/OnboardProvider/OnboardProviderProps.d.ts +0 -3
  135. package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.d.ts +0 -3
  136. package/dist/build-components/Text/TextProps.d.ts +0 -3
  137. package/dist/build-components/View/ViewProps.d.ts +0 -3
@@ -0,0 +1,799 @@
1
+ {
2
+ "name": "vpn-onboard-1 (legacy)",
3
+ "version": "0.0.0",
4
+ "previewConfig": {
5
+ "theme": "dark",
6
+ "screenSize": { "width": 375, "height": 812 },
7
+ "isRtl": false,
8
+ "screenStyle": {
9
+ "light": { "backgroundColor": "#FDFDFD", "color": "#161827" },
10
+ "dark": { "backgroundColor": "#12131A", "color": "#E9EBF9" }
11
+ },
12
+ "localication": {
13
+ "en": {
14
+ "onboard.title.one-page": "Secure your connection",
15
+ "onboard.title.two-page": "Access content worldwide",
16
+ "onboard.title.three-page": "Fast and reliable",
17
+ "onboard.title.four-page": "Stay notified and safe",
18
+
19
+ "onboard.subtitle.one-page": "Encrypt your traffic and protect your privacy on public Wi‑Fi.",
20
+ "onboard.subtitle.two-page": "Connect to high‑speed servers in many countries with one tap.",
21
+ "onboard.subtitle.three-page": "Auto‑connect to the best server for speed and stability.",
22
+ "onboard.subtitle.four-page": "Enable notifications for connection status and security tips.",
23
+ "onboard.next.one-page": "Next",
24
+ "onboard.next.two-page": "Next",
25
+ "onboard.next.three-page": "Next",
26
+ "onboard.skip.one-page": "Skip",
27
+ "onboard.skip.two-page": "Skip",
28
+ "onboard.skip.three-page": "Skip",
29
+ "onboard.allow.four-page": "Allow",
30
+
31
+ "view.onboarding.footer.description": "By clicking continue, you will be accepting the Terms of service and privacy policy",
32
+ "view.onboarding.btnPrivacy": "Privacy Policy",
33
+ "view.onboarding.btnTerms": "Terms of Service"
34
+ },
35
+ "ar": {
36
+ "onboard.title.one-page": "أمّن اتصالك",
37
+ "onboard.title.two-page": "وصول إلى المحتوى حول العالم",
38
+ "onboard.title.three-page": "سرعة واعتمادية",
39
+ "onboard.title.four-page": "إشعارات وحماية دائمة",
40
+
41
+ "onboard.subtitle.one-page": "قم بتشفير حركة المرور وحماية خصوصيتك على شبكات Wi‑Fi العامة.",
42
+ "onboard.subtitle.two-page": "اتصل بخوادم عالية السرعة في بلدان متعددة بضغطة واحدة.",
43
+ "onboard.subtitle.three-page": "يتصل التطبيق تلقائياً بأفضل خادم لسرعة وثبات أعلى.",
44
+ "onboard.subtitle.four-page": "فعّل الإشعارات لمعرفة حالة الاتصال والحصول على نصائح الأمان.",
45
+
46
+ "onboard.next.one-page": "التالي",
47
+ "onboard.next.two-page": "التالي",
48
+ "onboard.next.three-page": "التالي",
49
+ "onboard.skip.one-page": "تخطي",
50
+ "onboard.skip.two-page": "تخطي",
51
+ "onboard.skip.three-page": "تخطي",
52
+ "onboard.allow.four-page": "السماح",
53
+
54
+ "view.onboarding.footer.description": "بالمتابعة، فإنك توافق على",
55
+ "view.onboarding.btnPrivacy": "سياسة الخصوصية",
56
+ "view.onboarding.btnTerms": "شروط الخدمة"
57
+ }
58
+ },
59
+ "defaultLanguage": "en"
60
+ },
61
+ "data": {
62
+ "name": "Dark TextCall Onboard",
63
+ "key": "app_onboard",
64
+ "theme": "dark",
65
+ "order": 1,
66
+ "data": {
67
+ "layout": "onboard-layout",
68
+ "key": "c92tR8J5wbTb3fav",
69
+ "attributes": {
70
+ "use_safe_area_inset": true,
71
+ "general_components": [
72
+ {
73
+ "layout": "dots-layout",
74
+ "key": "cfVlTs4XoBH6eHhy",
75
+ "attributes": {
76
+ "position": "before_buttons",
77
+ "dots_type": "Dots Type Info",
78
+ "dot": [
79
+ {
80
+ "layout": "expanding_dot",
81
+ "key": "c9BoiuHQQ8yWnnrH",
82
+ "attributes": {
83
+ "inactive_dot_opacity": null,
84
+ "expanding_dot_width": "20",
85
+ "dot_style": null,
86
+ "container_style": null,
87
+ "active_dot_color": "#007AFF"
88
+ }
89
+ }
90
+ ],
91
+ "styles": []
92
+ }
93
+ },
94
+ {
95
+ "layout": "footer-layout",
96
+ "key": "c1yg0ajCz15VwbXO",
97
+ "attributes": {
98
+ "texts": [
99
+ {
100
+ "layout": "Text",
101
+ "key": "cUEOEGlJHu98Bm4M",
102
+ "attributes": {
103
+ "text_localization_key": "view.onboarding.footer.description",
104
+ "text_color": "#A2A4B1",
105
+ "width": null,
106
+ "linkedwords": [
107
+ {
108
+ "layout": "LinkedWords",
109
+ "key": "clmIqcwqLbpf5lIC",
110
+ "attributes": {
111
+ "linked_word_localization_key": "view.onboarding.btnPrivacy",
112
+ "linked_word_color": "#1778F2",
113
+ "page": "privacy"
114
+ }
115
+ },
116
+ {
117
+ "layout": "LinkedWords",
118
+ "key": "cR2iFjXZv6aKSipt",
119
+ "attributes": {
120
+ "linked_word_localization_key": "view.onboarding.btnTerms",
121
+ "linked_word_color": "#1778F2",
122
+ "page": "terms"
123
+ }
124
+ }
125
+ ],
126
+ "styles": []
127
+ }
128
+ }
129
+ ]
130
+ }
131
+ }
132
+ ],
133
+ "data": [
134
+ {
135
+ "layout": "simple-onboard-layout",
136
+ "key": "ctJKE0JpoyY2U2py",
137
+ "attributes": {
138
+ "key": "app_onboard-page1",
139
+ "components": [
140
+ {
141
+ "layout": "title-layout",
142
+ "key": "czW0y11EJ3Gh2zzu",
143
+ "attributes": {
144
+ "title_localization_key": "onboard.title.one-page",
145
+ "title_color": "#FDFDFD",
146
+ "coloredwords": [],
147
+ "styles": [
148
+ {
149
+ "layout": "style-layout",
150
+ "key": "cFtkJ7cGjlbh0Onm",
151
+ "attributes": {
152
+ "styles": [
153
+ {
154
+ "layout": "Styles",
155
+ "key": "cRfjSLASNf4EfmRk",
156
+ "attributes": {
157
+ "type": "textStyle",
158
+ "style": {
159
+ "textAlign": "center",
160
+ "marginTop": 40
161
+ }
162
+ }
163
+ }
164
+ ]
165
+ }
166
+ }
167
+ ],
168
+ "number_of_lines": "2",
169
+ "adapty_font_size": "1",
170
+ "adaptive_font_size": false
171
+ }
172
+ },
173
+ {
174
+ "layout": "image-layout",
175
+ "key": "ccaPDeW3TvadGknh",
176
+ "attributes": {
177
+ "is_bg_image": false,
178
+ "height": "350",
179
+ "styles": [],
180
+ "android_height": "350",
181
+ "ios_height": "350",
182
+ "image": "https://textcall-dev.s3.amazonaws.com/onboard/high/6c89e0da17a2d6fe2997e97a2b8a00a1.png"
183
+ }
184
+ },
185
+ {
186
+ "layout": "subtitle-layout",
187
+ "key": "cS8AJFtYl83g6N7l",
188
+ "attributes": {
189
+ "subtitle_localization_key": "onboard.subtitle.one-page",
190
+ "subtitle_color": "#C7C7C7",
191
+ "subtitle_font": null,
192
+ "styles": [
193
+ {
194
+ "layout": "style-layout",
195
+ "key": "cfxys3dqXXQIoWib",
196
+ "attributes": {
197
+ "styles": [
198
+ {
199
+ "layout": "Styles",
200
+ "key": "cdqzVzWecbtQHHOZ",
201
+ "attributes": {
202
+ "type": "textStyle",
203
+ "style": {
204
+ "textAlign": "center",
205
+ "fontSize": 16
206
+ }
207
+ }
208
+ }
209
+ ]
210
+ }
211
+ }
212
+ ]
213
+ }
214
+ },
215
+ {
216
+ "layout": "Buttons",
217
+ "key": "cADNBYmKZhuqHDe3",
218
+ "attributes": {
219
+ "buttons_direction": "row",
220
+ "buttons": [
221
+ {
222
+ "layout": "skip-button-layout",
223
+ "key": "cvgeWjSVK9714zE4",
224
+ "attributes": {
225
+ "flex": "1",
226
+ "button_text_localization_key": "onboard.skip.one-page",
227
+ "button_text_color": "#A9AAAC",
228
+ "is_transparant_bg": false,
229
+ "button_background_color": "#ffffff00",
230
+ "actions": [
231
+ {
232
+ "layout": "action-layout",
233
+ "key": "cYbS4tQuDbqRjJP6",
234
+ "attributes": {
235
+ "events": [
236
+ {
237
+ "layout": "Navigate",
238
+ "key": "cnwVlRVwR2Oa37Wa",
239
+ "attributes": {
240
+ "next_page_key": "app_onboard-page4",
241
+ "if_allowed_this_permissions": null,
242
+ "if_not_allowed_this_permissions": null,
243
+ "navigate_backward": null,
244
+ "close_button_delay": null
245
+ }
246
+ }
247
+ ]
248
+ }
249
+ }
250
+ ],
251
+ "styles": [],
252
+ "animation": null,
253
+ "animation_color": null
254
+ }
255
+ },
256
+ {
257
+ "layout": "button-layout",
258
+ "key": "cO7EfoP6WnwCbZFN",
259
+ "attributes": {
260
+ "show_text": true,
261
+ "button_text_localization_key": "onboard.next.one-page",
262
+ "is_passive_button": false,
263
+ "flex": "1",
264
+ "button_text_color": "#FFFFFF",
265
+ "button_background_color": "#0066FF",
266
+ "show_icon": false,
267
+ "icons": [],
268
+ "actions": [
269
+ {
270
+ "layout": "action-layout",
271
+ "key": "cLDTXbDjepmRilZP",
272
+ "attributes": {
273
+ "events": [
274
+ {
275
+ "layout": "Navigate",
276
+ "key": "cVe34D6lvpt6jfkc",
277
+ "attributes": {
278
+ "next_page_key": "app_onboard-page2",
279
+ "if_allowed_this_permissions": null,
280
+ "if_not_allowed_this_permissions": null,
281
+ "navigate_backward": null,
282
+ "close_button_delay": null
283
+ }
284
+ }
285
+ ]
286
+ }
287
+ }
288
+ ],
289
+ "styles": [],
290
+ "animation": null,
291
+ "animation_color": null
292
+ }
293
+ }
294
+ ]
295
+ }
296
+ }
297
+ ],
298
+ "min_android_version": null
299
+ }
300
+ },
301
+ {
302
+ "layout": "simple-onboard-layout",
303
+ "key": "cJ5P9VObBmpapdIz",
304
+ "attributes": {
305
+ "key": "app_onboard-page2",
306
+ "components": [
307
+ {
308
+ "layout": "title-layout",
309
+ "key": "cWaHDeqd8N5LpAdr",
310
+ "attributes": {
311
+ "title_localization_key": "onboard.title.two-page",
312
+ "title_color": "#FDFDFD",
313
+ "coloredwords": [],
314
+ "styles": [
315
+ {
316
+ "layout": "style-layout",
317
+ "key": "c5n7fUy2koZD1iY5",
318
+ "attributes": {
319
+ "styles": [
320
+ {
321
+ "layout": "Styles",
322
+ "key": "c7uK89glQz4MHrZc",
323
+ "attributes": {
324
+ "type": "textStyle",
325
+ "style": {
326
+ "textAlign": "center",
327
+ "marginTop": 40
328
+ }
329
+ }
330
+ }
331
+ ]
332
+ }
333
+ }
334
+ ],
335
+ "number_of_lines": "2",
336
+ "adapty_font_size": "1",
337
+ "adaptive_font_size": false
338
+ }
339
+ },
340
+ {
341
+ "layout": "image-layout",
342
+ "key": "czvCm7FXp4sQrlBi",
343
+ "attributes": {
344
+ "is_bg_image": false,
345
+ "height": "350",
346
+ "styles": [],
347
+ "android_height": "350",
348
+ "ios_height": "350",
349
+ "image": "https://textcall-dev.s3.amazonaws.com/onboard/high/497a627b30ab4a0daaafa3d648a26b07.png"
350
+ }
351
+ },
352
+ {
353
+ "layout": "subtitle-layout",
354
+ "key": "cJO33EgsbvxZVV57",
355
+ "attributes": {
356
+ "subtitle_localization_key": "onboard.subtitle.two-page",
357
+ "subtitle_color": "#C7C7C7",
358
+ "subtitle_font": null,
359
+ "styles": [
360
+ {
361
+ "layout": "style-layout",
362
+ "key": "cKZLIPtywsfi5Mbz",
363
+ "attributes": {
364
+ "styles": [
365
+ {
366
+ "layout": "Styles",
367
+ "key": "cce8Yv695FQgSOIH",
368
+ "attributes": {
369
+ "type": "textStyle",
370
+ "style": {
371
+ "textAlign": "center",
372
+ "fontSize": 16
373
+ }
374
+ }
375
+ }
376
+ ]
377
+ }
378
+ }
379
+ ]
380
+ }
381
+ },
382
+ {
383
+ "layout": "Buttons",
384
+ "key": "cR43NhA7k4XN4bFU",
385
+ "attributes": {
386
+ "buttons_direction": "row",
387
+ "buttons": [
388
+ {
389
+ "layout": "skip-button-layout",
390
+ "key": "cZbvXpcCDBzCy4xq",
391
+ "attributes": {
392
+ "flex": "1",
393
+ "button_text_localization_key": "onboard.skip.two-page",
394
+ "button_text_color": "#A9AAAC",
395
+ "is_transparant_bg": false,
396
+ "button_background_color": "#ffffff00",
397
+ "actions": [
398
+ {
399
+ "layout": "action-layout",
400
+ "key": "cOweHSx9FF1rKmXE",
401
+ "attributes": {
402
+ "events": [
403
+ {
404
+ "layout": "Permission",
405
+ "key": "cfnK7ww1nyzVLquV",
406
+ "attributes": {
407
+ "permission": "att"
408
+ }
409
+ },
410
+ {
411
+ "layout": "Navigate",
412
+ "key": "cdQXhjSGC97aDV5Q",
413
+ "attributes": {
414
+ "next_page_key": "app_onboard-page4",
415
+ "if_allowed_this_permissions": null,
416
+ "if_not_allowed_this_permissions": null,
417
+ "navigate_backward": null,
418
+ "close_button_delay": null
419
+ }
420
+ }
421
+ ]
422
+ }
423
+ }
424
+ ],
425
+ "styles": [],
426
+ "animation": null,
427
+ "animation_color": null
428
+ }
429
+ },
430
+ {
431
+ "layout": "button-layout",
432
+ "key": "cP3ZMgA0DgYBMTjH",
433
+ "attributes": {
434
+ "show_text": true,
435
+ "button_text_localization_key": "onboard.next.two-page",
436
+ "is_passive_button": false,
437
+ "flex": "1",
438
+ "button_text_color": "#FFFFFF",
439
+ "button_background_color": "#0066FF",
440
+ "show_icon": false,
441
+ "icons": [],
442
+ "actions": [
443
+ {
444
+ "layout": "action-layout",
445
+ "key": "c5ud1yXzSHQOl99m",
446
+ "attributes": {
447
+ "events": [
448
+ {
449
+ "layout": "Permission",
450
+ "key": "caWvIjHlpzkWsSkU",
451
+ "attributes": {
452
+ "permission": "att"
453
+ }
454
+ },
455
+ {
456
+ "layout": "Navigate",
457
+ "key": "cqCP16bRc8OrVYnj",
458
+ "attributes": {
459
+ "next_page_key": "app_onboard-page3",
460
+ "if_allowed_this_permissions": null,
461
+ "if_not_allowed_this_permissions": null,
462
+ "navigate_backward": null,
463
+ "close_button_delay": null
464
+ }
465
+ }
466
+ ]
467
+ }
468
+ }
469
+ ],
470
+ "styles": [],
471
+ "animation": null,
472
+ "animation_color": null
473
+ }
474
+ }
475
+ ]
476
+ }
477
+ }
478
+ ],
479
+ "min_android_version": null
480
+ }
481
+ },
482
+ {
483
+ "layout": "simple-onboard-layout",
484
+ "key": "cxNW3BfLJV7m1Rwb",
485
+ "attributes": {
486
+ "key": "app_onboard-page3",
487
+ "components": [
488
+ {
489
+ "layout": "title-layout",
490
+ "key": "c4jWJqatyNrpRDv5",
491
+ "attributes": {
492
+ "title_localization_key": "onboard.title.three-page",
493
+ "title_color": "#FDFDFD",
494
+ "coloredwords": [],
495
+ "styles": [
496
+ {
497
+ "layout": "style-layout",
498
+ "key": "cyxWxkO4H6GcLGpV",
499
+ "attributes": {
500
+ "styles": [
501
+ {
502
+ "layout": "Styles",
503
+ "key": "c2EQHxoKIHqE6usb",
504
+ "attributes": {
505
+ "type": "textStyle",
506
+ "style": {
507
+ "textAlign": "center",
508
+ "marginTop": 40
509
+ }
510
+ }
511
+ }
512
+ ]
513
+ }
514
+ }
515
+ ],
516
+ "number_of_lines": "2",
517
+ "adapty_font_size": "1",
518
+ "adaptive_font_size": false
519
+ }
520
+ },
521
+ {
522
+ "layout": "image-layout",
523
+ "key": "cQPrCUhAFzzvZvFL",
524
+ "attributes": {
525
+ "is_bg_image": false,
526
+ "height": "350",
527
+ "styles": [],
528
+ "android_height": "350",
529
+ "ios_height": "350",
530
+ "image": "https://textcall-dev.s3.amazonaws.com/onboard/high/6e2bc370d38695f6845007fd302034c2.png"
531
+ }
532
+ },
533
+ {
534
+ "layout": "subtitle-layout",
535
+ "key": "c845kgEFTytoeb5n",
536
+ "attributes": {
537
+ "subtitle_localization_key": "onboard.subtitle.three-page",
538
+ "subtitle_color": "#C7C7C7",
539
+ "subtitle_font": null,
540
+ "styles": [
541
+ {
542
+ "layout": "style-layout",
543
+ "key": "c8I866TChSrcTxLA",
544
+ "attributes": {
545
+ "styles": [
546
+ {
547
+ "layout": "Styles",
548
+ "key": "cPi4CsGpMpnyl1Qo",
549
+ "attributes": {
550
+ "type": "textStyle",
551
+ "style": {
552
+ "textAlign": "center",
553
+ "fontSize": 16
554
+ }
555
+ }
556
+ }
557
+ ]
558
+ }
559
+ }
560
+ ]
561
+ }
562
+ },
563
+ {
564
+ "layout": "Buttons",
565
+ "key": "cHRet3F1pMbLLv4e",
566
+ "attributes": {
567
+ "buttons_direction": "row",
568
+ "buttons": [
569
+ {
570
+ "layout": "skip-button-layout",
571
+ "key": "cPjaITcYuN3jYXaz",
572
+ "attributes": {
573
+ "flex": "1",
574
+ "button_text_localization_key": "onboard.skip.three-page",
575
+ "button_text_color": "#A9AAAC",
576
+ "is_transparant_bg": false,
577
+ "button_background_color": "#ffffff00",
578
+ "actions": [
579
+ {
580
+ "layout": "action-layout",
581
+ "key": "cwHy3RdNIAhrdyk9",
582
+ "attributes": {
583
+ "events": [
584
+ {
585
+ "layout": "Navigate",
586
+ "key": "c9tQ5JwLNEl4m6iE",
587
+ "attributes": {
588
+ "next_page_key": "app_onboard-page4",
589
+ "if_allowed_this_permissions": null,
590
+ "if_not_allowed_this_permissions": null,
591
+ "navigate_backward": null,
592
+ "close_button_delay": null
593
+ }
594
+ }
595
+ ]
596
+ }
597
+ }
598
+ ],
599
+ "styles": [],
600
+ "animation": null,
601
+ "animation_color": null
602
+ }
603
+ },
604
+ {
605
+ "layout": "button-layout",
606
+ "key": "calWhCnS7bVqDLSm",
607
+ "attributes": {
608
+ "show_text": true,
609
+ "button_text_localization_key": "onboard.next.three-page",
610
+ "is_passive_button": false,
611
+ "flex": "1",
612
+ "button_text_color": "#FFFFFF",
613
+ "button_background_color": "#0066FF",
614
+ "show_icon": false,
615
+ "icons": [],
616
+ "actions": [
617
+ {
618
+ "layout": "action-layout",
619
+ "key": "c5WDaaMMyzF6wbMw",
620
+ "attributes": {
621
+ "events": [
622
+ {
623
+ "layout": "Permission",
624
+ "key": "czWoimoKrntcpPMu",
625
+ "attributes": {
626
+ "permission": "rating"
627
+ }
628
+ },
629
+ {
630
+ "layout": "Navigate",
631
+ "key": "csga6VsmtRL4dJoH",
632
+ "attributes": {
633
+ "next_page_key": "app_onboard-page4",
634
+ "if_allowed_this_permissions": null,
635
+ "if_not_allowed_this_permissions": null,
636
+ "navigate_backward": null,
637
+ "close_button_delay": null
638
+ }
639
+ }
640
+ ]
641
+ }
642
+ }
643
+ ],
644
+ "styles": [],
645
+ "animation": null,
646
+ "animation_color": null
647
+ }
648
+ }
649
+ ]
650
+ }
651
+ }
652
+ ],
653
+ "min_android_version": null
654
+ }
655
+ },
656
+ {
657
+ "layout": "simple-onboard-layout",
658
+ "key": "c6OPQRoj7nIYq8qP",
659
+ "attributes": {
660
+ "key": "app_onboard-page4",
661
+ "components": [
662
+ {
663
+ "layout": "title-layout",
664
+ "key": "cY7hE2QfCFUpAvIr",
665
+ "attributes": {
666
+ "title_localization_key": "onboard.title.four-page",
667
+ "title_color": "#FDFDFD",
668
+ "coloredwords": [],
669
+ "styles": [
670
+ {
671
+ "layout": "style-layout",
672
+ "key": "ch0psI5S3gY93lkS",
673
+ "attributes": {
674
+ "styles": [
675
+ {
676
+ "layout": "Styles",
677
+ "key": "ci8SBK0k6Ox0cAY4",
678
+ "attributes": {
679
+ "type": "textStyle",
680
+ "style": {
681
+ "textAlign": "center",
682
+ "marginTop": 40
683
+ }
684
+ }
685
+ }
686
+ ]
687
+ }
688
+ }
689
+ ],
690
+ "number_of_lines": "2",
691
+ "adapty_font_size": "1",
692
+ "adaptive_font_size": false
693
+ }
694
+ },
695
+ {
696
+ "layout": "image-layout",
697
+ "key": "cyzRYhHdmYpSZKWz",
698
+ "attributes": {
699
+ "is_bg_image": false,
700
+ "height": "350",
701
+ "styles": [],
702
+ "android_height": "350",
703
+ "ios_height": "350",
704
+ "image": "https://textcall-dev.s3.amazonaws.com/onboard/high/b6e978fe3362e857212163486c22cc7c.png"
705
+ }
706
+ },
707
+ {
708
+ "layout": "subtitle-layout",
709
+ "key": "cEtGSW5s89pVPO3p",
710
+ "attributes": {
711
+ "subtitle_localization_key": "onboard.subtitle.four-page",
712
+ "subtitle_color": "#C7C7C7",
713
+ "subtitle_font": null,
714
+ "styles": [
715
+ {
716
+ "layout": "style-layout",
717
+ "key": "c7q1e8klEqvuTib2",
718
+ "attributes": {
719
+ "styles": [
720
+ {
721
+ "layout": "Styles",
722
+ "key": "cRoSg4908XkN9tLr",
723
+ "attributes": {
724
+ "type": "textStyle",
725
+ "style": {
726
+ "textAlign": "center",
727
+ "fontSize": 16
728
+ }
729
+ }
730
+ }
731
+ ]
732
+ }
733
+ }
734
+ ]
735
+ }
736
+ },
737
+ {
738
+ "layout": "Buttons",
739
+ "key": "cFOXUx3qf7wvRQPK",
740
+ "attributes": {
741
+ "buttons_direction": "row",
742
+ "buttons": [
743
+ {
744
+ "layout": "button-layout",
745
+ "key": "cILIurDiN8C6Nk9t",
746
+ "attributes": {
747
+ "show_text": true,
748
+ "button_text_localization_key": "onboard.allow.four-page",
749
+ "is_passive_button": false,
750
+ "flex": "1",
751
+ "button_text_color": "#FFFFFF",
752
+ "button_background_color": "#0066FF",
753
+ "show_icon": false,
754
+ "icons": [],
755
+ "actions": [
756
+ {
757
+ "layout": "action-layout",
758
+ "key": "cPkTX9lI025TuA2d",
759
+ "attributes": {
760
+ "events": [
761
+ {
762
+ "layout": "Permission",
763
+ "key": "cenFPRHcA87TmbkC",
764
+ "attributes": {
765
+ "permission": "notification"
766
+ }
767
+ },
768
+ {
769
+ "layout": "Navigate",
770
+ "key": "c0ZQIOWZ81XjaWmA",
771
+ "attributes": {
772
+ "next_page_key": "home",
773
+ "if_allowed_this_permissions": null,
774
+ "if_not_allowed_this_permissions": null,
775
+ "navigate_backward": null,
776
+ "close_button_delay": null
777
+ }
778
+ }
779
+ ]
780
+ }
781
+ }
782
+ ],
783
+ "styles": [],
784
+ "animation": null,
785
+ "animation_color": null
786
+ }
787
+ }
788
+ ]
789
+ }
790
+ }
791
+ ],
792
+ "min_android_version": null
793
+ }
794
+ }
795
+ ]
796
+ }
797
+ }
798
+ }
799
+ }