@wavemaker/app-rn-runtime 12.0.0-next.45002 → 12.0.0-next.45006

Sign up to get free protection for your applications and to get access to all the features.
Files changed (704) hide show
  1. app-rn-runtime/actions/base-action.js.map +1 -1
  2. app-rn-runtime/actions/index.js.map +1 -1
  3. app-rn-runtime/actions/login-action.js.map +1 -1
  4. app-rn-runtime/actions/logout-action.js.map +1 -1
  5. app-rn-runtime/actions/navigation-action.js +4 -4
  6. app-rn-runtime/actions/navigation-action.js.map +1 -1
  7. app-rn-runtime/actions/notification-action.js +3 -4
  8. app-rn-runtime/actions/notification-action.js.map +1 -1
  9. app-rn-runtime/actions/timer-action.js +2 -2
  10. app-rn-runtime/actions/timer-action.js.map +1 -1
  11. app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.component.js.map +1 -1
  12. app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.props.js +4 -4
  13. app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.props.js.map +1 -1
  14. app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +1 -1
  15. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.component.js.map +1 -1
  16. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.props.js +4 -4
  17. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.props.js.map +1 -1
  18. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +1 -1
  19. app-rn-runtime/components/advanced/carousel/carousel.component.js +31 -22
  20. app-rn-runtime/components/advanced/carousel/carousel.component.js.map +1 -1
  21. app-rn-runtime/components/advanced/carousel/carousel.props.js +4 -4
  22. app-rn-runtime/components/advanced/carousel/carousel.props.js.map +1 -1
  23. app-rn-runtime/components/advanced/carousel/carousel.styles.js.map +1 -1
  24. app-rn-runtime/components/advanced/login/login.component.js +4 -4
  25. app-rn-runtime/components/advanced/login/login.component.js.map +1 -1
  26. app-rn-runtime/components/advanced/login/login.props.js +4 -4
  27. app-rn-runtime/components/advanced/login/login.props.js.map +1 -1
  28. app-rn-runtime/components/advanced/login/login.styles.js.map +1 -1
  29. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js +4 -4
  30. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -1
  31. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.props.js +4 -4
  32. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.props.js.map +1 -1
  33. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +1 -1
  34. app-rn-runtime/components/advanced/webview/webview.component.js +12 -8
  35. app-rn-runtime/components/advanced/webview/webview.component.js.map +1 -1
  36. app-rn-runtime/components/advanced/webview/webview.props.js +4 -4
  37. app-rn-runtime/components/advanced/webview/webview.props.js.map +1 -1
  38. app-rn-runtime/components/advanced/webview/webview.styles.js.map +1 -1
  39. app-rn-runtime/components/basic/anchor/anchor.component.js +1 -0
  40. app-rn-runtime/components/basic/anchor/anchor.component.js.map +1 -1
  41. app-rn-runtime/components/basic/anchor/anchor.props.js +5 -4
  42. app-rn-runtime/components/basic/anchor/anchor.props.js.map +1 -1
  43. app-rn-runtime/components/basic/anchor/anchor.styles.js.map +1 -1
  44. app-rn-runtime/components/basic/animatedview.component.js +4 -2
  45. app-rn-runtime/components/basic/animatedview.component.js.map +1 -1
  46. app-rn-runtime/components/basic/audio/audio.component.js +8 -9
  47. app-rn-runtime/components/basic/audio/audio.component.js.map +1 -1
  48. app-rn-runtime/components/basic/audio/audio.props.js +4 -4
  49. app-rn-runtime/components/basic/audio/audio.props.js.map +1 -1
  50. app-rn-runtime/components/basic/audio/audio.styles.js.map +1 -1
  51. app-rn-runtime/components/basic/button/button.component.js +18 -14
  52. app-rn-runtime/components/basic/button/button.component.js.map +1 -1
  53. app-rn-runtime/components/basic/button/button.props.js +5 -4
  54. app-rn-runtime/components/basic/button/button.props.js.map +1 -1
  55. app-rn-runtime/components/basic/button/button.styles.js +2 -4
  56. app-rn-runtime/components/basic/button/button.styles.js.map +1 -1
  57. app-rn-runtime/components/basic/buttongroup/buttongroup.component.js.map +1 -1
  58. app-rn-runtime/components/basic/buttongroup/buttongroup.props.js +4 -4
  59. app-rn-runtime/components/basic/buttongroup/buttongroup.props.js.map +1 -1
  60. app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js.map +1 -1
  61. app-rn-runtime/components/basic/custom/custom.component.js.map +1 -1
  62. app-rn-runtime/components/basic/custom/custom.props.js +4 -4
  63. app-rn-runtime/components/basic/custom/custom.props.js.map +1 -1
  64. app-rn-runtime/components/basic/custom/custom.styles.js.map +1 -1
  65. app-rn-runtime/components/basic/icon/icon.component.js +6 -5
  66. app-rn-runtime/components/basic/icon/icon.component.js.map +1 -1
  67. app-rn-runtime/components/basic/icon/icon.props.js +5 -4
  68. app-rn-runtime/components/basic/icon/icon.props.js.map +1 -1
  69. app-rn-runtime/components/basic/icon/icon.styles.js.map +1 -1
  70. app-rn-runtime/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +1 -1
  71. app-rn-runtime/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +1 -1
  72. app-rn-runtime/components/basic/icon/wavicon/wavicon.component.js.map +1 -1
  73. app-rn-runtime/components/basic/label/label.component.js +11 -9
  74. app-rn-runtime/components/basic/label/label.component.js.map +1 -1
  75. app-rn-runtime/components/basic/label/label.props.js +5 -4
  76. app-rn-runtime/components/basic/label/label.props.js.map +1 -1
  77. app-rn-runtime/components/basic/label/label.styles.js.map +1 -1
  78. app-rn-runtime/components/basic/lottie/lottie.component.js +9 -10
  79. app-rn-runtime/components/basic/lottie/lottie.component.js.map +1 -1
  80. app-rn-runtime/components/basic/lottie/lottie.props.js +4 -4
  81. app-rn-runtime/components/basic/lottie/lottie.props.js.map +1 -1
  82. app-rn-runtime/components/basic/lottie/lottie.styles.js +5 -1
  83. app-rn-runtime/components/basic/lottie/lottie.styles.js.map +1 -1
  84. app-rn-runtime/components/basic/message/message.component.js +3 -2
  85. app-rn-runtime/components/basic/message/message.component.js.map +1 -1
  86. app-rn-runtime/components/basic/message/message.props.js +5 -4
  87. app-rn-runtime/components/basic/message/message.props.js.map +1 -1
  88. app-rn-runtime/components/basic/message/message.styles.js +1 -2
  89. app-rn-runtime/components/basic/message/message.styles.js.map +1 -1
  90. app-rn-runtime/components/basic/modal/modal.component.js.map +1 -1
  91. app-rn-runtime/components/basic/modal/modal.props.js +4 -4
  92. app-rn-runtime/components/basic/modal/modal.props.js.map +1 -1
  93. app-rn-runtime/components/basic/modal/modal.styles.js.map +1 -1
  94. app-rn-runtime/components/basic/picture/picture.component.js +5 -4
  95. app-rn-runtime/components/basic/picture/picture.component.js.map +1 -1
  96. app-rn-runtime/components/basic/picture/picture.props.js +5 -4
  97. app-rn-runtime/components/basic/picture/picture.props.js.map +1 -1
  98. app-rn-runtime/components/basic/picture/picture.styles.js.map +1 -1
  99. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js +23 -1
  100. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +1 -1
  101. app-rn-runtime/components/basic/progress-bar/progress-bar.props.js +4 -4
  102. app-rn-runtime/components/basic/progress-bar/progress-bar.props.js.map +1 -1
  103. app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js.map +1 -1
  104. app-rn-runtime/components/basic/progress-circle/progress-circle.component.js +4 -4
  105. app-rn-runtime/components/basic/progress-circle/progress-circle.component.js.map +1 -1
  106. app-rn-runtime/components/basic/progress-circle/progress-circle.props.js +4 -4
  107. app-rn-runtime/components/basic/progress-circle/progress-circle.props.js.map +1 -1
  108. app-rn-runtime/components/basic/progress-circle/progress-circle.styles.js.map +1 -1
  109. app-rn-runtime/components/basic/search/local-data-provider.js +2 -2
  110. app-rn-runtime/components/basic/search/local-data-provider.js.map +1 -1
  111. app-rn-runtime/components/basic/search/search.component.js +16 -22
  112. app-rn-runtime/components/basic/search/search.component.js.map +1 -1
  113. app-rn-runtime/components/basic/search/search.props.js +4 -4
  114. app-rn-runtime/components/basic/search/search.props.js.map +1 -1
  115. app-rn-runtime/components/basic/search/search.styles.js.map +1 -1
  116. app-rn-runtime/components/basic/skeleton/skeleton.component.js +5 -5
  117. app-rn-runtime/components/basic/skeleton/skeleton.component.js.map +1 -1
  118. app-rn-runtime/components/basic/skeleton/skeleton.props.js.map +1 -1
  119. app-rn-runtime/components/basic/skeleton/skeleton.styles.js.map +1 -1
  120. app-rn-runtime/components/basic/spinner/spinner.component.js +2 -2
  121. app-rn-runtime/components/basic/spinner/spinner.component.js.map +1 -1
  122. app-rn-runtime/components/basic/spinner/spinner.props.js +4 -4
  123. app-rn-runtime/components/basic/spinner/spinner.props.js.map +1 -1
  124. app-rn-runtime/components/basic/spinner/spinner.styles.js.map +1 -1
  125. app-rn-runtime/components/basic/tooltip/tooltip.component.js +79 -0
  126. app-rn-runtime/components/basic/tooltip/tooltip.component.js.map +1 -0
  127. app-rn-runtime/components/basic/tooltip/tooltip.props.js +18 -0
  128. app-rn-runtime/components/basic/tooltip/tooltip.props.js.map +1 -0
  129. app-rn-runtime/components/basic/tooltip/tooltip.styles.js +49 -0
  130. app-rn-runtime/components/basic/tooltip/tooltip.styles.js.map +1 -0
  131. app-rn-runtime/components/basic/video/video.component.js +11 -8
  132. app-rn-runtime/components/basic/video/video.component.js.map +1 -1
  133. app-rn-runtime/components/basic/video/video.props.js +4 -4
  134. app-rn-runtime/components/basic/video/video.props.js.map +1 -1
  135. app-rn-runtime/components/basic/video/video.styles.js.map +1 -1
  136. app-rn-runtime/components/chart/area-chart/area-chart.component.js +19 -9
  137. app-rn-runtime/components/chart/area-chart/area-chart.component.js.map +1 -1
  138. app-rn-runtime/components/chart/area-chart/area-chart.props.js +4 -4
  139. app-rn-runtime/components/chart/area-chart/area-chart.props.js.map +1 -1
  140. app-rn-runtime/components/chart/area-chart/area-chart.styles.js.map +1 -1
  141. app-rn-runtime/components/chart/bar-chart/bar-chart.component.js +21 -10
  142. app-rn-runtime/components/chart/bar-chart/bar-chart.component.js.map +1 -1
  143. app-rn-runtime/components/chart/bar-chart/bar-chart.props.js +4 -4
  144. app-rn-runtime/components/chart/bar-chart/bar-chart.props.js.map +1 -1
  145. app-rn-runtime/components/chart/bar-chart/bar-chart.styles.js.map +1 -1
  146. app-rn-runtime/components/chart/basechart.component.js +90 -55
  147. app-rn-runtime/components/chart/basechart.component.js.map +1 -1
  148. app-rn-runtime/components/chart/basechart.props.js +4 -11
  149. app-rn-runtime/components/chart/basechart.props.js.map +1 -1
  150. app-rn-runtime/components/chart/basechart.styles.js +27 -10
  151. app-rn-runtime/components/chart/basechart.styles.js.map +1 -1
  152. app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js +19 -11
  153. app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js.map +1 -1
  154. app-rn-runtime/components/chart/bubble-chart/bubble-chart.props.js +4 -4
  155. app-rn-runtime/components/chart/bubble-chart/bubble-chart.props.js.map +1 -1
  156. app-rn-runtime/components/chart/bubble-chart/bubble-chart.styles.js.map +1 -1
  157. app-rn-runtime/components/chart/column-chart/column-chart.component.js.map +1 -1
  158. app-rn-runtime/components/chart/column-chart/column-chart.props.js.map +1 -1
  159. app-rn-runtime/components/chart/column-chart/column-chart.styles.js.map +1 -1
  160. app-rn-runtime/components/chart/donut-chart/donut-chart.component.js.map +1 -1
  161. app-rn-runtime/components/chart/donut-chart/donut-chart.props.js +4 -4
  162. app-rn-runtime/components/chart/donut-chart/donut-chart.props.js.map +1 -1
  163. app-rn-runtime/components/chart/donut-chart/donut-chart.styles.js.map +1 -1
  164. app-rn-runtime/components/chart/legend/legend.component.js.map +1 -1
  165. app-rn-runtime/components/chart/line-chart/line-chart.component.js +16 -4
  166. app-rn-runtime/components/chart/line-chart/line-chart.component.js.map +1 -1
  167. app-rn-runtime/components/chart/line-chart/line-chart.props.js +4 -4
  168. app-rn-runtime/components/chart/line-chart/line-chart.props.js.map +1 -1
  169. app-rn-runtime/components/chart/line-chart/line-chart.styles.js.map +1 -1
  170. app-rn-runtime/components/chart/pie-chart/pie-chart.component.js +19 -11
  171. app-rn-runtime/components/chart/pie-chart/pie-chart.component.js.map +1 -1
  172. app-rn-runtime/components/chart/pie-chart/pie-chart.props.js +4 -4
  173. app-rn-runtime/components/chart/pie-chart/pie-chart.props.js.map +1 -1
  174. app-rn-runtime/components/chart/pie-chart/pie-chart.styles.js.map +1 -1
  175. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js +79 -41
  176. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js.map +1 -1
  177. app-rn-runtime/components/chart/stack-chart/stack-chart.props.js +5 -5
  178. app-rn-runtime/components/chart/stack-chart/stack-chart.props.js.map +1 -1
  179. app-rn-runtime/components/chart/stack-chart/stack-chart.styles.js.map +1 -1
  180. app-rn-runtime/components/chart/staticdata.js.map +1 -1
  181. app-rn-runtime/components/chart/theme/chart.theme.js.map +1 -1
  182. app-rn-runtime/components/container/accordion/accordion.component.js +11 -17
  183. app-rn-runtime/components/container/accordion/accordion.component.js.map +1 -1
  184. app-rn-runtime/components/container/accordion/accordion.props.js +4 -4
  185. app-rn-runtime/components/container/accordion/accordion.props.js.map +1 -1
  186. app-rn-runtime/components/container/accordion/accordion.styles.js.map +1 -1
  187. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +4 -4
  188. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -1
  189. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.props.js +4 -4
  190. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -1
  191. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.styles.js.map +1 -1
  192. app-rn-runtime/components/container/container.component.js +5 -4
  193. app-rn-runtime/components/container/container.component.js.map +1 -1
  194. app-rn-runtime/components/container/container.props.js +5 -4
  195. app-rn-runtime/components/container/container.props.js.map +1 -1
  196. app-rn-runtime/components/container/container.styles.js.map +1 -1
  197. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -1
  198. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +4 -4
  199. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -1
  200. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +1 -1
  201. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -1
  202. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.props.js +4 -4
  203. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -1
  204. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.styles.js.map +1 -1
  205. app-rn-runtime/components/container/layoutgrid/layoutgrid.component.js.map +1 -1
  206. app-rn-runtime/components/container/layoutgrid/layoutgrid.props.js +4 -4
  207. app-rn-runtime/components/container/layoutgrid/layoutgrid.props.js.map +1 -1
  208. app-rn-runtime/components/container/layoutgrid/layoutgrid.styles.js.map +1 -1
  209. app-rn-runtime/components/container/linearlayout/linearlayout.component.js.map +1 -1
  210. app-rn-runtime/components/container/linearlayout/linearlayout.props.js +4 -4
  211. app-rn-runtime/components/container/linearlayout/linearlayout.props.js.map +1 -1
  212. app-rn-runtime/components/container/linearlayout/linearlayout.styles.js.map +1 -1
  213. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +1 -1
  214. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +4 -4
  215. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -1
  216. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +1 -1
  217. app-rn-runtime/components/container/panel/collapsible-pane.component.js.map +1 -1
  218. app-rn-runtime/components/container/panel/panel-content/panel-content.component.js.map +1 -1
  219. app-rn-runtime/components/container/panel/panel-content/panel-content.props.js +4 -4
  220. app-rn-runtime/components/container/panel/panel-content/panel-content.props.js.map +1 -1
  221. app-rn-runtime/components/container/panel/panel-content/panel-content.styles.js.map +1 -1
  222. app-rn-runtime/components/container/panel/panel-footer/panel-footer.component.js.map +1 -1
  223. app-rn-runtime/components/container/panel/panel-footer/panel-footer.props.js +4 -4
  224. app-rn-runtime/components/container/panel/panel-footer/panel-footer.props.js.map +1 -1
  225. app-rn-runtime/components/container/panel/panel-footer/panel-footer.styles.js.map +1 -1
  226. app-rn-runtime/components/container/panel/panel.component.js +5 -5
  227. app-rn-runtime/components/container/panel/panel.component.js.map +1 -1
  228. app-rn-runtime/components/container/panel/panel.props.js +4 -4
  229. app-rn-runtime/components/container/panel/panel.props.js.map +1 -1
  230. app-rn-runtime/components/container/panel/panel.styles.js.map +1 -1
  231. app-rn-runtime/components/container/partial-host.component.js +6 -6
  232. app-rn-runtime/components/container/partial-host.component.js.map +1 -1
  233. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +10 -9
  234. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +1 -1
  235. app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js +4 -4
  236. app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js.map +1 -1
  237. app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js +1 -1
  238. app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js.map +1 -1
  239. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js +10 -7
  240. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +1 -1
  241. app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js +4 -4
  242. app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js.map +1 -1
  243. app-rn-runtime/components/container/tabs/tabpane/tabpane.styles.js.map +1 -1
  244. app-rn-runtime/components/container/tabs/tabs.component.js +20 -17
  245. app-rn-runtime/components/container/tabs/tabs.component.js.map +1 -1
  246. app-rn-runtime/components/container/tabs/tabs.props.js +4 -4
  247. app-rn-runtime/components/container/tabs/tabs.props.js.map +1 -1
  248. app-rn-runtime/components/container/tabs/tabs.styles.js.map +1 -1
  249. app-rn-runtime/components/container/tile/tile.component.js +1 -0
  250. app-rn-runtime/components/container/tile/tile.component.js.map +1 -1
  251. app-rn-runtime/components/container/tile/tile.props.js +5 -4
  252. app-rn-runtime/components/container/tile/tile.props.js.map +1 -1
  253. app-rn-runtime/components/container/tile/tile.styles.js.map +1 -1
  254. app-rn-runtime/components/container/wizard/wizard.component.js +12 -12
  255. app-rn-runtime/components/container/wizard/wizard.component.js.map +1 -1
  256. app-rn-runtime/components/container/wizard/wizard.props.js +5 -4
  257. app-rn-runtime/components/container/wizard/wizard.props.js.map +1 -1
  258. app-rn-runtime/components/container/wizard/wizard.styles.js +3 -1
  259. app-rn-runtime/components/container/wizard/wizard.styles.js.map +1 -1
  260. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js +5 -5
  261. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -1
  262. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js +4 -4
  263. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -1
  264. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.styles.js +1 -1
  265. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.styles.js.map +1 -1
  266. app-rn-runtime/components/data/card/card-content/card-content.component.js +4 -4
  267. app-rn-runtime/components/data/card/card-content/card-content.component.js.map +1 -1
  268. app-rn-runtime/components/data/card/card-content/card-content.props.js +4 -4
  269. app-rn-runtime/components/data/card/card-content/card-content.props.js.map +1 -1
  270. app-rn-runtime/components/data/card/card-content/card-content.styles.js.map +1 -1
  271. app-rn-runtime/components/data/card/card-footer/card-footer.component.js.map +1 -1
  272. app-rn-runtime/components/data/card/card-footer/card-footer.props.js +4 -4
  273. app-rn-runtime/components/data/card/card-footer/card-footer.props.js.map +1 -1
  274. app-rn-runtime/components/data/card/card-footer/card-footer.styles.js.map +1 -1
  275. app-rn-runtime/components/data/card/card.component.js.map +1 -1
  276. app-rn-runtime/components/data/card/card.props.js +4 -4
  277. app-rn-runtime/components/data/card/card.props.js.map +1 -1
  278. app-rn-runtime/components/data/card/card.styles.js.map +1 -1
  279. app-rn-runtime/components/data/form/form-action/form-action.component.js +2 -2
  280. app-rn-runtime/components/data/form/form-action/form-action.component.js.map +1 -1
  281. app-rn-runtime/components/data/form/form-action/form-action.props.js +4 -4
  282. app-rn-runtime/components/data/form/form-action/form-action.props.js.map +1 -1
  283. app-rn-runtime/components/data/form/form-action/form-action.styles.js.map +1 -1
  284. app-rn-runtime/components/data/form/form-body/form-body.component.js.map +1 -1
  285. app-rn-runtime/components/data/form/form-body/form-body.props.js +4 -4
  286. app-rn-runtime/components/data/form/form-body/form-body.props.js.map +1 -1
  287. app-rn-runtime/components/data/form/form-body/form-body.styles.js.map +1 -1
  288. app-rn-runtime/components/data/form/form-field/form-field.component.js +12 -9
  289. app-rn-runtime/components/data/form/form-field/form-field.component.js.map +1 -1
  290. app-rn-runtime/components/data/form/form-field/form-field.props.js +5 -4
  291. app-rn-runtime/components/data/form/form-field/form-field.props.js.map +1 -1
  292. app-rn-runtime/components/data/form/form-field/form-field.styles.js.map +1 -1
  293. app-rn-runtime/components/data/form/form-footer/form-footer.component.js.map +1 -1
  294. app-rn-runtime/components/data/form/form-footer/form-footer.props.js +4 -4
  295. app-rn-runtime/components/data/form/form-footer/form-footer.props.js.map +1 -1
  296. app-rn-runtime/components/data/form/form-footer/form-footer.styles.js.map +1 -1
  297. app-rn-runtime/components/data/form/form.component.js +11 -11
  298. app-rn-runtime/components/data/form/form.component.js.map +1 -1
  299. app-rn-runtime/components/data/form/form.props.js +4 -4
  300. app-rn-runtime/components/data/form/form.props.js.map +1 -1
  301. app-rn-runtime/components/data/form/form.styles.js.map +1 -1
  302. app-rn-runtime/components/data/list/list-action-template/list-action-template.component.js +28 -0
  303. app-rn-runtime/components/data/list/list-action-template/list-action-template.component.js.map +1 -0
  304. app-rn-runtime/components/data/list/list-action-template/list-action-template.props.js +12 -0
  305. app-rn-runtime/components/data/list/list-action-template/list-action-template.props.js.map +1 -0
  306. app-rn-runtime/components/data/list/list-action-template/list-action-template.styles.js +36 -0
  307. app-rn-runtime/components/data/list/list-action-template/list-action-template.styles.js.map +1 -0
  308. app-rn-runtime/components/data/list/list-template/list-template.component.js.map +1 -1
  309. app-rn-runtime/components/data/list/list-template/list-template.props.js +4 -4
  310. app-rn-runtime/components/data/list/list-template/list-template.props.js.map +1 -1
  311. app-rn-runtime/components/data/list/list-template/list-template.styles.js +0 -1
  312. app-rn-runtime/components/data/list/list-template/list-template.styles.js.map +1 -1
  313. app-rn-runtime/components/data/list/list.component.js +63 -38
  314. app-rn-runtime/components/data/list/list.component.js.map +1 -1
  315. app-rn-runtime/components/data/list/list.props.js +5 -4
  316. app-rn-runtime/components/data/list/list.props.js.map +1 -1
  317. app-rn-runtime/components/data/list/list.styles.js +2 -2
  318. app-rn-runtime/components/data/list/list.styles.js.map +1 -1
  319. app-rn-runtime/components/data/liveform/liveform.component.js +5 -5
  320. app-rn-runtime/components/data/liveform/liveform.component.js.map +1 -1
  321. app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js +2 -2
  322. app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js.map +1 -1
  323. app-rn-runtime/components/device/barcodescanner/barcodescanner.props.js +4 -4
  324. app-rn-runtime/components/device/barcodescanner/barcodescanner.props.js.map +1 -1
  325. app-rn-runtime/components/device/barcodescanner/barcodescanner.styles.js.map +1 -1
  326. app-rn-runtime/components/device/camera/camera.component.js +2 -2
  327. app-rn-runtime/components/device/camera/camera.component.js.map +1 -1
  328. app-rn-runtime/components/device/camera/camera.props.js +4 -4
  329. app-rn-runtime/components/device/camera/camera.props.js.map +1 -1
  330. app-rn-runtime/components/device/camera/camera.styles.js.map +1 -1
  331. app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js +3 -2
  332. app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js.map +1 -1
  333. app-rn-runtime/components/dialogs/alertdialog/alertdialog.props.js +5 -4
  334. app-rn-runtime/components/dialogs/alertdialog/alertdialog.props.js.map +1 -1
  335. app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -1
  336. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js +3 -2
  337. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -1
  338. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.props.js +5 -4
  339. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -1
  340. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -1
  341. app-rn-runtime/components/dialogs/dialog/dialog.component.js +5 -4
  342. app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +1 -1
  343. app-rn-runtime/components/dialogs/dialog/dialog.props.js +5 -4
  344. app-rn-runtime/components/dialogs/dialog/dialog.props.js.map +1 -1
  345. app-rn-runtime/components/dialogs/dialog/dialog.styles.js.map +1 -1
  346. app-rn-runtime/components/dialogs/dialogactions/dialogactions.component.js +2 -2
  347. app-rn-runtime/components/dialogs/dialogactions/dialogactions.component.js.map +1 -1
  348. app-rn-runtime/components/dialogs/dialogactions/dialogactions.props.js +4 -4
  349. app-rn-runtime/components/dialogs/dialogactions/dialogactions.props.js.map +1 -1
  350. app-rn-runtime/components/dialogs/dialogactions/dialogactions.styles.js.map +1 -1
  351. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js +1 -1
  352. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -1
  353. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.props.js +4 -4
  354. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -1
  355. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.styles.js.map +1 -1
  356. app-rn-runtime/components/input/basedataset/basedataset.component.js +9 -14
  357. app-rn-runtime/components/input/basedataset/basedataset.component.js.map +1 -1
  358. app-rn-runtime/components/input/basedataset/basedataset.props.js +4 -4
  359. app-rn-runtime/components/input/basedataset/basedataset.props.js.map +1 -1
  360. app-rn-runtime/components/input/basedataset/basedataset.styles.js.map +1 -1
  361. app-rn-runtime/components/input/baseinput/baseinput.component.js +8 -9
  362. app-rn-runtime/components/input/baseinput/baseinput.component.js.map +1 -1
  363. app-rn-runtime/components/input/baseinput/baseinput.props.js +4 -4
  364. app-rn-runtime/components/input/baseinput/baseinput.props.js.map +1 -1
  365. app-rn-runtime/components/input/baseinput/baseinput.styles.js.map +1 -1
  366. app-rn-runtime/components/input/basenumber/basenumber.component.js +6 -9
  367. app-rn-runtime/components/input/basenumber/basenumber.component.js.map +1 -1
  368. app-rn-runtime/components/input/basenumber/basenumber.props.js +4 -4
  369. app-rn-runtime/components/input/basenumber/basenumber.props.js.map +1 -1
  370. app-rn-runtime/components/input/basenumber/basenumber.styles.js.map +1 -1
  371. app-rn-runtime/components/input/calendar/calendar.component.js +5 -5
  372. app-rn-runtime/components/input/calendar/calendar.component.js.map +1 -1
  373. app-rn-runtime/components/input/calendar/calendar.props.js +4 -4
  374. app-rn-runtime/components/input/calendar/calendar.props.js.map +1 -1
  375. app-rn-runtime/components/input/calendar/calendar.styles.js.map +1 -1
  376. app-rn-runtime/components/input/calendar/views/month-view.js +6 -10
  377. app-rn-runtime/components/input/calendar/views/month-view.js.map +1 -1
  378. app-rn-runtime/components/input/calendar/views/month-view.styles.js.map +1 -1
  379. app-rn-runtime/components/input/checkbox/checkbox.component.js +4 -4
  380. app-rn-runtime/components/input/checkbox/checkbox.component.js.map +1 -1
  381. app-rn-runtime/components/input/checkbox/checkbox.props.js +4 -4
  382. app-rn-runtime/components/input/checkbox/checkbox.props.js.map +1 -1
  383. app-rn-runtime/components/input/checkbox/checkbox.styles.js.map +1 -1
  384. app-rn-runtime/components/input/checkboxset/checkboxset.component.js +17 -8
  385. app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +1 -1
  386. app-rn-runtime/components/input/checkboxset/checkboxset.props.js +10 -4
  387. app-rn-runtime/components/input/checkboxset/checkboxset.props.js.map +1 -1
  388. app-rn-runtime/components/input/checkboxset/checkboxset.styles.js +2 -0
  389. app-rn-runtime/components/input/checkboxset/checkboxset.styles.js.map +1 -1
  390. app-rn-runtime/components/input/chips/chips.component.js +5 -5
  391. app-rn-runtime/components/input/chips/chips.component.js.map +1 -1
  392. app-rn-runtime/components/input/chips/chips.props.js +4 -4
  393. app-rn-runtime/components/input/chips/chips.props.js.map +1 -1
  394. app-rn-runtime/components/input/chips/chips.styles.js.map +1 -1
  395. app-rn-runtime/components/input/composite/composite.component.js.map +1 -1
  396. app-rn-runtime/components/input/composite/composite.props.js +4 -4
  397. app-rn-runtime/components/input/composite/composite.props.js.map +1 -1
  398. app-rn-runtime/components/input/composite/composite.styles.js.map +1 -1
  399. app-rn-runtime/components/input/currency/currency.component.js +4 -4
  400. app-rn-runtime/components/input/currency/currency.component.js.map +1 -1
  401. app-rn-runtime/components/input/currency/currency.props.js +4 -4
  402. app-rn-runtime/components/input/currency/currency.props.js.map +1 -1
  403. app-rn-runtime/components/input/currency/currency.styles.js.map +1 -1
  404. app-rn-runtime/components/input/epoch/base-datetime.component.js +90 -16
  405. app-rn-runtime/components/input/epoch/base-datetime.component.js.map +1 -1
  406. app-rn-runtime/components/input/epoch/date/date.component.js.map +1 -1
  407. app-rn-runtime/components/input/epoch/date/date.props.js.map +1 -1
  408. app-rn-runtime/components/input/epoch/date/date.styles.js.map +1 -1
  409. app-rn-runtime/components/input/epoch/date-picker.component.js +2 -2
  410. app-rn-runtime/components/input/epoch/date-picker.component.js.map +1 -1
  411. app-rn-runtime/components/input/epoch/datetime/datetime.component.js.map +1 -1
  412. app-rn-runtime/components/input/epoch/datetime/datetime.props.js +6 -4
  413. app-rn-runtime/components/input/epoch/datetime/datetime.props.js.map +1 -1
  414. app-rn-runtime/components/input/epoch/datetime/datetime.styles.js.map +1 -1
  415. app-rn-runtime/components/input/epoch/time/time.component.js.map +1 -1
  416. app-rn-runtime/components/input/epoch/time/time.props.js +2 -2
  417. app-rn-runtime/components/input/epoch/time/time.props.js.map +1 -1
  418. app-rn-runtime/components/input/epoch/time/time.styles.js.map +1 -1
  419. app-rn-runtime/components/input/epoch/wheel-date-picker.component.js +87 -0
  420. app-rn-runtime/components/input/epoch/wheel-date-picker.component.js.map +1 -0
  421. app-rn-runtime/components/input/epoch/wheel-time-picker.component.js +107 -0
  422. app-rn-runtime/components/input/epoch/wheel-time-picker.component.js.map +1 -0
  423. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.component.js +91 -0
  424. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -0
  425. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
  426. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -0
  427. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.styles.js +55 -0
  428. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +1 -0
  429. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +72 -0
  430. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -0
  431. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +15 -0
  432. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -0
  433. app-rn-runtime/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +66 -0
  434. app-rn-runtime/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +1 -0
  435. app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +74 -0
  436. app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +1 -0
  437. app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +16 -0
  438. app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -0
  439. app-rn-runtime/components/input/fileupload/fileupload.component.js +4 -4
  440. app-rn-runtime/components/input/fileupload/fileupload.component.js.map +1 -1
  441. app-rn-runtime/components/input/fileupload/fileupload.props.js +4 -4
  442. app-rn-runtime/components/input/fileupload/fileupload.props.js.map +1 -1
  443. app-rn-runtime/components/input/fileupload/fileupload.styles.js.map +1 -1
  444. app-rn-runtime/components/input/number/number.component.js +4 -4
  445. app-rn-runtime/components/input/number/number.component.js.map +1 -1
  446. app-rn-runtime/components/input/number/number.props.js +4 -4
  447. app-rn-runtime/components/input/number/number.props.js.map +1 -1
  448. app-rn-runtime/components/input/number/number.styles.js.map +1 -1
  449. app-rn-runtime/components/input/radioset/radioset.component.js +10 -7
  450. app-rn-runtime/components/input/radioset/radioset.component.js.map +1 -1
  451. app-rn-runtime/components/input/radioset/radioset.props.js +4 -4
  452. app-rn-runtime/components/input/radioset/radioset.props.js.map +1 -1
  453. app-rn-runtime/components/input/radioset/radioset.styles.js +1 -0
  454. app-rn-runtime/components/input/radioset/radioset.styles.js.map +1 -1
  455. app-rn-runtime/components/input/rating/rating.component.js +4 -4
  456. app-rn-runtime/components/input/rating/rating.component.js.map +1 -1
  457. app-rn-runtime/components/input/rating/rating.props.js +4 -4
  458. app-rn-runtime/components/input/rating/rating.props.js.map +1 -1
  459. app-rn-runtime/components/input/rating/rating.styles.js.map +1 -1
  460. app-rn-runtime/components/input/select/select.component.js +10 -7
  461. app-rn-runtime/components/input/select/select.component.js.map +1 -1
  462. app-rn-runtime/components/input/select/select.props.js +4 -4
  463. app-rn-runtime/components/input/select/select.props.js.map +1 -1
  464. app-rn-runtime/components/input/select/select.styles.js.map +1 -1
  465. app-rn-runtime/components/input/slider/slider.component.js +357 -70
  466. app-rn-runtime/components/input/slider/slider.component.js.map +1 -1
  467. app-rn-runtime/components/input/slider/slider.props.js +13 -9
  468. app-rn-runtime/components/input/slider/slider.props.js.map +1 -1
  469. app-rn-runtime/components/input/slider/slider.styles.js +25 -2
  470. app-rn-runtime/components/input/slider/slider.styles.js.map +1 -1
  471. app-rn-runtime/components/input/switch/switch.component.js +1 -1
  472. app-rn-runtime/components/input/switch/switch.component.js.map +1 -1
  473. app-rn-runtime/components/input/switch/switch.props.js +4 -4
  474. app-rn-runtime/components/input/switch/switch.props.js.map +1 -1
  475. app-rn-runtime/components/input/switch/switch.styles.js +6 -1
  476. app-rn-runtime/components/input/switch/switch.styles.js.map +1 -1
  477. app-rn-runtime/components/input/text/text.component.js.map +1 -1
  478. app-rn-runtime/components/input/text/text.props.js +4 -4
  479. app-rn-runtime/components/input/text/text.props.js.map +1 -1
  480. app-rn-runtime/components/input/text/text.styles.js.map +1 -1
  481. app-rn-runtime/components/input/textarea/textarea.component.js.map +1 -1
  482. app-rn-runtime/components/input/textarea/textarea.props.js +4 -4
  483. app-rn-runtime/components/input/textarea/textarea.props.js.map +1 -1
  484. app-rn-runtime/components/input/textarea/textarea.styles.js.map +1 -1
  485. app-rn-runtime/components/input/toggle/toggle.component.js +13 -6
  486. app-rn-runtime/components/input/toggle/toggle.component.js.map +1 -1
  487. app-rn-runtime/components/input/toggle/toggle.props.js +4 -4
  488. app-rn-runtime/components/input/toggle/toggle.props.js.map +1 -1
  489. app-rn-runtime/components/input/toggle/toggle.styles.js.map +1 -1
  490. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js +4 -4
  491. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +1 -1
  492. app-rn-runtime/components/navigation/appnavbar/appnavbar.props.js +4 -4
  493. app-rn-runtime/components/navigation/appnavbar/appnavbar.props.js.map +1 -1
  494. app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js.map +1 -1
  495. app-rn-runtime/components/navigation/basenav/basenav.component.js +6 -10
  496. app-rn-runtime/components/navigation/basenav/basenav.component.js.map +1 -1
  497. app-rn-runtime/components/navigation/basenav/basenav.props.js +4 -4
  498. app-rn-runtime/components/navigation/basenav/basenav.props.js.map +1 -1
  499. app-rn-runtime/components/navigation/basenav/basenav.styles.js.map +1 -1
  500. app-rn-runtime/components/navigation/menu/menu.component.js +2 -2
  501. app-rn-runtime/components/navigation/menu/menu.component.js.map +1 -1
  502. app-rn-runtime/components/navigation/menu/menu.props.js +4 -4
  503. app-rn-runtime/components/navigation/menu/menu.props.js.map +1 -1
  504. app-rn-runtime/components/navigation/menu/menu.styles.js.map +1 -1
  505. app-rn-runtime/components/navigation/navbar/navbar.component.js.map +1 -1
  506. app-rn-runtime/components/navigation/navbar/navbar.props.js +4 -4
  507. app-rn-runtime/components/navigation/navbar/navbar.props.js.map +1 -1
  508. app-rn-runtime/components/navigation/navbar/navbar.styles.js.map +1 -1
  509. app-rn-runtime/components/navigation/navitem/navitem.component.js +4 -4
  510. app-rn-runtime/components/navigation/navitem/navitem.component.js.map +1 -1
  511. app-rn-runtime/components/navigation/navitem/navitem.props.js +4 -4
  512. app-rn-runtime/components/navigation/navitem/navitem.props.js.map +1 -1
  513. app-rn-runtime/components/navigation/navitem/navitem.styles.js.map +1 -1
  514. app-rn-runtime/components/navigation/popover/popover.component.js +84 -31
  515. app-rn-runtime/components/navigation/popover/popover.component.js.map +1 -1
  516. app-rn-runtime/components/navigation/popover/popover.props.js +5 -4
  517. app-rn-runtime/components/navigation/popover/popover.props.js.map +1 -1
  518. app-rn-runtime/components/navigation/popover/popover.styles.js +6 -1
  519. app-rn-runtime/components/navigation/popover/popover.styles.js.map +1 -1
  520. app-rn-runtime/components/page/content/content.component.js.map +1 -1
  521. app-rn-runtime/components/page/content/content.props.js.map +1 -1
  522. app-rn-runtime/components/page/content/content.styles.js.map +1 -1
  523. app-rn-runtime/components/page/left-panel/left-panel.component.js +5 -5
  524. app-rn-runtime/components/page/left-panel/left-panel.component.js.map +1 -1
  525. app-rn-runtime/components/page/left-panel/left-panel.props.js +4 -4
  526. app-rn-runtime/components/page/left-panel/left-panel.props.js.map +1 -1
  527. app-rn-runtime/components/page/left-panel/left-panel.styles.js.map +1 -1
  528. app-rn-runtime/components/page/page-content/page-content.component.js +2 -1
  529. app-rn-runtime/components/page/page-content/page-content.component.js.map +1 -1
  530. app-rn-runtime/components/page/page-content/page-content.props.js +4 -4
  531. app-rn-runtime/components/page/page-content/page-content.props.js.map +1 -1
  532. app-rn-runtime/components/page/page-content/page-content.styles.js.map +1 -1
  533. app-rn-runtime/components/page/page.component.js +13 -3
  534. app-rn-runtime/components/page/page.component.js.map +1 -1
  535. app-rn-runtime/components/page/page.props.js.map +1 -1
  536. app-rn-runtime/components/page/page.styles.js.map +1 -1
  537. app-rn-runtime/components/page/partial/partial.component.js.map +1 -1
  538. app-rn-runtime/components/page/partial/partial.props.js.map +1 -1
  539. app-rn-runtime/components/page/partial/partial.styles.js.map +1 -1
  540. app-rn-runtime/components/page/partial-container/partial-container.component.js.map +1 -1
  541. app-rn-runtime/components/page/partial-container/partial-container.props.js +4 -4
  542. app-rn-runtime/components/page/partial-container/partial-container.props.js.map +1 -1
  543. app-rn-runtime/components/page/partial-container/partial-container.styles.js.map +1 -1
  544. app-rn-runtime/components/page/tabbar/curve.js.map +1 -1
  545. app-rn-runtime/components/page/tabbar/tabbar.component.js +26 -14
  546. app-rn-runtime/components/page/tabbar/tabbar.component.js.map +1 -1
  547. app-rn-runtime/components/page/tabbar/tabbar.props.js +4 -4
  548. app-rn-runtime/components/page/tabbar/tabbar.props.js.map +1 -1
  549. app-rn-runtime/components/page/tabbar/tabbar.styles.js.map +1 -1
  550. app-rn-runtime/components/prefab/prefab-container.component.js.map +1 -1
  551. app-rn-runtime/components/prefab/prefab-container.props.js.map +1 -1
  552. app-rn-runtime/components/prefab/prefab-container.styles.js.map +1 -1
  553. app-rn-runtime/core/AppConfig.js.map +1 -1
  554. app-rn-runtime/core/accessibility.js +1 -1
  555. app-rn-runtime/core/accessibility.js.map +1 -1
  556. app-rn-runtime/core/asset.provider.js.map +1 -1
  557. app-rn-runtime/core/base.component.js +27 -22
  558. app-rn-runtime/core/base.component.js.map +1 -1
  559. app-rn-runtime/core/components/floatinglabel.component.js.map +1 -1
  560. app-rn-runtime/core/components/textinput.component.js +6 -5
  561. app-rn-runtime/core/components/textinput.component.js.map +1 -1
  562. app-rn-runtime/core/constant.service.js +2 -2
  563. app-rn-runtime/core/constant.service.js.map +1 -1
  564. app-rn-runtime/core/constants/currency-constants.js.map +1 -1
  565. app-rn-runtime/core/currency-constants.js.map +1 -1
  566. app-rn-runtime/core/device/calendar-service.js.map +1 -1
  567. app-rn-runtime/core/device/camera-service.js.map +1 -1
  568. app-rn-runtime/core/device/contacts-service.js.map +1 -1
  569. app-rn-runtime/core/device/location-service.js.map +1 -1
  570. app-rn-runtime/core/device/scan-service.js.map +1 -1
  571. app-rn-runtime/core/display.manager.js.map +1 -1
  572. app-rn-runtime/core/event-notifier.js +15 -7
  573. app-rn-runtime/core/event-notifier.js.map +1 -1
  574. app-rn-runtime/core/file-extension-types.js.map +1 -1
  575. app-rn-runtime/core/fixed-view.component.js +4 -4
  576. app-rn-runtime/core/fixed-view.component.js.map +1 -1
  577. app-rn-runtime/core/formatters.js +6 -12
  578. app-rn-runtime/core/formatters.js.map +1 -1
  579. app-rn-runtime/core/i18n.service.js.map +1 -1
  580. app-rn-runtime/core/if.component.js +6 -7
  581. app-rn-runtime/core/if.component.js.map +1 -1
  582. app-rn-runtime/core/imageSizeEstimator.js +3 -3
  583. app-rn-runtime/core/imageSizeEstimator.js.map +1 -1
  584. app-rn-runtime/core/injector.js.map +1 -1
  585. app-rn-runtime/core/key.extractor.js +3 -4
  586. app-rn-runtime/core/key.extractor.js.map +1 -1
  587. app-rn-runtime/core/logger.js +3 -3
  588. app-rn-runtime/core/logger.js.map +1 -1
  589. app-rn-runtime/core/modal.service.js.map +1 -1
  590. app-rn-runtime/core/navigation.service.js.map +1 -1
  591. app-rn-runtime/core/network.service.js +7 -11
  592. app-rn-runtime/core/network.service.js.map +1 -1
  593. app-rn-runtime/core/partial.service.js.map +1 -1
  594. app-rn-runtime/core/props.provider.js +4 -5
  595. app-rn-runtime/core/props.provider.js.map +1 -1
  596. app-rn-runtime/core/scroll-view.component.js +2 -2
  597. app-rn-runtime/core/scroll-view.component.js.map +1 -1
  598. app-rn-runtime/core/security.service.js.map +1 -1
  599. app-rn-runtime/core/spinner.service.js.map +1 -1
  600. app-rn-runtime/core/storage.service.js +2 -2
  601. app-rn-runtime/core/storage.service.js.map +1 -1
  602. app-rn-runtime/core/tappable.component.js +77 -42
  603. app-rn-runtime/core/tappable.component.js.map +1 -1
  604. app-rn-runtime/core/testid.provider.js.map +1 -1
  605. app-rn-runtime/core/toast.service.js.map +1 -1
  606. app-rn-runtime/core/utils.js +123 -20
  607. app-rn-runtime/core/utils.js.map +1 -1
  608. app-rn-runtime/core/viewport.js +2 -2
  609. app-rn-runtime/core/viewport.js.map +1 -1
  610. app-rn-runtime/gestures/swipe.animation.js +2 -2
  611. app-rn-runtime/gestures/swipe.animation.js.map +1 -1
  612. app-rn-runtime/index.js.map +1 -1
  613. app-rn-runtime/package.json +85 -85
  614. app-rn-runtime/runtime/App.js +55 -47
  615. app-rn-runtime/runtime/App.js.map +1 -1
  616. app-rn-runtime/runtime/App.navigator.js +1 -1
  617. app-rn-runtime/runtime/App.navigator.js.map +1 -1
  618. app-rn-runtime/runtime/base-fragment.component.js +6 -8
  619. app-rn-runtime/runtime/base-fragment.component.js.map +1 -1
  620. app-rn-runtime/runtime/base-page.component.js +29 -22
  621. app-rn-runtime/runtime/base-page.component.js.map +1 -1
  622. app-rn-runtime/runtime/base-partial.component.js +12 -7
  623. app-rn-runtime/runtime/base-partial.component.js.map +1 -1
  624. app-rn-runtime/runtime/base-prefab.component.js +6 -6
  625. app-rn-runtime/runtime/base-prefab.component.js.map +1 -1
  626. app-rn-runtime/runtime/lib-patch.js +1 -1
  627. app-rn-runtime/runtime/lib-patch.js.map +1 -1
  628. app-rn-runtime/runtime/memo.component.js +2 -2
  629. app-rn-runtime/runtime/memo.component.js.map +1 -1
  630. app-rn-runtime/runtime/navigator/drawer.navigator.js +1 -0
  631. app-rn-runtime/runtime/navigator/drawer.navigator.js.map +1 -1
  632. app-rn-runtime/runtime/navigator/stack.navigator.js +5 -8
  633. app-rn-runtime/runtime/navigator/stack.navigator.js.map +1 -1
  634. app-rn-runtime/runtime/platform.api.js.map +1 -1
  635. app-rn-runtime/runtime/services/app-display-manager.service.js +7 -4
  636. app-rn-runtime/runtime/services/app-display-manager.service.js.map +1 -1
  637. app-rn-runtime/runtime/services/app-i18n.service.js +3 -4
  638. app-rn-runtime/runtime/services/app-i18n.service.js.map +1 -1
  639. app-rn-runtime/runtime/services/app-modal.service.js +7 -4
  640. app-rn-runtime/runtime/services/app-modal.service.js.map +1 -1
  641. app-rn-runtime/runtime/services/app-security.service.js +26 -11
  642. app-rn-runtime/runtime/services/app-security.service.js.map +1 -1
  643. app-rn-runtime/runtime/services/app-spinner.service.js +3 -4
  644. app-rn-runtime/runtime/services/app-spinner.service.js.map +1 -1
  645. app-rn-runtime/runtime/services/app-toast.service.js +2 -2
  646. app-rn-runtime/runtime/services/app-toast.service.js.map +1 -1
  647. app-rn-runtime/runtime/services/device/calendar-service.js.map +1 -1
  648. app-rn-runtime/runtime/services/device/camera-service.js +2 -2
  649. app-rn-runtime/runtime/services/device/camera-service.js.map +1 -1
  650. app-rn-runtime/runtime/services/device/contacts-service.js +1 -1
  651. app-rn-runtime/runtime/services/device/contacts-service.js.map +1 -1
  652. app-rn-runtime/runtime/services/device/location-service.js.map +1 -1
  653. app-rn-runtime/runtime/services/device/permissions.js.map +1 -1
  654. app-rn-runtime/runtime/services/device/scan-service.js.map +1 -1
  655. app-rn-runtime/runtime/services/partial.service.js +1 -2
  656. app-rn-runtime/runtime/services/partial.service.js.map +1 -1
  657. app-rn-runtime/runtime/services/webprocess.service.js +3 -5
  658. app-rn-runtime/runtime/services/webprocess.service.js.map +1 -1
  659. app-rn-runtime/runtime/watcher.js +5 -5
  660. app-rn-runtime/runtime/watcher.js.map +1 -1
  661. app-rn-runtime/styles/MediaQueryList.js.map +1 -1
  662. app-rn-runtime/styles/background.component.js +7 -6
  663. app-rn-runtime/styles/background.component.js.map +1 -1
  664. app-rn-runtime/styles/style-prop.validator.js +1 -4
  665. app-rn-runtime/styles/style-prop.validator.js.map +1 -1
  666. app-rn-runtime/styles/style-props.js +2 -2
  667. app-rn-runtime/styles/style-props.js.map +1 -1
  668. app-rn-runtime/styles/theme.js +25 -17
  669. app-rn-runtime/styles/theme.js.map +1 -1
  670. app-rn-runtime/styles/theme.variables.js +13 -7
  671. app-rn-runtime/styles/theme.variables.js.map +1 -1
  672. app-rn-runtime/variables/base-variable.js +2 -2
  673. app-rn-runtime/variables/base-variable.js.map +1 -1
  674. app-rn-runtime/variables/device/calendar/create-event.operation.js.map +1 -1
  675. app-rn-runtime/variables/device/calendar/delete-event.operation.js.map +1 -1
  676. app-rn-runtime/variables/device/calendar/get-events.operation.js.map +1 -1
  677. app-rn-runtime/variables/device/camera/capture-image.operation.js.map +1 -1
  678. app-rn-runtime/variables/device/camera/capture-video.operation.js.map +1 -1
  679. app-rn-runtime/variables/device/contacts/get-contacts.operation.js.map +1 -1
  680. app-rn-runtime/variables/device/device/app-info.operation.js.map +1 -1
  681. app-rn-runtime/variables/device/device/current-geo-position.operation.js.map +1 -1
  682. app-rn-runtime/variables/device/device/device-info.operation.js.map +1 -1
  683. app-rn-runtime/variables/device/device/network-info.operation.js +23 -3
  684. app-rn-runtime/variables/device/device/network-info.operation.js.map +1 -1
  685. app-rn-runtime/variables/device/device/vibrate.operation.js.map +1 -1
  686. app-rn-runtime/variables/device/file/upload-file.operation.js.map +1 -1
  687. app-rn-runtime/variables/device/operation.provider.js.map +1 -1
  688. app-rn-runtime/variables/device/scan/scan.operation.js.map +1 -1
  689. app-rn-runtime/variables/device-variable.js +1 -1
  690. app-rn-runtime/variables/device-variable.js.map +1 -1
  691. app-rn-runtime/variables/http.service.js +4 -0
  692. app-rn-runtime/variables/http.service.js.map +1 -1
  693. app-rn-runtime/variables/live-variable.js +3 -3
  694. app-rn-runtime/variables/live-variable.js.map +1 -1
  695. app-rn-runtime/variables/model-variable.js +2 -2
  696. app-rn-runtime/variables/model-variable.js.map +1 -1
  697. app-rn-runtime/variables/service-variable.js +2 -2
  698. app-rn-runtime/variables/service-variable.js.map +1 -1
  699. app-rn-runtime/variables/utils/dataset-util.js.map +1 -1
  700. app-rn-runtime/variables/utils/inflight-queue.js +2 -2
  701. app-rn-runtime/variables/utils/inflight-queue.js.map +1 -1
  702. app-rn-runtime/variables/utils/variable.constants.js.map +1 -1
  703. app-rn-runtime/variables/utils/variable.utils.js +0 -1
  704. app-rn-runtime/variables/utils/variable.utils.js.map +1 -1
