@wavemaker/app-rn-runtime 11.9.5-rc.6003 → 11.10.0-next.140547

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 (915) hide show
  1. {app-rn-runtime → package}/components/advanced/webview/webview.component.js +3 -1
  2. package/components/advanced/webview/webview.component.js.map +1 -0
  3. {app-rn-runtime → package}/components/basic/label/label.styles.js +4 -0
  4. package/components/basic/label/label.styles.js.map +1 -0
  5. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js +1 -1
  6. package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
  7. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js +0 -8
  8. package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
  9. package/components/basic/video/video.component.js +68 -0
  10. package/components/basic/video/video.component.js.map +1 -0
  11. {app-rn-runtime → package}/components/basic/video/video.props.js +0 -7
  12. package/components/basic/video/video.props.js.map +1 -0
  13. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js.map +1 -1
  14. {app-rn-runtime → package}/components/container/wizard/wizard.component.js +10 -4
  15. package/components/container/wizard/wizard.component.js.map +1 -0
  16. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js +7 -0
  17. package/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -0
  18. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js.map +1 -1
  19. {app-rn-runtime → package}/components/input/toggle/toggle.component.js +1 -2
  20. package/components/input/toggle/toggle.component.js.map +1 -0
  21. {app-rn-runtime → package}/components/page/page-content/page-content.component.js +22 -1
  22. package/components/page/page-content/page-content.component.js.map +1 -0
  23. {app-rn-runtime → package}/core/AppConfig.js.map +1 -1
  24. {app-rn-runtime → package}/core/accessibility.js +5 -10
  25. package/core/accessibility.js.map +1 -0
  26. {app-rn-runtime → package}/core/base.component.js +39 -2
  27. package/core/base.component.js.map +1 -0
  28. {app-rn-runtime → package}/core/utils.js +14 -0
  29. package/core/utils.js.map +1 -0
  30. package/npm-shrinkwrap.json +27331 -0
  31. package/package-lock.json +27331 -0
  32. {app-rn-runtime → package}/package.json +46 -49
  33. {app-rn-runtime → package}/runtime/base-fragment.component.js +0 -6
  34. package/runtime/base-fragment.component.js.map +1 -0
  35. {app-rn-runtime → package}/runtime/base-page.component.js +3 -0
  36. package/runtime/base-page.component.js.map +1 -0
  37. {app-rn-runtime → package}/runtime/services/device/camera-service.js +8 -8
  38. package/runtime/services/device/camera-service.js.map +1 -0
  39. {app-rn-runtime → package}/runtime/services/device/permissions.js +2 -2
  40. package/runtime/services/device/permissions.js.map +1 -0
  41. {app-rn-runtime → package}/runtime/services/device/scan-service.js +8 -34
  42. package/runtime/services/device/scan-service.js.map +1 -0
  43. {app-rn-runtime → package}/styles/background.component.js +3 -3
  44. package/styles/background.component.js.map +1 -0
  45. {app-rn-runtime → package}/styles/theme.js +1 -41
  46. package/styles/theme.js.map +1 -0
  47. app-rn-runtime/components/advanced/webview/webview.component.js.map +0 -1
  48. app-rn-runtime/components/basic/label/label.styles.js.map +0 -1
  49. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +0 -1
  50. app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js.map +0 -1
  51. app-rn-runtime/components/basic/video/video.component.js +0 -144
  52. app-rn-runtime/components/basic/video/video.component.js.map +0 -1
  53. app-rn-runtime/components/basic/video/video.props.js.map +0 -1
  54. app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
  55. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -1
  56. app-rn-runtime/components/input/toggle/toggle.component.js.map +0 -1
  57. app-rn-runtime/components/page/page-content/page-content.component.js.map +0 -1
  58. app-rn-runtime/core/accessibility.js.map +0 -1
  59. app-rn-runtime/core/base.component.js.map +0 -1
  60. app-rn-runtime/core/utils.js.map +0 -1
  61. app-rn-runtime/runtime/base-fragment.component.js.map +0 -1
  62. app-rn-runtime/runtime/base-page.component.js.map +0 -1
  63. app-rn-runtime/runtime/services/device/camera-service.js.map +0 -1
  64. app-rn-runtime/runtime/services/device/permissions.js.map +0 -1
  65. app-rn-runtime/runtime/services/device/scan-service.js.map +0 -1
  66. app-rn-runtime/styles/background.component.js.map +0 -1
  67. app-rn-runtime/styles/theme.js.map +0 -1
  68. {app-rn-runtime → package}/actions/base-action.js +0 -0
  69. {app-rn-runtime → package}/actions/base-action.js.map +0 -0
  70. {app-rn-runtime → package}/actions/index.js +0 -0
  71. {app-rn-runtime → package}/actions/index.js.map +0 -0
  72. {app-rn-runtime → package}/actions/login-action.js +0 -0
  73. {app-rn-runtime → package}/actions/login-action.js.map +0 -0
  74. {app-rn-runtime → package}/actions/logout-action.js +0 -0
  75. {app-rn-runtime → package}/actions/logout-action.js.map +0 -0
  76. {app-rn-runtime → package}/actions/navigation-action.js +0 -0
  77. {app-rn-runtime → package}/actions/navigation-action.js.map +0 -0
  78. {app-rn-runtime → package}/actions/notification-action.js +0 -0
  79. {app-rn-runtime → package}/actions/notification-action.js.map +0 -0
  80. {app-rn-runtime → package}/actions/timer-action.js +0 -0
  81. {app-rn-runtime → package}/actions/timer-action.js.map +0 -0
  82. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
  83. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -0
  84. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -0
  85. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -0
  86. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
  87. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
  88. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +0 -0
  89. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -0
  90. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -0
  91. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -0
  92. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +0 -0
  93. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -0
  94. {app-rn-runtime → package}/components/advanced/carousel/carousel.component.js +0 -0
  95. {app-rn-runtime → package}/components/advanced/carousel/carousel.component.js.map +0 -0
  96. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js +0 -0
  97. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js.map +0 -0
  98. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js +0 -0
  99. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js.map +0 -0
  100. {app-rn-runtime → package}/components/advanced/login/login.component.js +0 -0
  101. {app-rn-runtime → package}/components/advanced/login/login.component.js.map +0 -0
  102. {app-rn-runtime → package}/components/advanced/login/login.props.js +0 -0
  103. {app-rn-runtime → package}/components/advanced/login/login.props.js.map +0 -0
  104. {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
  105. {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
  106. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -0
  107. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -0
  108. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -0
  109. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -0
  110. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
  111. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
  112. {app-rn-runtime → package}/components/advanced/webview/webview.props.js +0 -0
  113. {app-rn-runtime → package}/components/advanced/webview/webview.props.js.map +0 -0
  114. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
  115. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
  116. {app-rn-runtime → package}/components/basic/anchor/anchor.component.js +0 -0
  117. {app-rn-runtime → package}/components/basic/anchor/anchor.component.js.map +0 -0
  118. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js +0 -0
  119. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js.map +0 -0
  120. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js +0 -0
  121. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js.map +0 -0
  122. {app-rn-runtime → package}/components/basic/animatedview.component.js +0 -0
  123. {app-rn-runtime → package}/components/basic/animatedview.component.js.map +0 -0
  124. {app-rn-runtime → package}/components/basic/audio/audio.component.js +0 -0
  125. {app-rn-runtime → package}/components/basic/audio/audio.component.js.map +0 -0
  126. {app-rn-runtime → package}/components/basic/audio/audio.props.js +0 -0
  127. {app-rn-runtime → package}/components/basic/audio/audio.props.js.map +0 -0
  128. {app-rn-runtime → package}/components/basic/audio/audio.styles.js +0 -0
  129. {app-rn-runtime → package}/components/basic/audio/audio.styles.js.map +0 -0
  130. {app-rn-runtime → package}/components/basic/button/button.component.js +0 -0
  131. {app-rn-runtime → package}/components/basic/button/button.component.js.map +0 -0
  132. {app-rn-runtime → package}/components/basic/button/button.props.js +0 -0
  133. {app-rn-runtime → package}/components/basic/button/button.props.js.map +0 -0
  134. {app-rn-runtime → package}/components/basic/button/button.styles.js +0 -0
  135. {app-rn-runtime → package}/components/basic/button/button.styles.js.map +0 -0
  136. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
  137. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js.map +0 -0
  138. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js +0 -0
  139. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js.map +0 -0
  140. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js +0 -0
  141. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js.map +0 -0
  142. {app-rn-runtime → package}/components/basic/custom/custom.component.js +0 -0
  143. {app-rn-runtime → package}/components/basic/custom/custom.component.js.map +0 -0
  144. {app-rn-runtime → package}/components/basic/custom/custom.props.js +0 -0
  145. {app-rn-runtime → package}/components/basic/custom/custom.props.js.map +0 -0
  146. {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
  147. {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
  148. {app-rn-runtime → package}/components/basic/icon/icon.component.js +0 -0
  149. {app-rn-runtime → package}/components/basic/icon/icon.component.js.map +0 -0
  150. {app-rn-runtime → package}/components/basic/icon/icon.props.js +0 -0
  151. {app-rn-runtime → package}/components/basic/icon/icon.props.js.map +0 -0
  152. {app-rn-runtime → package}/components/basic/icon/icon.styles.js +0 -0
  153. {app-rn-runtime → package}/components/basic/icon/icon.styles.js.map +0 -0
  154. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
  155. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
  156. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
  157. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
  158. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
  159. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
  160. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
  161. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
  162. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
  163. {app-rn-runtime → package}/components/basic/label/label.component.js +0 -0
  164. {app-rn-runtime → package}/components/basic/label/label.component.js.map +0 -0
  165. {app-rn-runtime → package}/components/basic/label/label.props.js +0 -0
  166. {app-rn-runtime → package}/components/basic/label/label.props.js.map +0 -0
  167. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js +0 -0
  168. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js.map +0 -0
  169. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js +0 -0
  170. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js.map +0 -0
  171. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
  172. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
  173. {app-rn-runtime → package}/components/basic/message/message.component.js +0 -0
  174. {app-rn-runtime → package}/components/basic/message/message.component.js.map +0 -0
  175. {app-rn-runtime → package}/components/basic/message/message.props.js +0 -0
  176. {app-rn-runtime → package}/components/basic/message/message.props.js.map +0 -0
  177. {app-rn-runtime → package}/components/basic/message/message.styles.js +0 -0
  178. {app-rn-runtime → package}/components/basic/message/message.styles.js.map +0 -0
  179. {app-rn-runtime → package}/components/basic/modal/modal.component.js +0 -0
  180. {app-rn-runtime → package}/components/basic/modal/modal.component.js.map +0 -0
  181. {app-rn-runtime → package}/components/basic/modal/modal.props.js +0 -0
  182. {app-rn-runtime → package}/components/basic/modal/modal.props.js.map +0 -0
  183. {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
  184. {app-rn-runtime → package}/components/basic/modal/modal.styles.js.map +0 -0
  185. {app-rn-runtime → package}/components/basic/picture/picture.component.js +0 -0
  186. {app-rn-runtime → package}/components/basic/picture/picture.component.js.map +0 -0
  187. {app-rn-runtime → package}/components/basic/picture/picture.props.js +0 -0
  188. {app-rn-runtime → package}/components/basic/picture/picture.props.js.map +0 -0
  189. {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
  190. {app-rn-runtime → package}/components/basic/picture/picture.styles.js.map +0 -0
  191. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js +0 -0
  192. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js.map +0 -0
  193. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js +0 -0
  194. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js.map +0 -0
  195. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js +0 -0
  196. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js.map +0 -0
  197. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
  198. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js.map +0 -0
  199. {app-rn-runtime → package}/components/basic/search/local-data-provider.js +0 -0
  200. {app-rn-runtime → package}/components/basic/search/local-data-provider.js.map +0 -0
  201. {app-rn-runtime → package}/components/basic/search/search.component.js +0 -0
  202. {app-rn-runtime → package}/components/basic/search/search.component.js.map +0 -0
  203. {app-rn-runtime → package}/components/basic/search/search.props.js +0 -0
  204. {app-rn-runtime → package}/components/basic/search/search.props.js.map +0 -0
  205. {app-rn-runtime → package}/components/basic/search/search.styles.js +0 -0
  206. {app-rn-runtime → package}/components/basic/search/search.styles.js.map +0 -0
  207. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js +0 -0
  208. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js.map +0 -0
  209. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js +0 -0
  210. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js.map +0 -0
  211. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js +0 -0
  212. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js.map +0 -0
  213. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js +0 -0
  214. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js.map +0 -0
  215. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js +0 -0
  216. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js.map +0 -0
  217. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js +0 -0
  218. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js.map +0 -0
  219. {app-rn-runtime → package}/components/basic/tooltip/tooltip.component.js +0 -0
  220. {app-rn-runtime → package}/components/basic/tooltip/tooltip.component.js.map +0 -0
  221. {app-rn-runtime → package}/components/basic/tooltip/tooltip.props.js +0 -0
  222. {app-rn-runtime → package}/components/basic/tooltip/tooltip.props.js.map +0 -0
  223. {app-rn-runtime → package}/components/basic/tooltip/tooltip.styles.js +0 -0
  224. {app-rn-runtime → package}/components/basic/tooltip/tooltip.styles.js.map +0 -0
  225. {app-rn-runtime → package}/components/basic/video/video.styles.js +0 -0
  226. {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
  227. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js +0 -0
  228. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js.map +0 -0
  229. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js +0 -0
  230. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js.map +0 -0
  231. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js +0 -0
  232. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js.map +0 -0
  233. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js +0 -0
  234. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js.map +0 -0
  235. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js +0 -0
  236. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js.map +0 -0
  237. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
  238. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
  239. {app-rn-runtime → package}/components/chart/basechart.component.js +0 -0
  240. {app-rn-runtime → package}/components/chart/basechart.component.js.map +0 -0
  241. {app-rn-runtime → package}/components/chart/basechart.props.js +0 -0
  242. {app-rn-runtime → package}/components/chart/basechart.props.js.map +0 -0
  243. {app-rn-runtime → package}/components/chart/basechart.styles.js +0 -0
  244. {app-rn-runtime → package}/components/chart/basechart.styles.js.map +0 -0
  245. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js +0 -0
  246. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js.map +0 -0
  247. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js +0 -0
  248. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
  249. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
  250. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
  251. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
  252. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js.map +0 -0
  253. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
  254. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
  255. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
  256. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
  257. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
  258. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js.map +0 -0
  259. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js +0 -0
  260. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js.map +0 -0
  261. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
  262. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
  263. {app-rn-runtime → package}/components/chart/legend/legend.component.js +0 -0
  264. {app-rn-runtime → package}/components/chart/legend/legend.component.js.map +0 -0
  265. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js +0 -0
  266. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js.map +0 -0
  267. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js +0 -0
  268. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js.map +0 -0
  269. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
  270. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
  271. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js +0 -0
  272. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js.map +0 -0
  273. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js +0 -0
  274. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js.map +0 -0
  275. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
  276. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
  277. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js +0 -0
  278. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js.map +0 -0
  279. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js +0 -0
  280. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js.map +0 -0
  281. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js +0 -0
  282. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js.map +0 -0
  283. {app-rn-runtime → package}/components/chart/staticdata.js +0 -0
  284. {app-rn-runtime → package}/components/chart/staticdata.js.map +0 -0
  285. {app-rn-runtime → package}/components/chart/theme/chart.theme.js +0 -0
  286. {app-rn-runtime → package}/components/chart/theme/chart.theme.js.map +0 -0
  287. {app-rn-runtime → package}/components/container/accordion/accordion.component.js +0 -0
  288. {app-rn-runtime → package}/components/container/accordion/accordion.component.js.map +0 -0
  289. {app-rn-runtime → package}/components/container/accordion/accordion.props.js +0 -0
  290. {app-rn-runtime → package}/components/container/accordion/accordion.props.js.map +0 -0
  291. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js +0 -0
  292. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js.map +0 -0
  293. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js +0 -0
  294. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -0
  295. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js +0 -0
  296. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -0
  297. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
  298. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
  299. {app-rn-runtime → package}/components/container/container.component.js +0 -0
  300. {app-rn-runtime → package}/components/container/container.component.js.map +0 -0
  301. {app-rn-runtime → package}/components/container/container.props.js +0 -0
  302. {app-rn-runtime → package}/components/container/container.props.js.map +0 -0
  303. {app-rn-runtime → package}/components/container/container.styles.js +0 -0
  304. {app-rn-runtime → package}/components/container/container.styles.js.map +0 -0
  305. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
  306. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -0
  307. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
  308. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -0
  309. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
  310. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
  311. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
  312. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -0
  313. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
  314. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -0
  315. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
  316. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
  317. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
  318. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js.map +0 -0
  319. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
  320. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js.map +0 -0
  321. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
  322. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js.map +0 -0
  323. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js +0 -0
  324. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js.map +0 -0
  325. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
  326. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js.map +0 -0
  327. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
  328. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
  329. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -0
  330. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -0
  331. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
  332. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -0
  333. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
  334. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
  335. {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js +0 -0
  336. {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js.map +0 -0
  337. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
  338. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js.map +0 -0
  339. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js +0 -0
  340. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js.map +0 -0
  341. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
  342. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
  343. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
  344. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js.map +0 -0
  345. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js +0 -0
  346. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js.map +0 -0
  347. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
  348. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
  349. {app-rn-runtime → package}/components/container/panel/panel.component.js +0 -0
  350. {app-rn-runtime → package}/components/container/panel/panel.component.js.map +0 -0
  351. {app-rn-runtime → package}/components/container/panel/panel.props.js +0 -0
  352. {app-rn-runtime → package}/components/container/panel/panel.props.js.map +0 -0
  353. {app-rn-runtime → package}/components/container/panel/panel.styles.js +0 -0
  354. {app-rn-runtime → package}/components/container/panel/panel.styles.js.map +0 -0
  355. {app-rn-runtime → package}/components/container/partial-host.component.js +0 -0
  356. {app-rn-runtime → package}/components/container/partial-host.component.js.map +0 -0
  357. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.component.js +0 -0
  358. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.component.js.map +0 -0
  359. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js +0 -0
  360. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js.map +0 -0
  361. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js +0 -0
  362. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js.map +0 -0
  363. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js +0 -0
  364. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js.map +0 -0
  365. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js +0 -0
  366. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js.map +0 -0
  367. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
  368. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
  369. {app-rn-runtime → package}/components/container/tabs/tabs.component.js +0 -0
  370. {app-rn-runtime → package}/components/container/tabs/tabs.component.js.map +0 -0
  371. {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
  372. {app-rn-runtime → package}/components/container/tabs/tabs.props.js.map +0 -0
  373. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js +0 -0
  374. {app-rn-runtime → package}/components/container/tile/tile.component.js +0 -0
  375. {app-rn-runtime → package}/components/container/tile/tile.component.js.map +0 -0
  376. {app-rn-runtime → package}/components/container/tile/tile.props.js +0 -0
  377. {app-rn-runtime → package}/components/container/tile/tile.props.js.map +0 -0
  378. {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
  379. {app-rn-runtime → package}/components/container/tile/tile.styles.js.map +0 -0
  380. {app-rn-runtime → package}/components/container/wizard/wizard.props.js +0 -0
  381. {app-rn-runtime → package}/components/container/wizard/wizard.props.js.map +0 -0
  382. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js +0 -0
  383. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js.map +0 -0
  384. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js +0 -0
  385. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -0
  386. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
  387. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
  388. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js +0 -0
  389. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js.map +0 -0
  390. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js +0 -0
  391. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js.map +0 -0
  392. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
  393. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
  394. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js +0 -0
  395. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js.map +0 -0
  396. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js +0 -0
  397. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js.map +0 -0
  398. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
  399. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
  400. {app-rn-runtime → package}/components/data/card/card.component.js +0 -0
  401. {app-rn-runtime → package}/components/data/card/card.component.js.map +0 -0
  402. {app-rn-runtime → package}/components/data/card/card.props.js +0 -0
  403. {app-rn-runtime → package}/components/data/card/card.props.js.map +0 -0
  404. {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
  405. {app-rn-runtime → package}/components/data/card/card.styles.js.map +0 -0
  406. {app-rn-runtime → package}/components/data/form/form-action/form-action.component.js +0 -0
  407. {app-rn-runtime → package}/components/data/form/form-action/form-action.component.js.map +0 -0
  408. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js +0 -0
  409. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js.map +0 -0
  410. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
  411. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js.map +0 -0
  412. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js +0 -0
  413. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js.map +0 -0
  414. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js +0 -0
  415. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js.map +0 -0
  416. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
  417. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
  418. {app-rn-runtime → package}/components/data/form/form-field/form-field.component.js +0 -0
  419. {app-rn-runtime → package}/components/data/form/form-field/form-field.component.js.map +0 -0
  420. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js +0 -0
  421. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js.map +0 -0
  422. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
  423. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js.map +0 -0
  424. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
  425. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js.map +0 -0
  426. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js +0 -0
  427. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js.map +0 -0
  428. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
  429. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
  430. {app-rn-runtime → package}/components/data/form/form.component.js +0 -0
  431. {app-rn-runtime → package}/components/data/form/form.component.js.map +0 -0
  432. {app-rn-runtime → package}/components/data/form/form.props.js +0 -0
  433. {app-rn-runtime → package}/components/data/form/form.props.js.map +0 -0
  434. {app-rn-runtime → package}/components/data/form/form.styles.js +0 -0
  435. {app-rn-runtime → package}/components/data/form/form.styles.js.map +0 -0
  436. {app-rn-runtime → package}/components/data/list/list-action-template/list-action-template.component.js +0 -0
  437. {app-rn-runtime → package}/components/data/list/list-action-template/list-action-template.component.js.map +0 -0
  438. {app-rn-runtime → package}/components/data/list/list-action-template/list-action-template.props.js +0 -0
  439. {app-rn-runtime → package}/components/data/list/list-action-template/list-action-template.props.js.map +0 -0
  440. {app-rn-runtime → package}/components/data/list/list-action-template/list-action-template.styles.js +0 -0
  441. {app-rn-runtime → package}/components/data/list/list-action-template/list-action-template.styles.js.map +0 -0
  442. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js +0 -0
  443. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js.map +0 -0
  444. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js +0 -0
  445. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js.map +0 -0
  446. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js +0 -0
  447. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js.map +0 -0
  448. {app-rn-runtime → package}/components/data/list/list.component.js +0 -0
  449. {app-rn-runtime → package}/components/data/list/list.component.js.map +0 -0
  450. {app-rn-runtime → package}/components/data/list/list.props.js +0 -0
  451. {app-rn-runtime → package}/components/data/list/list.props.js.map +0 -0
  452. {app-rn-runtime → package}/components/data/list/list.styles.js +0 -0
  453. {app-rn-runtime → package}/components/data/list/list.styles.js.map +0 -0
  454. {app-rn-runtime → package}/components/data/liveform/liveform.component.js +0 -0
  455. {app-rn-runtime → package}/components/data/liveform/liveform.component.js.map +0 -0
  456. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js +0 -0
  457. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js.map +0 -0
  458. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js +0 -0
  459. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js.map +0 -0
  460. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js +0 -0
  461. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js.map +0 -0
  462. {app-rn-runtime → package}/components/device/camera/camera.component.js +0 -0
  463. {app-rn-runtime → package}/components/device/camera/camera.component.js.map +0 -0
  464. {app-rn-runtime → package}/components/device/camera/camera.props.js +0 -0
  465. {app-rn-runtime → package}/components/device/camera/camera.props.js.map +0 -0
  466. {app-rn-runtime → package}/components/device/camera/camera.styles.js +0 -0
  467. {app-rn-runtime → package}/components/device/camera/camera.styles.js.map +0 -0
  468. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js +0 -0
  469. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js.map +0 -0
  470. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js +0 -0
  471. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js.map +0 -0
  472. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js +0 -0
  473. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -0
  474. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js +0 -0
  475. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -0
  476. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js +0 -0
  477. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -0
  478. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -0
  479. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -0
  480. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js +0 -0
  481. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js.map +0 -0
  482. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js +0 -0
  483. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js.map +0 -0
  484. {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js +0 -0
  485. {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js.map +0 -0
  486. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
  487. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js.map +0 -0
  488. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js +0 -0
  489. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js.map +0 -0
  490. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
  491. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
  492. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js +0 -0
  493. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -0
  494. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js +0 -0
  495. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -0
  496. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +0 -0
  497. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -0
  498. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js +0 -0
  499. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js.map +0 -0
  500. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js +0 -0
  501. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js.map +0 -0
  502. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
  503. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
  504. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js +0 -0
  505. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js.map +0 -0
  506. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js +0 -0
  507. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js.map +0 -0
  508. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
  509. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
  510. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js +0 -0
  511. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js.map +0 -0
  512. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js +0 -0
  513. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js.map +0 -0
  514. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
  515. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
  516. {app-rn-runtime → package}/components/input/calendar/calendar.component.js +0 -0
  517. {app-rn-runtime → package}/components/input/calendar/calendar.component.js.map +0 -0
  518. {app-rn-runtime → package}/components/input/calendar/calendar.props.js +0 -0
  519. {app-rn-runtime → package}/components/input/calendar/calendar.props.js.map +0 -0
  520. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js +0 -0
  521. {app-rn-runtime → package}/components/input/calendar/views/month-view.js +0 -0
  522. {app-rn-runtime → package}/components/input/calendar/views/month-view.js.map +0 -0
  523. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js +0 -0
  524. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js.map +0 -0
  525. {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js +0 -0
  526. {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js.map +0 -0
  527. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js +0 -0
  528. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js.map +0 -0
  529. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js +0 -0
  530. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js.map +0 -0
  531. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.component.js +0 -0
  532. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.component.js.map +0 -0
  533. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js +0 -0
  534. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js.map +0 -0
  535. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +0 -0
  536. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js.map +0 -0
  537. {app-rn-runtime → package}/components/input/chips/chips.component.js +0 -0
  538. {app-rn-runtime → package}/components/input/chips/chips.component.js.map +0 -0
  539. {app-rn-runtime → package}/components/input/chips/chips.props.js +0 -0
  540. {app-rn-runtime → package}/components/input/chips/chips.props.js.map +0 -0
  541. {app-rn-runtime → package}/components/input/chips/chips.styles.js +0 -0
  542. {app-rn-runtime → package}/components/input/chips/chips.styles.js.map +0 -0
  543. {app-rn-runtime → package}/components/input/composite/composite.component.js +0 -0
  544. {app-rn-runtime → package}/components/input/composite/composite.component.js.map +0 -0
  545. {app-rn-runtime → package}/components/input/composite/composite.props.js +0 -0
  546. {app-rn-runtime → package}/components/input/composite/composite.props.js.map +0 -0
  547. {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
  548. {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
  549. {app-rn-runtime → package}/components/input/currency/currency.component.js +0 -0
  550. {app-rn-runtime → package}/components/input/currency/currency.component.js.map +0 -0
  551. {app-rn-runtime → package}/components/input/currency/currency.props.js +0 -0
  552. {app-rn-runtime → package}/components/input/currency/currency.props.js.map +0 -0
  553. {app-rn-runtime → package}/components/input/currency/currency.styles.js +0 -0
  554. {app-rn-runtime → package}/components/input/currency/currency.styles.js.map +0 -0
  555. {app-rn-runtime → package}/components/input/epoch/base-datetime.component.js +0 -0
  556. {app-rn-runtime → package}/components/input/epoch/base-datetime.component.js.map +0 -0
  557. {app-rn-runtime → package}/components/input/epoch/date/date.component.js +0 -0
  558. {app-rn-runtime → package}/components/input/epoch/date/date.component.js.map +0 -0
  559. {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
  560. {app-rn-runtime → package}/components/input/epoch/date/date.props.js.map +0 -0
  561. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js +0 -0
  562. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js.map +0 -0
  563. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js +0 -0
  564. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js.map +0 -0
  565. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +0 -0
  566. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js.map +0 -0
  567. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js +0 -0
  568. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js.map +0 -0
  569. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js +0 -0
  570. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js.map +0 -0
  571. {app-rn-runtime → package}/components/input/epoch/time/time.component.js +0 -0
  572. {app-rn-runtime → package}/components/input/epoch/time/time.component.js.map +0 -0
  573. {app-rn-runtime → package}/components/input/epoch/time/time.props.js +0 -0
  574. {app-rn-runtime → package}/components/input/epoch/time/time.props.js.map +0 -0
  575. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js +0 -0
  576. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js.map +0 -0
  577. {app-rn-runtime → package}/components/input/epoch/wheel-date-picker.component.js +0 -0
  578. {app-rn-runtime → package}/components/input/epoch/wheel-date-picker.component.js.map +0 -0
  579. {app-rn-runtime → package}/components/input/epoch/wheel-time-picker.component.js +0 -0
  580. {app-rn-runtime → package}/components/input/epoch/wheel-time-picker.component.js.map +0 -0
  581. {app-rn-runtime → package}/components/input/epoch/wheelpicker/wheelpicker.component.js +0 -0
  582. {app-rn-runtime → package}/components/input/epoch/wheelpicker/wheelpicker.component.js.map +0 -0
  583. {app-rn-runtime → package}/components/input/epoch/wheelpicker/wheelpicker.props.js +0 -0
  584. {app-rn-runtime → package}/components/input/epoch/wheelpicker/wheelpicker.props.js.map +0 -0
  585. {app-rn-runtime → package}/components/input/epoch/wheelpicker/wheelpicker.styles.js +0 -0
  586. {app-rn-runtime → package}/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +0 -0
  587. {app-rn-runtime → package}/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +0 -0
  588. {app-rn-runtime → package}/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +0 -0
  589. {app-rn-runtime → package}/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +0 -0
  590. {app-rn-runtime → package}/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +0 -0
  591. {app-rn-runtime → package}/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +0 -0
  592. {app-rn-runtime → package}/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +0 -0
  593. {app-rn-runtime → package}/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +0 -0
  594. {app-rn-runtime → package}/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +0 -0
  595. {app-rn-runtime → package}/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +0 -0
  596. {app-rn-runtime → package}/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +0 -0
  597. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js +0 -0
  598. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js.map +0 -0
  599. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js +0 -0
  600. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js.map +0 -0
  601. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
  602. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
  603. {app-rn-runtime → package}/components/input/number/number.component.js +0 -0
  604. {app-rn-runtime → package}/components/input/number/number.component.js.map +0 -0
  605. {app-rn-runtime → package}/components/input/number/number.props.js +0 -0
  606. {app-rn-runtime → package}/components/input/number/number.props.js.map +0 -0
  607. {app-rn-runtime → package}/components/input/number/number.styles.js +0 -0
  608. {app-rn-runtime → package}/components/input/number/number.styles.js.map +0 -0
  609. {app-rn-runtime → package}/components/input/radioset/radioset.component.js +0 -0
  610. {app-rn-runtime → package}/components/input/radioset/radioset.component.js.map +0 -0
  611. {app-rn-runtime → package}/components/input/radioset/radioset.props.js +0 -0
  612. {app-rn-runtime → package}/components/input/radioset/radioset.props.js.map +0 -0
  613. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js +0 -0
  614. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js.map +0 -0
  615. {app-rn-runtime → package}/components/input/rating/rating.component.js +0 -0
  616. {app-rn-runtime → package}/components/input/rating/rating.component.js.map +0 -0
  617. {app-rn-runtime → package}/components/input/rating/rating.props.js +0 -0
  618. {app-rn-runtime → package}/components/input/rating/rating.props.js.map +0 -0
  619. {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
  620. {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
  621. {app-rn-runtime → package}/components/input/select/select.component.js +0 -0
  622. {app-rn-runtime → package}/components/input/select/select.component.js.map +0 -0
  623. {app-rn-runtime → package}/components/input/select/select.props.js +0 -0
  624. {app-rn-runtime → package}/components/input/select/select.props.js.map +0 -0
  625. {app-rn-runtime → package}/components/input/select/select.styles.js +0 -0
  626. {app-rn-runtime → package}/components/input/select/select.styles.js.map +0 -0
  627. {app-rn-runtime → package}/components/input/slider/slider.component.js +0 -0
  628. {app-rn-runtime → package}/components/input/slider/slider.component.js.map +0 -0
  629. {app-rn-runtime → package}/components/input/slider/slider.props.js +0 -0
  630. {app-rn-runtime → package}/components/input/slider/slider.props.js.map +0 -0
  631. {app-rn-runtime → package}/components/input/slider/slider.styles.js +0 -0
  632. {app-rn-runtime → package}/components/input/slider/slider.styles.js.map +0 -0
  633. {app-rn-runtime → package}/components/input/switch/switch.component.js +0 -0
  634. {app-rn-runtime → package}/components/input/switch/switch.component.js.map +0 -0
  635. {app-rn-runtime → package}/components/input/switch/switch.props.js +0 -0
  636. {app-rn-runtime → package}/components/input/switch/switch.props.js.map +0 -0
  637. {app-rn-runtime → package}/components/input/switch/switch.styles.js +0 -0
  638. {app-rn-runtime → package}/components/input/switch/switch.styles.js.map +0 -0
  639. {app-rn-runtime → package}/components/input/text/text.component.js +0 -0
  640. {app-rn-runtime → package}/components/input/text/text.component.js.map +0 -0
  641. {app-rn-runtime → package}/components/input/text/text.props.js +0 -0
  642. {app-rn-runtime → package}/components/input/text/text.props.js.map +0 -0
  643. {app-rn-runtime → package}/components/input/text/text.styles.js +0 -0
  644. {app-rn-runtime → package}/components/input/text/text.styles.js.map +0 -0
  645. {app-rn-runtime → package}/components/input/textarea/textarea.component.js +0 -0
  646. {app-rn-runtime → package}/components/input/textarea/textarea.component.js.map +0 -0
  647. {app-rn-runtime → package}/components/input/textarea/textarea.props.js +0 -0
  648. {app-rn-runtime → package}/components/input/textarea/textarea.props.js.map +0 -0
  649. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js +0 -0
  650. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js.map +0 -0
  651. {app-rn-runtime → package}/components/input/toggle/toggle.props.js +0 -0
  652. {app-rn-runtime → package}/components/input/toggle/toggle.props.js.map +0 -0
  653. {app-rn-runtime → package}/components/input/toggle/toggle.styles.js +0 -0
  654. {app-rn-runtime → package}/components/input/toggle/toggle.styles.js.map +0 -0
  655. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js +0 -0
  656. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js.map +0 -0
  657. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js +0 -0
  658. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js.map +0 -0
  659. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js +0 -0
  660. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js.map +0 -0
  661. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js +0 -0
  662. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js.map +0 -0
  663. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js +0 -0
  664. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js.map +0 -0
  665. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
  666. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
  667. {app-rn-runtime → package}/components/navigation/menu/menu.component.js +0 -0
  668. {app-rn-runtime → package}/components/navigation/menu/menu.component.js.map +0 -0
  669. {app-rn-runtime → package}/components/navigation/menu/menu.props.js +0 -0
  670. {app-rn-runtime → package}/components/navigation/menu/menu.props.js.map +0 -0
  671. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js +0 -0
  672. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js.map +0 -0
  673. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js +0 -0
  674. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js.map +0 -0
  675. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js +0 -0
  676. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js.map +0 -0
  677. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
  678. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js.map +0 -0
  679. {app-rn-runtime → package}/components/navigation/navitem/navitem.component.js +0 -0
  680. {app-rn-runtime → package}/components/navigation/navitem/navitem.component.js.map +0 -0
  681. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js +0 -0
  682. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js.map +0 -0
  683. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js +0 -0
  684. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js.map +0 -0
  685. {app-rn-runtime → package}/components/navigation/popover/popover.component.js +0 -0
  686. {app-rn-runtime → package}/components/navigation/popover/popover.component.js.map +0 -0
  687. {app-rn-runtime → package}/components/navigation/popover/popover.props.js +0 -0
  688. {app-rn-runtime → package}/components/navigation/popover/popover.props.js.map +0 -0
  689. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js +0 -0
  690. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js.map +0 -0
  691. {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
  692. {app-rn-runtime → package}/components/page/content/content.component.js.map +0 -0
  693. {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
  694. {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
  695. {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
  696. {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
  697. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js +0 -0
  698. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js.map +0 -0
  699. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js +0 -0
  700. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js.map +0 -0
  701. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js +0 -0
  702. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js.map +0 -0
  703. {app-rn-runtime → package}/components/page/page-content/page-content.props.js +0 -0
  704. {app-rn-runtime → package}/components/page/page-content/page-content.props.js.map +0 -0
  705. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
  706. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js.map +0 -0
  707. {app-rn-runtime → package}/components/page/page.component.js +0 -0
  708. {app-rn-runtime → package}/components/page/page.component.js.map +0 -0
  709. {app-rn-runtime → package}/components/page/page.props.js +0 -0
  710. {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
  711. {app-rn-runtime → package}/components/page/page.styles.js +0 -0
  712. {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
  713. {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
  714. {app-rn-runtime → package}/components/page/partial/partial.component.js.map +0 -0
  715. {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
  716. {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
  717. {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
  718. {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
  719. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js +0 -0
  720. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js.map +0 -0
  721. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js +0 -0
  722. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js.map +0 -0
  723. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
  724. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
  725. {app-rn-runtime → package}/components/page/tabbar/curve.js +0 -0
  726. {app-rn-runtime → package}/components/page/tabbar/curve.js.map +0 -0
  727. {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js +0 -0
  728. {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js.map +0 -0
  729. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js +0 -0
  730. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js.map +0 -0
  731. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +0 -0
  732. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js.map +0 -0
  733. {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
  734. {app-rn-runtime → package}/components/prefab/prefab-container.component.js.map +0 -0
  735. {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
  736. {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
  737. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
  738. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
  739. {app-rn-runtime → package}/core/AppConfig.js +0 -0
  740. {app-rn-runtime → package}/core/asset.provider.js +0 -0
  741. {app-rn-runtime → package}/core/asset.provider.js.map +0 -0
  742. {app-rn-runtime → package}/core/components/floatinglabel.component.js +0 -0
  743. {app-rn-runtime → package}/core/components/floatinglabel.component.js.map +0 -0
  744. {app-rn-runtime → package}/core/components/textinput.component.js +0 -0
  745. {app-rn-runtime → package}/core/components/textinput.component.js.map +0 -0
  746. {app-rn-runtime → package}/core/constant.service.js +0 -0
  747. {app-rn-runtime → package}/core/constant.service.js.map +0 -0
  748. {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
  749. {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
  750. {app-rn-runtime → package}/core/currency-constants.js +0 -0
  751. {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
  752. {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
  753. {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
  754. {app-rn-runtime → package}/core/device/camera-service.js +0 -0
  755. {app-rn-runtime → package}/core/device/camera-service.js.map +0 -0
  756. {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
  757. {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
  758. {app-rn-runtime → package}/core/device/location-service.js +0 -0
  759. {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
  760. {app-rn-runtime → package}/core/device/scan-service.js +0 -0
  761. {app-rn-runtime → package}/core/device/scan-service.js.map +0 -0
  762. {app-rn-runtime → package}/core/display.manager.js +0 -0
  763. {app-rn-runtime → package}/core/display.manager.js.map +0 -0
  764. {app-rn-runtime → package}/core/event-notifier.js +0 -0
  765. {app-rn-runtime → package}/core/event-notifier.js.map +0 -0
  766. {app-rn-runtime → package}/core/file-extension-types.js +0 -0
  767. {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
  768. {app-rn-runtime → package}/core/fixed-view.component.js +0 -0
  769. {app-rn-runtime → package}/core/fixed-view.component.js.map +0 -0
  770. {app-rn-runtime → package}/core/formatters.js +0 -0
  771. {app-rn-runtime → package}/core/formatters.js.map +0 -0
  772. {app-rn-runtime → package}/core/i18n.service.js +0 -0
  773. {app-rn-runtime → package}/core/i18n.service.js.map +0 -0
  774. {app-rn-runtime → package}/core/if.component.js +0 -0
  775. {app-rn-runtime → package}/core/if.component.js.map +0 -0
  776. {app-rn-runtime → package}/core/imageSizeEstimator.js +0 -0
  777. {app-rn-runtime → package}/core/imageSizeEstimator.js.map +0 -0
  778. {app-rn-runtime → package}/core/injector.js +0 -0
  779. {app-rn-runtime → package}/core/injector.js.map +0 -0
  780. {app-rn-runtime → package}/core/key.extractor.js +0 -0
  781. {app-rn-runtime → package}/core/key.extractor.js.map +0 -0
  782. {app-rn-runtime → package}/core/logger.js +0 -0
  783. {app-rn-runtime → package}/core/logger.js.map +0 -0
  784. {app-rn-runtime → package}/core/modal.service.js +0 -0
  785. {app-rn-runtime → package}/core/modal.service.js.map +0 -0
  786. {app-rn-runtime → package}/core/navigation.service.js +0 -0
  787. {app-rn-runtime → package}/core/navigation.service.js.map +0 -0
  788. {app-rn-runtime → package}/core/network.service.js +0 -0
  789. {app-rn-runtime → package}/core/network.service.js.map +0 -0
  790. {app-rn-runtime → package}/core/partial.service.js +0 -0
  791. {app-rn-runtime → package}/core/partial.service.js.map +0 -0
  792. {app-rn-runtime → package}/core/props.provider.js +0 -0
  793. {app-rn-runtime → package}/core/props.provider.js.map +0 -0
  794. {app-rn-runtime → package}/core/scroll-view.component.js +0 -0
  795. {app-rn-runtime → package}/core/scroll-view.component.js.map +0 -0
  796. {app-rn-runtime → package}/core/security.service.js +0 -0
  797. {app-rn-runtime → package}/core/security.service.js.map +0 -0
  798. {app-rn-runtime → package}/core/spinner.service.js +0 -0
  799. {app-rn-runtime → package}/core/spinner.service.js.map +0 -0
  800. {app-rn-runtime → package}/core/storage.service.js +0 -0
  801. {app-rn-runtime → package}/core/storage.service.js.map +0 -0
  802. {app-rn-runtime → package}/core/tappable.component.js +0 -0
  803. {app-rn-runtime → package}/core/tappable.component.js.map +0 -0
  804. {app-rn-runtime → package}/core/testid.provider.js +0 -0
  805. {app-rn-runtime → package}/core/testid.provider.js.map +0 -0
  806. {app-rn-runtime → package}/core/toast.service.js +0 -0
  807. {app-rn-runtime → package}/core/toast.service.js.map +0 -0
  808. {app-rn-runtime → package}/core/ui-preferences.context.js +0 -0
  809. {app-rn-runtime → package}/core/ui-preferences.context.js.map +0 -0
  810. {app-rn-runtime → package}/core/viewport.js +0 -0
  811. {app-rn-runtime → package}/core/viewport.js.map +0 -0
  812. {app-rn-runtime → package}/core/wm-component-tree.js +0 -0
  813. {app-rn-runtime → package}/core/wm-component-tree.js.map +0 -0
  814. {app-rn-runtime → package}/gestures/swipe.animation.js +0 -0
  815. {app-rn-runtime → package}/gestures/swipe.animation.js.map +0 -0
  816. {app-rn-runtime → package}/index.js +0 -0
  817. {app-rn-runtime → package}/index.js.map +0 -0
  818. {app-rn-runtime → package}/runtime/App.js +0 -0
  819. {app-rn-runtime → package}/runtime/App.js.map +0 -0
  820. {app-rn-runtime → package}/runtime/App.navigator.js +0 -0
  821. {app-rn-runtime → package}/runtime/App.navigator.js.map +0 -0
  822. {app-rn-runtime → package}/runtime/base-partial.component.js +0 -0
  823. {app-rn-runtime → package}/runtime/base-partial.component.js.map +0 -0
  824. {app-rn-runtime → package}/runtime/base-prefab.component.js +0 -0
  825. {app-rn-runtime → package}/runtime/base-prefab.component.js.map +0 -0
  826. {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
  827. {app-rn-runtime → package}/runtime/lib-patch.js.map +0 -0
  828. {app-rn-runtime → package}/runtime/memo.component.js +0 -0
  829. {app-rn-runtime → package}/runtime/memo.component.js.map +0 -0
  830. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
  831. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js.map +0 -0
  832. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js +0 -0
  833. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js.map +0 -0
  834. {app-rn-runtime → package}/runtime/platform.api.js +0 -0
  835. {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
  836. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js +0 -0
  837. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js.map +0 -0
  838. {app-rn-runtime → package}/runtime/services/app-i18n.service.js +0 -0
  839. {app-rn-runtime → package}/runtime/services/app-i18n.service.js.map +0 -0
  840. {app-rn-runtime → package}/runtime/services/app-modal.service.js +0 -0
  841. {app-rn-runtime → package}/runtime/services/app-modal.service.js.map +0 -0
  842. {app-rn-runtime → package}/runtime/services/app-security.service.js +0 -0
  843. {app-rn-runtime → package}/runtime/services/app-security.service.js.map +0 -0
  844. {app-rn-runtime → package}/runtime/services/app-spinner.service.js +0 -0
  845. {app-rn-runtime → package}/runtime/services/app-spinner.service.js.map +0 -0
  846. {app-rn-runtime → package}/runtime/services/app-toast.service.js +0 -0
  847. {app-rn-runtime → package}/runtime/services/app-toast.service.js.map +0 -0
  848. {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
  849. {app-rn-runtime → package}/runtime/services/device/calendar-service.js.map +0 -0
  850. {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
  851. {app-rn-runtime → package}/runtime/services/device/contacts-service.js.map +0 -0
  852. {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
  853. {app-rn-runtime → package}/runtime/services/device/location-service.js.map +0 -0
  854. {app-rn-runtime → package}/runtime/services/partial.service.js +0 -0
  855. {app-rn-runtime → package}/runtime/services/partial.service.js.map +0 -0
  856. {app-rn-runtime → package}/runtime/services/webprocess.service.js +0 -0
  857. {app-rn-runtime → package}/runtime/services/webprocess.service.js.map +0 -0
  858. {app-rn-runtime → package}/runtime/watcher.js +0 -0
  859. {app-rn-runtime → package}/runtime/watcher.js.map +0 -0
  860. {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
  861. {app-rn-runtime → package}/styles/MediaQueryList.js.map +0 -0
  862. {app-rn-runtime → package}/styles/style-prop.validator.js +0 -0
  863. {app-rn-runtime → package}/styles/style-prop.validator.js.map +0 -0
  864. {app-rn-runtime → package}/styles/style-props.js +0 -0
  865. {app-rn-runtime → package}/styles/style-props.js.map +0 -0
  866. {app-rn-runtime → package}/styles/theme.variables.js +0 -0
  867. {app-rn-runtime → package}/styles/theme.variables.js.map +0 -0
  868. {app-rn-runtime → package}/variables/base-variable.js +0 -0
  869. {app-rn-runtime → package}/variables/base-variable.js.map +0 -0
  870. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
  871. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js.map +0 -0
  872. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
  873. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js.map +0 -0
  874. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
  875. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js.map +0 -0
  876. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
  877. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js.map +0 -0
  878. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
  879. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js.map +0 -0
  880. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
  881. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js.map +0 -0
  882. {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
  883. {app-rn-runtime → package}/variables/device/device/app-info.operation.js.map +0 -0
  884. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
  885. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js.map +0 -0
  886. {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
  887. {app-rn-runtime → package}/variables/device/device/device-info.operation.js.map +0 -0
  888. {app-rn-runtime → package}/variables/device/device/network-info.operation.js +0 -0
  889. {app-rn-runtime → package}/variables/device/device/network-info.operation.js.map +0 -0
  890. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
  891. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js.map +0 -0
  892. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js +0 -0
  893. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js.map +0 -0
  894. {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
  895. {app-rn-runtime → package}/variables/device/operation.provider.js.map +0 -0
  896. {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
  897. {app-rn-runtime → package}/variables/device/scan/scan.operation.js.map +0 -0
  898. {app-rn-runtime → package}/variables/device-variable.js +0 -0
  899. {app-rn-runtime → package}/variables/device-variable.js.map +0 -0
  900. {app-rn-runtime → package}/variables/http.service.js +0 -0
  901. {app-rn-runtime → package}/variables/http.service.js.map +0 -0
  902. {app-rn-runtime → package}/variables/live-variable.js +0 -0
  903. {app-rn-runtime → package}/variables/live-variable.js.map +0 -0
  904. {app-rn-runtime → package}/variables/model-variable.js +0 -0
  905. {app-rn-runtime → package}/variables/model-variable.js.map +0 -0
  906. {app-rn-runtime → package}/variables/service-variable.js +0 -0
  907. {app-rn-runtime → package}/variables/service-variable.js.map +0 -0
  908. {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
  909. {app-rn-runtime → package}/variables/utils/dataset-util.js.map +0 -0
  910. {app-rn-runtime → package}/variables/utils/inflight-queue.js +0 -0
  911. {app-rn-runtime → package}/variables/utils/inflight-queue.js.map +0 -0
  912. {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
  913. {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
  914. {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
  915. {app-rn-runtime → package}/variables/utils/variable.utils.js.map +0 -0
@@ -146,7 +146,9 @@ export default class WmWebview extends BaseComponent {
146
146
  this.webViewState = state;
147
147
  },
148
148
  scrollEnabled: true,
149
- onLoadEnd: e => this.onLoad(e, e.nativeEvent.title, e.nativeEvent.url)
149
+ onLoadEnd: e => this.onLoad(e, e.nativeEvent.title, e.nativeEvent.url),
150
+ allowsFullscreenVideo: true,
151
+ allowsInlineMediaPlayback: true
150
152
  })));
151
153
  }
152
154
  }
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","BackHandler","Platform","View","WebView","HideMode","BaseComponent","BaseComponentState","WmWebviewProps","DEFAULT_CLASS","AccessibilityWidgetType","getAccessibilityProps","isAndroid","isWebPreviewMode","WmWebViewState","constructor","args","_defineProperty","title","src","WmWebview","props","webview","webViewState","canGoBack","goBack","event","_event$nativeEvent","data","nativeEvent","startsWith","id","match","callback","invokeJSCallbacks","result","substring","indexOf","parseResult","invokeEventCallback","hideMode","DONOT_ADD_TO_DOM","addEventListener","handleBackButtonPress","componentWillUnmount","removeEventListener","_this$state$currentTa","state","currentTarget","currentsrc","_this$state$currentTa2","executeScript","fn","Promise","resolve","reject","Date","now","injectJavaScript","insertCSS","style","replace","JSON","parse","e","getTitle","iframe","contentWindow","document","onLoad","updateState","renderWidget","createElement","styles","root","_background","OS","width","height","_extends","ref","nestedScrollEnabled","source","uri","testID","getTestId","WEBVIEW","incognito","onMessage","sharedCookiesEnabled","onNavigationStateChange","scrollEnabled","onLoadEnd","url","allowsFullscreenVideo","allowsInlineMediaPlayback"],"sources":["webview.component.tsx"],"sourcesContent":["import React from 'react';\nimport { BackHandler, Platform, View } from 'react-native';\nimport { WebView, WebViewNavigation, WebViewMessageEvent } from 'react-native-webview';\nimport { HideMode } from '@wavemaker/app-rn-runtime/core/if.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmWebviewProps from './webview.props';\nimport { DEFAULT_CLASS, WebviewStyles } from './webview.styles';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\nimport { isAndroid, isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\n\nclass WmWebViewState extends BaseComponentState<WmWebviewProps> {\n currentTarget = {\n title: '',\n src: ''\n };\n\n}\n\nexport default class WmWebview extends BaseComponent<WmWebviewProps, WmWebViewState, WebviewStyles> {\n\n private webview: WebView | null = null as any;\n private webViewState: WebViewNavigation = null as any;\n private invokeJSCallbacks = {} as any;\n\n constructor(props: WmWebviewProps) {\n super(props, DEFAULT_CLASS, new WmWebviewProps());\n this.hideMode = HideMode.DONOT_ADD_TO_DOM;\n if (isAndroid() && !isWebPreviewMode()) {\n BackHandler.addEventListener('hardwareBackPress', this.handleBackButtonPress);\n }\n }\n\n componentWillUnmount() {\n super.componentWillUnmount();\n if (isAndroid() && !isWebPreviewMode()) {\n BackHandler.removeEventListener('hardwareBackPress', this.handleBackButtonPress);\n }\n }\n\n handleBackButtonPress = (): boolean => {\n if (this.webview && this.webViewState && this.webViewState.canGoBack) {\n this.webview.goBack();\n return true;\n }\n return false;\n }\n\n get title() {\n return this.state.currentTarget?.title;\n }\n\n get currentsrc() {\n return this.state.currentTarget?.src;\n }\n\n executeScript(fn: string) {\n return new Promise((resolve, reject) => {\n if (this.webview) {\n const id = '' + Date.now();\n this.invokeJSCallbacks[id] = resolve;\n fn = `\n (function(){\n try{\n return (${fn});\n } catch(e) {\n return e.getMessage();\n }\n }())\n `;\n this.webview.injectJavaScript(\n `window.ReactNativeWebView.postMessage('afterInjectJavaScript:' + ${id} + ':' + JSON.stringify(${fn}))`\n );\n } else {\n reject();\n }\n });\n }\n\n insertCSS(style = '') {\n style = style.replace(/[\\n\\t\\r]/g, '');\n return this.executeScript(`\n function() {\n const style = document.createElement('style');\n style.innerHTML = '${style}';\n document.head.appendChild(style);\n return 'SUCCESS';\n }()\n `);\n }\n\n parseResult(result: string) {\n try {\n return JSON.parse(result);\n } catch(e) {\n if (result === 'undefined' || result === 'null') {\n return null;\n }\n return result;\n }\n }\n\n onMessage = (event: WebViewMessageEvent) => {\n const data: string = event.nativeEvent?.data;\n if (data && data.startsWith('afterInjectJavaScript')) {\n const id = data?.match(/\\:([0-9]+)\\:/);\n const callback = id && this.invokeJSCallbacks[id[1]];\n const result = data.substring(data.indexOf(':', data.indexOf(':') + 1) + 1);\n callback && callback(this.parseResult(result));\n } else {\n this.invokeEventCallback('onMessage', [event, this]);\n }\n }\n\n getTitle(iframe: any) {\n try {\n return iframe.currentTarget.contentWindow.document.title;\n } catch(e) {\n // browser blocks cross origin access to iframe content.\n }\n }\n\n public onLoad(e: any, title: string, src: string) {\n this.updateState({\n currentTarget: {\n title: title,\n src: src\n }\n } as WmWebViewState, () => {\n this.invokeEventCallback('onLoad', [e, this]);\n });\n }\n\n protected renderWidget(props: WmWebviewProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n {Platform.OS === 'web' ?\n (<iframe src={props.src} width={'100%'} height={'100%'}\n onLoad={(e) => this.onLoad(e, this.getTitle(e.currentTarget), (e.currentTarget as any).src)}></iframe>) :\n (<WebView\n ref={(ref) => this.webview = ref}\n nestedScrollEnabled={true}\n style={this.styles.webview}\n source={{\n uri: props.src\n }}\n testID={this.getTestId('web_view')}\n {...getAccessibilityProps(AccessibilityWidgetType.WEBVIEW, props)}\n incognito={props.incognito}\n onMessage={this.onMessage}\n sharedCookiesEnabled={true}\n onNavigationStateChange={(state) => {\n this.webViewState = state;\n }}\n scrollEnabled={true}\n onLoadEnd={(e) => this.onLoad(e, e.nativeEvent.title, e.nativeEvent.url)}\n allowsFullscreenVideo={true}\n allowsInlineMediaPlayback={true}\n >\n </WebView>)}\n </View>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,WAAW,EAAEC,QAAQ,EAAEC,IAAI,QAAQ,cAAc;AAC1D,SAASC,OAAO,QAAgD,sBAAsB;AACtF,SAASC,QAAQ,QAAQ,6CAA6C;AACtE,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAuB,kBAAkB;AAC/D,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAC7G,SAASC,SAAS,EAAEC,gBAAgB,QAAQ,sCAAsC;AAElF,MAAMC,cAAc,SAASP,kBAAkB,CAAiB;EAAAQ,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,wBAC9C;MACdC,KAAK,EAAE,EAAE;MACTC,GAAG,EAAE;IACP,CAAC;EAAA;AAEH;AAEA,eAAe,MAAMC,SAAS,SAASd,aAAa,CAAgD;EAMlGS,WAAWA,CAACM,KAAqB,EAAE;IACjC,KAAK,CAACA,KAAK,EAAEZ,aAAa,EAAE,IAAID,cAAc,CAAC,CAAC,CAAC;IAACS,eAA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,CAACD,CAAC,CAAChB,aAAa,CAAC,EAAGgB,CAAC,CAAChB,aAAa,CAAS7B,GAAG;IAAE,CAAS,CAAC,gBACvGnB,KAAA,CAAAwE,aAAA,CAACpE,OAAO,EAAA2E,QAAA;MACPC,GAAG,EAAGA,GAAG,IAAK,IAAI,CAAC1D,OAAO,GAAG0D,GAAI;MACjCC,mBAAmB,EAAE,IAAK;MAC1BrB,KAAK,EAAE,IAAI,CAACa,MAAM,CAACnD,OAAQ;MAC3B4D,MAAM,EAAE;QACNC,GAAG,EAAE9D,KAAK,CAACF;MACb,CAAE;MACFiE,MAAM,EAAE,IAAI,CAACC,SAAS,CAAC,UAAU;IAAE,GAC/B1E,qBAAqB,CAACD,uBAAuB,CAAC4E,OAAO,EAAEjE,KAAK,CAAC;MACjEkE,SAAS,EAAElE,KAAK,CAACkE,SAAU;MAC3BC,SAAS,EAAE,IAAI,CAACA,SAAU;MAC1BC,oBAAoB,EAAE,IAAK;MAC3BC,uBAAuB,EAAG3C,KAAK,IAAK;QAClC,IAAI,CAACxB,YAAY,GAAGwB,KAAK;MAC3B,CAAE;MACF4C,aAAa,EAAE,IAAK;MACpBC,SAAS,EAAG5B,CAAC,IAAK,IAAI,CAACK,MAAM,CAACL,CAAC,EAAEA,CAAC,CAACnC,WAAW,CAACX,KAAK,EAAE8C,CAAC,CAACnC,WAAW,CAACgE,GAAG,CAAE;MACzEC,qBAAqB,EAAE,IAAK;MAC5BC,yBAAyB,EAAE;IAAK,EAEzB,CACP,CAAC;EAEX;AACF","ignoreList":[]}
@@ -59,6 +59,10 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
59
59
  addStyle('label-warning', '', getLabelStyles(themeVariables.labelWarningColor, themeVariables.labelWarningContrastColor));
60
60
  addStyle('label-test', '', getLabelStyles('yellow', 'red'));
61
61
  addStyle('label-test1', '', getLabelStyles('blue', 'orange'));
62
+ addStyle('label-test111', '', getLabelStyles('grey', 'red'));
63
+ addStyle('label-test11112', '', getLabelStyles('green', 'yellow'));
64
+ addStyle('label-test12311', '', getLabelStyles('violet', 'pink'));
65
+ addStyle('label-test9', '', getLabelStyles('green', 'blue'));
62
66
  const getTextStyles = color => {
63
67
  return {
64
68
  text: {
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","deepCopy","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","alignSelf","text","fontSize","color","labelDefaultColor","asterisk","labelAsteriskColor","marginLeft","skeleton","width","height","borderRadius","link","textDecorationLine","flexDirection","textAlign","getLabelStyles","textColor","backgroundColor","paddingLeft","paddingTop","paddingRight","paddingBottom","fontWeight","labelDangerColor","labelDangerContrastColor","labelDefaultContrastColor","labelInfoColor","labelInfoContrastColor","labelPrimaryColor","labelPrimaryContrastColor","labelSuccessColor","labelSuccessContrastColor","labelWarningColor","labelWarningContrastColor","getTextStyles","labelTextDangerColor","labelTextInfoColor","labelTextPrimaryColor","labelTextSuccessColor","labelTextWarningColor","getHeadingStyles","overrides","margin","labelHeaderColor","heading1FontSize","heading2FontSize","heading3FontSize","heading4FontSize","heading5FontSize","heading6FontSize","labelTextMutedColor"],"sources":["label.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { deepCopy } from '@wavemaker/app-rn-runtime/core/utils';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\nimport { WmAnchorStyles } from '../anchor/anchor.styles';\n\nexport type WmLabelStyles = BaseStyles & {\n asterisk: AllStyle,\n skeleton: WmSkeletonStyles \n link: WmAnchorStyles\n};\n\nexport const DEFAULT_CLASS = 'app-label';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmLabelStyles = defineStyles({\n root: {\n alignSelf: 'flex-start',\n },\n text: {\n fontSize: 16,\n color: themeVariables.labelDefaultColor\n },\n asterisk: {\n color: themeVariables.labelAsteriskColor,\n marginLeft: 2\n },\n skeleton: {\n root:{\n width: '100%',\n height: 16,\n borderRadius: 4,\n }\n } as any as WmSkeletonStyles,\n link: {\n text: {\n textDecorationLine: 'underline'\n }\n } as WmAnchorStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n root : {\n flexDirection: 'row',\n textAlign: 'right'\n }\n });\n const getLabelStyles = (color: string, textColor: string): WmLabelStyles => {\n return {\n root: {\n backgroundColor: color,\n paddingLeft: 32,\n paddingTop: 16,\n paddingRight: 32,\n paddingBottom: 16,\n borderRadius: 6\n },\n text: {\n color: textColor,\n fontWeight: 'bold'\n }\n } as WmLabelStyles;\n };\n\n addStyle('label-danger', '', getLabelStyles(themeVariables.labelDangerColor, themeVariables.labelDangerContrastColor));\n addStyle('label-default', '', getLabelStyles(themeVariables.labelDefaultColor, themeVariables.labelDefaultContrastColor));\n addStyle('label-info', '', getLabelStyles(themeVariables.labelInfoColor, themeVariables.labelInfoContrastColor));\n addStyle('label-primary', '', getLabelStyles(themeVariables.labelPrimaryColor, themeVariables.labelPrimaryContrastColor));\n addStyle('label-success', '', getLabelStyles(themeVariables.labelSuccessColor, themeVariables.labelSuccessContrastColor));\n addStyle('label-warning', '', getLabelStyles(themeVariables.labelWarningColor, themeVariables.labelWarningContrastColor));\n addStyle('label-test', '', getLabelStyles('yellow', 'red'));\n addStyle('label-test1', '', getLabelStyles('blue', 'orange'));\n addStyle('label-test111', '', getLabelStyles('grey', 'red'));\n addStyle('label-test11112', '', getLabelStyles('green', 'yellow'));\n addStyle('label-test12311', '', getLabelStyles('violet', 'pink'));\n addStyle('label-test9', '', getLabelStyles('green', 'blue'));\n\n const getTextStyles = (color: string) => {\n return {\n text: {\n color: color\n }\n } as WmLabelStyles;\n };\n\n addStyle('text-danger', '', getTextStyles(themeVariables.labelTextDangerColor));\n addStyle('text-info', '', getTextStyles(themeVariables.labelTextInfoColor));\n addStyle('text-primary', '', getTextStyles(themeVariables.labelTextPrimaryColor));\n addStyle('text-success', '', getTextStyles(themeVariables.labelTextSuccessColor));\n addStyle('text-warning', '', getTextStyles(themeVariables.labelTextWarningColor));\n addStyle('text-center', '', {\n root: {\n textAlign: 'center'\n }\n } as WmLabelStyles);\n addStyle('text-left', '', {\n root: {\n textAlign: 'left'\n }\n } as WmLabelStyles);\n addStyle('text-right', '', {\n root: {\n textAlign: 'right'\n }\n } as WmLabelStyles);\n\n\n const getHeadingStyles = (fontSize: number, overrides?: WmLabelStyles) => {\n return deepCopy({\n text: {\n fontWeight: '400',\n fontSize: fontSize,\n margin: 4,\n color: themeVariables.labelHeaderColor\n }\n } as WmLabelStyles, overrides);\n };\n addStyle('h1', '', getHeadingStyles(themeVariables.heading1FontSize, {text: {fontWeight: 'bold'}} as WmLabelStyles));\n addStyle('h2', '', getHeadingStyles(themeVariables.heading2FontSize, {text: {fontWeight: '500'}} as WmLabelStyles));\n addStyle('h3', '', getHeadingStyles(themeVariables.heading3FontSize));\n addStyle('h4', '', getHeadingStyles(themeVariables.heading4FontSize));\n addStyle('h5', '', getHeadingStyles(themeVariables.heading5FontSize));\n addStyle('h6', '', getHeadingStyles(themeVariables.heading6FontSize));\n addStyle('media-heading', '', {\n text : {\n fontSize: 16\n }\n } as WmLabelStyles);\n addStyle('text-muted', '', {\n text : {\n color: themeVariables.labelTextMutedColor\n }\n } as WmLabelStyles);\n addStyle('p', '', {\n text : {\n fontSize: 12\n }\n } as WmLabelStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAqB,wCAAwC;AAC9E,SAASC,QAAQ,QAAQ,sCAAsC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAUxF,OAAO,MAAMC,aAAa,GAAG,WAAW;AACxCH,UAAU,CAACI,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA4B,GAAGL,YAAY,CAAC;IAChDM,IAAI,EAAE;MACJC,SAAS,EAAE;IACb,CAAC;IACDC,I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ACsB,UAAU,EAAE;IAAK;EAAC,CAAkB,CAAC,CAAC;EACnH1B,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE4C,gBAAgB,CAAC7C,cAAc,CAACmD,gBAAgB,CAAC,CAAC;EACrElD,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE4C,gBAAgB,CAAC7C,cAAc,CAACoD,gBAAgB,CAAC,CAAC;EACrEnD,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE4C,gBAAgB,CAAC7C,cAAc,CAACqD,gBAAgB,CAAC,CAAC;EACrEpD,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE4C,gBAAgB,CAAC7C,cAAc,CAACsD,gBAAgB,CAAC,CAAC;EACrErD,QAAQ,CAAC,eAAe,EAAE,EAAE,EAAE;IAC5BI,IAAI,EAAG;MACLC,QAAQ,EAAE;IACZ;EACF,CAAkB,CAAC;EACnBL,QAAQ,CAAC,YAAY,EAAE,EAAE,EAAE;IACzBI,IAAI,EAAG;MACLE,KAAK,EAAEP,cAAc,CAACuD;IACxB;EACF,CAAkB,CAAC;EACnBtD,QAAQ,CAAC,GAAG,EAAE,EAAE,EAAE;IAChBI,IAAI,EAAG;MACLC,QAAQ,EAAE;IACZ;EACF,CAAkB,CAAC;AACrB,CAAC,CAAC","ignoreList":[]}
@@ -38,7 +38,7 @@ export default class WmProgressBar extends BaseComponent {
38
38
  }
39
39
  }
40
40
  }, /*#__PURE__*/React.createElement(ProgressBar, _extends({}, this.getTestPropsForAction('progressbar'), getAccessibilityProps(AccessibilityWidgetType.PROGRESSBAR, props), {
41
- animatedValue: value,
41
+ progress: value,
42
42
  color: styles.progressValue.color,
43
43
  style: [styles.progressBar, {
44
44
  height: styles.root.height || styles.progressBar.height
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","ProgressBar","LinearGradient","ExpoLinearGradient","Tappable","BaseComponent","BaseComponentState","AccessibilityWidgetType","getAccessibilityProps","WmProgressBarProps","DEFAULT_CLASS","parseLinearGradient","WmProgressBarState","WmProgressBar","constructor","props","renderWidget","_styles$root","_styles$progressBar","value","datavalue","minvalue","maxvalue","styles","theme","mergeStyle","getStyle","type","hasLinearGradient","color1","color2","start","end","root","progressBar","backgroundColor","gradientColors","valuePercent","Math","round","createElement","style","_background","target","width","height","_extends","getTestPropsForAction","PROGRESSBAR","progress","color","progressValue","colors","position","borderRadius","Fragment"],"sources":["progress-bar.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { ProgressBar } from 'react-native-paper';\nimport { LinearGradient as ExpoLinearGradient } from 'expo-linear-gradient';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nimport WmProgressBarProps from './progress-bar.props';\nimport { DEFAULT_CLASS, WmProgressBarStyles } from './progress-bar.styles';\nimport { parseLinearGradient } from '@wavemaker/app-rn-runtime/core/utils';\n\nexport class WmProgressBarState extends BaseComponentState<WmProgressBarProps> {}\n\nexport default class WmProgressBar extends BaseComponent<WmProgressBarProps, WmProgressBarState, WmProgressBarStyles> {\n\n constructor(props: WmProgressBarProps) {\n super(props, DEFAULT_CLASS, new WmProgressBarProps());\n }\n\n renderWidget(props: WmProgressBarProps) {\n let value = (props.datavalue - props.minvalue) / (props.maxvalue - props.minvalue);\n const styles = this.theme.mergeStyle(this.theme.getStyle(`app-${props.type}-progress-bar`), this.styles);\n const {hasLinearGradient, color1, color2, start, end} = parseLinearGradient(styles?.root?.progressBar?.backgroundColor as string);\n const gradientColors = [color1, color2];\n const valuePercent = `${Math.round(value * 100)}%`;\n\n return (\n <View style={styles.root}>\n {this._background}\n <Tappable target={this} styles={{root:{width: '100%', height: '100%'}}}>\n <ProgressBar\n {...this.getTestPropsForAction('progressbar')}\n {...getAccessibilityProps(AccessibilityWidgetType.PROGRESSBAR, props)}\n progress={value}\n color={styles.progressValue.color}\n style={[styles.progressBar, {height: styles.root.height || styles.progressBar.height}]}></ProgressBar>\n {hasLinearGradient ? (\n <ExpoLinearGradient\n colors={gradientColors}\n start={start}\n end={end}\n style={[\n {\n width: valuePercent as any,\n height: styles.root.height || styles.progressBar.height,\n position: 'absolute',\n borderRadius: styles?.progressBar?.borderRadius || 0,\n },\n ]}\n />\n ) : (\n <></>\n )}\n </Tappable>\n </View>); \n }\n\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,WAAW,QAAQ,oBAAoB;AAChD,SAASC,cAAc,IAAIC,kBAAkB,QAAQ,sBAAsB;AAC3E,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAOC,kBAAkB,MAAM,sBAAsB;AACrD,SAASC,aAAa,QAA6B,uBAAuB;AAC1E,SAASC,mBAAmB,QAAQ,sCAAsC;AAE1E,OAAO,MAAMC,kBAAkB,SAASN,kBAAkB,CAAqB;AAE/E,eAAe,MAAMO,aAAa,SAASR,aAAa,CAA8D;EAEpHS,WAAWA,CAACC,KAAyB,EAAE;IACrC,KAAK,CAACA,KAAK,EAAEL,aAAa,EAAE,IAAID,kBAAkB,CAAC,CAAC,CAAC;EACvD;EAEAO,YAAYA,CAACD,KAAyB,EAAE;IAAA,IAAAE,YAAA,EAAAC,mBAAA;IACtC,IAAIC,KAAK,GAAG,CAACJ,KAAK,CAACK,SAAS,GAAGL,KAAK,CAACM,QAAQ,KAAKN,KAAK,CAACO,QAAQ,GAAGP,KAAK,CAACM,QAAQ,CAAC;IAClF,MAAME,MAAM,GAAG,IAAI,CAACC,KAAK,CAACC,UAAU,CAAC,IAAI,CAACD,KAAK,CAACE,QAAQ,CAAC,OAAOX,KAAK,CAACY,IAAI,eAAe,CAA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e;MACvBL,KAAK,EAAEA,KAAM;MACbC,GAAG,EAAEA,GAAI;MACTS,KAAK,EAAE,CACL;QACEG,KAAK,EAAEP,YAAmB;QAC1BQ,MAAM,EAAEtB,MAAM,CAACU,IAAI,CAACY,MAAM,IAAItB,MAAM,CAACW,WAAW,CAACW,MAAM;QACvDQ,QAAQ,EAAE,UAAU;QACpBC,YAAY,EAAE,CAAA/B,MAAM,aAANA,MAAM,gBAAAL,mBAAA,GAANK,MAAM,CAAEW,WAAW,cAAAhB,mBAAA,uBAAnBA,mBAAA,CAAqBoC,YAAY,KAAI;MACrD,CAAC;IACD,CACH,CAAC,gBAEFvD,KAAA,CAAAyC,aAAA,CAAAzC,KAAA,CAAAwD,QAAA,MAAI,CAEA,CACN,CAAC;EACT;AAEF","ignoreList":[]}
@@ -1,7 +1,6 @@
1
1
  import Color from 'color';
2
2
  import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
3
3
  import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
4
- import { Platform } from 'react-native';
5
4
  export const DEFAULT_CLASS = 'app-progress-bar';
6
5
  BASE_THEME.registerStyle((themeVariables, addStyle) => {
7
6
  const defaultStyles = defineStyles({
@@ -26,12 +25,5 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
26
25
  addStyle('app-info-progress-bar', '', getStyle(themeVariables.progressBarInfoColor));
27
26
  addStyle('app-danger-progress-bar', '', getStyle(themeVariables.progressBarDangerColor));
28
27
  addStyle('app-warning-progress-bar', '', getStyle(themeVariables.progressBarWarningColor));
29
- addStyle(DEFAULT_CLASS + '-rtl', '', Platform.OS == 'ios' ? {
30
- progressBar: {
31
- transform: [{
32
- scale: -1
33
- }]
34
- }
35
- } : {});
36
28
  });
37
29
  //# sourceMappingURL=progress-bar.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Color","BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","progressBar","height","progressValue","getStyle","color","backgroundColor","alpha","rgb","toString","progressBarDefaultColor","progressBarSuccessColor","progressBarInfoColor","progressBarDangerColor","progressBarWarningColor"],"sources":["progress-bar.styles.ts"],"sourcesContent":["import Color from 'color';\nimport BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport type WmProgressBarStyles = BaseStyles & {\n progressBar : AllStyle,\n progressValue: AllStyle\n};\n\nexport const DEFAULT_CLASS = 'app-progress-bar';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmProgressBarStyles = defineStyles({\n root: {},\n text: {},\n progressBar: {\n height: 4\n },\n progressValue: {}\n });\n\n const getStyle = (color: string) => ({\n progressBar: {\n backgroundColor: Color(color).alpha(0.2).rgb().toString()\n },\n progressValue: {\n color: color\n }\n } as WmProgressBarStyles);\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle('app-default-progress-bar', '', getStyle(themeVariables.progressBarDefaultColor));\n addStyle('app-success-progress-bar', '', getStyle(themeVariables.progressBarSuccessColor));\n addStyle('app-info-progress-bar', '', getStyle(themeVariables.progressBarInfoColor));\n addStyle('app-danger-progress-bar', '', getStyle(themeVariables.progressBarDangerColor));\n addStyle('app-warning-progress-bar', '', getStyle(themeVariables.progressBarWarningColor));\n});"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAOxF,OAAO,MAAMC,aAAa,GAAG,kBAAkB;AAC/CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAkC,GAAGL,YAAY,CAAC;IACpDM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,WAAW,EAAE;MACTC,MAAM,EAAE;IACZ,CAAC;IACDC,aAAa,EAAE,CAAC;EACpB,CAAC,CAAC;EAEF,MAAMC,QAAQ,GAAIC,KAAa,KAAM;IACjCJ,WAAW,EAAE;MACTK,eAAe,EAAEf,KAAK,CAACc,KAAK,CAAC,CAACE,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC;IAC5D,CAAC;IACDN,aAAa,EAAE;MACXE,KAAK,EAAEA;IACX;EACJ,CAAC,CAAwB;EAEzBR,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAAC,0BAA0B,EAAE,EAAE,EAAEO,QAAQ,CAACR,cAAc,CAACc,uBAAuB,CAAC,CAAC;EAC1Fb,QAAQ,CAAC,0BAA0B,EAAE,EAAE,EAAEO,QAAQ,CAACR,cAAc,CAACe,uBAAuB,CAAC,CAAC;EAC1Fd,QAAQ,CAAC,uBAAuB,EAAE,EAAE,EAAEO,QAAQ,CAACR,cAAc,CAACgB,oBAAoB,CAAC,CAAC;EACpFf,QAAQ,CAAC,yBAAyB,EAAE,EAAE,EAAEO,QAAQ,CAACR,cAAc,CAACiB,sBAAsB,CAAC,CAAC;EACxFhB,QAAQ,CAAC,0BAA0B,EAAE,EAAE,EAAEO,QAAQ,CAACR,cAAc,CAACkB,uBAAuB,CAAC,CAAC;AAC9F,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,68 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
4
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
+ import React from 'react';
6
+ import { View } from 'react-native';
7
+ import { ResizeMode, Video } from 'expo-av';
8
+ import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
9
+ import WmVideoProps from './video.props';
10
+ import { DEFAULT_CLASS } from './video.styles';
11
+ import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';
12
+ import { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';
13
+ import { createSkeleton } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.component';
14
+ export class WmVideoState extends BaseComponentState {}
15
+ export default class WmVideo extends BaseComponent {
16
+ constructor(props) {
17
+ super(props, DEFAULT_CLASS, new WmVideoProps(), new WmVideoState());
18
+ _defineProperty(this, "video", null);
19
+ _defineProperty(this, "handlePlaybackStatus", status => {
20
+ if ('isPlaying' in status && typeof status === 'object') {
21
+ console.log(status.isPlaying ? 'Playing' : 'Paused');
22
+ } else if ('error' in status) {
23
+ console.error(`Encountered a fatal error during playback: ${status.error}`);
24
+ }
25
+ });
26
+ }
27
+ getSource(path) {
28
+ if (!path) {
29
+ return null;
30
+ }
31
+ const resource = this.loadAsset(path);
32
+ if (isFullPathUrl(resource)) {
33
+ return {
34
+ uri: resource
35
+ };
36
+ }
37
+ return resource;
38
+ }
39
+ renderSkeleton(props) {
40
+ return createSkeleton(this.theme, this.styles.skeleton, {
41
+ ...this.styles.root
42
+ });
43
+ }
44
+ renderWidget(props) {
45
+ return /*#__PURE__*/React.createElement(View, {
46
+ style: this.styles.root
47
+ }, this._background, /*#__PURE__*/React.createElement(Video, _extends({}, getAccessibilityProps(AccessibilityWidgetType.VIDEO, props), {
48
+ ref: video => {
49
+ this.video = video;
50
+ },
51
+ style: {
52
+ width: '100%',
53
+ height: '100%',
54
+ flex: 1
55
+ },
56
+ shouldPlay: props.autoplay,
57
+ onPlaybackStatusUpdate: this.handlePlaybackStatus,
58
+ source: this.getSource(props.mp4format || props.webmformat),
59
+ posterSource: this.getSource(props.videoposter),
60
+ useNativeControls: props.controls,
61
+ resizeMode: ResizeMode.CONTAIN,
62
+ isLooping: props.loop,
63
+ isMuted: props.muted,
64
+ testID: this.getTestId('video')
65
+ })));
66
+ }
67
+ }
68
+ //# sourceMappingURL=video.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","ResizeMode","Video","BaseComponent","BaseComponentState","WmVideoProps","DEFAULT_CLASS","AccessibilityWidgetType","getAccessibilityProps","isFullPathUrl","createSkeleton","WmVideoState","WmVideo","constructor","props","_defineProperty","status","console","log","isPlaying","error","getSource","path","resource","loadAsset","uri","renderSkeleton","theme","styles","skeleton","root","renderWidget","createElement","style","_background","_extends","VIDEO","ref","video","width","height","flex","shouldPlay","autoplay","onPlaybackStatusUpdate","handlePlaybackStatus","source","mp4format","webmformat","posterSource","videoposter","useNativeControls","controls","resizeMode","CONTAIN","isLooping","loop","isMuted","muted","testID","getTestId"],"sources":["video.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View } from 'react-native';\nimport { ResizeMode, Video, AVPlaybackStatus } from 'expo-av';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmVideoProps from './video.props';\nimport { DEFAULT_CLASS, WmVideoStyles } from './video.styles';\nimport { isString } from 'lodash-es';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \nimport { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';\nimport { createSkeleton } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.component';\n\nexport class WmVideoState extends BaseComponentState<WmVideoProps> {}\n\nexport default class WmVideo extends BaseComponent<WmVideoProps, WmVideoState, WmVideoStyles> {\n\n private video: Video | null = null as any;\n\n constructor(props: WmVideoProps) {\n super(props, DEFAULT_CLASS, new WmVideoProps(), new WmVideoState());\n }\n\n getSource(path: string) {\n if (!path) {\n return null;\n }\n const resource = this.loadAsset(path);\n if (isFullPathUrl(resource as string)) {\n return {\n uri: resource\n };\n }\n return resource;\n }\n\n handlePlaybackStatus = (status: AVPlaybackStatus) => {\n if ('isPlaying' in status && typeof status === 'object') {\n console.log(status.isPlaying? 'Playing' : 'Paused');\n } else if ('error' in status) {\n console.error(`Encountered a fatal error during playback: ${status.error}`);\n }\n };\n\n public renderSkeleton(props: WmVideoProps): React.ReactNode {\n return createSkeleton(this.theme, this.styles.skeleton , {\n ...this.styles.root\n });\n }\n\n renderWidget(props: WmVideoProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n <Video\n {...getAccessibilityProps(AccessibilityWidgetType.VIDEO, props)}\n ref={(video) => { this.video = video; }}\n style={{ width: '100%', height: '100%', flex: 1 }}\n shouldPlay={props.autoplay}\n onPlaybackStatusUpdate={this.handlePlaybackStatus}\n source={this.getSource(\n props.mp4format\n || props.webmformat) as any}\n posterSource={ this.getSource(props.videoposter) as any }\n useNativeControls={props.controls}\n resizeMode={ResizeMode.CONTAIN}\n isLooping={props.loop}\n isMuted={props.muted}\n testID={this.getTestId('video')}\n />\n </View>); \n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAeC,IAAI,QAAQ,cAAc;AACzC,SAASC,UAAU,EAAEC,KAAK,QAA0B,SAAS;AAC7D,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,YAAY,MAAM,eAAe;AACxC,SAASC,aAAa,QAAuB,gBAAgB;AAE7D,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAC7G,SAASC,aAAa,QAAQ,sCAAsC;AACpE,SAASC,cAAc,QAAQ,wEAAwE;AAEvG,OAAO,MAAMC,YAAY,SAASP,kBAAkB,CAAe;AAEnE,eAAe,MAAMQ,OAAO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B,KAAK,CAAC;MAC/DuB,GAAG,EAAGC,KAAK,IAAK;QAAE,IAAI,CAACA,KAAK,GAAGA,KAAK;MAAE,CAAE;MACxCL,KAAK,EAAE;QAAEM,KAAK,EAAE,MAAM;QAAEC,MAAM,EAAE,MAAM;QAAEC,IAAI,EAAE;MAAE,CAAE;MAClDC,UAAU,EAAE5B,KAAK,CAAC6B,QAAS;MAC3BC,sBAAsB,EAAE,IAAI,CAACC,oBAAqB;MAClDC,MAAM,EAAE,IAAI,CAACzB,SAAS,CACpBP,KAAK,CAACiC,SAAS,IACZjC,KAAK,CAACkC,UAAU,CAAS;MAC9BC,YAAY,EAAG,IAAI,CAAC5B,SAAS,CAACP,KAAK,CAACoC,WAAW,CAAU;MACzDC,iBAAiB,EAAErC,KAAK,CAACsC,QAAS;MAClCC,UAAU,EAAEpD,UAAU,CAACqD,OAAQ;MAC/BC,SAAS,EAAEzC,KAAK,CAAC0C,IAAK;MACtBC,OAAO,EAAE3C,KAAK,CAAC4C,KAAM;MACrBC,MAAM,EAAE,IAAI,CAACC,SAAS,CAAC,OAAO;IAAE,EACjC,CACG,CAAC;EACX;AACF","ignoreList":[]}
@@ -20,13 +20,6 @@ export default class WmVideoProps extends BaseProps {
20
20
  _defineProperty(this, "accessibilitylabel", undefined);
21
21
  _defineProperty(this, "hint", undefined);
22
22
  _defineProperty(this, "accessibilityrole", void 0);
23
- _defineProperty(this, "onFullscreenEnter", null);
24
- _defineProperty(this, "onFullscreenExit", null);
25
- _defineProperty(this, "requiresLinearPlayback", true);
26
- _defineProperty(this, "isLive", false);
27
- _defineProperty(this, "playing", false);
28
- _defineProperty(this, "showNowPlayingNotification", false);
29
- _defineProperty(this, "allowsPictureInPicture", false);
30
23
  }
31
24
  }
32
25
  //# sourceMappingURL=video.props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseProps","WmVideoProps","constructor","args","_defineProperty","undefined"],"sources":["video.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nexport default class WmVideoProps extends BaseProps {\n autoplay = false;\n controls = false;\n loop = false;\n mp4format: string = null as any;\n muted = false;\n oggformat: string = null as any;\n subtitlelang = 'en';\n subtitlesource: string = null as any;\n videoposter = 'resources/images/imagelists/default-image.png';\n videopreload = 'none';\n videosupportmessage = 'Your browser does not support the video tag.';\n webmformat: string = null as any;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole;\n}"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,YAAY,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,mBACrC,KAAK;IAAAA,eAAA,mBACL,KAAK;IAAAA,eAAA,eACT,KAAK;IAAAA,eAAA,oBACQ,IAAI;IAAAA,eAAA,gBAChB,KAAK;IAAAA,eAAA,oBACO,IAAI;IAAAA,eAAA,uBACT,IAAI;IAAAA,eAAA,yBACM,IAAI;IAAAA,eAAA,sBACf,+CAA+C;IAAAA,eAAA,uBAC9C,MAAM;IAAAA,eAAA,8BACC,8CAA8C;IAAAA,eAAA,qBAC/C,IAAI;IAAAA,eAAA,6BACKC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA;EAAA;AAE7B","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","minHeight","elevation","borderBottomWidth","borderStyle","borderColor","tabBorderColor","text","tabContent","tabHeader","skeleton","backgroundColor","transparent","header","marginBottom","activeIndicator","justifyContent","alignItems","marginTop","height","arrowIndicator","display","tabArrowIndicatorBgColor","width","transform","rotateZ","arrowIndicatorDot","tabArrowIndicatorDotColor","borderRadius","translateX","translateY"],"sources":["tabs.styles.ts"],"sourcesContent":["import { ViewStyle } from 'react-native';\nimport BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmTabheaderStyles } from './tabheader/tabheader.styles';\nimport { WmSkeletonStyles } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.styles';\n\nexport type WmTabsStyles = BaseStyles & {\n tabHeader: WmTabheaderStyles,\n tabContent: ViewStyle,\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-tabs';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmTabsStyles = defineStyles({\n root: {\n minHeight: 240,\n elevation: 0,\n borderBottomWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.tabBorderColor\n },\n text: {},\n tabContent: {},\n tabHeader: {} as WmTabheaderStyles,\n skeleton: { \n root: {\n }\n } as WmSkeletonStyles\n });\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle('tabs-with-arrow-indicator', '', {\n tabHeader: {\n root: {\n backgroundColor: themeVariables.transparent\n },\n header: {\n marginBottom: 16\n },\n activeIndicator: {\n justifyContent: 'center',\n alignItems: 'center',\n marginTop: 2,\n height: 0\n },\n arrowIndicator: {\n display: 'flex',\n backgroundColor: themeVariables.tabArrowIndicatorBgColor,\n width: 24,\n height: 24,\n justifyContent: 'center',\n alignItems: 'center',\n transform: [{\n rotateZ: '45deg'\n }]\n },\n arrowIndicatorDot: {\n display: 'flex',\n backgroundColor: themeVariables.tabArrowIndicatorDotColor,\n width: 4,\n height: 4, \n borderRadius: 8,\n transform: [{\n translateX: -2\n }, {\n translateY: -2\n }]\n }\n } as any as WmTabheaderStyles\n });\n});"],"mappings":"AACA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAUxF,OAAO,MAAMC,aAAa,GAAG,UAAU;AACvCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA2B,GAA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AAC;AACJ,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","minHeight","elevation","borderBottomWidth","borderStyle","borderColor","tabBorderColor","text","tabContent","tabHeader","skeleton","backgroundColor","transparent","header","marginBottom","activeIndicator","justifyContent","alignItems","marginTop","height","arrowIndicator","display","tabArrowIndicatorBgColor","width","transform","rotateZ","arrowIndicatorDot","tabArrowIndicatorDotColor","borderRadius","translateX","translateY"],"sources":["tabs.styles.ts"],"sourcesContent":["import { ViewStyle } from 'react-native';\nimport BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmTabheaderStyles } from './tabheader/tabheader.styles';\nimport { WmSkeletonStyles } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.styles';\n\nexport type WmTabsStyles = BaseStyles & {\n tabHeader: WmTabheaderStyles,\n tabContent: ViewStyle,\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-tabs';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmTabsStyles = defineStyles({\n root: {\n minHeight: 240,\n elevation: 0,\n borderBottomWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.tabBorderColor\n },\n text: {},\n tabContent: {},\n tabHeader: {} as WmTabheaderStyles,\n skeleton: { \n root: {\n }\n } as WmSkeletonStyles\n });\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle('tabs-with-arrow-indicator', '', {\n tabHeader: {\n root: {\n backgroundColor: themeVariables.transparent\n },\n header: {\n marginBottom: 16\n },\n activeIndicator: {\n justifyContent: 'center',\n alignItems: 'center',\n marginTop: 2,\n height: 0\n },\n arrowIndicator: {\n display: 'flex',\n backgroundColor: themeVariables.tabArrowIndicatorBgColor,\n width: 24,\n height: 24,\n justifyContent: 'center',\n alignItems: 'center',\n transform: [{\n rotateZ: '45deg'\n }]\n },\n arrowIndicatorDot: {\n display: 'flex',\n backgroundColor: themeVariables.tabArrowIndicatorDotColor,\n width: 4,\n height: 4, \n borderRadius: 8,\n transform: [{\n translateX: -2\n }, {\n translateY: -2\n }]\n }\n } as WmTabheaderStyles\n });\n});\n"],"mappings":"AACA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAUxF,OAAO,MAAMC,aAAa,GAAG,UAAU;AACvCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA2B,GAAGL,YAAY,CAAC;IAC7CM,IAAI,EAAE;MACJC,SAAS,EAAE,GAAG;MACdC,SAAS,EAAE,CAAC;MACZC,iBAAiB,EAAE,CAAC;MACpBC,WAAW,EAAE,OAAO;MACpBC,WAAW,EAAER,cAAc,CAACS;IAC9B,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,UAAU,EAAE,CAAC,CAAC;IACdC,SAAS,EAAE,CAAC,CAAsB;IAClCC,QAAQ,EAAE;MACRV,IAAI,EAAE,CACN;IACF;EACJ,CAAC,CAAC;EACFF,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAAC,2BAA2B,EAAE,EAAE,EAAE;IACxCW,SAAS,EAAE;MACTT,IAAI,EAAE;QACJW,eAAe,EAAEd,cAAc,CAACe;MAClC,CAAC;MACDC,MAAM,EAAE;QACNC,YAAY,EAAE;MAChB,CAAC;MACDC,eAAe,EAAE;QACfC,cAAc,EAAE,QAAQ;QACxBC,UAAU,EAAE,QAAQ;QACpBC,SAAS,EAAE,CAAC;QACZC,MAAM,EAAE;MACV,CAAC;MACDC,cAAc,EAAE;QACdC,OAAO,EAAE,MAAM;QACfV,eAAe,EAAEd,cAAc,CAACyB,wBAAwB;QACxDC,KAAK,EAAE,EAAE;QACTJ,MAAM,EAAE,EAAE;QACVH,cAAc,EAAE,QAAQ;QACxBC,UAAU,EAAE,QAAQ;QACpBO,SAAS,EAAE,CAAC;UACVC,OAAO,EAAE;QACX,CAAC;MACH,CAAC;MACDC,iBAAiB,EAAE;QACjBL,OAAO,EAAE,MAAM;QACfV,eAAe,EAAEd,cAAc,CAAC8B,yBAAyB;QACzDJ,KAAK,EAAE,CAAC;QACRJ,MAAM,EAAE,CAAC;QACTS,YAAY,EAAE,CAAC;QACfJ,SAAS,EAAE,CAAC;UACVK,UAAU,EAAE,CAAC;QACf,CAAC,EAAE;UACDC,UAAU,EAAE,CAAC;QACf,CAAC;MACH;IACF;EACF,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -175,13 +175,19 @@ export default class WmWizard extends BaseComponent {
175
175
  }
176
176
  }, this.renderMenuPopover())));
177
177
  }
178
+ stepConnectorWidth(isFirstOrLastConnector, stepIndex) {
179
+ if (stepIndex + 2 === this.steps.length && !this.steps[stepIndex + 1].props.show) {
180
+ return '50%';
181
+ }
182
+ return isFirstOrLastConnector ? '50%' : '100%';
183
+ }
178
184
  renderWizardHeader(item, index) {
179
185
  const isLastStep = index === this.numberOfSteps - 1;
180
186
  const isFirstStep = index === 0;
181
187
  const isActiveStep = index === this.state.currentStep;
182
188
  const isNumberTextLayout = this.state.props.classname === 'number-text-inline';
183
189
  const wizardStepCountVisibility = index >= this.state.currentStep && !this.state.isDone || !this.state.currentStep;
184
- return item.state.props.show != false ? /*#__PURE__*/React.createElement(View, {
190
+ return item.state.props.show !== false ? /*#__PURE__*/React.createElement(View, {
185
191
  style: [this.styles.headerWrapper, isNumberTextLayout ? {
186
192
  paddingRight: isActiveStep ? 0 : 5,
187
193
  paddingLeft: index === this.state.currentStep + 1 ? 0 : 5
@@ -217,10 +223,10 @@ export default class WmWizard extends BaseComponent {
217
223
  style: [this.styles.numberTextStepConnector, {
218
224
  width: isLastStep ? 0 : 50
219
225
  }]
220
- })), this.numberOfSteps > 1 && /*#__PURE__*/React.createElement(View, {
226
+ })), this.numberOfSteps > 1 && item.state.props.show && /*#__PURE__*/React.createElement(View, {
221
227
  style: [this.styles.stepConnector, {
222
- width: isFirstStep || isLastStep ? '50%' : '100%',
223
- left: Platform.OS == "web" ? !this.isRTL && isFirstStep || this.isRTL && isLastStep ? '50%' : '0%' : isFirstStep ? '50%' : '0%'
228
+ width: this.stepConnectorWidth(isFirstStep || isLastStep, index),
229
+ left: Platform.OS === "web" ? !this.isRTL && isFirstStep || this.isRTL && isLastStep ? '50%' : '0%' : isFirstStep ? '50%' : '0%'
224
230
  }]
225
231
  })) : null;
226
232
  }
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","View","TouchableOpacity","Platform","TouchableWithoutFeedback","isArray","merge","BaseComponent","BaseComponentState","WmWizardProps","DEFAULT_CLASS","WmButton","WmIcon","WmAnchor","WmProgressCircle","WmPopover","WmLabel","createSkeleton","WmWizardState","constructor","args","_defineProperty","WmWizard","props","onComponentInit","c","popOverRef","updateDefaultStep","steps","defaultStepIndex","defaultstep","map","item","index","name","updateCurrentStep","addWizardStep","step","forceUpdate","componentDidMount","componentDidUpdate","prevProps","prevState","snapshot","showActiveStep","_this$steps$this$stat","state","currentStep","setActive","isDone","_this$steps$this$stat2","lastStep","setInActive","updateState","invokeEventCallback","proxy","getStepStyle","style","styles","push","doneStep","activeStep","renderMenuPopover","menuDataset","getmenudataexpression","Labels","title","createElement","id","getTestId","popover","contentanimation","caption","popoverheight","height","popoverwidth","width","listener","iconclass","popovericonclass","iconposition","type","currentMenuItem","length","key","onPress","hide","stepMenu","activeStepMenu","stepMenuActiveIcon","stepMenuIcon","stepMenuActiveLabel","stepMenuLabel","renderProgressCircleHeader","progressTitle","progresstitle","headerWrapper","stepWrapper","flex","alignItems","justifyContent","flexDirection","minvalue","maxvalue","datavalue","captionplacement","progresstype","subtitle","progressCircle","_extends","stepTitle","getTestPropsForLabel","stepSubTitle","stepConnectorWidth","isFirstOrLastConnector","stepIndex","show","renderWizardHeader","isLastStep","numberOfSteps","isFirstStep","isActiveStep","isNumberTextLayout","classname","wizardStepCountVisibility","paddingRight","paddingLeft","bind","disabled","headernavigation","accessibilityRole","_showSkeleton","getTestPropsForAction","activeStepCounter","stepCounter","stepIcon","icon","color","showskeleton","root","numberTextStepConnector","stepConnector","left","OS","isRTL","prev","invokePrevCB","next","eventName","invokeSkipCB","invokeNextCB","done","$event","cancel","skip","getBackground","_background","renderSkeleton","showskeletonchildren","_this$props","skeletonStyles","skeleton","text","theme","opacity","children","renderWidget","_this$state$props$cla","isSkippable","enableskip","isProgressCircleHeader","includes","wizardHeader","i","wizardBody","wizardFooter","actionsalignment","showdone","wizardActions","getStyle","doneButton","donebtnlabel","onTap","disabledone","shownext","nextButton","nextbtnlabel","disablenext","showprev","prevButton","previousbtnlabel","disableprev","cancelable","cancelbtnlabel","cancelButton","skipLink"],"sources":["wizard.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View, TouchableOpacity, Platform, TouchableWithoutFeedback, DimensionValue } from 'react-native';\nimport { isArray, merge } from 'lodash';\nimport { BaseComponent, BaseComponentState, LifecycleListener } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmWizardProps from './wizard.props';\nimport { DEFAULT_CLASS, WmWizardStyles } from './wizard.styles';\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmAnchor from '@wavemaker/app-rn-runtime/components/basic/anchor/anchor.component';\nimport WmWizardstep from './wizardstep/wizardstep.component';\nimport WmProgressCircle from '@wavemaker/app-rn-runtime/components/basic/progress-circle/progress-circle.component';\nimport WmPopover from '@wavemaker/app-rn-runtime/components/navigation/popover/popover.component';\nimport WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';\nimport { WmSkeletonStyles } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.styles';\nimport { createSkeleton } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.component';\n\nexport class WmWizardState extends BaseComponentState<WmWizardProps> {\n currentStep: number = 0;\n isDone: boolean = false;\n}\n\nexport default class WmWizard extends BaseComponent<WmWizardProps, WmWizardState, WmWizardStyles> {\n private numberOfSteps: number = null as any;\n private steps = [] as WmWizardstep[];\n private popOverRef: WmPopover = null as any;\n\n private listener: LifecycleListener = {\n onComponentInit: (c) => {\n if (c instanceof WmPopover) {\n this.popOverRef = c;\n }\n }\n };\n\n constructor(props: WmWizardProps) {\n super(props, DEFAULT_CLASS, new WmWizardProps());\n }\n\n updateDefaultStep() {\n const steps = this.steps;\n const props = this.props;\n let defaultStepIndex = 0;\n if (isArray(steps) && props.defaultstep) {\n steps && steps.map((item: any, index: any) => {\n if (props.defaultstep === item.props.name) {\n defaultStepIndex = index;\n }\n })\n }\n this.updateCurrentStep(defaultStepIndex);\n }\n\n addWizardStep(step: WmWizardstep) {\n this.steps[step.props.index] = step;\n this.forceUpdate();\n }\n\n componentDidMount() {\n super.componentDidMount();\n if (this.props.defaultstep && this.props.defaultstep != 'none') {\n this.updateDefaultStep();\n }\n }\n\n componentDidUpdate(prevProps: Readonly<WmWizardProps>, prevState: Readonly<WmWizardState>, snapshot?: any): void {\n super.componentDidUpdate && super.componentDidUpdate(prevProps, prevState, snapshot);\n // * when a variable is bind to default step\n if (this.props.defaultstep && prevProps.defaultstep !== this.props.defaultstep) {\n this.updateDefaultStep();\n }\n }\n\n showActiveStep() {\n this.steps[this.state.currentStep]?.setActive();\n }\n\n updateCurrentStep(index: number, isDone = false) {\n const lastStep = this.state.currentStep;\n this.steps[this.state.currentStep]?.setInActive();\n this.updateState({\n currentStep: index,\n isDone: isDone\n } as WmWizardState, () => {\n this.showActiveStep();\n if (lastStep !== index) {\n this.invokeEventCallback('onChange', [null, this.proxy, index + 1, lastStep + 1]);\n }\n });\n }\n\n getStepStyle(index: number) {\n const style = [this.styles.step];\n if (this.state.isDone || index < this.state.currentStep) {\n style.push(this.styles.doneStep);\n } else if (this.state.currentStep === index) {\n style.push(this.styles.activeStep);\n }\n return style;\n }\n\n renderMenuPopover(){\n const menuDataset = this.props.getmenudataexpression || ((item: any, index: number) => '') ;\n const Labels = this.steps.map((step: WmWizardstep) => step.state.props.title);\n return (\n <WmPopover\n id={this.getTestId('menu')}\n styles={this.styles.popover}\n contentanimation={'slideInDown'}\n caption={''}\n popoverheight={this.styles.popover.popover.height as string | number | undefined || null}\n popoverwidth={this.styles.popover.popover.width as string | number | undefined || null}\n listener={this.listener}\n iconclass={this.props.popovericonclass || 'fa fa-caret-down'}\n iconposition=\"right\"\n type='dropdown'>\n <View style={this.styles.popover.popover}>\n {Labels.map((item: any, index: number) => {\n const currentMenuItem = index==this.state.currentStep;\n const caption = menuDataset({\"count\":this.steps.length}, index);\n return (\n <TouchableWithoutFeedback key={'wizard_menu_item_'+index} onPress={()=>{this.popOverRef.hide();}}>\n <View style={[this.styles.stepMenu, currentMenuItem?this.styles.activeStepMenu:{}]}>\n <WmIcon id={this.getTestId('icon')} caption={caption} iconclass={currentMenuItem? \"wi wi-radio-button-checked\" : 'wi wi-radio-button-unchecked'} styles={currentMenuItem?this.styles.stepMenuActiveIcon:this.styles.stepMenuIcon}/>\n <WmLabel caption={item} styles={currentMenuItem?this.styles.stepMenuActiveLabel:this.styles.stepMenuLabel}/>\n </View>\n </TouchableWithoutFeedback>\n )})}\n </View>\n </WmPopover>\n );\n }\n\n renderProgressCircleHeader(item: any, index: number) {\n const progressTitle = this.props.progresstitle || (index + 1 + '/' + this.steps.length);\n return (\n <View style={[this.styles.headerWrapper]} key={index + 1}>\n <View style={this.styles.stepWrapper}>\n <View style={{ flex: 1, alignItems: 'flex-start', justifyContent: 'center', flexDirection:'row' }}>\n <WmProgressCircle id={this.getTestId('progress')} minvalue={0} maxvalue={this.steps.length} datavalue={index + 1} captionplacement={'inside'} type={this.props.progresstype} title={progressTitle} subtitle={''} styles={this.styles.progressCircle}/>\n </View>\n <View style={{ flex: 2, justifyContent: 'center', flexDirection: 'column' }}>\n <Text style={this.styles.stepTitle} {...this.getTestPropsForLabel('step' + (index + 1) + '_title')}>\n {item.props.title || 'Step Title'}</Text>\n <Text style={this.styles.stepSubTitle} {...this.getTestPropsForLabel('step' + (index + 1)+ '_subtitle')}>\n {item.props.subtitle || 'Step Sub Title'}</Text>\n </View>\n <View style={{ flexDirection: 'row', alignItems: 'flex-end', justifyContent: 'flex-end', flex: 1 }}>\n {this.renderMenuPopover()}\n </View>\n </View>\n </View>\n );\n }\n\n stepConnectorWidth(isFirstOrLastConnector: boolean, stepIndex: number): DimensionValue {\n if((stepIndex + 2) === this.steps.length && !this.steps[stepIndex + 1].props.show){\n return '50%';\n }\n return isFirstOrLastConnector ? '50%' : '100%';\n }\n\n renderWizardHeader(item: any, index: number) {\n const isLastStep = index === this.numberOfSteps - 1;\n const isFirstStep = index === 0;\n const isActiveStep = index === this.state.currentStep;\n const isNumberTextLayout = this.state.props.classname === 'number-text-inline';\n const wizardStepCountVisibility = (index >= this.state.currentStep && !this.state.isDone) || !this.state.currentStep\n return item.state.props.show !== false ? (\n <View \n style={[\n this.styles.headerWrapper, isNumberTextLayout ?\n {paddingRight: isActiveStep ? 0 : 5, paddingLeft: index === this.state.currentStep + 1 ? 0 : 5}: {}\n ]} \n key={index+1}\n >\n <TouchableOpacity \n style={this.styles.stepWrapper}\n onPress={this.updateCurrentStep.bind(this, index, false)} disabled={index >= this.state.currentStep || !this.state.props.headernavigation}\n accessibilityRole='header'\n >\n {!this._showSkeleton ? \n <View style={this.getStepStyle(index)} {...this.getTestPropsForAction('step'+index)}>\n { wizardStepCountVisibility &&\n <Text \n style={\n isActiveStep ? [this.styles.activeStep, this.styles.activeStepCounter] : this.styles.stepCounter} \n {...this.getTestPropsForLabel('step' + (index + 1) + '_indicator')\n }\n >\n {index+1}\n </Text>\n }\n {(index < this.state.currentStep || this.state.isDone) &&\n <WmIcon \n id={this.getTestId('status')} \n styles={isActiveStep ? merge({}, this.styles.stepIcon, {icon: {color: this.styles.activeStep.color}}) : this.styles.stepIcon}\n iconclass={item.state.props.iconclass || 'wm-sl-l sl-check'}\n ></WmIcon>\n }\n </View> : \n <WmLabel showskeleton={true} styles={{root: {...this.getStepStyle(index)[0]}}}/>\n }\n {(isActiveStep) &&\n <Text style={this.styles.stepTitle} {...this.getTestPropsForLabel('step' + (index + 1) + '_title')}>\n {item.state.props.title || 'Step Title'}\n </Text> \n }\n {this.numberOfSteps > 1 && isActiveStep &&\n <View style={[this.styles.numberTextStepConnector, {width: isLastStep ? 0 : 50}]}></View>}\n </TouchableOpacity>\n {this.numberOfSteps > 1 && \n item.state.props.show &&\n <View \n style={[\n this.styles.stepConnector, \n {\n width: this.stepConnectorWidth(isFirstStep || isLastStep, index),\n left: Platform.OS === \"web\" ? (!this.isRTL && isFirstStep) || (this.isRTL && isLastStep) ? '50%': '0%': isFirstStep ? '50%': '0%'\n }\n ]}\n ></View>\n }\n </View>\n ) : null;\n }\n\n prev() {\n const index = this.state.currentStep;\n if (index <= 0) {\n return;\n }\n const currentStep = this.steps[index];\n if(currentStep.invokePrevCB(index) == false){\n return;\n }\n this.updateCurrentStep(index - 1);\n }\n\n next(eventName?: string) {\n const index = this.state.currentStep;\n if (index >= this.steps.length - 1) {\n return;\n }\n const currentStep = this.steps[index];\n if (eventName === 'skip') {\n currentStep.invokeSkipCB(index);\n } else if (currentStep.invokeNextCB(index) == false) {\n return;\n }\n this.updateCurrentStep(index + 1);\n }\n\n done($event: any) {\n if (this.state.currentStep !== this.steps.length - 1) {\n return;\n }\n this.updateState({\n isDone: true\n } as WmWizardState);\n this.invokeEventCallback('onDone', [$event, this.proxy]);\n }\n\n cancel() {\n this.invokeEventCallback('onCancel', [null, this.proxy]);\n }\n\n skip() {\n this.next('skip');\n }\n\n getBackground(): React.JSX.Element | null {\n return this._showSkeleton ? null : this._background\n } \n \n public renderSkeleton(props: WmWizardProps): React.ReactNode {\n if(!props.showskeletonchildren) {\n const skeletonStyles: WmSkeletonStyles = this.props?.styles?.skeleton || { root: {}, text: {} } as WmSkeletonStyles\n return createSkeleton(this.theme, skeletonStyles, {\n ...this.styles.root\n }, (<View style={[this.styles.root, { opacity: 0 }]}>\n {props.children}\n </View>))\n }\n return null;\n }\n\n\n renderWidget(props: WmWizardProps) {\n this.numberOfSteps = this.steps.length;\n const activeStep = this.steps[this.state.currentStep];\n const isSkippable = activeStep && activeStep.state.props.enableskip;\n const isProgressCircleHeader = this.state.props.classname?.includes('progress-circle-header');\n const styles = this._showSkeleton ? {\n ...this.styles.root,\n ...this.styles.skeleton.root\n } : this.styles.root\n return (\n <View style={styles}>\n {this.getBackground()}\n <View style={this.styles.wizardHeader}>\n {activeStep && isProgressCircleHeader ? (this.renderProgressCircleHeader(activeStep, this.state.currentStep)) : (this.steps ? this.steps.map((step, i) => this.renderWizardHeader(step, i)) : null)}\n </View>\n <View style={this.styles.wizardBody}>\n {props.children}\n </View>\n <View style={[this.styles.wizardFooter,\n {flexDirection: props.actionsalignment === 'right' ? 'row-reverse': 'row'}]}>\n {(this.state.currentStep+1) === this.numberOfSteps && activeStep.state.props.showdone &&\n <WmButton iconclass={'wm-sl-l sl-check'} styles={merge({}, this.styles.wizardActions, this.theme.getStyle('btn-default'), this.styles.doneButton)}\n id = {this.getTestId('donebtn')} caption={props.donebtnlabel} onTap={this.done.bind(this)} disabled={activeStep.state.props.disabledone}></WmButton>\n }\n {(this.state.currentStep+1) < this.numberOfSteps && activeStep.state.props.shownext &&\n <WmButton iconclass={'wi wi-chevron-right'} styles={merge({}, this.styles.wizardActions, this.theme.getStyle('btn-default'), this.styles.nextButton)}\n id = {this.getTestId('nextbtn')}\n iconposition={'right'} caption={props.nextbtnlabel} onTap={this.next.bind(this)} disabled={activeStep.state.props.disablenext}></WmButton>\n }\n {this.state.currentStep > 0 && activeStep.state.props.showprev &&\n <WmButton iconclass={'wi wi-chevron-left'} styles={merge({}, this.theme.getStyle('btn-default'), this.styles.wizardActions, this.styles.prevButton)} caption={props.previousbtnlabel}\n id = {this.getTestId('prevbtn')}\n onTap={this.prev.bind(this)} disabled={activeStep.state.props.disableprev}></WmButton>\n }\n {props.cancelable ?\n <WmButton id = {this.getTestId('cancelbtn')} caption={props.cancelbtnlabel} styles={merge({}, this.theme.getStyle('btn-default'), this.styles.wizardActions, this.styles.cancelButton)} onTap={this.cancel.bind(this)}></WmButton>\n : null\n }\n {isSkippable &&\n <WmAnchor iconclass={'wi wi-chevron-right'} iconposition={'right'} caption={'Skip'}\n id = {this.getTestId('skip')}\n styles={merge({}, this.styles.wizardActions, this.styles.skipLink)} onTap={this.skip.bind(this)}></WmAnchor>\n }\n </View>\n </View>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,QAAQ,EAAEC,wBAAwB,QAAwB,cAAc;AAC/G,SAASC,OAAO,EAAEC,KAAK,QAAQ,QAAQ;AACvC,SAAUC,aAAa,EAAEC,kBAAkB,QAA2B,+CAA+C;AAErH,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,OAAOC,QAAQ,MAAM,oEAAoE;AACzF,OAAOC,MAAM,MAAM,gEAAgE;AACnF,OAAOC,QAAQ,MAAM,oEAAoE;AAEzF,OAAOC,gBAAgB,MAAM,sFAAsF;AACnH,OAAOC,SAAS,MAAM,2EAA2E;AACjG,OAAOC,OAAO,MAAM,kEAAkE;AAEtF,SAASC,cAAc,QAAQ,wEAAwE;AAEvG,OAAO,MAAMC,aAAa,SAASV,kBAAkB,CAAgB;EAAAW,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,sBAC7C,CAAC;IAAAA,eAAA,iBACL,KAAK;EAAA;AACzB;AAEA,eAAe,MAAMC,QAAQ,SAASf,aAAa,CAA+C;EAahGY,WAAWA,CAACI,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,EAAEb,aAAa,EAAE,IAAID,aAAa,CAAC,CAAC,CAAC;I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ACC,QAAQ,EAAEnE,UAAU,CAACf,KAAK,CAACvB,KAAK,CAACwK;IAAY,CAAW,CAAC,EAE3FxK,KAAK,CAACyK,UAAU,gBACbjM,KAAA,CAAAoE,aAAA,CAACxD,QAAQ;MAACyD,EAAE,EAAI,IAAI,CAACC,SAAS,CAAC,WAAW,CAAE;MAAEG,OAAO,EAAEjD,KAAK,CAAC0K,cAAe;MAACvI,MAAM,EAAEpD,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC6J,KAAK,CAACgB,QAAQ,CAAC,aAAa,CAAC,EAAE,IAAI,CAACzH,MAAM,CAACwH,aAAa,EAAE,IAAI,CAACxH,MAAM,CAACwI,YAAY,CAAE;MAACZ,KAAK,EAAE,IAAI,CAAC7B,MAAM,CAAC1B,IAAI,CAAC,IAAI;IAAE,CAAW,CAAC,GACjO,IAAI,EAETyC,WAAW,iBACRzK,KAAA,CAAAoE,aAAA,CAACtD,QAAQ;MAACiE,SAAS,EAAE,qBAAsB;MAACE,YAAY,EAAE,OAAQ;MAACR,OAAO,EAAE,MAAO;MACjFJ,EAAE,EAAI,IAAI,CAACC,SAAS,CAAC,MAAM,CAAE;MAC7BX,MAAM,EAAEpD,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAACoD,MAAM,CAACwH,aAAa,EAAE,IAAI,CAACxH,MAAM,CAACyI,QAAQ,CAAE;MAACb,KAAK,EAAE,IAAI,CAAC5B,IAAI,CAAC3B,IAAI,CAAC,IAAI;IAAE,CAAW,CAE7G,CACF,CAAC;EAEX;AACF","ignoreList":[]}
@@ -40,6 +40,13 @@ export default class WmWizardstep extends BaseComponent {
40
40
  this.parent.forceUpdate();
41
41
  }, 10);
42
42
  break;
43
+ case 'show':
44
+ if ($new !== $old) {
45
+ setTimeout(() => {
46
+ this.parent.forceUpdate();
47
+ }, 10);
48
+ }
49
+ break;
43
50
  }
44
51
  }
45
52
  setActive() {
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmWizardstepProps","DEFAULT_CLASS","WmWizardstepState","constructor","args","_defineProperty","WmWizardstep","props","componentDidMount","wizard","parent","addWizardStep","onPropertyChange","name","$new","$old","refresh","setTimeout","forceUpdate","setActive","updateState","active","state","showContent","invokeEventCallback","setInActive","isVisible","invokeNextCB","index","proxy","invokePrevCB","invokeSkipCB","renderWidget","createElement","style","styles","root","_background","children"],"sources":["wizardstep.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmWizardstepProps from './wizardstep.props';\nimport { DEFAULT_CLASS, WmWizardstepStyles } from './wizardstep.styles';\nimport WmWizard from '../wizard.component';\nimport { isBoolean } from 'lodash-es';\n\nexport class WmWizardstepState extends BaseComponentState<WmWizardstepProps> {\n active = false;\n showContent: boolean = false;\n}\n\nexport default class WmWizardstep extends BaseComponent<WmWizardstepProps, WmWizardstepState, WmWizardstepStyles> {\n\n constructor(props: WmWizardstepProps) {\n super(props, DEFAULT_CLASS, new WmWizardstepProps(), new WmWizardstepState());\n }\n\n componentDidMount() {\n const wizard = (this.parent) as WmWizard;\n // When skeleton is enabled in the wizard component, the parent would be WMSkeleton which doesnot have addWizardStep function\n if(wizard.addWizardStep) {\n wizard.addWizardStep(this);\n }\n super.componentDidMount();\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n super.onPropertyChange(name, $new, $old);\n switch(name) {\n case 'title':\n const wizard = (this.parent) as WmWizard;\n wizard?.refresh();\n break;\n case 'disableprev':\n case 'disablenext':\n case 'disabledone':\n case 'enableskip':\n setTimeout(() => {\n this.parent.forceUpdate();\n }, 10);\n break;\n case 'show':\n if($new !== $old){\n setTimeout(() => {\n this.parent.forceUpdate();\n }, 10);\n }\n break;\n }\n }\n\n setActive() {\n this.updateState({\n active: true\n } as WmWizardstepState, () => {\n if(this.state.showContent) {\n this.invokeEventCallback('onLoad', [this]);\n }\n });\n }\n\n setInActive() {\n this.updateState({\n active: false\n } as WmWizardstepState);\n }\n\n isVisible() {\n return super.isVisible() && this.state.active;\n }\n\n invokeNextCB(index: number) : boolean {\n return this.invokeEventCallback('onNext', [this.proxy, this, index]);\n }\n\n invokePrevCB(index: number) : boolean {\n return this.invokeEventCallback('onPrev', [this.proxy, this, index]);\n }\n\n invokeSkipCB(index: number) {\n this.invokeEventCallback('onSkip', [this.proxy, this, index]);\n }\n renderWidget(props: WmWizardstepProps) {\n if(!this.state.showContent && this.isVisible()){\n this.updateState({showContent: true} as WmWizardstepState, ()=>{\n this.invokeEventCallback('onLoad', [this]);\n });\n }\n return this.state.showContent && (<View style={this.styles.root}>{this._background}{props.children}</View>);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,iBAAiB,MAAM,oBAAoB;AAClD,SAASC,aAAa,QAA4B,qBAAqB;AAIvE,OAAO,MAAMC,iBAAiB,SAASH,kBAAkB,CAAoB;EAAAI,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,iBAClE,KAAK;IAAAA,eAAA,sBACS,KAAK;EAAA;AAC9B;AAEA,eAAe,MAAMC,YAAY,SAASR,aAAa,CAA2D;EAEhHK,WAAWA,CAACI,KAAwB,EAAE;IACpC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,iBAAiB,CAAC,CAAC,EAAE,IAAIE,iBAAiB,CAAC,CAAC,CAAC;EAC/E;EAEAM,iBAAiBA,CAAA,EAAG;IAClB,MAAMC,MAAM,GAAI,IAAI,CAACC,MAAmB;IACxC;IACA,IAAGD,MAAM,CAACE,aAAa,EAAE;MACvBF,MAAM,CAACE,aAAa,CAAC,IAAI,CAAC;IAC5B;IACA,KAAK,CAACH,iBAAiB,CAAC,CAAC;EAC3B;EAEAI,gBAAgBA,CAACC,IAAY,EAA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F,KAAa,EAAY;IACpC,OAAO,IAAI,CAACJ,mBAAmB,CAAC,QAAQ,EAAE,CAAC,IAAI,CAACK,KAAK,EAAE,IAAI,EAAED,KAAK,CAAC,CAAC;EACtE;EAEAG,YAAYA,CAACH,KAAa,EAAE;IAC1B,IAAI,CAACJ,mBAAmB,CAAC,QAAQ,EAAE,CAAC,IAAI,CAACK,KAAK,EAAE,IAAI,EAAED,KAAK,CAAC,CAAC;EAC/D;EACAI,YAAYA,CAACzB,KAAwB,EAAE;IACrC,IAAG,CAAC,IAAI,CAACe,KAAK,CAACC,WAAW,IAAI,IAAI,CAACG,SAAS,CAAC,CAAC,EAAC;MAC7C,IAAI,CAACN,WAAW,CAAC;QAACG,WAAW,EAAE;MAAI,CAAC,EAAuB,MAAI;QAC7D,IAAI,CAACC,mBAAmB,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,CAAC;MAC5C,CAAC,CAAC;IACJ;IACA,OAAO,IAAI,CAACF,KAAK,CAACC,WAAW,iBAAK3B,KAAA,CAAAqC,aAAA,CAACpC,IAAI;MAACqC,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC;IAAK,GAAE,IAAI,CAACC,WAAW,EAAE9B,KAAK,CAAC+B,QAAe,CAAE;EAC7G;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","width","minHeight","minWidth","text","color","calendarDateColor","calendar","backgroundColor","calendarBgColor","borderColor","calendarHeaderBgColor","borderWidth","borderStyle","marginTop","paddingTop","paddingBottom","elevation","calendarHeader","borderBottomWidth","weekDay","padding","weekDayText","calendarWeekDayTextColor","fontWeight","fontFamily","baseFont","fontSize","day","dayWrapper","height","borderRadius","notDayOfCurrentMonth","calendarNotCurrentMonthDateColor","opacity","monthText","calendarHeaderTextColor","yearText","today","primaryColor","todayText","calendarSelectedDayBgColor","eventDay1","calendarEventDay1Color","eventDay2","calendarEventDay2Color","eventDay3","calendarEventDay3Color","selectedDay","selectedDayText","calendarSelectedDayTextColor","prevMonthBtn","calendarPrevMonthIconColor","nextMonthBtn","calendarNextMonthIconColor","prevYearBtn","calendarPrevYearIconColor","nextYearBtn","calendarNextYearIconColor","skeleton","display","justifyContent","paddingHorizontal","alignItems","headerSkeleton","flexDirection","marginBottom","transform","rotateY"],"sources":["calendar.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\nimport { TextStyle } from 'react-native';\nimport { WmSkeletonStyles } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.styles';\n\nexport type WmCalendarStyles = BaseStyles & {\n calendar: AllStyle,\n calendarHeader: AllStyle,\n day: AllStyle,\n dayWrapper: AllStyle,\n notDayOfCurrentMonth: AllStyle,\n monthText: TextStyle,\n yearText: TextStyle,\n weekDay: AllStyle,\n today: AllStyle,\n todayText: AllStyle,\n prevMonthBtn: WmIconStyles,\n nextMonthBtn: WmIconStyles,\n prevYearBtn: WmIconStyles,\n nextYearBtn: WmIconStyles,\n selectedDay: AllStyle,\n selectedDayText: AllStyle\n eventDay1: AllStyle,\n eventDay2: AllStyle,\n eventDay3: AllStyle,\n skeleton: WmSkeletonStyles;\n headerSkeleton: WmSkeletonStyles;\n};\n\nexport const DEFAULT_CLASS = 'app-calendar';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmCalendarStyles = defineStyles<WmCalendarStyles>({\n root: {\n width: '100%',\n minHeight: 456,\n minWidth: 360\n },\n text: {\n color: themeVariables.calendarDateColor\n },\n calendar : {\n backgroundColor: themeVariables.calendarBgColor,\n borderColor: themeVariables.calendarHeaderBgColor,\n borderWidth: 1,\n borderStyle: 'solid',\n marginTop: 0, \n paddingTop: 0,\n paddingBottom: 0,\n elevation: 6\n },\n calendarHeader : {\n backgroundColor: themeVariables.calendarHeaderBgColor,\n borderColor: themeVariables.calendarHeaderBgColor,\n borderBottomWidth: 1,\n borderStyle: 'solid',\n paddingTop: 8,\n paddingBottom: 8\n },\n weekDay: {\n backgroundColor: themeVariables.calendarBgColor,\n borderColor: themeVariables.calendarHeaderBgColor,\n borderBottomWidth: 1,\n borderStyle: 'solid',\n padding: 2,\n },\n weekDayText: {\n color: themeVariables.calendarWeekDayTextColor,\n fontWeight: '400',\n fontFamily: themeVariables.baseFont,\n fontSize: 16,\n },\n day: {\n borderColor: 'transparent',\n color: themeVariables.calendarDateColor,\n fontSize: 16,\n fontFamily: themeVariables.baseFont,\n fontWeight: '400'\n },\n dayWrapper: {\n backgroundColor: themeVariables.calendarBgColor,\n borderColor: 'transparent',\n width: 38,\n height: 38,\n borderRadius: 26\n },\n notDayOfCurrentMonth: {\n color: themeVariables.calendarNotCurrentMonthDateColor,\n fontWeight: 'normal',\n opacity: 0\n },\n monthText: {\n fontWeight: '500',\n fontFamily: themeVariables.baseFont,\n color: themeVariables.calendarHeaderTextColor\n },\n yearText: {\n fontWeight: '500',\n fontFamily: themeVariables.baseFont,\n color: themeVariables.calendarHeaderTextColor\n },\n today: {\n backgroundColor: themeVariables.calendarBgColor,\n borderColor: themeVariables.primaryColor\n },\n todayText: {\n backgroundColor: themeVariables.calendarSelectedDayBgColor\n },\n eventDay1 : {\n color: themeVariables.calendarEventDay1Color\n },\n eventDay2 : {\n color: themeVariables.calendarEventDay2Color\n },\n eventDay3 : {\n color: themeVariables.calendarEventDay3Color\n },\n selectedDay: {\n backgroundColor: themeVariables.calendarSelectedDayBgColor\n },\n selectedDayText: {\n backgroundColor: themeVariables.calendarSelectedDayBgColor,\n color: themeVariables.calendarSelectedDayTextColor,\n fontWeight: 'bold'\n },\n prevMonthBtn: {\n root: {\n color: themeVariables.calendarPrevMonthIconColor\n }\n } as WmIconStyles,\n nextMonthBtn: {\n root: {\n color: themeVariables.calendarNextMonthIconColor\n }\n } as WmIconStyles,\n prevYearBtn: {\n root: {\n color: themeVariables.calendarPrevYearIconColor\n }\n } as WmIconStyles,\n nextYearBtn: {\n root: {\n color: themeVariables.calendarNextYearIconColor\n }\n } as WmIconStyles,\n skeleton: {\n root: {\n display:'flex', \n justifyContent: 'center',\n backgroundColor:'#fff',\n paddingHorizontal: 8,\n alignItems: 'center',\n },\n } as any as WmSkeletonStyles ,\n headerSkeleton: {\n root: {\n width: '100%',\n display:'flex', \n flexDirection:'row', \n alignItems: 'center',\n justifyContent: 'space-around',\n marginBottom: 16\n } \n } as any as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n prevMonthBtn: {\n root: {\n transform: [ {rotateY: '180deg'}]\n }\n } as any as WmIconStyles,\n nextMonthBtn: {\n root: {\n transform: [ {rotateY: '180deg'}] \n },\n } as any as WmIconStyles,\n monthText: {\n padding: 2\n },\n yearText: {\n padding: 2\n }\n });\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AA6BxF,OAAO,MAAMC,aAAa,GAAG,cAAc;AAC3CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAA+B,GAAGL,YAAY,CAAmB;IACnEM,IAAI,EAAE;MACFC,KAAK,EAAE,MAAM;MACbC,SAAS,EAAE,GAAG;MACdC,QAAQ,EAAE;IACd,CAAC;IACDC,IAAI,EAAE;MACFC,KAAK,EAAER,cAAc,CAACS;IAC1B,CAAC;IACDC,QAAQ,EAAG;MACPC,eAAe,EAAEX,cAAc,CAACY,eAAe;MAC/CC,WAAW,EAAEb,cAAc,CAACc,qBAAqB;MACjDC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAE,OAAO;MACpBC,SAAS,EAAE,CAAC;MACZC,UAAU,EAAE,CAAC;MACbC,aAAa,EAAE,C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AAI,EAAE;QACFC,KAAK,EAAE,MAAM;QACb2D,OAAO,EAAC,MAAM;QACdK,aAAa,EAAC,KAAK;QACnBF,UAAU,EAAE,QAAQ;QACpBF,cAAc,EAAE,cAAc;QAC9BK,YAAY,EAAE;MAClB;IACJ;EACJ,CAAC,CAAC;EAEFpE,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAE;IACjCwD,YAAY,EAAE;MACVnD,IAAI,EAAE;QACFmE,SAAS,EAAE,CAAE;UAACC,OAAO,EAAE;QAAQ,CAAC;MACpC;IACJ,CAAwB;IACxBf,YAAY,EAAE;MACVrD,IAAI,EAAE;QACFmE,SAAS,EAAE,CAAE;UAACC,OAAO,EAAE;QAAQ,CAAC;MACpC;IACJ,CAAwB;IACxBjC,SAAS,EAAE;MACPd,OAAO,EAAE;IACb,CAAC;IACDgB,QAAQ,EAAE;MACNhB,OAAO,EAAE;IACb;EACJ,CAAC,CAAC;AACN,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","width","minHeight","minWidth","text","color","calendarDateColor","calendar","backgroundColor","calendarBgColor","borderColor","calendarHeaderBgColor","borderWidth","borderStyle","marginTop","paddingTop","paddingBottom","elevation","calendarHeader","borderBottomWidth","weekDay","padding","weekDayText","calendarWeekDayTextColor","fontWeight","fontFamily","baseFont","fontSize","day","dayWrapper","height","borderRadius","notDayOfCurrentMonth","calendarNotCurrentMonthDateColor","opacity","monthText","calendarHeaderTextColor","yearText","today","primaryColor","todayText","calendarSelectedDayBgColor","eventDay1","calendarEventDay1Color","eventDay2","calendarEventDay2Color","eventDay3","calendarEventDay3Color","selectedDay","selectedDayText","calendarSelectedDayTextColor","prevMonthBtn","calendarPrevMonthIconColor","nextMonthBtn","calendarNextMonthIconColor","prevYearBtn","calendarPrevYearIconColor","nextYearBtn","calendarNextYearIconColor","skeleton","display","justifyContent","paddingHorizontal","alignItems","headerSkeleton","flexDirection","marginBottom","transform","rotateY"],"sources":["calendar.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\nimport { TextStyle } from 'react-native';\nimport { WmSkeletonStyles } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.styles';\n\nexport type WmCalendarStyles = BaseStyles & {\n calendar: AllStyle,\n calendarHeader: AllStyle,\n day: AllStyle,\n dayWrapper: AllStyle,\n notDayOfCurrentMonth: AllStyle,\n monthText: TextStyle,\n yearText: TextStyle,\n weekDay: AllStyle,\n today: AllStyle,\n todayText: AllStyle,\n prevMonthBtn: WmIconStyles,\n nextMonthBtn: WmIconStyles,\n prevYearBtn: WmIconStyles,\n nextYearBtn: WmIconStyles,\n selectedDay: AllStyle,\n selectedDayText: AllStyle\n eventDay1: AllStyle,\n eventDay2: AllStyle,\n eventDay3: AllStyle,\n skeleton: WmSkeletonStyles;\n headerSkeleton: WmSkeletonStyles;\n};\n\nexport const DEFAULT_CLASS = 'app-calendar';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmCalendarStyles = defineStyles<WmCalendarStyles>({\n root: {\n width: '100%',\n minHeight: 456,\n minWidth: 360\n },\n text: {\n color: themeVariables.calendarDateColor\n },\n calendar : {\n backgroundColor: themeVariables.calendarBgColor,\n borderColor: themeVariables.calendarHeaderBgColor,\n borderWidth: 1,\n borderStyle: 'solid',\n marginTop: 0, \n paddingTop: 0,\n paddingBottom: 0,\n elevation: 6\n },\n calendarHeader : {\n backgroundColor: themeVariables.calendarHeaderBgColor,\n borderColor: themeVariables.calendarHeaderBgColor,\n borderBottomWidth: 1,\n borderStyle: 'solid',\n paddingTop: 8,\n paddingBottom: 8\n },\n weekDay: {\n backgroundColor: themeVariables.calendarBgColor,\n borderColor: themeVariables.calendarHeaderBgColor,\n borderBottomWidth: 1,\n borderStyle: 'solid',\n padding: 2,\n },\n weekDayText: {\n color: themeVariables.calendarWeekDayTextColor,\n fontWeight: '400',\n fontFamily: themeVariables.baseFont,\n fontSize: 16,\n },\n day: {\n borderColor: 'transparent',\n color: themeVariables.calendarDateColor,\n fontSize: 16,\n fontFamily: themeVariables.baseFont,\n fontWeight: '400'\n },\n dayWrapper: {\n backgroundColor: themeVariables.calendarBgColor,\n borderColor: 'transparent',\n width: 38,\n height: 38,\n borderRadius: 26\n },\n notDayOfCurrentMonth: {\n color: themeVariables.calendarNotCurrentMonthDateColor,\n fontWeight: 'normal',\n opacity: 0\n },\n monthText: {\n fontWeight: '500',\n fontFamily: themeVariables.baseFont,\n color: themeVariables.calendarHeaderTextColor\n },\n yearText: {\n fontWeight: '500',\n fontFamily: themeVariables.baseFont,\n color: themeVariables.calendarHeaderTextColor\n },\n today: {\n backgroundColor: themeVariables.calendarBgColor,\n borderColor: themeVariables.primaryColor\n },\n todayText: {\n backgroundColor: themeVariables.calendarSelectedDayBgColor\n },\n eventDay1 : {\n color: themeVariables.calendarEventDay1Color\n },\n eventDay2 : {\n color: themeVariables.calendarEventDay2Color\n },\n eventDay3 : {\n color: themeVariables.calendarEventDay3Color\n },\n selectedDay: {\n backgroundColor: themeVariables.calendarSelectedDayBgColor\n },\n selectedDayText: {\n backgroundColor: themeVariables.calendarSelectedDayBgColor,\n color: themeVariables.calendarSelectedDayTextColor,\n fontWeight: 'bold'\n },\n prevMonthBtn: {\n root: {\n color: themeVariables.calendarPrevMonthIconColor\n }\n } as WmIconStyles,\n nextMonthBtn: {\n root: {\n color: themeVariables.calendarNextMonthIconColor\n }\n } as WmIconStyles,\n prevYearBtn: {\n root: {\n color: themeVariables.calendarPrevYearIconColor\n }\n } as WmIconStyles,\n nextYearBtn: {\n root: {\n color: themeVariables.calendarNextYearIconColor\n }\n } as WmIconStyles,\n skeleton: {\n root: {\n display:'flex', \n justifyContent: 'center',\n backgroundColor:'#fff',\n paddingHorizontal: 8,\n alignItems: 'center',\n },\n } as any as WmSkeletonStyles ,\n headerSkeleton: {\n root: {\n width: '100%',\n display:'flex', \n flexDirection:'row', \n alignItems: 'center',\n justifyContent: 'space-around',\n marginBottom: 16\n } \n } as any as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n prevMonthBtn: {\n root: {\n transform: [ {rotateY: '180deg'}]\n }\n } as WmIconStyles,\n nextMonthBtn: {\n root: {\n transform: [ {rotateY: '180deg'}] \n }\n } as WmIconStyles,\n monthText: {\n padding: 2\n },\n yearText: {\n padding: 2\n }\n });\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AA6BxF,OAAO,MAAMC,aAAa,GAAG,cAAc;AAC3CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAA+B,GAAGL,YAAY,CAAmB;IACnEM,IAAI,EAAE;MACFC,KAAK,EAAE,MAAM;MACbC,SAAS,EAAE,GAAG;MACdC,QAAQ,EAAE;IACd,CAAC;IACDC,IAAI,EAAE;MACFC,KAAK,EAAER,cAAc,CAACS;IAC1B,CAAC;IACDC,QAAQ,EAAG;MACPC,eAAe,EAAEX,cAAc,CAACY,eAAe;MAC/CC,WAAW,EAAEb,cAAc,CAACc,qBAAqB;MACjDC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAE,OAAO;MACpBC,SAAS,EAAE,CAAC;MACZC,UAAU,EAAE,CAAC;MACbC,aAAa,EAAE,CAAC;MAChBC,SAAS,EAAE;IACf,CAAC;IACDC,cAAc,EAAG;MACbV,eAAe,EAAEX,cAAc,CAACc,qBAAqB;MACrDD,WAAW,EAAEb,cAAc,CAACc,qBAAqB;MACj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AC9BK,YAAY,EAAE;MAClB;IACJ;EACJ,CAAC,CAAC;EAEFpE,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAE;IACjCwD,YAAY,EAAE;MACVnD,IAAI,EAAE;QACFmE,SAAS,EAAE,CAAE;UAACC,OAAO,EAAE;QAAQ,CAAC;MACpC;IACJ,CAAiB;IACjBf,YAAY,EAAE;MACVrD,IAAI,EAAE;QACFmE,SAAS,EAAE,CAAE;UAACC,OAAO,EAAE;QAAQ,CAAC;MACpC;IACJ,CAAiB;IACjBjC,SAAS,EAAE;MACPd,OAAO,EAAE;IACb,CAAC;IACDgB,QAAQ,EAAE;MACNhB,OAAO,EAAE;IACb;EACJ,CAAC,CAAC;AACN,CAAC,CAAC","ignoreList":[]}
@@ -133,8 +133,7 @@ export default class WmToggle extends BaseComponent {
133
133
  transform: [{
134
134
  translateX: this.animationValue.interpolate({
135
135
  inputRange: [0, 1],
136
- // TODO Abdullah: add a test case for the below changes. Merging this to expo 52 release branch.
137
- outputRange: this.isRTL ? [0, -1 * (this.state.viewWidth - (this.styles.handle.width + 18))] : [0, this.state.viewWidth - (this.styles.handle.width + 18)]
136
+ outputRange: [0, this.state.viewWidth - (this.styles.handle.width + 18)]
138
137
  })
139
138
  }, {
140
139
  scale: this.scaleValue
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","TouchableOpacity","Animated","Easing","View","BackgroundComponent","BaseComponent","BaseComponentState","unStringify","validateField","AccessibilityWidgetType","getAccessibilityProps","WmToggleProps","DEFAULT_CLASS","createSkeleton","WmToggleState","constructor","args","_defineProperty","WmToggle","props","Value","onPropertyChange","name","$new","$old","value","state","checkedvalue","updateState","isSwitchOn","updateDatavalue","datavalue","validate","validationObj","isValid","errorType","onToggleSwitch","oldValue","dataValue","uncheckedvalue","sequence","timing","scaleValue","toValue","duration","useNativeDriver","animationValue","easing","linear","start","onFieldChange","invokeEventCallback","proxy","onLayoutChange","event","width","nativeEvent","layout","setState","viewWidth","renderSkeleton","theme","styles","skeleton","root","renderWidget","mergeStyle","getStyle","createElement","_extends","onLayout","e","TOGGLE","selected","onPress","disabled","readonly","setTimeout","getTestPropsForAction","style","animation","handle","size","backgroundSize","position","backgroundPosition","image","backgroundImage","repeat","backgroundRepeat","transform","translateX","interpolate","inputRange","outputRange","scale"],"sources":["toggle.component.tsx"],"sourcesContent":["import React from 'react';\nimport { TouchableOpacity, Animated, Easing, LayoutChangeEvent, View, DimensionValue } from 'react-native';\n\nimport { BackgroundComponent } from '@wavemaker/app-rn-runtime/styles/background.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { unStringify, validateField} from '@wavemaker/app-rn-runtime/core/utils';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \n\nimport WmToggleProps from './toggle.props';\nimport { DEFAULT_CLASS, WmToggleStyles } from './toggle.styles';\nimport { createSkeleton } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.component';\n\nexport class WmToggleState extends BaseComponentState<WmToggleProps> {\n isSwitchOn: boolean = false;\n isValid: boolean = true;\n errorType = '';\n viewWidth: number = 0;\n}\n\nexport default class WmToggle extends BaseComponent<WmToggleProps, WmToggleState, WmToggleStyles> {\n\n private animationValue = new Animated.Value(0);\n private scaleValue = new Animated.Value(1);\n\n constructor(props: WmToggleProps) {\n super(props, DEFAULT_CLASS, new WmToggleProps(), new WmToggleState());\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch (name) {\n case 'datavalue':\n let value =\n unStringify($new) ===\n unStringify(this.state.props.checkedvalue, true);\n this.updateState({ isSwitchOn: value } as WmToggleState);\n break;\n }\n }\n\n updateDatavalue(value: any) {\n this.updateState({ props: { datavalue: value }} as WmToggleState);\n }\n\n validate(value: any) {\n const validationObj = validateField(this.state.props, value);\n this.updateState({\n isValid: validationObj.isValid,\n errorType: validationObj.errorType\n } as WmToggleState);\n }\n\n onToggleSwitch(value: any) {\n const oldValue = this.state.props.datavalue;\n this.validate(value);\n this.updateState({ isSwitchOn: value } as WmToggleState);\n const dataValue = value === true ? this.state.props.checkedvalue : this.state.props.uncheckedvalue;\n Animated.sequence([\n Animated.timing(this.scaleValue, {\n toValue: 1.6,\n duration: 300,\n useNativeDriver: true,\n }),\n Animated.timing(this.animationValue, {\n toValue: value ? 1 : 0,\n duration: 300,\n easing: Easing.linear,\n useNativeDriver: true,\n }),\n ]).start(() => {\n Animated.timing(this.scaleValue, {\n toValue: value ? 1.5 : 1,\n duration: 0,\n useNativeDriver: true,\n }).start();\n });\n // @ts-ignore\n this.updateState({ props: { datavalue: dataValue } },\n ()=> {\n if (!this.props.onFieldChange) {\n this.invokeEventCallback('onChange', [null, this.proxy, dataValue, oldValue]);\n } else {\n this.props.onFieldChange && this.props.onFieldChange('datavalue', dataValue, oldValue);\n }\n this.invokeEventCallback('onBlur', [ null, this.proxy ]);\n });\n }\n\n onLayoutChange(event: LayoutChangeEvent){\n let width = event.nativeEvent.layout.width;\n this.setState({\n viewWidth: width,\n } as WmToggleState);\n }\n\n public renderSkeleton(props: WmToggleProps): React.ReactNode {\n \n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.skeleton.root,\n });\n }\n\n renderWidget(props: WmToggleProps) {\n const styles = this.theme.mergeStyle(this.styles, \n this.theme.getStyle(this.state.isSwitchOn ? 'app-toggle-on' : 'app-toggle-off'));\n return (\n <TouchableOpacity \n onLayout={(e) => {\n this.onLayoutChange(e);\n }}\n {...getAccessibilityProps(AccessibilityWidgetType.TOGGLE, {...this.props, selected: this.state.isSwitchOn})}\n onPress={() => {\n if (this.props.disabled || this.props.readonly) {\n return;\n }\n // Added setTimeout to smooth animation\n setTimeout(() => {\n this.invokeEventCallback('onFocus', [null, this]);\n this.invokeEventCallback('onTap', [null, this]);\n }, 500);\n this.onToggleSwitch(!this.state.isSwitchOn);\n }}{...this.getTestPropsForAction()}\n style={styles.root}>\n {styles.root.animation && styles.root.animation === 'none' ? (\n <View style={styles.handle}>\n <BackgroundComponent\n size={styles.handle.backgroundSize || 'contain'}\n position={styles.handle.backgroundPosition}\n image={styles.handle.backgroundImage}\n repeat={styles.handle.backgroundRepeat || 'no-repeat'}\n />\n </View>\n ): ( <Animated.View\n style={[\n styles.handle,\n {\n transform: [\n {\n translateX: this.animationValue.interpolate({\n inputRange: [0, 1],\n outputRange: [0, this.state.viewWidth - (this.styles.handle.width as number + 18)],\n }),\n },\n { scale: this.scaleValue }\n ],\n },\n ]}>\n <BackgroundComponent\n size={styles.handle.backgroundSize || 'contain'}\n position={styles.handle.backgroundPosition}\n image={styles.handle.backgroundImage}\n repeat={styles.handle.backgroundRepeat || 'no-repeat'}\n />\n </Animated.View>)}\n </TouchableOpacity>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,gBAAgB,EAAEC,QAAQ,EAAEC,MAAM,EAAqBC,IAAI,QAAwB,cAAc;AAE1G,SAASC,mBAAmB,QAAQ,uDAAuD;AAC3F,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,WAAW,EAAEC,aAAa,QAAO,sCAAsC;AAChF,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,SAASC,cAAc,QAAQ,wEAAwE;AAEvG,OAAO,MAAMC,aAAa,SAASR,kBAAkB,CAAgB;EAAAS,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,qBAC7C,KAAK;IAAAA,eAAA,kBACR,IAAI;IAAAA,eAAA,oBACX,EAAE;IAAAA,eAAA,oBACM,CAAC;EAAA;AACvB;AAEA,eAAe,MAAMC,QAAQ,SAASb,aAAa,CAA+C;EAKhGU,WAAWA,CAACI,KAAoB,EAAE;IACh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AmB;MAClB8E,IAAI,EAAEpB,MAAM,CAACmB,MAAM,CAACE,cAAc,IAAI,SAAU;MAChDC,QAAQ,EAAEtB,MAAM,CAACmB,MAAM,CAACI,kBAAmB;MAC3CC,KAAK,EAAExB,MAAM,CAACmB,MAAM,CAACM,eAAgB;MACrCC,MAAM,EAAE1B,MAAM,CAACmB,MAAM,CAACQ,gBAAgB,IAAI;IAAY,CACvD,CACY,CACD,CAAC;EAEvB;AACF","ignoreList":[]}
@@ -1,4 +1,7 @@
1
- import React from 'react';
1
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
+ import React, { createRef } from 'react';
2
5
  import { KeyboardAvoidingView, Platform, View } from 'react-native';
3
6
  import { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';
4
7
  import { HideMode } from '@wavemaker/app-rn-runtime/core/if.component';
@@ -12,7 +15,24 @@ export class WmPageContentState extends BaseComponentState {}
12
15
  export default class WmPageContent extends BaseComponent {
13
16
  constructor(props) {
14
17
  super(props, DEFAULT_CLASS, new WmPageContentProps());
18
+ _defineProperty(this, "scrollRef", void 0);
15
19
  this.hideMode = HideMode.DONOT_ADD_TO_DOM;
20
+ this.scrollRef = /*#__PURE__*/createRef();
21
+ this.subscribe('scrollToPosition', args => {
22
+ this.scrollTo(args);
23
+ });
24
+ this.subscribe('scrollToEnd', () => {
25
+ var _this$scrollRef;
26
+ (_this$scrollRef = this.scrollRef) === null || _this$scrollRef === void 0 || _this$scrollRef.current.scrollToEnd();
27
+ });
28
+ }
29
+ scrollTo(position) {
30
+ var _this$scrollRef2;
31
+ (_this$scrollRef2 = this.scrollRef) === null || _this$scrollRef2 === void 0 || _this$scrollRef2.current.scrollTo({
32
+ x: position.x,
33
+ y: position.y,
34
+ Animated: true
35
+ });
16
36
  }
17
37
  renderSkeleton(props) {
18
38
  if (this.props.skeletonanimationresource) {
@@ -59,6 +79,7 @@ export default class WmPageContent extends BaseComponent {
59
79
  flex: 1
60
80
  }
61
81
  }, /*#__PURE__*/React.createElement(ScrollView, {
82
+ ref: this.scrollRef,
62
83
  contentContainerStyle: [this.styles.root, {
63
84
  backgroundColor: 'transparent'
64
85
  }],