@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,790 @@
1
+ {
2
+ "name": "vpn-onboard-2 (legacy)",
3
+ "version": "0.0.0",
4
+ "previewConfig": {
5
+ "theme": "light",
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": "One Page",
15
+ "onboard.title.two-page": "Two Page",
16
+ "onboard.title.three-page": "Three Page",
17
+ "onboard.title.four-page": "Four Page",
18
+ "onboard.subtitle.one-page": "One Page",
19
+ "onboard.subtitle.two-page": "Two Page",
20
+ "onboard.subtitle.three-page": "Three Page",
21
+ "onboard.subtitle.four-page": "Four Page",
22
+ "onboard.next.one-page": "Next",
23
+ "onboard.next.two-page": "Next",
24
+ "onboard.next.three-page": "Next",
25
+ "onboard.skip.one-page": "Skip",
26
+ "onboard.skip.two-page": "Skip",
27
+ "onboard.skip.three-page": "Skip",
28
+ "onboard.allow.four-page": "Allow",
29
+ "view.onboarding.footer.description": "By clicking continue, you will be accepting the Terms of service and privacy policy",
30
+ "view.onboarding.btnPrivacy": "Privacy",
31
+ "view.onboarding.btnTerms": "Terms"
32
+ },
33
+ "ar": {
34
+ "onboard.title.one-page": " العربية",
35
+ "onboard.title.two-page": " العربية",
36
+ "onboard.title.three-page": " العربية",
37
+ "onboard.title.four-page": " العربية",
38
+ "onboard.subtitle.one-page": " العربية",
39
+ "onboard.subtitle.two-page": " العربية",
40
+ "onboard.subtitle.three-page": " العربية",
41
+ "onboard.subtitle.four-page": " العربية",
42
+ "onboard.next.one-page": "التالي",
43
+ "onboard.next.two-page": "التالي",
44
+ "onboard.next.three-page": "التالي",
45
+ "onboard.skip.one-page": "تخطي",
46
+ "onboard.skip.two-page": "تخطي",
47
+ "onboard.skip.three-page": "تخطي",
48
+ "onboard.allow.four-page": "السماح",
49
+ "view.onboarding.footer.description": "بالمتابعة فإنك توافق على",
50
+ "view.onboarding.btnPrivacy": "الخصوصية",
51
+ "view.onboarding.btnTerms": "الشروط"
52
+ }
53
+ },
54
+ "defaultLanguage": "en"
55
+ },
56
+ "data": {
57
+ "name": "Light TextCall Onboard",
58
+ "key": "app_onboard",
59
+ "theme": "light",
60
+ "order": 3,
61
+ "data": {
62
+ "layout": "onboard-layout",
63
+ "key": "ckcw0WXRY8sNR2SF",
64
+ "attributes": {
65
+ "use_safe_area_inset": true,
66
+ "general_components": [
67
+ {
68
+ "layout": "dots-layout",
69
+ "key": "cGCRrFJjSzYghZ4Q",
70
+ "attributes": {
71
+ "position": "before_buttons",
72
+ "dots_type": "Dots Type Info",
73
+ "dot": [
74
+ {
75
+ "layout": "expanding_dot",
76
+ "key": "cDpkxR1j6ooHGrU9",
77
+ "attributes": {
78
+ "inactive_dot_opacity": null,
79
+ "expanding_dot_width": "20",
80
+ "dot_style": null,
81
+ "container_style": null,
82
+ "active_dot_color": "#007AFF"
83
+ }
84
+ }
85
+ ],
86
+ "styles": []
87
+ }
88
+ },
89
+ {
90
+ "layout": "footer-layout",
91
+ "key": "cqkMhW1f0q0tDK1r",
92
+ "attributes": {
93
+ "texts": [
94
+ {
95
+ "layout": "Text",
96
+ "key": "cAxC6cU3U9i1jxTq",
97
+ "attributes": {
98
+ "text_localization_key": "view.onboarding.footer.description",
99
+ "text_color": "#A2A4B1",
100
+ "width": null,
101
+ "linkedwords": [
102
+ {
103
+ "layout": "LinkedWords",
104
+ "key": "cLISLCL0ybiWxpze",
105
+ "attributes": {
106
+ "linked_word_localization_key": "view.onboarding.btnPrivacy",
107
+ "linked_word_color": "#1778F2",
108
+ "page": "privacy"
109
+ }
110
+ },
111
+ {
112
+ "layout": "LinkedWords",
113
+ "key": "ccsI2OTvUzQJLo6g",
114
+ "attributes": {
115
+ "linked_word_localization_key": "view.onboarding.btnTerms",
116
+ "linked_word_color": "#1778F2",
117
+ "page": "terms"
118
+ }
119
+ }
120
+ ],
121
+ "styles": []
122
+ }
123
+ }
124
+ ]
125
+ }
126
+ }
127
+ ],
128
+ "data": [
129
+ {
130
+ "layout": "simple-onboard-layout",
131
+ "key": "cFxlMJ99IXCFJfba",
132
+ "attributes": {
133
+ "key": "app_onboard-page1",
134
+ "min_android_version": null,
135
+ "components": [
136
+ {
137
+ "layout": "title-layout",
138
+ "key": "cEgDUYy0F2959VoY",
139
+ "attributes": {
140
+ "title_localization_key": "onboard.title.one-page",
141
+ "number_of_lines": "2",
142
+ "adaptive_font_size": false,
143
+ "title_color": "#12131A",
144
+ "coloredwords": [],
145
+ "styles": [
146
+ {
147
+ "layout": "style-layout",
148
+ "key": "cIflKK6zz4926DQA",
149
+ "attributes": {
150
+ "styles": [
151
+ {
152
+ "layout": "Styles",
153
+ "key": "cXGRCly7sTM1wPXp",
154
+ "attributes": {
155
+ "type": "textStyle",
156
+ "style": {
157
+ "textAlign": "center",
158
+ "marginTop": 40
159
+ }
160
+ }
161
+ }
162
+ ]
163
+ }
164
+ }
165
+ ]
166
+ }
167
+ },
168
+ {
169
+ "layout": "image-layout",
170
+ "key": "cd3LFLBcjBfEz90D",
171
+ "attributes": {
172
+ "is_bg_image": false,
173
+ "height": "350",
174
+ "android_height": "350",
175
+ "ios_height": "350",
176
+ "styles": [],
177
+ "image": "https://textcall-dev.s3.amazonaws.com/onboard/high/0c65cbe8e0c2e1242146e15dfd50a486.png"
178
+ }
179
+ },
180
+ {
181
+ "layout": "subtitle-layout",
182
+ "key": "cumoZTMcp3Ewdgtq",
183
+ "attributes": {
184
+ "subtitle_localization_key": "onboard.subtitle.one-page",
185
+ "subtitle_color": "#44454D",
186
+ "subtitle_font": null,
187
+ "styles": [
188
+ {
189
+ "layout": "style-layout",
190
+ "key": "c8iENqCAEKDzSNEq",
191
+ "attributes": {
192
+ "styles": [
193
+ {
194
+ "layout": "Styles",
195
+ "key": "cRjElXN8FhsCbwbt",
196
+ "attributes": {
197
+ "type": "textStyle",
198
+ "style": {
199
+ "textAlign": "center",
200
+ "fontSize": 16
201
+ }
202
+ }
203
+ }
204
+ ]
205
+ }
206
+ }
207
+ ]
208
+ }
209
+ },
210
+ {
211
+ "layout": "Buttons",
212
+ "key": "cQgWwz7oN0lXiGnV",
213
+ "attributes": {
214
+ "buttons_direction": "row",
215
+ "buttons": [
216
+ {
217
+ "layout": "skip-button-layout",
218
+ "key": "cmbJYRjfh25VI7pA",
219
+ "attributes": {
220
+ "flex": "1",
221
+ "button_text_localization_key": "onboard.skip.one-page",
222
+ "button_text_color": "#81838F",
223
+ "is_transparant_bg": false,
224
+ "button_background_color": "#ffffff00",
225
+ "actions": [
226
+ {
227
+ "layout": "action-layout",
228
+ "key": "c8fR08Jp0GWJtW4U",
229
+ "attributes": {
230
+ "events": [
231
+ {
232
+ "layout": "Navigate",
233
+ "key": "cGFaKCTZ6RkGAKw7",
234
+ "attributes": {
235
+ "next_page_key": "app_onboard-page4",
236
+ "if_allowed_this_permissions": null,
237
+ "if_not_allowed_this_permissions": null,
238
+ "navigate_backward": null,
239
+ "close_button_delay": null
240
+ }
241
+ }
242
+ ]
243
+ }
244
+ }
245
+ ],
246
+ "styles": [],
247
+ "animation": "line-animation",
248
+ "animation_color": "#FFFFFF"
249
+ }
250
+ },
251
+ {
252
+ "layout": "button-layout",
253
+ "key": "cBx6we1fBvBHNCdM",
254
+ "attributes": {
255
+ "show_text": true,
256
+ "button_text_localization_key": "onboard.next.one-page",
257
+ "is_passive_button": false,
258
+ "flex": "1",
259
+ "button_text_color": "#FFFFFF",
260
+ "button_background_color": "#0066FF",
261
+ "show_icon": false,
262
+ "icons": [],
263
+ "actions": [
264
+ {
265
+ "layout": "action-layout",
266
+ "key": "cqC2H6ygkjzKj1TW",
267
+ "attributes": {
268
+ "events": [
269
+ {
270
+ "layout": "Navigate",
271
+ "key": "cMmDIAW9MAUNcPQA",
272
+ "attributes": {
273
+ "next_page_key": "app_onboard-page2",
274
+ "if_allowed_this_permissions": null,
275
+ "if_not_allowed_this_permissions": null,
276
+ "navigate_backward": null,
277
+ "close_button_delay": null
278
+ }
279
+ }
280
+ ]
281
+ }
282
+ }
283
+ ],
284
+ "styles": [],
285
+ "animation": "simple-animation",
286
+ "animation_color": null
287
+ }
288
+ }
289
+ ]
290
+ }
291
+ }
292
+ ]
293
+ }
294
+ },
295
+ {
296
+ "layout": "simple-onboard-layout",
297
+ "key": "cgh6jEnSF0m2MrAE",
298
+ "attributes": {
299
+ "key": "app_onboard-page2",
300
+ "min_android_version": null,
301
+ "components": [
302
+ {
303
+ "layout": "title-layout",
304
+ "key": "cuIDsIKqy8wnkxWO",
305
+ "attributes": {
306
+ "title_localization_key": "onboard.title.two-page",
307
+ "number_of_lines": "2",
308
+ "adaptive_font_size": false,
309
+ "title_color": "#12131A",
310
+ "coloredwords": [],
311
+ "styles": [
312
+ {
313
+ "layout": "style-layout",
314
+ "key": "c1wm3B4Avb8ewdwB",
315
+ "attributes": {
316
+ "styles": [
317
+ {
318
+ "layout": "Styles",
319
+ "key": "cS5KY2wak36qZ7Po",
320
+ "attributes": {
321
+ "type": "textStyle",
322
+ "style": {
323
+ "textAlign": "center",
324
+ "marginTop": 40
325
+ }
326
+ }
327
+ }
328
+ ]
329
+ }
330
+ }
331
+ ]
332
+ }
333
+ },
334
+ {
335
+ "layout": "image-layout",
336
+ "key": "c0uaSOOOFSldTX3O",
337
+ "attributes": {
338
+ "is_bg_image": false,
339
+ "height": "350",
340
+ "android_height": "350",
341
+ "ios_height": "350",
342
+ "styles": [],
343
+ "image": "https://textcall-dev.s3.amazonaws.com/onboard/high/e8bbdde825cd23bdc44a9b2b32af22dc.png"
344
+ }
345
+ },
346
+ {
347
+ "layout": "subtitle-layout",
348
+ "key": "cJUPKqGxDQLJhF3r",
349
+ "attributes": {
350
+ "subtitle_localization_key": "onboard.subtitle.two-page",
351
+ "subtitle_color": "#44454D",
352
+ "subtitle_font": null,
353
+ "styles": [
354
+ {
355
+ "layout": "style-layout",
356
+ "key": "cjgSBQCcdIHlgqAL",
357
+ "attributes": {
358
+ "styles": [
359
+ {
360
+ "layout": "Styles",
361
+ "key": "cRmpdFLYvNtRBrjZ",
362
+ "attributes": {
363
+ "type": "textStyle",
364
+ "style": {
365
+ "textAlign": "center",
366
+ "fontSize": 16
367
+ }
368
+ }
369
+ }
370
+ ]
371
+ }
372
+ }
373
+ ]
374
+ }
375
+ },
376
+ {
377
+ "layout": "Buttons",
378
+ "key": "chGpEveV4xybUQje",
379
+ "attributes": {
380
+ "buttons_direction": "row",
381
+ "buttons": [
382
+ {
383
+ "layout": "skip-button-layout",
384
+ "key": "cdjnq57fneiIxBd2",
385
+ "attributes": {
386
+ "flex": "1",
387
+ "button_text_localization_key": "onboard.skip.two-page",
388
+ "button_text_color": "#81838F",
389
+ "is_transparant_bg": false,
390
+ "button_background_color": "#ffffff00",
391
+ "actions": [
392
+ {
393
+ "layout": "action-layout",
394
+ "key": "c8XixwmhiXnhSWJN",
395
+ "attributes": {
396
+ "events": [
397
+ {
398
+ "layout": "Permission",
399
+ "key": "cBsbZMsU90ojXQqO",
400
+ "attributes": {
401
+ "permission": "att"
402
+ }
403
+ },
404
+ {
405
+ "layout": "Navigate",
406
+ "key": "c3ByPHQlA5V0EDfL",
407
+ "attributes": {
408
+ "next_page_key": "app_onboard-page4",
409
+ "if_allowed_this_permissions": null,
410
+ "if_not_allowed_this_permissions": null,
411
+ "navigate_backward": null,
412
+ "close_button_delay": null
413
+ }
414
+ }
415
+ ]
416
+ }
417
+ }
418
+ ],
419
+ "styles": [],
420
+ "animation": null,
421
+ "animation_color": null
422
+ }
423
+ },
424
+ {
425
+ "layout": "button-layout",
426
+ "key": "cQEeZInlfh7u3vXB",
427
+ "attributes": {
428
+ "show_text": true,
429
+ "button_text_localization_key": "onboard.next.two-page",
430
+ "is_passive_button": false,
431
+ "flex": "1",
432
+ "button_text_color": "#FFFFFF",
433
+ "button_background_color": "#0066FF",
434
+ "show_icon": false,
435
+ "icons": [],
436
+ "actions": [
437
+ {
438
+ "layout": "action-layout",
439
+ "key": "cmu069qysyrgassB",
440
+ "attributes": {
441
+ "events": [
442
+ {
443
+ "layout": "Permission",
444
+ "key": "c4hcnecQIMrouWCy",
445
+ "attributes": {
446
+ "permission": "att"
447
+ }
448
+ },
449
+ {
450
+ "layout": "Navigate",
451
+ "key": "cxHcZeIJBXHmR779",
452
+ "attributes": {
453
+ "next_page_key": "app_onboard-page3",
454
+ "if_allowed_this_permissions": null,
455
+ "if_not_allowed_this_permissions": null,
456
+ "navigate_backward": null,
457
+ "close_button_delay": null
458
+ }
459
+ }
460
+ ]
461
+ }
462
+ }
463
+ ],
464
+ "styles": [],
465
+ "animation": null,
466
+ "animation_color": null
467
+ }
468
+ }
469
+ ]
470
+ }
471
+ }
472
+ ]
473
+ }
474
+ },
475
+ {
476
+ "layout": "simple-onboard-layout",
477
+ "key": "cSvSxn9VJuC5Ld7i",
478
+ "attributes": {
479
+ "key": "app_onboard-page3",
480
+ "min_android_version": null,
481
+ "components": [
482
+ {
483
+ "layout": "title-layout",
484
+ "key": "cKrfdMzfUxGdYhst",
485
+ "attributes": {
486
+ "title_localization_key": "onboard.title.three-page",
487
+ "number_of_lines": "2",
488
+ "adaptive_font_size": false,
489
+ "title_color": "#12131A",
490
+ "coloredwords": [],
491
+ "styles": [
492
+ {
493
+ "layout": "style-layout",
494
+ "key": "cO0uTIgytvIPus6O",
495
+ "attributes": {
496
+ "styles": [
497
+ {
498
+ "layout": "Styles",
499
+ "key": "ccUpxb1n3yNqZig0",
500
+ "attributes": {
501
+ "type": "textStyle",
502
+ "style": {
503
+ "textAlign": "center",
504
+ "marginTop": 40
505
+ }
506
+ }
507
+ }
508
+ ]
509
+ }
510
+ }
511
+ ]
512
+ }
513
+ },
514
+ {
515
+ "layout": "image-layout",
516
+ "key": "cW7eKTK8kwrmHPZF",
517
+ "attributes": {
518
+ "is_bg_image": false,
519
+ "height": "350",
520
+ "android_height": "350",
521
+ "ios_height": "350",
522
+ "styles": [],
523
+ "image": "https://textcall-dev.s3.amazonaws.com/onboard/high/3f312b38faf844746250cd54f27f91da.png"
524
+ }
525
+ },
526
+ {
527
+ "layout": "subtitle-layout",
528
+ "key": "cKeCJntAd8La4kt6",
529
+ "attributes": {
530
+ "subtitle_localization_key": "onboard.subtitle.three-page",
531
+ "subtitle_color": "#44454D",
532
+ "subtitle_font": null,
533
+ "styles": [
534
+ {
535
+ "layout": "style-layout",
536
+ "key": "cl8QMTgTLyRZEo5d",
537
+ "attributes": {
538
+ "styles": [
539
+ {
540
+ "layout": "Styles",
541
+ "key": "c7IfOTlsraVDcxsv",
542
+ "attributes": {
543
+ "type": "textStyle",
544
+ "style": {
545
+ "textAlign": "center",
546
+ "fontSize": 16
547
+ }
548
+ }
549
+ }
550
+ ]
551
+ }
552
+ }
553
+ ]
554
+ }
555
+ },
556
+ {
557
+ "layout": "Buttons",
558
+ "key": "cVnKizCpTO9oedvX",
559
+ "attributes": {
560
+ "buttons_direction": "row",
561
+ "buttons": [
562
+ {
563
+ "layout": "skip-button-layout",
564
+ "key": "cQh6Yr0AySTv7JTJ",
565
+ "attributes": {
566
+ "flex": "1",
567
+ "button_text_localization_key": "onboard.skip.three-page",
568
+ "button_text_color": "#81838F",
569
+ "is_transparant_bg": false,
570
+ "button_background_color": "#ffffff00",
571
+ "actions": [
572
+ {
573
+ "layout": "action-layout",
574
+ "key": "cXBXIWhYO8sMiAea",
575
+ "attributes": {
576
+ "events": [
577
+ {
578
+ "layout": "Navigate",
579
+ "key": "ckR5hy3gdEX9Tbcp",
580
+ "attributes": {
581
+ "next_page_key": "app_onboard-page4",
582
+ "if_allowed_this_permissions": null,
583
+ "if_not_allowed_this_permissions": null,
584
+ "navigate_backward": null,
585
+ "close_button_delay": null
586
+ }
587
+ }
588
+ ]
589
+ }
590
+ }
591
+ ],
592
+ "styles": [],
593
+ "animation": null,
594
+ "animation_color": null
595
+ }
596
+ },
597
+ {
598
+ "layout": "button-layout",
599
+ "key": "caD93TUBvqM9stiK",
600
+ "attributes": {
601
+ "show_text": true,
602
+ "button_text_localization_key": "onboard.next.three-page",
603
+ "is_passive_button": false,
604
+ "flex": "1",
605
+ "button_text_color": "#FFFFFF",
606
+ "button_background_color": "#0066FF",
607
+ "show_icon": false,
608
+ "icons": [],
609
+ "actions": [
610
+ {
611
+ "layout": "action-layout",
612
+ "key": "cUWsk6ZaobgtjygM",
613
+ "attributes": {
614
+ "events": [
615
+ {
616
+ "layout": "Permission",
617
+ "key": "cD9EfBXK9ojHo5K3",
618
+ "attributes": {
619
+ "permission": "rating"
620
+ }
621
+ },
622
+ {
623
+ "layout": "Navigate",
624
+ "key": "cvdgLEu69Or72lJh",
625
+ "attributes": {
626
+ "next_page_key": "app_onboard-page4",
627
+ "if_allowed_this_permissions": null,
628
+ "if_not_allowed_this_permissions": null,
629
+ "navigate_backward": null,
630
+ "close_button_delay": null
631
+ }
632
+ }
633
+ ]
634
+ }
635
+ }
636
+ ],
637
+ "styles": [],
638
+ "animation": null,
639
+ "animation_color": null
640
+ }
641
+ }
642
+ ]
643
+ }
644
+ }
645
+ ]
646
+ }
647
+ },
648
+ {
649
+ "layout": "simple-onboard-layout",
650
+ "key": "cmx3sT3YRgACNoBv",
651
+ "attributes": {
652
+ "key": "app_onboard-page4",
653
+ "min_android_version": "12",
654
+ "components": [
655
+ {
656
+ "layout": "title-layout",
657
+ "key": "cLijTCmxd6N2beqg",
658
+ "attributes": {
659
+ "title_localization_key": "onboard.title.four-page",
660
+ "number_of_lines": "2",
661
+ "adaptive_font_size": false,
662
+ "title_color": "#12131A",
663
+ "coloredwords": [],
664
+ "styles": [
665
+ {
666
+ "layout": "style-layout",
667
+ "key": "c9E18gzzew8i3c0i",
668
+ "attributes": {
669
+ "styles": [
670
+ {
671
+ "layout": "Styles",
672
+ "key": "cEgw4X1DFG20kX7Y",
673
+ "attributes": {
674
+ "type": "textStyle",
675
+ "style": {
676
+ "textAlign": "center",
677
+ "marginTop": 40
678
+ }
679
+ }
680
+ }
681
+ ]
682
+ }
683
+ }
684
+ ]
685
+ }
686
+ },
687
+ {
688
+ "layout": "image-layout",
689
+ "key": "cZoslaVC3xb7mcWc",
690
+ "attributes": {
691
+ "is_bg_image": false,
692
+ "height": "350",
693
+ "android_height": "350",
694
+ "ios_height": "350",
695
+ "styles": [],
696
+ "image": "https://textcall-dev.s3.amazonaws.com/onboard/high/f4db2a32a43239c3bbbe742cb0f18b61.png"
697
+ }
698
+ },
699
+ {
700
+ "layout": "subtitle-layout",
701
+ "key": "cdCwD5nJ2DlDO5KY",
702
+ "attributes": {
703
+ "subtitle_localization_key": "onboard.subtitle.four-page",
704
+ "subtitle_color": "#44454D",
705
+ "subtitle_font": null,
706
+ "styles": [
707
+ {
708
+ "layout": "style-layout",
709
+ "key": "cNc4qj0KNwAXFENj",
710
+ "attributes": {
711
+ "styles": [
712
+ {
713
+ "layout": "Styles",
714
+ "key": "c2GDBOndoaWxghsj",
715
+ "attributes": {
716
+ "type": "textStyle",
717
+ "style": {
718
+ "textAlign": "center",
719
+ "fontSize": 16
720
+ }
721
+ }
722
+ }
723
+ ]
724
+ }
725
+ }
726
+ ]
727
+ }
728
+ },
729
+ {
730
+ "layout": "Buttons",
731
+ "key": "cAOcd1hyFKZNzosk",
732
+ "attributes": {
733
+ "buttons_direction": "row",
734
+ "buttons": [
735
+ {
736
+ "layout": "button-layout",
737
+ "key": "cxFfSJNZcJqPavkh",
738
+ "attributes": {
739
+ "show_text": true,
740
+ "button_text_localization_key": "onboard.allow.four-page",
741
+ "is_passive_button": false,
742
+ "flex": "1",
743
+ "button_text_color": "#FFFFFF",
744
+ "button_background_color": "#0066FF",
745
+ "show_icon": false,
746
+ "icons": [],
747
+ "actions": [
748
+ {
749
+ "layout": "action-layout",
750
+ "key": "cgtBZJvdDVlzDAIE",
751
+ "attributes": {
752
+ "events": [
753
+ {
754
+ "layout": "Permission",
755
+ "key": "cO5VtdbSc4xVTEUo",
756
+ "attributes": {
757
+ "permission": "notification"
758
+ }
759
+ },
760
+ {
761
+ "layout": "Navigate",
762
+ "key": "cTEG49LslKtvx85s",
763
+ "attributes": {
764
+ "next_page_key": "home",
765
+ "if_allowed_this_permissions": null,
766
+ "if_not_allowed_this_permissions": null,
767
+ "navigate_backward": null,
768
+ "close_button_delay": null
769
+ }
770
+ }
771
+ ]
772
+ }
773
+ }
774
+ ],
775
+ "styles": [],
776
+ "animation": null,
777
+ "animation_color": null
778
+ }
779
+ }
780
+ ]
781
+ }
782
+ }
783
+ ]
784
+ }
785
+ }
786
+ ]
787
+ }
788
+ }
789
+ }
790
+ }