@@ -1,10 +1,10 @@
1
1
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
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
4
  import BaseDatasetProps from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.props';
5
5
  export default class WmSearchProps extends BaseDatasetProps {
6
- constructor() {
7
- super(...arguments);
6
+ constructor(...args) {
7
+ super(...args);
8
8
  _defineProperty(this, "autofocus", false);
9
9
  _defineProperty(this, "query", '');
10
10
  _defineProperty(this, "searchkey", void 0);
@@ -1 +1 @@
1
- {"version":3,"names":["BaseDatasetProps","WmSearchProps","constructor","arguments","_defineProperty","undefined"],"sources":["search.props.ts"],"sourcesContent":["import BaseDatasetProps from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.props';\nimport {BaseComponent} from \"@wavemaker/app-rn-runtime/core/base.component\";\nimport { AccessibilityRole } from 'react-native';\n\nexport default class WmSearchProps extends BaseDatasetProps {\n autofocus: boolean = false;\n query?: string = '';\n searchkey?: any;\n type: 'search' | 'autocomplete' = 'search';\n datacompletemsg?: string = 'No more data to load';\n placeholder?: string = 'Search';\n limit?: number = null as any;\n minchars?: number = null as any;\n imagewidth?: any = 32;\n imageheight?: any = 32;\n searchon?: string = 'typing';\n onSubmit?: any;\n onChange?: Function = null as any;\n result?: any;\n showclear: boolean = false;\n showSearchIcon: boolean = true; // internal property\n invokeEvent?: Function;\n formFieldInstance?: BaseComponent<any, any, any>;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'search';\n renderitempartial?: (item: any, index: number, partialName: string)=> React.ReactNode;\n}\n"],"mappings":";;;AAAA,OAAOA,gBAAgB,MAAM,0EAA0E;AAIvG,eAAe,MAAMC,aAAa,SAASD,gBAAgB,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBACrC,KAAK;IAAAA,eAAA,gBACT,EAAE;IAAAA,eAAA;IAAAA,eAAA,eAEe,QAAQ;IAAAA,eAAA,0BACf,sBAAsB;IAAAA,eAAA,sBAC1B,QAAQ;IAAAA,eAAA,gBACd,IAAI;IAAAA,eAAA,mBACD,IAAI;IAAAA,eAAA,qBACL,EAAE;IAAAA,eAAA,sBACD,EAAE;IAAAA,eAAA,mBACF,QAAQ;IAAAA,eAAA;IAAAA,eAAA,mBAEN,IAAI;IAAAA,eAAA;IAAAA,eAAA,oBAEL,KAAK;IAAAA,eAAA,yBACA,IAAI;IAAE;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,6BAGFC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,QAAQ;IAAAA,eAAA;EAAA;AAElD"}
1
+ {"version":3,"names":["BaseDatasetProps","WmSearchProps","constructor","args","_defineProperty","undefined"],"sources":["search.props.ts"],"sourcesContent":["import BaseDatasetProps from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.props';\nimport {BaseComponent} from \"@wavemaker/app-rn-runtime/core/base.component\";\nimport { AccessibilityRole } from 'react-native';\n\nexport default class WmSearchProps extends BaseDatasetProps {\n autofocus: boolean = false;\n query?: string = '';\n searchkey?: any;\n type: 'search' | 'autocomplete' = 'search';\n datacompletemsg?: string = 'No more data to load';\n placeholder?: string = 'Search';\n limit?: number = null as any;\n minchars?: number = null as any;\n imagewidth?: any = 32;\n imageheight?: any = 32;\n searchon?: string = 'typing';\n onSubmit?: any;\n onChange?: Function = null as any;\n result?: any;\n showclear: boolean = false;\n showSearchIcon: boolean = true; // internal property\n invokeEvent?: Function;\n formFieldInstance?: BaseComponent<any, any, any>;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'search';\n renderitempartial?: (item: any, index: number, partialName: string)=> React.ReactNode;\n}\n"],"mappings":";;;AAAA,OAAOA,gBAAgB,MAAM,0EAA0E;AAIvG,eAAe,MAAMC,aAAa,SAASD,gBAAgB,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBACrC,KAAK;IAAAA,eAAA,gBACT,EAAE;IAAAA,eAAA;IAAAA,eAAA,eAEe,QAAQ;IAAAA,eAAA,0BACf,sBAAsB;IAAAA,eAAA,sBAC1B,QAAQ;IAAAA,eAAA,gBACd,IAAI;IAAAA,eAAA,mBACD,IAAI;IAAAA,eAAA,qBACL,EAAE;IAAAA,eAAA,sBACD,EAAE;IAAAA,eAAA,mBACF,QAAQ;IAAAA,eAAA;IAAAA,eAAA,mBAEN,IAAI;IAAAA,eAAA;IAAAA,eAAA,oBAEL,KAAK;IAAAA,eAAA,yBACA,IAAI;IAAE;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,6BAGFC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,QAAQ;IAAAA,eAAA;EAAA;AAElD","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["Platform","BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","borderRadius","text","minHeight","paddingTop","paddingBottom","paddingLeft","paddingRight","width","borderWidth","borderRightWidth","borderTopLeftRadius","borderBottomLeftRadius","borderColor","searchBorderColor","backgroundColor","searchBgContainerColor","invalid","borderBottomColor","inputInvalidBorderColor","focusedText","modal","transparent","height","modalContent","position","borderStyle","dropDownContent","searchInputWrapper","alignItems","justifyContent","flex","clearButton","marginLeft","padding","alignSelf","searchButton","borderTopRightRadius","borderBottomRightRadius","searchButtonColor","rippleColor","icon","fontSize","color","searchButtonTextColor","marginRight","searchItem","marginBottom","paddingHorizontal","paddingVertical","searchItemBorderColor","searchItemTextColor","searchItemText","fontFamily","baseFont","dataCompleteItem","searchDataCompleteItemBgColor","textDecorationLine","placeholderText","inputPlaceholderColor","inputDisabledBgColor","OS","textAlign","borderLeftWidth","left"],"sources":["search.styles.ts"],"sourcesContent":["import { Platform, TextStyle } from 'react-native';\nimport BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmButtonStyles } from '@wavemaker/app-rn-runtime/components/basic/button/button.styles';\n\nexport type WmSearchStyles = BaseStyles & {\n focusedText: TextStyle,\n modal: AllStyle;\n modalContent: AllStyle;\n searchItem: AllStyle;\n dropDownContent: AllStyle;\n searchItemText: AllStyle;\n clearButton: WmButtonStyles;\n searchButton: WmButtonStyles;\n searchInputWrapper: AllStyle;\n placeholderText: AllStyle;\n invalid: AllStyle;\n};\n\nexport const DEFAULT_CLASS = 'app-search';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmSearchStyles = defineStyles({\n root: {\n flexDirection: 'row',\n borderRadius: 28,\n },\n text: {\n minHeight: 56,\n paddingTop: 8,\n paddingBottom: 8,\n paddingLeft: 24,\n paddingRight: 14,\n width: '100%',\n borderWidth: 1,\n borderRightWidth: 0,\n borderTopLeftRadius: 28,\n borderBottomLeftRadius: 28,\n borderColor: themeVariables.searchBorderColor,\n backgroundColor: themeVariables.searchBgContainerColor,\n },\n invalid: {\n borderBottomColor: themeVariables.inputInvalidBorderColor,\n },\n focusedText : {\n borderBottomLeftRadius: 28,\n },\n modal: {\n backgroundColor: themeVariables.transparent,\n height: '100%'\n },\n modalContent: {\n backgroundColor: themeVariables.searchBgContainerColor,\n borderRadius: 6,\n position: 'absolute',\n borderStyle: 'solid',\n borderColor: themeVariables.searchBorderColor,\n width: '90%'\n },\n dropDownContent: {\n width: '100%'\n },\n searchInputWrapper: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center',\n flex: 1\n },\n clearButton: {\n root: {\n marginLeft: -40,\n padding: 0,\n width: 36,\n alignItems: 'center',\n alignSelf: 'center',\n justifyContent: 'center',\n backgroundColor: 'transparent'\n }\n } as WmButtonStyles,\n searchButton: {\n root: {\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 0,\n borderTopRightRadius: 28,\n borderBottomRightRadius: 28,\n backgroundColor: themeVariables.searchButtonColor,\n height: 56,\n rippleColor: themeVariables.rippleColor\n },\n icon: {\n icon: {\n fontSize: 24,\n color: themeVariables.searchButtonTextColor,\n marginRight: 4\n }\n }\n } as WmButtonStyles,\n searchItem: {\n width: '100%',\n marginBottom: 4,\n paddingHorizontal: 16,\n paddingVertical: 8,\n borderBottomColor: themeVariables.searchItemBorderColor,\n flexDirection: 'row',\n alignItems: 'center',\n color: themeVariables.searchItemTextColor\n },\n searchItemText: {\n fontSize: 16,\n paddingLeft: 8,\n fontFamily: themeVariables.baseFont\n },\n dataCompleteItem: {\n root: {\n backgroundColor: themeVariables.searchDataCompleteItemBgColor,\n justifyContent: 'center',\n padding: 8\n },\n text: {\n fontSize: 12,\n textDecorationLine: 'none',\n color: themeVariables.searchItemTextColor\n }\n },\n placeholderText: {\n color: themeVariables.inputPlaceholderColor\n }\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n text : {\n backgroundColor: themeVariables.inputDisabledBgColor\n }\n });\n\n addStyle(DEFAULT_CLASS + '-rtl', '', Platform.OS=='android'?{\n text : {\n textAlign: 'right',\n borderWidth: 1,\n borderLeftWidth: 0,\n borderRightWidth: 1,\n borderTopRightRadius: 6,\n borderBottomRightRadius: 6,\n },\n searchButton: {\n root: {\n borderTopRightRadius: 4,\n borderBottomRightRadius: 4,\n },\n }\n }:Platform.OS=='web'?{\n text : {\n textAlign: 'right',\n borderWidth: 1,\n borderRightWidth: 1,\n borderLeftWidth: 0,\n borderTopLeftRadius: 0,\n borderBottomLeftRadius: 0,\n borderTopRightRadius: 6,\n borderBottomRightRadius: 6,\n },\n searchButton: {\n root: {\n borderTopRightRadius: 0,\n borderBottomRightRadius: 0,\n borderTopLeftRadius: 4,\n borderBottomLeftRadius: 4,\n },\n },\n clearButton: {\n root: {\n left: 0,\n position: 'absolute',\n marginLeft: 0\n }\n } as WmButtonStyles,\n }:{\n text : {\n textAlign: 'right',\n }\n });\n\n addStyle('app-autocomplete', '', {\n text: {\n borderRightWidth: 1,\n borderTopRightRadius: 4,\n borderBottomRightRadius: 4,\n }\n } as WmSearchStyles);\n});\n"],"mappings":"AAAA,SAASA,QAAQ,QAAmB,cAAc;AAClD,OAAOC,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAiBxF,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA6B,GAAGL,YAAY,CAAC;IAC/CM,IAAI,EAAE;MACJC,aAAa,EAAE,KAAK;MACpBC,YAAY,EAAE;IAChB,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ACJQ,gBAAgB,EAAE,CAAC;MACnB2B,oBAAoB,EAAE,CAAC;MACvBC,uBAAuB,EAAE;IAC3B;EACF,CAAmB,CAAC;AACtB,CAAC,CAAC"}
1
+ {"version":3,"names":["Platform","BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","borderRadius","text","minHeight","paddingTop","paddingBottom","paddingLeft","paddingRight","width","borderWidth","borderRightWidth","borderTopLeftRadius","borderBottomLeftRadius","borderColor","searchBorderColor","backgroundColor","searchBgContainerColor","invalid","borderBottomColor","inputInvalidBorderColor","focusedText","modal","transparent","height","modalContent","position","borderStyle","dropDownContent","searchInputWrapper","alignItems","justifyContent","flex","clearButton","marginLeft","padding","alignSelf","searchButton","borderTopRightRadius","borderBottomRightRadius","searchButtonColor","rippleColor","icon","fontSize","color","searchButtonTextColor","marginRight","searchItem","marginBottom","paddingHorizontal","paddingVertical","searchItemBorderColor","searchItemTextColor","searchItemText","fontFamily","baseFont","dataCompleteItem","searchDataCompleteItemBgColor","textDecorationLine","placeholderText","inputPlaceholderColor","inputDisabledBgColor","OS","textAlign","borderLeftWidth","left"],"sources":["search.styles.ts"],"sourcesContent":["import { Platform, TextStyle } from 'react-native';\nimport BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmButtonStyles } from '@wavemaker/app-rn-runtime/components/basic/button/button.styles';\n\nexport type WmSearchStyles = BaseStyles & {\n focusedText: TextStyle,\n modal: AllStyle;\n modalContent: AllStyle;\n searchItem: AllStyle;\n dropDownContent: AllStyle;\n searchItemText: AllStyle;\n clearButton: WmButtonStyles;\n searchButton: WmButtonStyles;\n searchInputWrapper: AllStyle;\n placeholderText: AllStyle;\n invalid: AllStyle;\n};\n\nexport const DEFAULT_CLASS = 'app-search';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmSearchStyles = defineStyles({\n root: {\n flexDirection: 'row',\n borderRadius: 28,\n },\n text: {\n minHeight: 56,\n paddingTop: 8,\n paddingBottom: 8,\n paddingLeft: 24,\n paddingRight: 14,\n width: '100%',\n borderWidth: 1,\n borderRightWidth: 0,\n borderTopLeftRadius: 28,\n borderBottomLeftRadius: 28,\n borderColor: themeVariables.searchBorderColor,\n backgroundColor: themeVariables.searchBgContainerColor,\n },\n invalid: {\n borderBottomColor: themeVariables.inputInvalidBorderColor,\n },\n focusedText : {\n borderBottomLeftRadius: 28,\n },\n modal: {\n backgroundColor: themeVariables.transparent,\n height: '100%'\n },\n modalContent: {\n backgroundColor: themeVariables.searchBgContainerColor,\n borderRadius: 6,\n position: 'absolute',\n borderStyle: 'solid',\n borderColor: themeVariables.searchBorderColor,\n width: '90%'\n },\n dropDownContent: {\n width: '100%'\n },\n searchInputWrapper: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center',\n flex: 1\n },\n clearButton: {\n root: {\n marginLeft: -40,\n padding: 0,\n width: 36,\n alignItems: 'center',\n alignSelf: 'center',\n justifyContent: 'center',\n backgroundColor: 'transparent'\n }\n } as WmButtonStyles,\n searchButton: {\n root: {\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 0,\n borderTopRightRadius: 28,\n borderBottomRightRadius: 28,\n backgroundColor: themeVariables.searchButtonColor,\n height: 56,\n rippleColor: themeVariables.rippleColor\n },\n icon: {\n icon: {\n fontSize: 24,\n color: themeVariables.searchButtonTextColor,\n marginRight: 4\n }\n }\n } as WmButtonStyles,\n searchItem: {\n width: '100%',\n marginBottom: 4,\n paddingHorizontal: 16,\n paddingVertical: 8,\n borderBottomColor: themeVariables.searchItemBorderColor,\n flexDirection: 'row',\n alignItems: 'center',\n color: themeVariables.searchItemTextColor\n },\n searchItemText: {\n fontSize: 16,\n paddingLeft: 8,\n fontFamily: themeVariables.baseFont\n },\n dataCompleteItem: {\n root: {\n backgroundColor: themeVariables.searchDataCompleteItemBgColor,\n justifyContent: 'center',\n padding: 8\n },\n text: {\n fontSize: 12,\n textDecorationLine: 'none',\n color: themeVariables.searchItemTextColor\n }\n },\n placeholderText: {\n color: themeVariables.inputPlaceholderColor\n }\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n text : {\n backgroundColor: themeVariables.inputDisabledBgColor\n }\n });\n\n addStyle(DEFAULT_CLASS + '-rtl', '', Platform.OS=='android'?{\n text : {\n textAlign: 'right',\n borderWidth: 1,\n borderLeftWidth: 0,\n borderRightWidth: 1,\n borderTopRightRadius: 6,\n borderBottomRightRadius: 6,\n },\n searchButton: {\n root: {\n borderTopRightRadius: 4,\n borderBottomRightRadius: 4,\n },\n }\n }:Platform.OS=='web'?{\n text : {\n textAlign: 'right',\n borderWidth: 1,\n borderRightWidth: 1,\n borderLeftWidth: 0,\n borderTopLeftRadius: 0,\n borderBottomLeftRadius: 0,\n borderTopRightRadius: 6,\n borderBottomRightRadius: 6,\n },\n searchButton: {\n root: {\n borderTopRightRadius: 0,\n borderBottomRightRadius: 0,\n borderTopLeftRadius: 4,\n borderBottomLeftRadius: 4,\n },\n },\n clearButton: {\n root: {\n left: 0,\n position: 'absolute',\n marginLeft: 0\n }\n } as WmButtonStyles,\n }:{\n text : {\n textAlign: 'right',\n }\n });\n\n addStyle('app-autocomplete', '', {\n text: {\n borderRightWidth: 1,\n borderTopRightRadius: 4,\n borderBottomRightRadius: 4,\n }\n } as WmSearchStyles);\n});\n"],"mappings":"AAAA,SAASA,QAAQ,QAAmB,cAAc;AAClD,OAAOC,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAiBxF,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA6B,GAAGL,YAAY,CAAC;IAC/CM,IAAI,EAAE;MACJC,aAAa,EAAE,KAAK;MACpBC,Y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BK,IAAI,EAAE;MACJQ,gBAAgB,EAAE,CAAC;MACnB2B,oBAAoB,EAAE,CAAC;MACvBC,uBAAuB,EAAE;IAC3B;EACF,CAAmB,CAAC;AACtB,CAAC,CAAC","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
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
4
  import React from 'react';
5
5
  import { View, Animated, Easing, StyleSheet } from 'react-native';
6
6
  import { LinearGradient } from 'expo-linear-gradient';
@@ -9,8 +9,8 @@ import WmSkeletonProps from './skeleton.props';
9
9
  import { DEFAULT_CLASS } from './skeleton.styles';
10
10
  import { isUndefined } from 'lodash-es';
11
11
  export class WmSkeletonState extends BaseComponentState {
12
- constructor() {
13
- super(...arguments);
12
+ constructor(...args) {
13
+ super(...args);
14
14
  _defineProperty(this, "layout", {
15
15
  left: 0,
16
16
  top: 0,
@@ -63,7 +63,7 @@ export default class WmSkeleton extends BaseComponent {
63
63
  _defineProperty(this, "animationRunner", new AnimationRunner());
64
64
  _defineProperty(this, "onLayoutChange", event => {
65
65
  var _this$skeletonloaderR;
66
- (_this$skeletonloaderR = this.skeletonloaderRef) === null || _this$skeletonloaderR === void 0 ? void 0 : _this$skeletonloaderR.measure((x, y, width, height, px, py) => {
66
+ (_this$skeletonloaderR = this.skeletonloaderRef) === null || _this$skeletonloaderR === void 0 || _this$skeletonloaderR.measure((x, y, width, height, px, py) => {
67
67
  let layout = {
68
68
  left: px,
69
69
  top: py,
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","Animated","Easing","StyleSheet","LinearGradient","BaseComponent","BaseComponentState","WmSkeletonProps","DEFAULT_CLASS","isUndefined","WmSkeletonState","constructor","arguments","_defineProperty","left","top","width","height","AnimationRunner","Value","run","counter","timing","animationValue","duration","time","speed","toValue","useNativeDriver","easing","linear","start","event","finished","setValue","stop","Math","max","getValue","WmSkeleton","props","_this$skeletonloaderR","skeletonloaderRef","measure","x","y","px","py","layout","setState","animate","componentDidMount","animationRunner","componentWillUnmount","renderWidget","_this$styles$gradient","_this$styles$gradient2","_this$styles$gradient3","outpuRange","state","deg","translateX","interpolate","inputRange","outputRange","createElement","ref","onLayout","onLayoutChange","style","styles","root","absoluteFill","animatedView","transform","rotate","end","colors","gradientForeground","backgroundColor","toString","gradient","locations","createSkeleton","theme","skeletonStyles","wrapper","addStyleProp","propName","mergeStyle"],"sources":["skeleton.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, Animated, Easing, StyleSheet, LayoutChangeEvent, ColorValue, ViewStyle } from 'react-native';\nimport { LinearGradient } from 'expo-linear-gradient';\n\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { Theme } from '@wavemaker/app-rn-runtime/styles/theme';\n\nimport WmSkeletonProps from './skeleton.props';\nimport { DEFAULT_CLASS, WmSkeletonStyles } from './skeleton.styles';\nimport { isUndefined } from 'lodash-es';\n\nexport class WmSkeletonState extends BaseComponentState<WmSkeletonProps> {\n layout = {\n left: 0,\n top: 0,\n width: 0,\n height: 0,\n };\n animate = false;\n}\n\nclass AnimationRunner {\n private time: number = 1000;\n public speed = 1;\n private counter = 0;\n private animationValue = new Animated.Value(0.2);\n\n public run() {\n if (this.counter == 0) {\n return;\n }\n Animated.timing(this.animationValue, {\n duration: this.time * this.speed,\n toValue: 1,\n useNativeDriver: true,\n easing: Easing.linear,\n }).start((event) => {\n if (event.finished) {\n this.animationValue.setValue(0)\n this.run();\n }\n });\n }\n\n public start() {\n this.counter++;\n if (this.counter == 1) {\n this.run();\n }\n }\n\n public stop() {\n this.counter = Math.max(--this.counter, 0);\n }\n\n public getValue() {\n return this.animationValue;\n }\n}\n\nexport default class WmSkeleton extends BaseComponent<WmSkeletonProps, WmSkeletonState, WmSkeletonStyles> {\n\n private skeletonloaderRef: any = null;\n private animationRunner = new AnimationRunner();\n\n constructor(props: WmSkeletonProps) {\n super(props, DEFAULT_CLASS, new WmSkeletonProps(), new WmSkeletonState());\n }\n\n componentDidMount(): void {\n this.animationRunner.start();\n }\n\n componentWillUnmount(): void {\n this.animationRunner.stop();\n }\n\n onLayoutChange = (event: LayoutChangeEvent) => {\n this.skeletonloaderRef?.measure((x: number, y: number, width: number, height: number, px: number, py: number) => {\n let layout = {\n left: px,\n top: py,\n width: width,\n height: height,\n };\n this.setState({\n layout: {\n ...layout as any\n }, animate: true\n });\n });\n }\n\n renderWidget(props: WmSkeletonProps) {\n let outpuRange = [-this.state.layout.width-this.state.layout.left, this.state.layout.width + this.state.layout.height];\n let deg = -20;\n let translateX = this.animationRunner.getValue().interpolate({\n inputRange: [0, 1],\n outputRange: [-50, 400]\n });\n return (\n <View ref={(ref) => { this.skeletonloaderRef = ref; }} onLayout={this.onLayoutChange}\n style={this.styles.root} >\n {this.state.animate ?\n <Animated.View\n style={[\n StyleSheet.absoluteFill,\n this.styles.animatedView,\n { \n transform: [\n { translateX },\n { rotate: deg + 'deg' }\n ]\n }]}>\n <LinearGradient\n start={{ x: 0, y: 0 }}\n end={{ x: 1, y: 0 }}\n colors={[this.styles.gradientForeground.backgroundColor?.toString() as string,\n this.styles.gradient.backgroundColor?.toString() as string,\n this.styles.gradientForeground.backgroundColor?.toString() as string]}\n locations={[0, 0.5, 1]}\n style={[this.styles.gradient, {backgroundColor: this.styles.animatedView.backgroundColor}]} />\n </Animated.View> : null}\n </View>);\n }\n}\n\nexport const createSkeleton = (theme: Theme, skeletonStyles: WmSkeletonStyles, wrapper: ViewStyle) => {\n const style = {} as ViewStyle;\n const addStyleProp = (propName: any) => {\n if (!isUndefined((wrapper as any)[propName])) {\n (style as any)[propName] = (wrapper as any)[propName];\n }\n };\n addStyleProp('width');\n addStyleProp('height');\n addStyleProp('borderRadius');\n addStyleProp('borderRadius');\n addStyleProp('marginTop');\n addStyleProp('marginBottom');\n addStyleProp('marginLeft');\n addStyleProp('marginRight');\n return(<WmSkeleton styles={theme.mergeStyle(skeletonStyles, {root: style})}/>);\n};\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,UAAU,QAAkD,cAAc;AAC3G,SAASC,cAAc,QAAQ,sBAAsB;AAErD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAGjG,OAAOC,eAAe,MAAM,kBAAkB;AAC9C,SAASC,aAAa,QAA0B,mBAAmB;AACnE,SAASC,WAAW,QAAQ,WAAW;AAEvC,OAAO,MAAMC,eAAe,SAASJ,kBAAkB,CAAkB;EAAAK,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,iBAC9D;MACPC,IAAI,EAAE,CAAC;MACPC,GAAG,EAAE,CAAC;MACNC,KAAK,EAAE,CAAC;MACRC,MAAM,EAAE;IACV,CAAC;IAAAJ,eAAA,kBACS,KAAK;EAAA;AACjB;AAEA,MAAMK,eAAe,CAAC;EAAAP,YAAA;IAAAE,eAAA,eACG,IAAI;IAAAA,eAAA,gBACZ,CAAC;IAAAA,eAAA,kBACE,CAAC;IAAAA,eAAA,yBACM,IAAIZ,QAAQ,CAACkB,KAAK,CAAC,GAAG,CAAC;EAA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,CAAE,CAClF,CAAC,GAAG,IACjB,CAAC;EACX;AACF;AAEA,OAAO,MAAMI,cAAc,GAAGA,CAACC,KAAY,EAAEC,cAAgC,EAAEC,OAAkB,KAAK;EACpG,MAAMjB,KAAK,GAAG,CAAC,CAAc;EAC7B,MAAMkB,YAAY,GAAIC,QAAa,IAAK;IACtC,IAAI,CAAC/E,WAAW,CAAE6E,OAAO,CAASE,QAAQ,CAAC,CAAC,EAAE;MAC3CnB,KAAK,CAASmB,QAAQ,CAAC,GAAIF,OAAO,CAASE,QAAQ,CAAC;IACvD;EACF,CAAC;EACDD,YAAY,CAAC,OAAO,CAAC;EACrBA,YAAY,CAAC,QAAQ,CAAC;EACtBA,YAAY,CAAC,cAAc,CAAC;EAC5BA,YAAY,CAAC,cAAc,CAAC;EAC5BA,YAAY,CAAC,WAAW,CAAC;EACzBA,YAAY,CAAC,cAAc,CAAC;EAC5BA,YAAY,CAAC,YAAY,CAAC;EAC1BA,YAAY,CAAC,aAAa,CAAC;EAC3B,oBAAOxF,KAAA,CAAAkE,aAAA,CAAC1B,UAAU;IAAC+B,MAAM,EAAEc,KAAK,CAACK,UAAU,CAACJ,cAAc,EAAE;MAACd,IAAI,EAAEF;IAAK,CAAC;EAAE,CAAC,CAAC;AAC/E,CAAC"}
1
+ {"version":3,"names":["React","View","Animated","Easing","StyleSheet","LinearGradient","BaseComponent","BaseComponentState","WmSkeletonProps","DEFAULT_CLASS","isUndefined","WmSkeletonState","constructor","args","_defineProperty","left","top","width","height","AnimationRunner","Value","run","counter","timing","animationValue","duration","time","speed","toValue","useNativeDriver","easing","linear","start","event","finished","setValue","stop","Math","max","getValue","WmSkeleton","props","_this$skeletonloaderR","skeletonloaderRef","measure","x","y","px","py","layout","setState","animate","componentDidMount","animationRunner","componentWillUnmount","renderWidget","_this$styles$gradient","_this$styles$gradient2","_this$styles$gradient3","outpuRange","state","deg","translateX","interpolate","inputRange","outputRange","createElement","ref","onLayout","onLayoutChange","style","styles","root","absoluteFill","animatedView","transform","rotate","end","colors","gradientForeground","backgroundColor","toString","gradient","locations","createSkeleton","theme","skeletonStyles","wrapper","addStyleProp","propName","mergeStyle"],"sources":["skeleton.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, Animated, Easing, StyleSheet, LayoutChangeEvent, ColorValue, ViewStyle } from 'react-native';\nimport { LinearGradient } from 'expo-linear-gradient';\n\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { Theme } from '@wavemaker/app-rn-runtime/styles/theme';\n\nimport WmSkeletonProps from './skeleton.props';\nimport { DEFAULT_CLASS, WmSkeletonStyles } from './skeleton.styles';\nimport { isUndefined } from 'lodash-es';\n\nexport class WmSkeletonState extends BaseComponentState<WmSkeletonProps> {\n layout = {\n left: 0,\n top: 0,\n width: 0,\n height: 0,\n };\n animate = false;\n}\n\nclass AnimationRunner {\n private time: number = 1000;\n public speed = 1;\n private counter = 0;\n private animationValue = new Animated.Value(0.2);\n\n public run() {\n if (this.counter == 0) {\n return;\n }\n Animated.timing(this.animationValue, {\n duration: this.time * this.speed,\n toValue: 1,\n useNativeDriver: true,\n easing: Easing.linear,\n }).start((event) => {\n if (event.finished) {\n this.animationValue.setValue(0)\n this.run();\n }\n });\n }\n\n public start() {\n this.counter++;\n if (this.counter == 1) {\n this.run();\n }\n }\n\n public stop() {\n this.counter = Math.max(--this.counter, 0);\n }\n\n public getValue() {\n return this.animationValue;\n }\n}\n\nexport default class WmSkeleton extends BaseComponent<WmSkeletonProps, WmSkeletonState, WmSkeletonStyles> {\n\n private skeletonloaderRef: any = null;\n private animationRunner = new AnimationRunner();\n\n constructor(props: WmSkeletonProps) {\n super(props, DEFAULT_CLASS, new WmSkeletonProps(), new WmSkeletonState());\n }\n\n componentDidMount(): void {\n this.animationRunner.start();\n }\n\n componentWillUnmount(): void {\n this.animationRunner.stop();\n }\n\n onLayoutChange = (event: LayoutChangeEvent) => {\n this.skeletonloaderRef?.measure((x: number, y: number, width: number, height: number, px: number, py: number) => {\n let layout = {\n left: px,\n top: py,\n width: width,\n height: height,\n };\n this.setState({\n layout: {\n ...layout as any\n }, animate: true\n });\n });\n }\n\n renderWidget(props: WmSkeletonProps) {\n let outpuRange = [-this.state.layout.width-this.state.layout.left, this.state.layout.width + this.state.layout.height];\n let deg = -20;\n let translateX = this.animationRunner.getValue().interpolate({\n inputRange: [0, 1],\n outputRange: [-50, 400]\n });\n return (\n <View ref={(ref) => { this.skeletonloaderRef = ref; }} onLayout={this.onLayoutChange}\n style={this.styles.root} >\n {this.state.animate ?\n <Animated.View\n style={[\n StyleSheet.absoluteFill,\n this.styles.animatedView,\n { \n transform: [\n { translateX },\n { rotate: deg + 'deg' }\n ]\n }]}>\n <LinearGradient\n start={{ x: 0, y: 0 }}\n end={{ x: 1, y: 0 }}\n colors={[this.styles.gradientForeground.backgroundColor?.toString() as string,\n this.styles.gradient.backgroundColor?.toString() as string,\n this.styles.gradientForeground.backgroundColor?.toString() as string]}\n locations={[0, 0.5, 1]}\n style={[this.styles.gradient, {backgroundColor: this.styles.animatedView.backgroundColor}]} />\n </Animated.View> : null}\n </View>);\n }\n}\n\nexport const createSkeleton = (theme: Theme, skeletonStyles: WmSkeletonStyles, wrapper: ViewStyle) => {\n const style = {} as ViewStyle;\n const addStyleProp = (propName: any) => {\n if (!isUndefined((wrapper as any)[propName])) {\n (style as any)[propName] = (wrapper as any)[propName];\n }\n };\n addStyleProp('width');\n addStyleProp('height');\n addStyleProp('borderRadius');\n addStyleProp('borderRadius');\n addStyleProp('marginTop');\n addStyleProp('marginBottom');\n addStyleProp('marginLeft');\n addStyleProp('marginRight');\n return(<WmSkeleton styles={theme.mergeStyle(skeletonStyles, {root: style})}/>);\n};\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,UAAU,QAAkD,cAAc;AAC3G,SAASC,cAAc,QAAQ,sBAAsB;AAErD,SAASC,aAAa,EAAEC,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U;IAAC+B,MAAM,EAAEc,KAAK,CAACK,UAAU,CAACJ,cAAc,EAAE;MAACd,IAAI,EAAEF;IAAK,CAAC;EAAE,CAAC,CAAC;AAC/E,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmSkeletonProps"],"sources":["skeleton.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nexport default class WmSkeletonProps extends BaseProps {\n}"],"mappings":"AAAA,SAASA,SAAS,QAAQ,+CAA+C;AACzE,eAAe,MAAMC,eAAe,SAASD,SAAS,CAAC"}
1
+ {"version":3,"names":["BaseProps","WmSkeletonProps"],"sources":["skeleton.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nexport default class WmSkeletonProps extends BaseProps {\n}"],"mappings":"AAAA,SAASA,SAAS,QAAQ,+CAA+C;AACzE,eAAe,MAAMC,eAAe,SAASD,SAAS,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","backgroundColor","skeletonBgColor","overflow","text","animatedView","flex","width","skeletonAnimatedBgColor","height","marginTop","marginBottom","padding","gradient","margin","shadowColor","skeletonGradientShadowColor","shadowOffset","elevation","shadowOpacity","opacity","skeletonGradientBgColor","gradientForeground","skeletonGradientForegroundColor"],"sources":["skeleton.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 { ViewStyle } from 'react-native';\n\nexport type WmSkeletonStyles = BaseStyles & {\n animatedView: AllStyle;\n gradient: AllStyle;\n gradientForeground: ViewStyle;\n};\n\nexport const DEFAULT_CLASS = 'app-skeleton';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles = defineStyles<WmSkeletonStyles>({\n root: {\n backgroundColor: themeVariables.skeletonBgColor,\n overflow: 'hidden',\n },\n text: {},\n animatedView: {\n flex: 1,\n width: 60,\n backgroundColor: themeVariables.skeletonAnimatedBgColor,\n height: '100%',\n marginTop: -10,\n marginBottom: -10,\n padding: 0\n },\n gradient: {\n width: '100%',\n padding: 0,\n margin: 0,\n height: '100%',\n shadowColor: themeVariables.skeletonGradientShadowColor,\n shadowOffset: { width: 0, height: 10 },\n elevation: 5,\n shadowOpacity: 0.4,\n opacity: 0.6,\n backgroundColor: themeVariables.skeletonGradientBgColor\n },\n gradientForeground: {\n backgroundColor: themeVariables.skeletonGradientForegroundColor\n },\n\n });\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AASxF,OAAO,MAAMC,aAAa,GAAG,cAAc;AAC3CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAa,GAAGL,YAAY,CAAmB;IACjDM,IAAI,EAAE;MACFC,eAAe,EAAEJ,cAAc,CAACK,eAAe;MAC/CC,QAAQ,EAAE;IACd,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,YAAY,EAAE;MACVC,IAAI,EAAE,CAAC;MACPC,KAAK,EAAE,EAAE;MACTN,eAAe,EAAEJ,cAAc,CAACW,uBAAuB;MACvDC,MAAM,EAAE,MAAM;MACdC,SAAS,EAAE,CAAC,EAAE;MACdC,YAAY,EAAE,CAAC,EAAE;MACjBC,OAAO,EAAE;IACb,CAAC;IACDC,QAAQ,EAAE;MACNN,KAAK,EAAE,MAAM;MACbK,OAAO,EAAE,CAAC;MACVE,MAAM,EAAE,CAAC;MACTL,MAAM,EAAE,MAAM;MACdM,WAAW,EAAElB,cAAc,CAACmB,2BAA2B;MACvDC,YAAY,EAAE;QAAEV,KAAK,EAAE,CAAC;QAAEE,MAAM,EAAE;MAAG,CAAC;MACtCS,SAAS,EAAE,CAAC;MACZC,aAAa,EAAE,GAAG;MAClBC,OAAO,EAAE,GAAG;MACZnB,eAAe,EAAEJ,cAAc,CAACwB;IACpC,CAAC;IACDC,kBAAkB,EAAE;MAChBrB,eAAe,EAAEJ,cAAc,CAAC0B;IACpC;EAEJ,CAAC,CAAC;EACFzB,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC9C,CAAC,CAAC"}
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","backgroundColor","skeletonBgColor","overflow","text","animatedView","flex","width","skeletonAnimatedBgColor","height","marginTop","marginBottom","padding","gradient","margin","shadowColor","skeletonGradientShadowColor","shadowOffset","elevation","shadowOpacity","opacity","skeletonGradientBgColor","gradientForeground","skeletonGradientForegroundColor"],"sources":["skeleton.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 { ViewStyle } from 'react-native';\n\nexport type WmSkeletonStyles = BaseStyles & {\n animatedView: AllStyle;\n gradient: AllStyle;\n gradientForeground: ViewStyle;\n};\n\nexport const DEFAULT_CLASS = 'app-skeleton';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles = defineStyles<WmSkeletonStyles>({\n root: {\n backgroundColor: themeVariables.skeletonBgColor,\n overflow: 'hidden',\n },\n text: {},\n animatedView: {\n flex: 1,\n width: 60,\n backgroundColor: themeVariables.skeletonAnimatedBgColor,\n height: '100%',\n marginTop: -10,\n marginBottom: -10,\n padding: 0\n },\n gradient: {\n width: '100%',\n padding: 0,\n margin: 0,\n height: '100%',\n shadowColor: themeVariables.skeletonGradientShadowColor,\n shadowOffset: { width: 0, height: 10 },\n elevation: 5,\n shadowOpacity: 0.4,\n opacity: 0.6,\n backgroundColor: themeVariables.skeletonGradientBgColor\n },\n gradientForeground: {\n backgroundColor: themeVariables.skeletonGradientForegroundColor\n },\n\n });\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AASxF,OAAO,MAAMC,aAAa,GAAG,cAAc;AAC3CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAa,GAAGL,YAAY,CAAmB;IACjDM,IAAI,EAAE;MACFC,eAAe,EAAEJ,cAAc,CAACK,eAAe;MAC/CC,QAAQ,EAAE;IACd,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,YAAY,EAAE;MACVC,IAAI,EAAE,CAAC;MACPC,KAAK,EAAE,EAAE;MACTN,eAAe,EAAEJ,cAAc,CAACW,uBAAuB;MACvDC,MAAM,EAAE,MAAM;MACdC,SAAS,EAAE,CAAC,EAAE;MACdC,YAAY,EAAE,CAAC,EAAE;MACjBC,OAAO,EAAE;IACb,CAAC;IACDC,QAAQ,EAAE;MACNN,KAAK,EAAE,MAAM;MACbK,OAAO,EAAE,CAAC;MACVE,MAAM,EAAE,CAAC;MACTL,MAAM,EAAE,MAAM;MACdM,WAAW,EAAElB,cAAc,CAACmB,2BAA2B;MACvDC,YAAY,EAAE;QAAEV,KAAK,EAAE,CAAC;QAAEE,MAAM,EAAE;MAAG,CAAC;MACtCS,SAAS,EAAE,CAAC;MACZC,aAAa,EAAE,GAAG;MAClBC,OAAO,EAAE,GAAG;MACZnB,eAAe,EAAEJ,cAAc,CAACwB;IACpC,CAAC;IACDC,kBAAkB,EAAE;MAChBrB,eAAe,EAAEJ,cAAc,CAAC0B;IACpC;EAEJ,CAAC,CAAC;EACFzB,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC9C,CAAC,CAAC","ignoreList":[]}
@@ -1,7 +1,7 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
4
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
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
5
  import React from 'react';
6
6
  import { Text, View, Platform } from 'react-native';
7
7
  import Color from "color";
@@ -1 +1 @@
1
- {"version":3,"names":["React","Text","View","Platform","Color","BaseComponent","BaseComponentState","WmSpinnerProps","DEFAULT_CLASS","WmIcon","WmPicture","LottieView","ThemeVariables","WmSpinnerState","WmSpinner","constructor","props","_defineProperty","obj","colors","Object","keys","forEach","key","value","ind","Math","floor","random","length","toLowerCase","includes","shape","recursiveSearch","prepareIcon","createElement","id","getTestId","styles","icon","iconclass","iconsize","prepareImage","image","picturesource","toRgbArray","color","red","green","blue","addClasstoLottie","lottiePath","primaryColor","INSTANCE","darken","json","loader","prepareLottie","_Lottie","Lottie","OS","require","default","animationData","lottie","loop","play","style","testID","source","resizeMode","autoPlay","renderWidget","root","_background","caption","_extends","getTestPropsForLabel","text"],"sources":["spinner.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View, Platform } from 'react-native';\nimport Color from \"color\";\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmSpinnerProps from './spinner.props';\nimport { DEFAULT_CLASS, WmSpinnerStyles } from './spinner.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmPicture from '@wavemaker/app-rn-runtime/components/basic/picture/picture.component';\nimport LottieView from 'lottie-react-native';\nimport ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';\n\nexport class WmSpinnerState extends BaseComponentState<WmSpinnerProps> {\n\n}\n\nexport default class WmSpinner extends BaseComponent<WmSpinnerProps, WmSpinnerState, WmSpinnerStyles> {\n\n constructor(props: WmSpinnerProps) {\n super(props, DEFAULT_CLASS, new WmSpinnerProps());\n }\n\n private prepareIcon(props: any) {\n return (<WmIcon\n id={this.getTestId('icon')}\n styles={this.styles.icon}\n iconclass={props.iconclass + ' fa-spin'} iconsize={props.iconsize}></WmIcon>);\n }\n\n private prepareImage(props: any) {\n return (<WmPicture\n id={this.getTestId('picture')}\n styles={this.styles.image}\n picturesource={props.image}></WmPicture>);\n }\n\n private recursiveSearch = (obj: any, colors: any) => {\n obj && Object.keys(obj).forEach(key => {\n let value = obj[key];\n let ind = Math.floor(Math.random() * (0 - colors.length ) + colors.length);\n if (key == \"nm\" && (value.toLowerCase().includes('fill ') || value.toLowerCase().includes('stroke '))) {\n if (obj[\"c\"] && obj[\"c\"][\"k\"] \n && (obj[\"c\"][\"k\"].length == 4\n || (obj[\"c\"][\"k\"].length ==3 \n && typeof obj[\"c\"][\"k\"][0] == 'number'))) {\n obj[\"c\"][\"k\"] = colors[ind];\n }\n else {\n if (obj[\"c\"] && obj[\"c\"][\"k\"]){\n for (let shape in obj[\"c\"][\"k\"]) {\n if(obj[\"c\"][\"k\"][shape] && obj[\"c\"][\"k\"][shape][\"s\"]){\n obj[\"c\"][\"k\"][shape][\"s\"] = colors[ind];\n }\n }\n }\n }\n } else if (typeof value === 'object') {\n this.recursiveSearch(value, colors);\n }\n });\n return obj;\n };\n\n private toRgbArray(color: Color) {\n return [\n color.red()/255,\n color.green()/255,\n color.blue()/255,\n 1\n ]\n }\n\n private addClasstoLottie(lottiePath: any) {\n let primaryColor = Color(ThemeVariables.INSTANCE.primaryColor);\n let colors = [this.toRgbArray(primaryColor), \n this.toRgbArray(primaryColor.darken(0.2)), \n this.toRgbArray(primaryColor.darken(0.4)), \n this.toRgbArray(primaryColor.darken(0.6)), \n this.toRgbArray(primaryColor.darken(0.8))];\n return this.recursiveSearch(lottiePath.json, lottiePath.loader == 'circleSpinner' ? [colors[0]] : colors);\n }\n\n private prepareLottie(props: any) {\n let Lottie = Platform.OS == 'web' ? require('react-lottie-player') : null;\n Lottie = Lottie?.default || Lottie;\n return (\n Platform.OS == 'web' ? <Lottie animationData={this.addClasstoLottie(props.lottie)} loop={true} play={true} style={this.styles.lottie} /> : <LottieView\n testID={this.getTestId('lottie')}\n source={this.addClasstoLottie(props.lottie)}\n resizeMode='contain'\n autoPlay={true}\n loop={true}\n style={this.styles.lottie}\n />\n )\n }\n\n renderWidget(props: WmSpinnerProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n {props.lottie ? this.prepareLottie(props) : props.image ? this.prepareImage(props) : this.prepareIcon(props)}\n {props.caption ? <Text {...this.getTestPropsForLabel()} style={this.styles.text}>{props.caption}</Text> : null}\n </View>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,QAAQ,cAAc;AACnD,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAyB,kBAAkB;AACjE,OAAOC,MAAM,MAAM,gEAAgE;AACnF,OAAOC,SAAS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AAgB,CAAClC,KAAK,CAACgD,MAAM,CAAE;MAACC,IAAI,EAAE,IAAK;MAACC,IAAI,EAAE,IAAK;MAACC,KAAK,EAAE,IAAI,CAAC7B,MAAM,CAAC0B;IAAO,CAAE,CAAC,gBAAGhE,KAAA,CAAAmC,aAAA,CAACxB,UAAU;MACpJyD,MAAM,EAAE,IAAI,CAAC/B,SAAS,CAAC,QAAQ,CAAE;MACjCgC,MAAM,EAAE,IAAI,CAACnB,gBAAgB,CAAClC,KAAK,CAACgD,MAAM,CAAE;MAC5CM,UAAU,EAAC,SAAS;MACpBC,QAAQ,EAAE,IAAK;MACfN,IAAI,EAAE,IAAK;MACXE,KAAK,EAAE,IAAI,CAAC7B,MAAM,CAAC0B;IAAO,CAC3B,CAAC;EAEN;EAEAQ,YAAYA,CAACxD,KAAqB,EAAE;IAClC,oBACEhB,KAAA,CAAAmC,aAAA,CAACjC,IAAI;MAACiE,KAAK,EAAE,IAAI,CAAC7B,MAAM,CAACmC;IAAK,GAC3B,IAAI,CAACC,WAAW,EAChB1D,KAAK,CAACgD,MAAM,GAAG,IAAI,CAACP,aAAa,CAACzC,KAAK,CAAC,GAAGA,KAAK,CAAC2B,KAAK,GAAG,IAAI,CAACD,YAAY,CAAC1B,KAAK,CAAC,GAAG,IAAI,CAACkB,WAAW,CAAClB,KAAK,CAAC,EAC3GA,KAAK,CAAC2D,OAAO,gBAAG3E,KAAA,CAAAmC,aAAA,CAAClC,IAAI,EAAA2E,QAAA,KAAK,IAAI,CAACC,oBAAoB,CAAC,CAAC;MAAEV,KAAK,EAAE,IAAI,CAAC7B,MAAM,CAACwC;IAAK,IAAE9D,KAAK,CAAC2D,OAAc,CAAC,GAAG,IACtG,CAAC;EAEX;AACF"}
1
+ {"version":3,"names":["React","Text","View","Platform","Color","BaseComponent","BaseComponentState","WmSpinnerProps","DEFAULT_CLASS","WmIcon","WmPicture","LottieView","ThemeVariables","WmSpinnerState","WmSpinner","constructor","props","_defineProperty","obj","colors","Object","keys","forEach","key","value","ind","Math","floor","random","length","toLowerCase","includes","shape","recursiveSearch","prepareIcon","createElement","id","getTestId","styles","icon","iconclass","iconsize","prepareImage","image","picturesource","toRgbArray","color","red","green","blue","addClasstoLottie","lottiePath","primaryColor","INSTANCE","darken","json","loader","prepareLottie","_Lottie","Lottie","OS","require","default","animationData","lottie","loop","play","style","testID","source","resizeMode","autoPlay","renderWidget","root","_background","caption","_extends","getTestPropsForLabel","text"],"sources":["spinner.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View, Platform } from 'react-native';\nimport Color from \"color\";\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmSpinnerProps from './spinner.props';\nimport { DEFAULT_CLASS, WmSpinnerStyles } from './spinner.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmPicture from '@wavemaker/app-rn-runtime/components/basic/picture/picture.component';\nimport LottieView from 'lottie-react-native';\nimport ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';\n\nexport class WmSpinnerState extends BaseComponentState<WmSpinnerProps> {\n\n}\n\nexport default class WmSpinner extends BaseComponent<WmSpinnerProps, WmSpinnerState, WmSpinnerStyles> {\n\n constructor(props: WmSpinnerProps) {\n super(props, DEFAULT_CLASS, new WmSpinnerProps());\n }\n\n private prepareIcon(props: any) {\n return (<WmIcon\n id={this.getTestId('icon')}\n styles={this.styles.icon}\n iconclass={props.iconclass + ' fa-spin'} iconsize={props.iconsize}></WmIcon>);\n }\n\n private prepareImage(props: any) {\n return (<WmPicture\n id={this.getTestId('picture')}\n styles={this.styles.image}\n picturesource={props.image}></WmPicture>);\n }\n\n private recursiveSearch = (obj: any, colors: any) => {\n obj && Object.keys(obj).forEach(key => {\n let value = obj[key];\n let ind = Math.floor(Math.random() * (0 - colors.length ) + colors.length);\n if (key == \"nm\" && (value.toLowerCase().includes('fill ') || value.toLowerCase().includes('stroke '))) {\n if (obj[\"c\"] && obj[\"c\"][\"k\"] \n && (obj[\"c\"][\"k\"].length == 4\n || (obj[\"c\"][\"k\"].length ==3 \n && typeof obj[\"c\"][\"k\"][0] == 'number'))) {\n obj[\"c\"][\"k\"] = colors[ind];\n }\n else {\n if (obj[\"c\"] && obj[\"c\"][\"k\"]){\n for (let shape in obj[\"c\"][\"k\"]) {\n if(obj[\"c\"][\"k\"][shape] && obj[\"c\"][\"k\"][shape][\"s\"]){\n obj[\"c\"][\"k\"][shape][\"s\"] = colors[ind];\n }\n }\n }\n }\n } else if (typeof value === 'object') {\n this.recursiveSearch(value, colors);\n }\n });\n return obj;\n };\n\n private toRgbArray(color: Color) {\n return [\n color.red()/255,\n color.green()/255,\n color.blue()/255,\n 1\n ]\n }\n\n private addClasstoLottie(lottiePath: any) {\n let primaryColor = Color(ThemeVariables.INSTANCE.primaryColor);\n let colors = [this.toRgbArray(primaryColor), \n this.toRgbArray(primaryColor.darken(0.2)), \n this.toRgbArray(primaryColor.darken(0.4)), \n this.toRgbArray(primaryColor.darken(0.6)), \n this.toRgbArray(primaryColor.darken(0.8))];\n return this.recursiveSearch(lottiePath.json, lottiePath.loader == 'circleSpinner' ? [colors[0]] : colors);\n }\n\n private prepareLottie(props: any) {\n let Lottie = Platform.OS == 'web' ? require('react-lottie-player') : null;\n Lottie = Lottie?.default || Lottie;\n return (\n Platform.OS == 'web' ? <Lottie animationData={this.addClasstoLottie(props.lottie)} loop={true} play={true} style={this.styles.lottie} /> : <LottieView\n testID={this.getTestId('lottie')}\n source={this.addClasstoLottie(props.lottie)}\n resizeMode='contain'\n autoPlay={true}\n loop={true}\n style={this.styles.lottie}\n />\n )\n }\n\n renderWidget(props: WmSpinnerProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n {props.lottie ? this.prepareLottie(props) : props.image ? this.prepareImage(props) : this.prepareIcon(props)}\n {props.caption ? <Text {...this.getTestPropsForLabel()} style={this.styles.text}>{props.caption}</Text> : null}\n </View>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA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C;MAAEV,KAAK,EAAE,IAAI,CAAC7B,MAAM,CAACwC;IAAK,IAAE9D,KAAK,CAAC2D,OAAc,CAAC,GAAG,IACtG,CAAC;EAEX;AACF","ignoreList":[]}
@@ -1,10 +1,10 @@
1
1
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
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
4
  import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
5
5
  export default class WmSpinnerProps extends BaseProps {
6
- constructor() {
7
- super(...arguments);
6
+ constructor(...args) {
7
+ super(...args);
8
8
  _defineProperty(this, "caption", 'Loading...');
9
9
  _defineProperty(this, "iconclass", 'fa fa-circle-o-notch fa-spin');
10
10
  _defineProperty(this, "iconsize", 0);
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmSpinnerProps","constructor","arguments","_defineProperty"],"sources":["spinner.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmSpinnerProps extends BaseProps {\n caption: string = 'Loading...';\n iconclass?: string = 'fa fa-circle-o-notch fa-spin';\n iconsize? = 0;\n image?: string = null as any;\n imageheight?: string = null as any;\n imagewidth?: number = 20;\n lottie?: string = null as any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,cAAc,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,kBAClC,YAAY;IAAAA,eAAA,oBACT,8BAA8B;IAAAA,eAAA,mBACvC,CAAC;IAAAA,eAAA,gBACI,IAAI;IAAAA,eAAA,sBACE,IAAI;IAAAA,eAAA,qBACL,EAAE;IAAAA,eAAA,iBACN,IAAI;EAAA;AACxB"}
1
+ {"version":3,"names":["BaseProps","WmSpinnerProps","constructor","args","_defineProperty"],"sources":["spinner.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmSpinnerProps extends BaseProps {\n caption: string = 'Loading...';\n iconclass?: string = 'fa fa-circle-o-notch fa-spin';\n iconsize? = 0;\n image?: string = null as any;\n imageheight?: string = null as any;\n imagewidth?: number = 20;\n lottie?: string = null as any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,cAAc,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,kBAClC,YAAY;IAAAA,eAAA,oBACT,8BAA8B;IAAAA,eAAA,mBACvC,CAAC;IAAAA,eAAA,gBACI,IAAI;IAAAA,eAAA,sBACE,IAAI;IAAAA,eAAA,qBACL,EAAE;IAAAA,eAAA,iBACN,IAAI;EAAA;AACxB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["defineStyles","BASE_THEME","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","justifyContent","alignItems","text","fontSize","paddingLeft","icon","width","color","spinnerIconColor","image","lottie","height","alignSelf","textAlign","paddingRight"],"sources":["spinner.styles.ts"],"sourcesContent":["import { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport BASE_THEME, { NamedStyles, AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\nimport { WmPictureStyles } from '@wavemaker/app-rn-runtime/components/basic/picture/picture.styles';\n\nexport type WmSpinnerStyles = BaseStyles & {\n icon: WmIconStyles\n image: WmPictureStyles\n lottie: AllStyle\n};\n\nexport const DEFAULT_CLASS = 'app-spinner';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmSpinnerStyles = defineStyles({\n root: {\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center'\n },\n text: {\n fontSize: 16,\n paddingLeft: 8\n },\n icon: {\n text: {\n fontSize: 48,\n width: 4,\n color: themeVariables.spinnerIconColor\n }\n } as WmIconStyles,\n image: {} as WmPictureStyles,\n lottie: {\n width: 100,\n height: 100,\n alignSelf: 'center',\n justifyContent: 'center'\n }\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n root : {\n textAlign: 'right'\n },\n text: {\n paddingRight: 8\n }\n });\n});\n"],"mappings":"AAAA,SAAqBA,YAAY,QAAQ,+CAA+C;AACxF,OAAOC,UAAU,MAAiC,wCAAwC;AAU1F,OAAO,MAAMC,aAAa,GAAG,aAAa;AAC1CD,UAAU,CAACE,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA8B,GAAGN,YAAY,CAAC;IAClDO,IAAI,EAAE;MACJC,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE;IACd,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,WAAW,EAAE;IACf,CAAC;IACDC,IAAI,EAAE;MACJH,IAAI,EAAE;QACJC,QAAQ,EAAE,EAAE;QACZG,KAAK,EAAE,CAAC;QACRC,KAAK,EAAEZ,cAAc,CAACa;MACxB;IACF,CAAiB;IACjBC,KAAK,EAAE,CAAC,CAAoB;IAC5BC,MAAM,EAAE;MACNJ,KAAK,EAAE,GAAG;MACVK,MAAM,EAAE,GAAG;MACXC,SAAS,EAAE,QAAQ;MACnBZ,cAAc,EAAE;IAClB;EACF,CAAC,CAAC;EAEFJ,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAE;IACnCK,IAAI,EAAG;MACLe,SAAS,EAAE;IACb,CAAC;IACDX,IAAI,EAAE;MACJY,YAAY,EAAE;IAChB;EACF,CAAC,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"names":["defineStyles","BASE_THEME","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","justifyContent","alignItems","text","fontSize","paddingLeft","icon","width","color","spinnerIconColor","image","lottie","height","alignSelf","textAlign","paddingRight"],"sources":["spinner.styles.ts"],"sourcesContent":["import { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport BASE_THEME, { NamedStyles, AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\nimport { WmPictureStyles } from '@wavemaker/app-rn-runtime/components/basic/picture/picture.styles';\n\nexport type WmSpinnerStyles = BaseStyles & {\n icon: WmIconStyles\n image: WmPictureStyles\n lottie: AllStyle\n};\n\nexport const DEFAULT_CLASS = 'app-spinner';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmSpinnerStyles = defineStyles({\n root: {\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center'\n },\n text: {\n fontSize: 16,\n paddingLeft: 8\n },\n icon: {\n text: {\n fontSize: 48,\n width: 4,\n color: themeVariables.spinnerIconColor\n }\n } as WmIconStyles,\n image: {} as WmPictureStyles,\n lottie: {\n width: 100,\n height: 100,\n alignSelf: 'center',\n justifyContent: 'center'\n }\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n root : {\n textAlign: 'right'\n },\n text: {\n paddingRight: 8\n }\n });\n});\n"],"mappings":"AAAA,SAAqBA,YAAY,QAAQ,+CAA+C;AACxF,OAAOC,UAAU,MAAiC,wCAAwC;AAU1F,OAAO,MAAMC,aAAa,GAAG,aAAa;AAC1CD,UAAU,CAACE,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA8B,GAAGN,YAAY,CAAC;IAClDO,IAAI,EAAE;MACJC,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE;IACd,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,WAAW,EAAE;IACf,CAAC;IACDC,IAAI,EAAE;MACJH,IAAI,EAAE;QACJC,QAAQ,EAAE,EAAE;QACZG,KAAK,EAAE,CAAC;QACRC,KAAK,EAAEZ,cAAc,CAACa;MACxB;IACF,CAAiB;IACjBC,KAAK,EAAE,CAAC,CAAoB;IAC5BC,MAAM,EAAE;MACNJ,KAAK,EAAE,GAAG;MACVK,MAAM,EAAE,GAAG;MACXC,SAAS,EAAE,QAAQ;MACnBZ,cAAc,EAAE;IAClB;EACF,CAAC,CAAC;EAEFJ,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAE;IACnCK,IAAI,EAAG;MACLe,SAAS,EAAE;IACb,CAAC;IACDX,IAAI,EAAE;MACJY,YAAY,EAAE;IAChB;EACF,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,79 @@
1
+ import React from 'react';
2
+ import { Animated, Text, View } from "react-native";
3
+ import { BaseComponent, BaseComponentState } from "@wavemaker/app-rn-runtime/core/base.component";
4
+ import WmTooltipProps from "./tooltip.props";
5
+ import { DEFAULT_CLASS } from "./tooltip.styles";
6
+
7
+ // * default tooltip direction - up
8
+ const directionConfig = {
9
+ up: {
10
+ rotate: '180deg',
11
+ styles: {
12
+ top: -60
13
+ },
14
+ triangleStyles: {
15
+ bottom: -10
16
+ }
17
+ },
18
+ down: {
19
+ rotate: '0deg',
20
+ styles: {
21
+ bottom: -40
22
+ },
23
+ triangleStyles: {
24
+ top: -10
25
+ }
26
+ },
27
+ left: {
28
+ rotate: '90deg',
29
+ styles: {
30
+ left: -40
31
+ },
32
+ triangleStyles: {
33
+ right: -10
34
+ }
35
+ },
36
+ right: {
37
+ rotate: '-90deg',
38
+ styles: {
39
+ right: -40
40
+ },
41
+ triangleStyles: {
42
+ left: -10
43
+ }
44
+ }
45
+ };
46
+ export class WmTooltipState extends BaseComponentState {}
47
+ export default class WmTooltip extends BaseComponent {
48
+ constructor(props) {
49
+ super(props, DEFAULT_CLASS, new WmTooltipProps());
50
+ }
51
+ renderWidget(props) {
52
+ var _props$tooltipStyle;
53
+ return /*#__PURE__*/React.createElement(View, {
54
+ style: this.styles.root
55
+ }, props.showTooltip ? /*#__PURE__*/React.createElement(Animated.View, {
56
+ style: [this.styles.tooltip, props.direction ? {
57
+ ...directionConfig[props.direction].styles
58
+ } : {
59
+ top: -60
60
+ }, props.tooltipStyle]
61
+ }, /*#__PURE__*/React.createElement(Text, {
62
+ style: [props.tooltipLabelStyle]
63
+ }, props.text), /*#__PURE__*/React.createElement(View, {
64
+ style: [this.styles.triangle, {
65
+ transform: [{
66
+ rotate: props.direction ? directionConfig[props.direction].rotate : '180deg'
67
+ }]
68
+ }, props.direction ? {
69
+ ...directionConfig[props.direction].triangleStyles
70
+ } : {
71
+ bottom: -10
72
+ }, props.tooltipTriangleStyle, {
73
+ borderBottomColor: ((_props$tooltipStyle = props.tooltipStyle) === null || _props$tooltipStyle === void 0 ? void 0 : _props$tooltipStyle.backgroundColor) || this.styles.tooltip.backgroundColor
74
+ }]
75
+ })) : null, props.children);
76
+ }
77
+ }
78
+ ;
79
+ //# sourceMappingURL=tooltip.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Animated","Text","View","BaseComponent","BaseComponentState","WmTooltipProps","DEFAULT_CLASS","directionConfig","up","rotate","styles","top","triangleStyles","bottom","down","left","right","WmTooltipState","WmTooltip","constructor","props","renderWidget","_props$tooltipStyle","createElement","style","root","showTooltip","tooltip","direction","tooltipStyle","tooltipLabelStyle","text","triangle","transform","tooltipTriangleStyle","borderBottomColor","backgroundColor","children"],"sources":["tooltip.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Animated, Text, View } from \"react-native\";\nimport { BaseComponent, BaseComponentState } from \"@wavemaker/app-rn-runtime/core/base.component\";\nimport WmTooltipProps from \"./tooltip.props\";\nimport { DEFAULT_CLASS, WmTooltipStyles } from \"./tooltip.styles\";\n\n// * default tooltip direction - up\nconst directionConfig = {\n up: { rotate: '180deg', styles: {top: -60}, triangleStyles: {bottom: -10} },\n down: { rotate: '0deg', styles: {bottom: -40}, triangleStyles: {top: -10} },\n left: { rotate: '90deg', styles: {left: -40}, triangleStyles: {right: -10} },\n right: { rotate: '-90deg', styles: {right: -40}, triangleStyles: {left: -10} },\n};\n\nexport class WmTooltipState extends BaseComponentState<WmTooltipProps> {}\n\nexport default class WmTooltip extends BaseComponent<WmTooltipProps, WmTooltipState, WmTooltipStyles> {\n constructor(props: WmTooltipProps) {\n super(props, DEFAULT_CLASS, new WmTooltipProps());\n }\n \n renderWidget(props: WmTooltipProps) {\n return (\n <View style={this.styles.root}>\n {props.showTooltip ? (\n <Animated.View\n style={[\n this.styles.tooltip,\n props.direction\n ? { ...directionConfig[props.direction].styles }\n : { top: -60 },\n props.tooltipStyle,\n ]}\n >\n <Text style={[props.tooltipLabelStyle]}>{props.text}</Text>\n <View\n style={[\n this.styles.triangle,\n {\n transform: [\n {\n rotate: props.direction\n ? directionConfig[props.direction].rotate\n : '180deg',\n },\n ],\n },\n props.direction\n ? { ...directionConfig[props.direction].triangleStyles }\n : { bottom: -10 },\n props.tooltipTriangleStyle,\n { borderBottomColor: props.tooltipStyle?.backgroundColor || this.styles.tooltip.backgroundColor }\n ]}\n />\n </Animated.View>\n ) : null}\n {props.children}\n </View>\n )\n }\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACnD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAyB,kBAAkB;;AAEjE;AACA,MAAMC,eAAe,GAAG;EACtBC,EAAE,EAAE;IAAEC,MAAM,EAAE,QAAQ;IAAEC,MAAM,EAAE;MAACC,GAAG,EAAE,CAAC;IAAE,CAAC;IAAEC,cAAc,EAAE;MAACC,MAAM,EAAE,CAAC;IAAE;EAAE,CAAC;EAC3EC,IAAI,EAAE;IAAEL,MAAM,EAAE,MAAM;IAAEC,MAAM,EAAE;MAACG,MAAM,EAAE,CAAC;IAAE,CAAC;IAAED,cAAc,EAAE;MAACD,GAAG,EAAE,CAAC;IAAE;EAAE,CAAC;EAC3EI,IAAI,EAAE;IAAEN,MAAM,EAAE,OAAO;IAAEC,MAAM,EAAE;MAACK,IAAI,EAAE,CAAC;IAAE,CAAC;IAAEH,cAAc,EAAE;MAACI,KAAK,EAAE,CAAC;IAAE;EAAE,CAAC;EAC5EA,KAAK,EAAE;IAAEP,MAAM,EAAE,QAAQ;IAAEC,MAAM,EAAE;MAACM,KAAK,EAAE,CAAC;IAAE,CAAC;IAAEJ,cAAc,EAAE;MAACG,IAAI,EAAE,CAAC;IAAE;EAAE;AAC/E,CAAC;AAED,OAAO,MAAME,cAAc,SAASb,kBAAkB,CAAiB;AAEvE,eAAe,MAAMc,SAAS,SAASf,aAAa,CAAkD;EACpGgB,WAAWA,CAACC,KAAqB,EAAE;IACjC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,MAAM,CAACiB,OAAO,CAACS;MAAgB,CAAC;IACjG,CACH,CACY,CAAC,GACd,IAAI,EACPhB,KAAK,CAACiB,QACH,CAAC;EAET;AACF;AAAC","ignoreList":[]}
@@ -0,0 +1,18 @@
1
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
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 { BaseProps } from "@wavemaker/app-rn-runtime/core/base.component";
5
+ export default class WmTooltipProps extends BaseProps {
6
+ constructor(...args) {
7
+ super(...args);
8
+ _defineProperty(this, "showTooltip", false);
9
+ _defineProperty(this, "text", "");
10
+ _defineProperty(this, "tooltipStyle", void 0);
11
+ _defineProperty(this, "tooltipLabelStyle", void 0);
12
+ _defineProperty(this, "tooltipTriangleStyle", void 0);
13
+ _defineProperty(this, "direction", "up");
14
+ _defineProperty(this, "children", void 0);
15
+ }
16
+ }
17
+ ;
18
+ //# sourceMappingURL=tooltip.props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseProps","WmTooltipProps","constructor","args","_defineProperty"],"sources":["tooltip.props.ts"],"sourcesContent":["import { BaseProps } from \"@wavemaker/app-rn-runtime/core/base.component\";\nimport { ReactElement } from \"react\";\nimport { TextStyle, ViewStyle } from \"react-native\";\n\nexport type TooltipDirection = 'up' | 'down' | 'left' | 'right';\n\nexport default class WmTooltipProps extends BaseProps {\n showTooltip?: boolean = false;\n text: string | number = \"\";\n tooltipStyle?: any;\n tooltipLabelStyle?: TextStyle | TextStyle[];\n tooltipTriangleStyle?: ViewStyle | ViewStyle[];\n direction?: TooltipDirection = \"up\";\n children?: ReactElement;\n};\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAMzE,eAAe,MAAMC,cAAc,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,sBAC5B,KAAK;IAAAA,eAAA,eACL,EAAE;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,oBAIK,IAAI;IAAAA,eAAA;EAAA;AAErC;AAAC","ignoreList":[]}
@@ -0,0 +1,49 @@
1
+ import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
2
+ import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
3
+ export const DEFAULT_CLASS = 'app-tooltip';
4
+ BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
+ const defaultStyles = defineStyles({
6
+ root: {
7
+ position: 'relative'
8
+ },
9
+ text: {
10
+ fontSize: 16
11
+ },
12
+ tooltip: {
13
+ position: 'absolute',
14
+ left: -30,
15
+ minWidth: 60,
16
+ minHeight: 25,
17
+ paddingHorizontal: 10,
18
+ borderRadius: 20,
19
+ backgroundColor: 'lightblue',
20
+ justifyContent: 'center',
21
+ alignItems: 'center',
22
+ // * shadow
23
+ shadowColor: '#000',
24
+ shadowOffset: {
25
+ width: 0,
26
+ height: 1
27
+ },
28
+ shadowOpacity: 0.22,
29
+ shadowRadius: 2.22,
30
+ elevation: 3
31
+ },
32
+ triangle: {
33
+ position: 'absolute',
34
+ width: 0,
35
+ height: 0,
36
+ backgroundColor: 'transparent',
37
+ borderStyle: 'solid',
38
+ borderLeftWidth: 8,
39
+ borderRightWidth: 8,
40
+ borderBottomWidth: 12,
41
+ borderLeftColor: 'transparent',
42
+ borderRightColor: 'transparent',
43
+ borderBottomColor: 'lightblue',
44
+ overflow: 'hidden'
45
+ }
46
+ });
47
+ addStyle(DEFAULT_CLASS, '', defaultStyles);
48
+ });
49
+ //# sourceMappingURL=tooltip.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","position","text","fontSize","tooltip","left","minWidth","minHeight","paddingHorizontal","borderRadius","backgroundColor","justifyContent","alignItems","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","triangle","borderStyle","borderLeftWidth","borderRightWidth","borderBottomWidth","borderLeftColor","borderRightColor","borderBottomColor","overflow"],"sources":["tooltip.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { ViewStyle } from 'react-native';\n\nexport type WmTooltipStyles = BaseStyles & {\n tooltip: ViewStyle;\n triangle: ViewStyle;\n};\n\nexport const DEFAULT_CLASS = 'app-tooltip';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmTooltipStyles = defineStyles({\n root: {\n position: 'relative',\n },\n text: {\n fontSize: 16\n },\n tooltip: {\n position: 'absolute',\n left: -30,\n minWidth: 60,\n minHeight: 25,\n paddingHorizontal: 10,\n borderRadius: 20,\n backgroundColor: 'lightblue',\n justifyContent: 'center',\n alignItems: 'center',\n \n // * shadow\n shadowColor: '#000',\n shadowOffset: {\n width: 0,\n height: 1,\n },\n shadowOpacity: 0.22,\n shadowRadius: 2.22,\n \n elevation: 3,\n },\n triangle: {\n position: 'absolute',\n width: 0,\n height: 0,\n backgroundColor: 'transparent',\n borderStyle: 'solid',\n borderLeftWidth: 8,\n borderRightWidth: 8,\n borderBottomWidth: 12,\n borderLeftColor: 'transparent',\n borderRightColor: 'transparent',\n borderBottomColor: 'lightblue',\n overflow: 'hidden',\n },\n })\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAQxF,OAAO,MAAMC,aAAa,GAAG,aAAa;AAC1CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA8B,GAAGL,YAAY,CAAC;IAClDM,IAAI,EAAE;MACJC,QAAQ,EAAE;IACZ,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE;IACZ,CAAC;IACDC,OAAO,EAAE;MACPH,QAAQ,EAAE,UAAU;MACpBI,IAAI,EAAE,CAAC,EAAE;MACTC,QAAQ,EAAE,EAAE;MACZC,SAAS,EAAE,EAAE;MACbC,iBAAiB,EAAE,EAAE;MACrBC,YAAY,EAAE,EAAE;MAChBC,eAAe,EAAE,WAAW;MAC5BC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE,QAAQ;MAEpB;MACAC,WAAW,EAAE,MAAM;MACnBC,YAAY,EAAE;QACZC,KAAK,EAAE,CAAC;QACRC,MAAM,EAAE;MACV,CAAC;MACDC,aAAa,EAAE,IAAI;MACnBC,YAAY,EAAE,IAAI;MAElBC,SAAS,EAAE;IACb,CAAC;IACDC,QAAQ,EAAE;MACRnB,QAAQ,EAAE,UAAU;MACpBc,KAAK,EAAE,CAAC;MACRC,MAAM,EAAE,CAAC;MACTN,eAAe,EAAE,aAAa;MAC9BW,WAAW,EAAE,OAAO;MACpBC,eAAe,EAAE,CAAC;MAClBC,gBAAgB,EAAE,CAAC;MACnBC,iBAAiB,EAAE,EAAE;MACrBC,eAAe,EAAE,aAAa;MAC9BC,gBAAgB,EAAE,aAAa;MAC/BC,iBAAiB,EAAE,WAAW;MAC9BC,QAAQ,EAAE;IACZ;EACF,CAAC,CAAC;EAEF9B,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC","ignoreList":[]}
@@ -1,7 +1,7 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
4
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
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
5
  import React from 'react';
6
6
  import { View } from 'react-native';
7
7
  import { ResizeMode, Video } from 'expo-av';
@@ -15,6 +15,13 @@ export default class WmVideo extends BaseComponent {
15
15
  constructor(props) {
16
16
  super(props, DEFAULT_CLASS, new WmVideoProps(), new WmVideoState());
17
17
  _defineProperty(this, "video", null);
18
+ _defineProperty(this, "handlePlaybackStatus", status => {
19
+ if ('isPlaying' in status && typeof status === 'object') {
20
+ console.log(status.isPlaying ? 'Playing' : 'Paused');
21
+ } else if ('error' in status) {
22
+ console.error(`Encountered a fatal error during playback: ${status.error}`);
23
+ }
24
+ });
18
25
  }
19
26
  getSource(path) {
20
27
  if (!path) {
@@ -28,12 +35,6 @@ export default class WmVideo extends BaseComponent {
28
35
  }
29
36
  return resource;
30
37
  }
31
- componentDidMount() {
32
- if (this.state.props.autoplay) {
33
- var _this$video;
34
- (_this$video = this.video) === null || _this$video === void 0 ? void 0 : _this$video.playAsync();
35
- }
36
- }
37
38
  renderWidget(props) {
38
39
  return /*#__PURE__*/React.createElement(View, {
39
40
  style: this.styles.root
@@ -46,6 +47,8 @@ export default class WmVideo extends BaseComponent {
46
47
  height: '100%',
47
48
  flex: 1
48
49
  },
50
+ shouldPlay: props.autoplay,
51
+ onPlaybackStatusUpdate: this.handlePlaybackStatus,
49
52
  source: this.getSource(props.mp4format || props.webmformat),
50
53
  posterSource: this.getSource(props.videoposter),
51
54
  useNativeControls: props.controls,
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","ResizeMode","Video","BaseComponent","BaseComponentState","WmVideoProps","DEFAULT_CLASS","AccessibilityWidgetType","getAccessibilityProps","isFullPathUrl","WmVideoState","WmVideo","constructor","props","_defineProperty","getSource","path","resource","loadAsset","uri","componentDidMount","state","autoplay","_this$video","video","playAsync","renderWidget","createElement","style","styles","root","_background","_extends","VIDEO","ref","width","height","flex","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 } 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';\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 componentDidMount(): void {\n if (this.state.props.autoplay) {\n this.video?.playAsync();\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 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,QAAQ,SAAS;AAC3C,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;AAEpE,OAAO,MAAMC,YAAY,SAASN,kBAAkB,CAAe;AAEnE,eAAe,MAAMO,OAAO,SAASR,aAAa,CAA4C;EAI5FS,WAAWA,CAACC,KAAmB,EAAE;IAC/B,KAAK,CAACA,KAAK,EAAEP,aAAa,EAAE,IAAID,YAAY,CAAC,CAAC,EAAE,IAAIK,YAAY,CAAC,CAAC,CAAC;IAACI,eAAA,gBAHxC,IAAI;EAIlC;EAEAC,SAASA,CAACC,IAAY,EAAE;IACtB,IAAI,CAACA,IAAI,EAAE;MACT,OAAO,IAAI;IACb;IACA,MAAMC,QAAQ,GAAG,IAAI,CAACC,SAAS,CAACF,IAAI,CAAC;IACrC,IAAIP,aAAa,CAACQ,QAAkB,CAAC,EAAE;MACrC,OAAO;QACLE,GAAG,EAAEF;MACP,CAAC;IACH;IACA,OAAOA,QAAQ;EACjB;EAEAG,iBAAiBA,CAAA,EAAS;IACxB,IAAI,IAAI,CAACC,KAAK,CAACR,KAAK,CAACS,QAAQ,EAAE;MAAA,IAAAC,WAAA;MAC7B,CAAAA,WAAA,OAAI,CAACC,KAAK,cAAAD,WAAA,uBAAVA,WAAA,CAAYE,SAAS,CAAC,CAAC;IACzB;EACF;EAEAC,YAAYA,CAACb,KAAmB,EAAE;IAChC,oBACEd,KAAA,CAAA4B,aAAA,CAAC3B,IAAI;MAAC4B,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC;IAAK,GAC3B,IAAI,CAACC,WAAW,eACjBhC,KAAA,CAAA4B,aAAA,CAACzB,KAAK,EAAA8B,QAAA,KACAxB,qBAAqB,CAACD,uBAAuB,CAAC0B,KAAK,EAAEpB,KAAK,CAAC;MAC/DqB,GAAG,EAAGV,KAAK,IAAK;QAAE,IAAI,CAACA,KAAK,GAAGA,KAAK;MAAE,CAAE;MACxCI,KAAK,EAAE;QAAEO,KAAK,EAAE,MAAM;QAAEC,MAAM,EAAE,MAAM;QAAEC,IAAI,EAAE;MAAE,CAAE;MAClDC,MAAM,EAAE,IAAI,CAACvB,SAAS,CACpBF,KAAK,CAAC0B,SAAS,IACZ1B,KAAK,CAAC2B,UAAU,CAAS;MAC9BC,YAAY,EAAG,IAAI,CAAC1B,SAAS,CAACF,KAAK,CAAC6B,WAAW,CAAU;MACzDC,iBAAiB,EAAE9B,KAAK,CAAC+B,QAAS;MAClCC,UAAU,EAAE5C,UAAU,CAAC6C,OAAQ;MAC/BC,SAAS,EAAElC,KAAK,CAACmC,IAAK;MACtBC,OAAO,EAAEpC,KAAK,CAACqC,KAAM;MACrBC,MAAM,EAAE,IAAI,CAACC,SAAS,CAAC,OAAO;IAAE,EACjC,CACG,CAAC;EACX;AACF"}
1
+ {"version":3,"names":["React","View","ResizeMode","Video","BaseComponent","BaseComponentState","WmVideoProps","DEFAULT_CLASS","AccessibilityWidgetType","getAccessibilityProps","isFullPathUrl","WmVideoState","WmVideo","constructor","props","_defineProperty","status","console","log","isPlaying","error","getSource","path","resource","loadAsset","uri","renderWidget","createElement","style","styles","root","_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';\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 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;AAEpE,OAAO,MAAMC,YAAY,SAASN,kBAAkB,CAAe;AAEnE,eAAe,MAAMO,OAAO,SAASR,aAAa,CAA4C;EAI5FS,WAAWA,CAACC,KAAmB,EAAE;IAC/B,KAAK,CAACA,KAAK,EAAEP,aAAa,EAAE,IAAID,YAAY,CAAC,CAAC,EAAE,IAAIK,YAAY,CAAC,CAAC,CAAC;IAACI,eAAA,gBAHxC,IAAI;IAAAA,eAAA,+BAmBTC,MAAwB,IAAK;MACpD,IAAI,WAAW,IAAIA,MAAM,IAAI,OAAOA,MAAM,KAAK,QAAQ,EAAE;QACvDC,OAAO,CAACC,GAAG,CAACF,MAAM,CAACG,SAAS,GAAE,SAAS,GAAG,QAAQ,CAAC;MACrD,CAAC,MAAM,IAAI,OAAO,IAAIH,MAAM,EAAE;QAC5BC,OAAO,CAACG,KAAK,CAAE,8CAA6CJ,MAAM,CAACI,KAAM,EAAC,CAAC;MAC7E;IACF,CAAC;EArBD;EAEAC,SAASA,CAACC,IAAY,EAAE;IACtB,IAAI,CAACA,IAAI,EAAE;MACT,OAAO,IAAI;IACb;IACA,MAAMC,QAAQ,GAAG,IAAI,CAACC,SAAS,CAACF,IAAI,CAAC;IACrC,IAAIZ,aAAa,CAACa,QAAkB,CAAC,EAAE;MACrC,OAAO;QACLE,GAAG,EAAEF;MACP,CAAC;IACH;IACA,OAAOA,QAAQ;EACjB;EAUAG,YAAYA,CAACZ,KAAmB,EAAE;IAChC,oBACEd,KAAA,CAAA2B,aAAA,CAAC1B,IAAI;MAAC2B,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC;IAAK,GAC3B,IAAI,CAACC,WAAW,eACjB/B,KAAA,CAAA2B,aAAA,CAACxB,KAAK,EAAA6B,QAAA,KACAvB,qBAAqB,CAACD,uBAAuB,CAACyB,KAAK,EAAEnB,KAAK,CAAC;MAC/DoB,GAAG,EAAGC,KAAK,IAAK;QAAE,IAAI,CAACA,KAAK,GAAGA,KAAK;MAAE,CAAE;MACxCP,KAAK,EAAE;QAAEQ,KAAK,EAAE,MAAM;QAAEC,MAAM,EAAE,MAAM;QAAEC,IAAI,EAAE;MAAE,CAAE;MAClDC,UAAU,EAAEzB,KAAK,CAAC0B,QAAS;MAC3BC,sBAAsB,EAAE,IAAI,CAACC,oBAAqB;MAClDC,MAAM,EAAE,IAAI,CAACtB,SAAS,CACpBP,KAAK,CAAC8B,SAAS,IACZ9B,KAAK,CAAC+B,UAAU,CAAS;MAC9BC,YAAY,EAAG,IAAI,CAACzB,SAAS,CAACP,KAAK,CAACiC,WAAW,CAAU;MACzDC,iBAAiB,EAAElC,KAAK,CAACmC,QAAS;MAClCC,UAAU,EAAEhD,UAAU,CAACiD,OAAQ;MAC/BC,SAAS,EAAEtC,KAAK,CAACuC,IAAK;MACtBC,OAAO,EAAExC,KAAK,CAACyC,KAAM;MACrBC,MAAM,EAAE,IAAI,CAACC,SAAS,CAAC,OAAO;IAAE,EACjC,CACG,CAAC;EACX;AACF","ignoreList":[]}
@@ -1,10 +1,10 @@
1
1
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
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
4
  import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
5
5
  export default class WmVideoProps extends BaseProps {
6
- constructor() {
7
- super(...arguments);
6
+ constructor(...args) {
7
+ super(...args);
8
8
  _defineProperty(this, "autoplay", false);
9
9
  _defineProperty(this, "controls", false);
10
10
  _defineProperty(this, "loop", false);
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmVideoProps","constructor","arguments","_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;IAAA,SAAAC,SAAA;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"}
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":[]}