@wavemaker/app-rn-runtime 11.7.0-rc.161 → 11.7.0-rc.162

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (744) 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 +62 -27
  20. app-rn-runtime/components/advanced/carousel/carousel.component.js.map +1 -1
  21. app-rn-runtime/components/advanced/carousel/carousel.props.js +5 -4
  22. app-rn-runtime/components/advanced/carousel/carousel.props.js.map +1 -1
  23. app-rn-runtime/components/advanced/carousel/carousel.styles.js +15 -0
  24. app-rn-runtime/components/advanced/carousel/carousel.styles.js.map +1 -1
  25. app-rn-runtime/components/advanced/login/login.component.js +4 -4
  26. app-rn-runtime/components/advanced/login/login.component.js.map +1 -1
  27. app-rn-runtime/components/advanced/login/login.props.js +4 -4
  28. app-rn-runtime/components/advanced/login/login.props.js.map +1 -1
  29. app-rn-runtime/components/advanced/login/login.styles.js.map +1 -1
  30. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js +4 -4
  31. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -1
  32. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.props.js +4 -4
  33. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.props.js.map +1 -1
  34. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +1 -1
  35. app-rn-runtime/components/advanced/webview/webview.component.js +12 -8
  36. app-rn-runtime/components/advanced/webview/webview.component.js.map +1 -1
  37. app-rn-runtime/components/advanced/webview/webview.props.js +5 -5
  38. app-rn-runtime/components/advanced/webview/webview.props.js.map +1 -1
  39. app-rn-runtime/components/advanced/webview/webview.styles.js.map +1 -1
  40. app-rn-runtime/components/basic/anchor/anchor.component.js +17 -5
  41. app-rn-runtime/components/basic/anchor/anchor.component.js.map +1 -1
  42. app-rn-runtime/components/basic/anchor/anchor.props.js +5 -4
  43. app-rn-runtime/components/basic/anchor/anchor.props.js.map +1 -1
  44. app-rn-runtime/components/basic/anchor/anchor.styles.js +3 -0
  45. app-rn-runtime/components/basic/anchor/anchor.styles.js.map +1 -1
  46. app-rn-runtime/components/basic/animatedview.component.js +10 -4
  47. app-rn-runtime/components/basic/animatedview.component.js.map +1 -1
  48. app-rn-runtime/components/basic/audio/audio.component.js +8 -9
  49. app-rn-runtime/components/basic/audio/audio.component.js.map +1 -1
  50. app-rn-runtime/components/basic/audio/audio.props.js +4 -4
  51. app-rn-runtime/components/basic/audio/audio.props.js.map +1 -1
  52. app-rn-runtime/components/basic/audio/audio.styles.js.map +1 -1
  53. app-rn-runtime/components/basic/button/button.component.js +48 -23
  54. app-rn-runtime/components/basic/button/button.component.js.map +1 -1
  55. app-rn-runtime/components/basic/button/button.props.js +5 -4
  56. app-rn-runtime/components/basic/button/button.props.js.map +1 -1
  57. app-rn-runtime/components/basic/button/button.styles.js +2 -4
  58. app-rn-runtime/components/basic/button/button.styles.js.map +1 -1
  59. app-rn-runtime/components/basic/buttongroup/buttongroup.component.js.map +1 -1
  60. app-rn-runtime/components/basic/buttongroup/buttongroup.props.js +4 -4
  61. app-rn-runtime/components/basic/buttongroup/buttongroup.props.js.map +1 -1
  62. app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js.map +1 -1
  63. app-rn-runtime/components/basic/custom/custom.component.js.map +1 -1
  64. app-rn-runtime/components/basic/custom/custom.props.js +4 -4
  65. app-rn-runtime/components/basic/custom/custom.props.js.map +1 -1
  66. app-rn-runtime/components/basic/custom/custom.styles.js.map +1 -1
  67. app-rn-runtime/components/basic/icon/icon.component.js +30 -14
  68. app-rn-runtime/components/basic/icon/icon.component.js.map +1 -1
  69. app-rn-runtime/components/basic/icon/icon.props.js +6 -5
  70. app-rn-runtime/components/basic/icon/icon.props.js.map +1 -1
  71. app-rn-runtime/components/basic/icon/icon.styles.js.map +1 -1
  72. app-rn-runtime/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +1 -1
  73. app-rn-runtime/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +1 -1
  74. app-rn-runtime/components/basic/icon/wavicon/wavicon.component.js.map +1 -1
  75. app-rn-runtime/components/basic/label/label.component.js +26 -13
  76. app-rn-runtime/components/basic/label/label.component.js.map +1 -1
  77. app-rn-runtime/components/basic/label/label.props.js +5 -4
  78. app-rn-runtime/components/basic/label/label.props.js.map +1 -1
  79. app-rn-runtime/components/basic/label/label.styles.js.map +1 -1
  80. app-rn-runtime/components/basic/lottie/lottie.component.js +9 -10
  81. app-rn-runtime/components/basic/lottie/lottie.component.js.map +1 -1
  82. app-rn-runtime/components/basic/lottie/lottie.props.js +4 -4
  83. app-rn-runtime/components/basic/lottie/lottie.props.js.map +1 -1
  84. app-rn-runtime/components/basic/lottie/lottie.styles.js +5 -1
  85. app-rn-runtime/components/basic/lottie/lottie.styles.js.map +1 -1
  86. app-rn-runtime/components/basic/message/message.component.js +3 -2
  87. app-rn-runtime/components/basic/message/message.component.js.map +1 -1
  88. app-rn-runtime/components/basic/message/message.props.js +5 -4
  89. app-rn-runtime/components/basic/message/message.props.js.map +1 -1
  90. app-rn-runtime/components/basic/message/message.styles.js +1 -2
  91. app-rn-runtime/components/basic/message/message.styles.js.map +1 -1
  92. app-rn-runtime/components/basic/modal/modal.component.js.map +1 -1
  93. app-rn-runtime/components/basic/modal/modal.props.js +4 -4
  94. app-rn-runtime/components/basic/modal/modal.props.js.map +1 -1
  95. app-rn-runtime/components/basic/modal/modal.styles.js.map +1 -1
  96. app-rn-runtime/components/basic/picture/picture.component.js +6 -6
  97. app-rn-runtime/components/basic/picture/picture.component.js.map +1 -1
  98. app-rn-runtime/components/basic/picture/picture.props.js +5 -4
  99. app-rn-runtime/components/basic/picture/picture.props.js.map +1 -1
  100. app-rn-runtime/components/basic/picture/picture.styles.js.map +1 -1
  101. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js +25 -3
  102. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +1 -1
  103. app-rn-runtime/components/basic/progress-bar/progress-bar.props.js +4 -4
  104. app-rn-runtime/components/basic/progress-bar/progress-bar.props.js.map +1 -1
  105. app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js.map +1 -1
  106. app-rn-runtime/components/basic/progress-circle/progress-circle.component.js +9 -9
  107. app-rn-runtime/components/basic/progress-circle/progress-circle.component.js.map +1 -1
  108. app-rn-runtime/components/basic/progress-circle/progress-circle.props.js +4 -4
  109. app-rn-runtime/components/basic/progress-circle/progress-circle.props.js.map +1 -1
  110. app-rn-runtime/components/basic/progress-circle/progress-circle.styles.js.map +1 -1
  111. app-rn-runtime/components/basic/search/local-data-provider.js +2 -2
  112. app-rn-runtime/components/basic/search/local-data-provider.js.map +1 -1
  113. app-rn-runtime/components/basic/search/search.component.js +28 -22
  114. app-rn-runtime/components/basic/search/search.component.js.map +1 -1
  115. app-rn-runtime/components/basic/search/search.props.js +6 -4
  116. app-rn-runtime/components/basic/search/search.props.js.map +1 -1
  117. app-rn-runtime/components/basic/search/search.styles.js +6 -0
  118. app-rn-runtime/components/basic/search/search.styles.js.map +1 -1
  119. app-rn-runtime/components/basic/skeleton/skeleton.component.js +9 -8
  120. app-rn-runtime/components/basic/skeleton/skeleton.component.js.map +1 -1
  121. app-rn-runtime/components/basic/skeleton/skeleton.props.js +9 -1
  122. app-rn-runtime/components/basic/skeleton/skeleton.props.js.map +1 -1
  123. app-rn-runtime/components/basic/skeleton/skeleton.styles.js.map +1 -1
  124. app-rn-runtime/components/basic/spinner/spinner.component.js +4 -5
  125. app-rn-runtime/components/basic/spinner/spinner.component.js.map +1 -1
  126. app-rn-runtime/components/basic/spinner/spinner.props.js +4 -4
  127. app-rn-runtime/components/basic/spinner/spinner.props.js.map +1 -1
  128. app-rn-runtime/components/basic/spinner/spinner.styles.js +3 -2
  129. app-rn-runtime/components/basic/spinner/spinner.styles.js.map +1 -1
  130. app-rn-runtime/components/basic/tooltip/tooltip.component.js +79 -0
  131. app-rn-runtime/components/basic/tooltip/tooltip.component.js.map +1 -0
  132. app-rn-runtime/components/basic/tooltip/tooltip.props.js +18 -0
  133. app-rn-runtime/components/basic/tooltip/tooltip.props.js.map +1 -0
  134. app-rn-runtime/components/basic/tooltip/tooltip.styles.js +49 -0
  135. app-rn-runtime/components/basic/tooltip/tooltip.styles.js.map +1 -0
  136. app-rn-runtime/components/basic/video/video.component.js +11 -8
  137. app-rn-runtime/components/basic/video/video.component.js.map +1 -1
  138. app-rn-runtime/components/basic/video/video.props.js +5 -5
  139. app-rn-runtime/components/basic/video/video.props.js.map +1 -1
  140. app-rn-runtime/components/basic/video/video.styles.js +4 -1
  141. app-rn-runtime/components/basic/video/video.styles.js.map +1 -1
  142. app-rn-runtime/components/chart/area-chart/area-chart.component.js +21 -10
  143. app-rn-runtime/components/chart/area-chart/area-chart.component.js.map +1 -1
  144. app-rn-runtime/components/chart/area-chart/area-chart.props.js +4 -4
  145. app-rn-runtime/components/chart/area-chart/area-chart.props.js.map +1 -1
  146. app-rn-runtime/components/chart/area-chart/area-chart.styles.js +7 -1
  147. app-rn-runtime/components/chart/area-chart/area-chart.styles.js.map +1 -1
  148. app-rn-runtime/components/chart/bar-chart/bar-chart.component.js +21 -10
  149. app-rn-runtime/components/chart/bar-chart/bar-chart.component.js.map +1 -1
  150. app-rn-runtime/components/chart/bar-chart/bar-chart.props.js +4 -4
  151. app-rn-runtime/components/chart/bar-chart/bar-chart.props.js.map +1 -1
  152. app-rn-runtime/components/chart/bar-chart/bar-chart.styles.js +7 -1
  153. app-rn-runtime/components/chart/bar-chart/bar-chart.styles.js.map +1 -1
  154. app-rn-runtime/components/chart/basechart.component.js +142 -55
  155. app-rn-runtime/components/chart/basechart.component.js.map +1 -1
  156. app-rn-runtime/components/chart/basechart.props.js +9 -14
  157. app-rn-runtime/components/chart/basechart.props.js.map +1 -1
  158. app-rn-runtime/components/chart/basechart.styles.js +31 -10
  159. app-rn-runtime/components/chart/basechart.styles.js.map +1 -1
  160. app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js +33 -13
  161. app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js.map +1 -1
  162. app-rn-runtime/components/chart/bubble-chart/bubble-chart.props.js +4 -4
  163. app-rn-runtime/components/chart/bubble-chart/bubble-chart.props.js.map +1 -1
  164. app-rn-runtime/components/chart/bubble-chart/bubble-chart.styles.js +7 -1
  165. app-rn-runtime/components/chart/bubble-chart/bubble-chart.styles.js.map +1 -1
  166. app-rn-runtime/components/chart/column-chart/column-chart.component.js.map +1 -1
  167. app-rn-runtime/components/chart/column-chart/column-chart.props.js.map +1 -1
  168. app-rn-runtime/components/chart/column-chart/column-chart.styles.js +7 -1
  169. app-rn-runtime/components/chart/column-chart/column-chart.styles.js.map +1 -1
  170. app-rn-runtime/components/chart/donut-chart/donut-chart.component.js.map +1 -1
  171. app-rn-runtime/components/chart/donut-chart/donut-chart.props.js +4 -4
  172. app-rn-runtime/components/chart/donut-chart/donut-chart.props.js.map +1 -1
  173. app-rn-runtime/components/chart/donut-chart/donut-chart.styles.js +7 -1
  174. app-rn-runtime/components/chart/donut-chart/donut-chart.styles.js.map +1 -1
  175. app-rn-runtime/components/chart/legend/legend.component.js.map +1 -1
  176. app-rn-runtime/components/chart/line-chart/line-chart.component.js +16 -4
  177. app-rn-runtime/components/chart/line-chart/line-chart.component.js.map +1 -1
  178. app-rn-runtime/components/chart/line-chart/line-chart.props.js +6 -4
  179. app-rn-runtime/components/chart/line-chart/line-chart.props.js.map +1 -1
  180. app-rn-runtime/components/chart/line-chart/line-chart.styles.js +7 -1
  181. app-rn-runtime/components/chart/line-chart/line-chart.styles.js.map +1 -1
  182. app-rn-runtime/components/chart/pie-chart/pie-chart.component.js +25 -13
  183. app-rn-runtime/components/chart/pie-chart/pie-chart.component.js.map +1 -1
  184. app-rn-runtime/components/chart/pie-chart/pie-chart.props.js +4 -4
  185. app-rn-runtime/components/chart/pie-chart/pie-chart.props.js.map +1 -1
  186. app-rn-runtime/components/chart/pie-chart/pie-chart.styles.js +7 -1
  187. app-rn-runtime/components/chart/pie-chart/pie-chart.styles.js.map +1 -1
  188. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js +116 -52
  189. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js.map +1 -1
  190. app-rn-runtime/components/chart/stack-chart/stack-chart.props.js +5 -5
  191. app-rn-runtime/components/chart/stack-chart/stack-chart.props.js.map +1 -1
  192. app-rn-runtime/components/chart/stack-chart/stack-chart.styles.js.map +1 -1
  193. app-rn-runtime/components/chart/staticdata.js.map +1 -1
  194. app-rn-runtime/components/chart/theme/chart.theme.js.map +1 -1
  195. app-rn-runtime/components/container/accordion/accordion.component.js +60 -22
  196. app-rn-runtime/components/container/accordion/accordion.component.js.map +1 -1
  197. app-rn-runtime/components/container/accordion/accordion.props.js +4 -4
  198. app-rn-runtime/components/container/accordion/accordion.props.js.map +1 -1
  199. app-rn-runtime/components/container/accordion/accordion.styles.js +5 -0
  200. app-rn-runtime/components/container/accordion/accordion.styles.js.map +1 -1
  201. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +8 -5
  202. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -1
  203. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.props.js +4 -4
  204. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -1
  205. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.styles.js.map +1 -1
  206. app-rn-runtime/components/container/container.component.js +41 -6
  207. app-rn-runtime/components/container/container.component.js.map +1 -1
  208. app-rn-runtime/components/container/container.props.js +5 -4
  209. app-rn-runtime/components/container/container.props.js.map +1 -1
  210. app-rn-runtime/components/container/container.styles.js +7 -0
  211. app-rn-runtime/components/container/container.styles.js.map +1 -1
  212. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -1
  213. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +4 -4
  214. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -1
  215. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +1 -1
  216. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.component.js +5 -1
  217. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -1
  218. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.props.js +4 -4
  219. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -1
  220. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.styles.js +6 -1
  221. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.styles.js.map +1 -1
  222. app-rn-runtime/components/container/layoutgrid/layoutgrid.component.js +28 -2
  223. app-rn-runtime/components/container/layoutgrid/layoutgrid.component.js.map +1 -1
  224. app-rn-runtime/components/container/layoutgrid/layoutgrid.props.js +4 -4
  225. app-rn-runtime/components/container/layoutgrid/layoutgrid.props.js.map +1 -1
  226. app-rn-runtime/components/container/layoutgrid/layoutgrid.styles.js +4 -1
  227. app-rn-runtime/components/container/layoutgrid/layoutgrid.styles.js.map +1 -1
  228. app-rn-runtime/components/container/linearlayout/linearlayout.component.js +31 -5
  229. app-rn-runtime/components/container/linearlayout/linearlayout.component.js.map +1 -1
  230. app-rn-runtime/components/container/linearlayout/linearlayout.props.js +4 -4
  231. app-rn-runtime/components/container/linearlayout/linearlayout.props.js.map +1 -1
  232. app-rn-runtime/components/container/linearlayout/linearlayout.styles.js +4 -1
  233. app-rn-runtime/components/container/linearlayout/linearlayout.styles.js.map +1 -1
  234. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +1 -1
  235. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +4 -4
  236. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -1
  237. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +1 -1
  238. app-rn-runtime/components/container/panel/collapsible-pane.component.js.map +1 -1
  239. app-rn-runtime/components/container/panel/panel-content/panel-content.component.js.map +1 -1
  240. app-rn-runtime/components/container/panel/panel-content/panel-content.props.js +4 -4
  241. app-rn-runtime/components/container/panel/panel-content/panel-content.props.js.map +1 -1
  242. app-rn-runtime/components/container/panel/panel-content/panel-content.styles.js.map +1 -1
  243. app-rn-runtime/components/container/panel/panel-footer/panel-footer.component.js.map +1 -1
  244. app-rn-runtime/components/container/panel/panel-footer/panel-footer.props.js +4 -4
  245. app-rn-runtime/components/container/panel/panel-footer/panel-footer.props.js.map +1 -1
  246. app-rn-runtime/components/container/panel/panel-footer/panel-footer.styles.js.map +1 -1
  247. app-rn-runtime/components/container/panel/panel.component.js +54 -12
  248. app-rn-runtime/components/container/panel/panel.component.js.map +1 -1
  249. app-rn-runtime/components/container/panel/panel.props.js +4 -4
  250. app-rn-runtime/components/container/panel/panel.props.js.map +1 -1
  251. app-rn-runtime/components/container/panel/panel.styles.js +3 -0
  252. app-rn-runtime/components/container/panel/panel.styles.js.map +1 -1
  253. app-rn-runtime/components/container/partial-host.component.js +6 -6
  254. app-rn-runtime/components/container/partial-host.component.js.map +1 -1
  255. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +12 -10
  256. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +1 -1
  257. app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js +4 -4
  258. app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js.map +1 -1
  259. app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js +1 -1
  260. app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js.map +1 -1
  261. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js +14 -8
  262. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +1 -1
  263. app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js +4 -4
  264. app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js.map +1 -1
  265. app-rn-runtime/components/container/tabs/tabpane/tabpane.styles.js.map +1 -1
  266. app-rn-runtime/components/container/tabs/tabs.component.js +51 -20
  267. app-rn-runtime/components/container/tabs/tabs.component.js.map +1 -1
  268. app-rn-runtime/components/container/tabs/tabs.props.js +4 -4
  269. app-rn-runtime/components/container/tabs/tabs.props.js.map +1 -1
  270. app-rn-runtime/components/container/tabs/tabs.styles.js +4 -1
  271. app-rn-runtime/components/container/tabs/tabs.styles.js.map +1 -1
  272. app-rn-runtime/components/container/tile/tile.component.js +24 -1
  273. app-rn-runtime/components/container/tile/tile.component.js.map +1 -1
  274. app-rn-runtime/components/container/tile/tile.props.js +5 -4
  275. app-rn-runtime/components/container/tile/tile.props.js.map +1 -1
  276. app-rn-runtime/components/container/tile/tile.styles.js +6 -1
  277. app-rn-runtime/components/container/tile/tile.styles.js.map +1 -1
  278. app-rn-runtime/components/container/wizard/wizard.component.js +66 -24
  279. app-rn-runtime/components/container/wizard/wizard.component.js.map +1 -1
  280. app-rn-runtime/components/container/wizard/wizard.props.js +5 -4
  281. app-rn-runtime/components/container/wizard/wizard.props.js.map +1 -1
  282. app-rn-runtime/components/container/wizard/wizard.styles.js +6 -1
  283. app-rn-runtime/components/container/wizard/wizard.styles.js.map +1 -1
  284. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js +9 -6
  285. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -1
  286. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js +4 -4
  287. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -1
  288. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.styles.js +1 -1
  289. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.styles.js.map +1 -1
  290. app-rn-runtime/components/data/card/card-content/card-content.component.js +10 -6
  291. app-rn-runtime/components/data/card/card-content/card-content.component.js.map +1 -1
  292. app-rn-runtime/components/data/card/card-content/card-content.props.js +4 -4
  293. app-rn-runtime/components/data/card/card-content/card-content.props.js.map +1 -1
  294. app-rn-runtime/components/data/card/card-content/card-content.styles.js +4 -1
  295. app-rn-runtime/components/data/card/card-content/card-content.styles.js.map +1 -1
  296. app-rn-runtime/components/data/card/card-footer/card-footer.component.js.map +1 -1
  297. app-rn-runtime/components/data/card/card-footer/card-footer.props.js +4 -4
  298. app-rn-runtime/components/data/card/card-footer/card-footer.props.js.map +1 -1
  299. app-rn-runtime/components/data/card/card-footer/card-footer.styles.js.map +1 -1
  300. app-rn-runtime/components/data/card/card.component.js +18 -0
  301. app-rn-runtime/components/data/card/card.component.js.map +1 -1
  302. app-rn-runtime/components/data/card/card.props.js +4 -4
  303. app-rn-runtime/components/data/card/card.props.js.map +1 -1
  304. app-rn-runtime/components/data/card/card.styles.js +3 -0
  305. app-rn-runtime/components/data/card/card.styles.js.map +1 -1
  306. app-rn-runtime/components/data/form/form-action/form-action.component.js +2 -2
  307. app-rn-runtime/components/data/form/form-action/form-action.component.js.map +1 -1
  308. app-rn-runtime/components/data/form/form-action/form-action.props.js +4 -4
  309. app-rn-runtime/components/data/form/form-action/form-action.props.js.map +1 -1
  310. app-rn-runtime/components/data/form/form-action/form-action.styles.js.map +1 -1
  311. app-rn-runtime/components/data/form/form-body/form-body.component.js.map +1 -1
  312. app-rn-runtime/components/data/form/form-body/form-body.props.js +4 -4
  313. app-rn-runtime/components/data/form/form-body/form-body.props.js.map +1 -1
  314. app-rn-runtime/components/data/form/form-body/form-body.styles.js.map +1 -1
  315. app-rn-runtime/components/data/form/form-field/form-field.component.js +12 -9
  316. app-rn-runtime/components/data/form/form-field/form-field.component.js.map +1 -1
  317. app-rn-runtime/components/data/form/form-field/form-field.props.js +5 -4
  318. app-rn-runtime/components/data/form/form-field/form-field.props.js.map +1 -1
  319. app-rn-runtime/components/data/form/form-field/form-field.styles.js.map +1 -1
  320. app-rn-runtime/components/data/form/form-footer/form-footer.component.js.map +1 -1
  321. app-rn-runtime/components/data/form/form-footer/form-footer.props.js +4 -4
  322. app-rn-runtime/components/data/form/form-footer/form-footer.props.js.map +1 -1
  323. app-rn-runtime/components/data/form/form-footer/form-footer.styles.js.map +1 -1
  324. app-rn-runtime/components/data/form/form.component.js +15 -14
  325. app-rn-runtime/components/data/form/form.component.js.map +1 -1
  326. app-rn-runtime/components/data/form/form.props.js +6 -4
  327. app-rn-runtime/components/data/form/form.props.js.map +1 -1
  328. app-rn-runtime/components/data/form/form.styles.js +1 -1
  329. app-rn-runtime/components/data/form/form.styles.js.map +1 -1
  330. app-rn-runtime/components/data/list/list-action-template/list-action-template.component.js +28 -0
  331. app-rn-runtime/components/data/list/list-action-template/list-action-template.component.js.map +1 -0
  332. app-rn-runtime/components/data/list/list-action-template/list-action-template.props.js +12 -0
  333. app-rn-runtime/components/data/list/list-action-template/list-action-template.props.js.map +1 -0
  334. app-rn-runtime/components/data/list/list-action-template/list-action-template.styles.js +36 -0
  335. app-rn-runtime/components/data/list/list-action-template/list-action-template.styles.js.map +1 -0
  336. app-rn-runtime/components/data/list/list-template/list-template.component.js +15 -1
  337. app-rn-runtime/components/data/list/list-template/list-template.component.js.map +1 -1
  338. app-rn-runtime/components/data/list/list-template/list-template.props.js +5 -4
  339. app-rn-runtime/components/data/list/list-template/list-template.props.js.map +1 -1
  340. app-rn-runtime/components/data/list/list-template/list-template.styles.js +11 -2
  341. app-rn-runtime/components/data/list/list-template/list-template.styles.js.map +1 -1
  342. app-rn-runtime/components/data/list/list.component.js +120 -72
  343. app-rn-runtime/components/data/list/list.component.js.map +1 -1
  344. app-rn-runtime/components/data/list/list.props.js +6 -4
  345. app-rn-runtime/components/data/list/list.props.js.map +1 -1
  346. app-rn-runtime/components/data/list/list.styles.js +11 -2
  347. app-rn-runtime/components/data/list/list.styles.js.map +1 -1
  348. app-rn-runtime/components/data/liveform/liveform.component.js +13 -17
  349. app-rn-runtime/components/data/liveform/liveform.component.js.map +1 -1
  350. app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js +2 -2
  351. app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js.map +1 -1
  352. app-rn-runtime/components/device/barcodescanner/barcodescanner.props.js +4 -4
  353. app-rn-runtime/components/device/barcodescanner/barcodescanner.props.js.map +1 -1
  354. app-rn-runtime/components/device/barcodescanner/barcodescanner.styles.js.map +1 -1
  355. app-rn-runtime/components/device/camera/camera.component.js +2 -2
  356. app-rn-runtime/components/device/camera/camera.component.js.map +1 -1
  357. app-rn-runtime/components/device/camera/camera.props.js +4 -4
  358. app-rn-runtime/components/device/camera/camera.props.js.map +1 -1
  359. app-rn-runtime/components/device/camera/camera.styles.js.map +1 -1
  360. app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js +3 -2
  361. app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js.map +1 -1
  362. app-rn-runtime/components/dialogs/alertdialog/alertdialog.props.js +5 -4
  363. app-rn-runtime/components/dialogs/alertdialog/alertdialog.props.js.map +1 -1
  364. app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -1
  365. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js +3 -2
  366. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -1
  367. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.props.js +5 -4
  368. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -1
  369. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -1
  370. app-rn-runtime/components/dialogs/dialog/dialog.component.js +11 -7
  371. app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +1 -1
  372. app-rn-runtime/components/dialogs/dialog/dialog.props.js +5 -4
  373. app-rn-runtime/components/dialogs/dialog/dialog.props.js.map +1 -1
  374. app-rn-runtime/components/dialogs/dialog/dialog.styles.js.map +1 -1
  375. app-rn-runtime/components/dialogs/dialogactions/dialogactions.component.js +2 -2
  376. app-rn-runtime/components/dialogs/dialogactions/dialogactions.component.js.map +1 -1
  377. app-rn-runtime/components/dialogs/dialogactions/dialogactions.props.js +4 -4
  378. app-rn-runtime/components/dialogs/dialogactions/dialogactions.props.js.map +1 -1
  379. app-rn-runtime/components/dialogs/dialogactions/dialogactions.styles.js.map +1 -1
  380. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js +1 -1
  381. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -1
  382. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.props.js +4 -4
  383. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -1
  384. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.styles.js.map +1 -1
  385. app-rn-runtime/components/input/basedataset/basedataset.component.js +9 -14
  386. app-rn-runtime/components/input/basedataset/basedataset.component.js.map +1 -1
  387. app-rn-runtime/components/input/basedataset/basedataset.props.js +5 -5
  388. app-rn-runtime/components/input/basedataset/basedataset.props.js.map +1 -1
  389. app-rn-runtime/components/input/basedataset/basedataset.styles.js.map +1 -1
  390. app-rn-runtime/components/input/baseinput/baseinput.component.js +19 -13
  391. app-rn-runtime/components/input/baseinput/baseinput.component.js.map +1 -1
  392. app-rn-runtime/components/input/baseinput/baseinput.props.js +6 -5
  393. app-rn-runtime/components/input/baseinput/baseinput.props.js.map +1 -1
  394. app-rn-runtime/components/input/baseinput/baseinput.styles.js.map +1 -1
  395. app-rn-runtime/components/input/basenumber/basenumber.component.js +31 -21
  396. app-rn-runtime/components/input/basenumber/basenumber.component.js.map +1 -1
  397. app-rn-runtime/components/input/basenumber/basenumber.props.js +7 -5
  398. app-rn-runtime/components/input/basenumber/basenumber.props.js.map +1 -1
  399. app-rn-runtime/components/input/basenumber/basenumber.styles.js.map +1 -1
  400. app-rn-runtime/components/input/calendar/calendar.component.js +5 -5
  401. app-rn-runtime/components/input/calendar/calendar.component.js.map +1 -1
  402. app-rn-runtime/components/input/calendar/calendar.props.js +4 -4
  403. app-rn-runtime/components/input/calendar/calendar.props.js.map +1 -1
  404. app-rn-runtime/components/input/calendar/calendar.styles.js.map +1 -1
  405. app-rn-runtime/components/input/calendar/views/month-view.js +6 -10
  406. app-rn-runtime/components/input/calendar/views/month-view.js.map +1 -1
  407. app-rn-runtime/components/input/calendar/views/month-view.styles.js.map +1 -1
  408. app-rn-runtime/components/input/checkbox/checkbox.component.js +10 -11
  409. app-rn-runtime/components/input/checkbox/checkbox.component.js.map +1 -1
  410. app-rn-runtime/components/input/checkbox/checkbox.props.js +5 -4
  411. app-rn-runtime/components/input/checkbox/checkbox.props.js.map +1 -1
  412. app-rn-runtime/components/input/checkbox/checkbox.styles.js.map +1 -1
  413. app-rn-runtime/components/input/checkboxset/checkboxset.component.js +41 -11
  414. app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +1 -1
  415. app-rn-runtime/components/input/checkboxset/checkboxset.props.js +11 -4
  416. app-rn-runtime/components/input/checkboxset/checkboxset.props.js.map +1 -1
  417. app-rn-runtime/components/input/checkboxset/checkboxset.styles.js +2 -0
  418. app-rn-runtime/components/input/checkboxset/checkboxset.styles.js.map +1 -1
  419. app-rn-runtime/components/input/chips/chips.component.js +8 -7
  420. app-rn-runtime/components/input/chips/chips.component.js.map +1 -1
  421. app-rn-runtime/components/input/chips/chips.props.js +4 -4
  422. app-rn-runtime/components/input/chips/chips.props.js.map +1 -1
  423. app-rn-runtime/components/input/chips/chips.styles.js.map +1 -1
  424. app-rn-runtime/components/input/composite/composite.component.js.map +1 -1
  425. app-rn-runtime/components/input/composite/composite.props.js +4 -4
  426. app-rn-runtime/components/input/composite/composite.props.js.map +1 -1
  427. app-rn-runtime/components/input/composite/composite.styles.js.map +1 -1
  428. app-rn-runtime/components/input/currency/currency.component.js +20 -5
  429. app-rn-runtime/components/input/currency/currency.component.js.map +1 -1
  430. app-rn-runtime/components/input/currency/currency.props.js +4 -4
  431. app-rn-runtime/components/input/currency/currency.props.js.map +1 -1
  432. app-rn-runtime/components/input/currency/currency.styles.js.map +1 -1
  433. app-rn-runtime/components/input/epoch/base-datetime.component.js +117 -18
  434. app-rn-runtime/components/input/epoch/base-datetime.component.js.map +1 -1
  435. app-rn-runtime/components/input/epoch/date/date.component.js.map +1 -1
  436. app-rn-runtime/components/input/epoch/date/date.props.js.map +1 -1
  437. app-rn-runtime/components/input/epoch/date/date.styles.js.map +1 -1
  438. app-rn-runtime/components/input/epoch/date-picker.component.js +2 -2
  439. app-rn-runtime/components/input/epoch/date-picker.component.js.map +1 -1
  440. app-rn-runtime/components/input/epoch/datetime/datetime.component.js.map +1 -1
  441. app-rn-runtime/components/input/epoch/datetime/datetime.props.js +7 -5
  442. app-rn-runtime/components/input/epoch/datetime/datetime.props.js.map +1 -1
  443. app-rn-runtime/components/input/epoch/datetime/datetime.styles.js.map +1 -1
  444. app-rn-runtime/components/input/epoch/time/time.component.js.map +1 -1
  445. app-rn-runtime/components/input/epoch/time/time.props.js +2 -2
  446. app-rn-runtime/components/input/epoch/time/time.props.js.map +1 -1
  447. app-rn-runtime/components/input/epoch/time/time.styles.js.map +1 -1
  448. app-rn-runtime/components/input/epoch/wheel-date-picker.component.js +198 -0
  449. app-rn-runtime/components/input/epoch/wheel-date-picker.component.js.map +1 -0
  450. app-rn-runtime/components/input/epoch/wheel-time-picker.component.js +107 -0
  451. app-rn-runtime/components/input/epoch/wheel-time-picker.component.js.map +1 -0
  452. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.component.js +91 -0
  453. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -0
  454. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
  455. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -0
  456. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.styles.js +55 -0
  457. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +1 -0
  458. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +76 -0
  459. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -0
  460. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +17 -0
  461. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -0
  462. app-rn-runtime/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +66 -0
  463. app-rn-runtime/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +1 -0
  464. app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +74 -0
  465. app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +1 -0
  466. app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +16 -0
  467. app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -0
  468. app-rn-runtime/components/input/fileupload/fileupload.component.js +10 -8
  469. app-rn-runtime/components/input/fileupload/fileupload.component.js.map +1 -1
  470. app-rn-runtime/components/input/fileupload/fileupload.props.js +5 -4
  471. app-rn-runtime/components/input/fileupload/fileupload.props.js.map +1 -1
  472. app-rn-runtime/components/input/fileupload/fileupload.styles.js.map +1 -1
  473. app-rn-runtime/components/input/number/number.component.js +10 -7
  474. app-rn-runtime/components/input/number/number.component.js.map +1 -1
  475. app-rn-runtime/components/input/number/number.props.js +4 -4
  476. app-rn-runtime/components/input/number/number.props.js.map +1 -1
  477. app-rn-runtime/components/input/number/number.styles.js.map +1 -1
  478. app-rn-runtime/components/input/radioset/radioset.component.js +36 -13
  479. app-rn-runtime/components/input/radioset/radioset.component.js.map +1 -1
  480. app-rn-runtime/components/input/radioset/radioset.props.js +5 -4
  481. app-rn-runtime/components/input/radioset/radioset.props.js.map +1 -1
  482. app-rn-runtime/components/input/radioset/radioset.styles.js +1 -0
  483. app-rn-runtime/components/input/radioset/radioset.styles.js.map +1 -1
  484. app-rn-runtime/components/input/rating/rating.component.js +4 -4
  485. app-rn-runtime/components/input/rating/rating.component.js.map +1 -1
  486. app-rn-runtime/components/input/rating/rating.props.js +4 -4
  487. app-rn-runtime/components/input/rating/rating.props.js.map +1 -1
  488. app-rn-runtime/components/input/rating/rating.styles.js.map +1 -1
  489. app-rn-runtime/components/input/select/select.component.js +37 -19
  490. app-rn-runtime/components/input/select/select.component.js.map +1 -1
  491. app-rn-runtime/components/input/select/select.props.js +4 -4
  492. app-rn-runtime/components/input/select/select.props.js.map +1 -1
  493. app-rn-runtime/components/input/select/select.styles.js.map +1 -1
  494. app-rn-runtime/components/input/slider/slider.component.js +359 -69
  495. app-rn-runtime/components/input/slider/slider.component.js.map +1 -1
  496. app-rn-runtime/components/input/slider/slider.props.js +13 -9
  497. app-rn-runtime/components/input/slider/slider.props.js.map +1 -1
  498. app-rn-runtime/components/input/slider/slider.styles.js +25 -2
  499. app-rn-runtime/components/input/slider/slider.styles.js.map +1 -1
  500. app-rn-runtime/components/input/switch/switch.component.js +9 -6
  501. app-rn-runtime/components/input/switch/switch.component.js.map +1 -1
  502. app-rn-runtime/components/input/switch/switch.props.js +4 -4
  503. app-rn-runtime/components/input/switch/switch.props.js.map +1 -1
  504. app-rn-runtime/components/input/switch/switch.styles.js +8 -2
  505. app-rn-runtime/components/input/switch/switch.styles.js.map +1 -1
  506. app-rn-runtime/components/input/text/text.component.js +21 -0
  507. app-rn-runtime/components/input/text/text.component.js.map +1 -1
  508. app-rn-runtime/components/input/text/text.props.js +6 -4
  509. app-rn-runtime/components/input/text/text.props.js.map +1 -1
  510. app-rn-runtime/components/input/text/text.styles.js.map +1 -1
  511. app-rn-runtime/components/input/textarea/textarea.component.js +21 -0
  512. app-rn-runtime/components/input/textarea/textarea.component.js.map +1 -1
  513. app-rn-runtime/components/input/textarea/textarea.props.js +6 -4
  514. app-rn-runtime/components/input/textarea/textarea.props.js.map +1 -1
  515. app-rn-runtime/components/input/textarea/textarea.styles.js.map +1 -1
  516. app-rn-runtime/components/input/toggle/toggle.component.js +15 -10
  517. app-rn-runtime/components/input/toggle/toggle.component.js.map +1 -1
  518. app-rn-runtime/components/input/toggle/toggle.props.js +4 -4
  519. app-rn-runtime/components/input/toggle/toggle.props.js.map +1 -1
  520. app-rn-runtime/components/input/toggle/toggle.styles.js.map +1 -1
  521. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js +11 -7
  522. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +1 -1
  523. app-rn-runtime/components/navigation/appnavbar/appnavbar.props.js +4 -4
  524. app-rn-runtime/components/navigation/appnavbar/appnavbar.props.js.map +1 -1
  525. app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js.map +1 -1
  526. app-rn-runtime/components/navigation/basenav/basenav.component.js +6 -10
  527. app-rn-runtime/components/navigation/basenav/basenav.component.js.map +1 -1
  528. app-rn-runtime/components/navigation/basenav/basenav.props.js +4 -4
  529. app-rn-runtime/components/navigation/basenav/basenav.props.js.map +1 -1
  530. app-rn-runtime/components/navigation/basenav/basenav.styles.js.map +1 -1
  531. app-rn-runtime/components/navigation/menu/menu.component.js +2 -2
  532. app-rn-runtime/components/navigation/menu/menu.component.js.map +1 -1
  533. app-rn-runtime/components/navigation/menu/menu.props.js +4 -4
  534. app-rn-runtime/components/navigation/menu/menu.props.js.map +1 -1
  535. app-rn-runtime/components/navigation/menu/menu.styles.js.map +1 -1
  536. app-rn-runtime/components/navigation/navbar/navbar.component.js.map +1 -1
  537. app-rn-runtime/components/navigation/navbar/navbar.props.js +4 -4
  538. app-rn-runtime/components/navigation/navbar/navbar.props.js.map +1 -1
  539. app-rn-runtime/components/navigation/navbar/navbar.styles.js.map +1 -1
  540. app-rn-runtime/components/navigation/navitem/navitem.component.js +6 -7
  541. app-rn-runtime/components/navigation/navitem/navitem.component.js.map +1 -1
  542. app-rn-runtime/components/navigation/navitem/navitem.props.js +4 -4
  543. app-rn-runtime/components/navigation/navitem/navitem.props.js.map +1 -1
  544. app-rn-runtime/components/navigation/navitem/navitem.styles.js.map +1 -1
  545. app-rn-runtime/components/navigation/popover/popover.component.js +84 -31
  546. app-rn-runtime/components/navigation/popover/popover.component.js.map +1 -1
  547. app-rn-runtime/components/navigation/popover/popover.props.js +6 -5
  548. app-rn-runtime/components/navigation/popover/popover.props.js.map +1 -1
  549. app-rn-runtime/components/navigation/popover/popover.styles.js +6 -1
  550. app-rn-runtime/components/navigation/popover/popover.styles.js.map +1 -1
  551. app-rn-runtime/components/page/content/content.component.js +19 -4
  552. app-rn-runtime/components/page/content/content.component.js.map +1 -1
  553. app-rn-runtime/components/page/content/content.props.js.map +1 -1
  554. app-rn-runtime/components/page/content/content.styles.js.map +1 -1
  555. app-rn-runtime/components/page/left-panel/left-panel.component.js +5 -5
  556. app-rn-runtime/components/page/left-panel/left-panel.component.js.map +1 -1
  557. app-rn-runtime/components/page/left-panel/left-panel.props.js +4 -4
  558. app-rn-runtime/components/page/left-panel/left-panel.props.js.map +1 -1
  559. app-rn-runtime/components/page/left-panel/left-panel.styles.js.map +1 -1
  560. app-rn-runtime/components/page/page-content/page-content.component.js +29 -3
  561. app-rn-runtime/components/page/page-content/page-content.component.js.map +1 -1
  562. app-rn-runtime/components/page/page-content/page-content.props.js +6 -6
  563. app-rn-runtime/components/page/page-content/page-content.props.js.map +1 -1
  564. app-rn-runtime/components/page/page-content/page-content.styles.js +6 -1
  565. app-rn-runtime/components/page/page-content/page-content.styles.js.map +1 -1
  566. app-rn-runtime/components/page/page.component.js +13 -3
  567. app-rn-runtime/components/page/page.component.js.map +1 -1
  568. app-rn-runtime/components/page/page.props.js.map +1 -1
  569. app-rn-runtime/components/page/page.styles.js +7 -1
  570. app-rn-runtime/components/page/page.styles.js.map +1 -1
  571. app-rn-runtime/components/page/partial/partial.component.js +21 -0
  572. app-rn-runtime/components/page/partial/partial.component.js.map +1 -1
  573. app-rn-runtime/components/page/partial/partial.props.js.map +1 -1
  574. app-rn-runtime/components/page/partial/partial.styles.js +6 -1
  575. app-rn-runtime/components/page/partial/partial.styles.js.map +1 -1
  576. app-rn-runtime/components/page/partial-container/partial-container.component.js.map +1 -1
  577. app-rn-runtime/components/page/partial-container/partial-container.props.js +4 -4
  578. app-rn-runtime/components/page/partial-container/partial-container.props.js.map +1 -1
  579. app-rn-runtime/components/page/partial-container/partial-container.styles.js.map +1 -1
  580. app-rn-runtime/components/page/tabbar/curve.js.map +1 -1
  581. app-rn-runtime/components/page/tabbar/tabbar.component.js +26 -14
  582. app-rn-runtime/components/page/tabbar/tabbar.component.js.map +1 -1
  583. app-rn-runtime/components/page/tabbar/tabbar.props.js +5 -4
  584. app-rn-runtime/components/page/tabbar/tabbar.props.js.map +1 -1
  585. app-rn-runtime/components/page/tabbar/tabbar.styles.js.map +1 -1
  586. app-rn-runtime/components/prefab/prefab-container.component.js +22 -0
  587. app-rn-runtime/components/prefab/prefab-container.component.js.map +1 -1
  588. app-rn-runtime/components/prefab/prefab-container.props.js.map +1 -1
  589. app-rn-runtime/components/prefab/prefab-container.styles.js +6 -1
  590. app-rn-runtime/components/prefab/prefab-container.styles.js.map +1 -1
  591. app-rn-runtime/core/AppConfig.js.map +1 -1
  592. app-rn-runtime/core/accessibility.js +7 -1
  593. app-rn-runtime/core/accessibility.js.map +1 -1
  594. app-rn-runtime/core/asset.provider.js.map +1 -1
  595. app-rn-runtime/core/base.component.js +31 -24
  596. app-rn-runtime/core/base.component.js.map +1 -1
  597. app-rn-runtime/core/components/floatinglabel.component.js.map +1 -1
  598. app-rn-runtime/core/components/textinput.component.js +9 -7
  599. app-rn-runtime/core/components/textinput.component.js.map +1 -1
  600. app-rn-runtime/core/constant.service.js +2 -2
  601. app-rn-runtime/core/constant.service.js.map +1 -1
  602. app-rn-runtime/core/constants/currency-constants.js.map +1 -1
  603. app-rn-runtime/core/currency-constants.js.map +1 -1
  604. app-rn-runtime/core/device/calendar-service.js.map +1 -1
  605. app-rn-runtime/core/device/camera-service.js.map +1 -1
  606. app-rn-runtime/core/device/contacts-service.js.map +1 -1
  607. app-rn-runtime/core/device/location-service.js.map +1 -1
  608. app-rn-runtime/core/device/scan-service.js.map +1 -1
  609. app-rn-runtime/core/display.manager.js.map +1 -1
  610. app-rn-runtime/core/event-notifier.js +15 -7
  611. app-rn-runtime/core/event-notifier.js.map +1 -1
  612. app-rn-runtime/core/file-extension-types.js.map +1 -1
  613. app-rn-runtime/core/fixed-view.component.js +4 -4
  614. app-rn-runtime/core/fixed-view.component.js.map +1 -1
  615. app-rn-runtime/core/formatters.js +6 -12
  616. app-rn-runtime/core/formatters.js.map +1 -1
  617. app-rn-runtime/core/i18n.service.js.map +1 -1
  618. app-rn-runtime/core/if.component.js +6 -7
  619. app-rn-runtime/core/if.component.js.map +1 -1
  620. app-rn-runtime/core/imageSizeEstimator.js +3 -3
  621. app-rn-runtime/core/imageSizeEstimator.js.map +1 -1
  622. app-rn-runtime/core/injector.js.map +1 -1
  623. app-rn-runtime/core/key.extractor.js +3 -4
  624. app-rn-runtime/core/key.extractor.js.map +1 -1
  625. app-rn-runtime/core/logger.js +3 -3
  626. app-rn-runtime/core/logger.js.map +1 -1
  627. app-rn-runtime/core/modal.service.js.map +1 -1
  628. app-rn-runtime/core/navigation.service.js.map +1 -1
  629. app-rn-runtime/core/network.service.js +7 -11
  630. app-rn-runtime/core/network.service.js.map +1 -1
  631. app-rn-runtime/core/partial.service.js.map +1 -1
  632. app-rn-runtime/core/props.provider.js +8 -5
  633. app-rn-runtime/core/props.provider.js.map +1 -1
  634. app-rn-runtime/core/scroll-view.component.js +2 -2
  635. app-rn-runtime/core/scroll-view.component.js.map +1 -1
  636. app-rn-runtime/core/security.service.js.map +1 -1
  637. app-rn-runtime/core/spinner.service.js.map +1 -1
  638. app-rn-runtime/core/storage.service.js +2 -2
  639. app-rn-runtime/core/storage.service.js.map +1 -1
  640. app-rn-runtime/core/tappable.component.js +75 -39
  641. app-rn-runtime/core/tappable.component.js.map +1 -1
  642. app-rn-runtime/core/testid.provider.js.map +1 -1
  643. app-rn-runtime/core/toast.service.js.map +1 -1
  644. app-rn-runtime/core/ui-preferences.context.js +7 -0
  645. app-rn-runtime/core/ui-preferences.context.js.map +1 -0
  646. app-rn-runtime/core/utils.js +206 -20
  647. app-rn-runtime/core/utils.js.map +1 -1
  648. app-rn-runtime/core/viewport.js +2 -2
  649. app-rn-runtime/core/viewport.js.map +1 -1
  650. app-rn-runtime/gestures/swipe.animation.js +2 -2
  651. app-rn-runtime/gestures/swipe.animation.js.map +1 -1
  652. app-rn-runtime/index.js.map +1 -1
  653. app-rn-runtime/package.json +110 -87
  654. app-rn-runtime/runtime/App.js +58 -54
  655. app-rn-runtime/runtime/App.js.map +1 -1
  656. app-rn-runtime/runtime/App.navigator.js +1 -1
  657. app-rn-runtime/runtime/App.navigator.js.map +1 -1
  658. app-rn-runtime/runtime/base-fragment.component.js +49 -21
  659. app-rn-runtime/runtime/base-fragment.component.js.map +1 -1
  660. app-rn-runtime/runtime/base-page.component.js +29 -22
  661. app-rn-runtime/runtime/base-page.component.js.map +1 -1
  662. app-rn-runtime/runtime/base-partial.component.js +12 -7
  663. app-rn-runtime/runtime/base-partial.component.js.map +1 -1
  664. app-rn-runtime/runtime/base-prefab.component.js +6 -6
  665. app-rn-runtime/runtime/base-prefab.component.js.map +1 -1
  666. app-rn-runtime/runtime/lib-patch.js +1 -1
  667. app-rn-runtime/runtime/lib-patch.js.map +1 -1
  668. app-rn-runtime/runtime/memo.component.js +2 -2
  669. app-rn-runtime/runtime/memo.component.js.map +1 -1
  670. app-rn-runtime/runtime/navigator/drawer.navigator.js +1 -0
  671. app-rn-runtime/runtime/navigator/drawer.navigator.js.map +1 -1
  672. app-rn-runtime/runtime/navigator/stack.navigator.js +5 -8
  673. app-rn-runtime/runtime/navigator/stack.navigator.js.map +1 -1
  674. app-rn-runtime/runtime/platform.api.js.map +1 -1
  675. app-rn-runtime/runtime/services/app-display-manager.service.js +7 -4
  676. app-rn-runtime/runtime/services/app-display-manager.service.js.map +1 -1
  677. app-rn-runtime/runtime/services/app-i18n.service.js +13 -4
  678. app-rn-runtime/runtime/services/app-i18n.service.js.map +1 -1
  679. app-rn-runtime/runtime/services/app-modal.service.js +7 -4
  680. app-rn-runtime/runtime/services/app-modal.service.js.map +1 -1
  681. app-rn-runtime/runtime/services/app-security.service.js +51 -12
  682. app-rn-runtime/runtime/services/app-security.service.js.map +1 -1
  683. app-rn-runtime/runtime/services/app-spinner.service.js +4 -5
  684. app-rn-runtime/runtime/services/app-spinner.service.js.map +1 -1
  685. app-rn-runtime/runtime/services/app-toast.service.js +2 -2
  686. app-rn-runtime/runtime/services/app-toast.service.js.map +1 -1
  687. app-rn-runtime/runtime/services/device/calendar-service.js.map +1 -1
  688. app-rn-runtime/runtime/services/device/camera-service.js +2 -2
  689. app-rn-runtime/runtime/services/device/camera-service.js.map +1 -1
  690. app-rn-runtime/runtime/services/device/contacts-service.js +1 -1
  691. app-rn-runtime/runtime/services/device/contacts-service.js.map +1 -1
  692. app-rn-runtime/runtime/services/device/location-service.js.map +1 -1
  693. app-rn-runtime/runtime/services/device/permissions.js.map +1 -1
  694. app-rn-runtime/runtime/services/device/scan-service.js.map +1 -1
  695. app-rn-runtime/runtime/services/partial.service.js +1 -2
  696. app-rn-runtime/runtime/services/partial.service.js.map +1 -1
  697. app-rn-runtime/runtime/services/webprocess.service.js +3 -5
  698. app-rn-runtime/runtime/services/webprocess.service.js.map +1 -1
  699. app-rn-runtime/runtime/watcher.js +5 -5
  700. app-rn-runtime/runtime/watcher.js.map +1 -1
  701. app-rn-runtime/styles/MediaQueryList.js.map +1 -1
  702. app-rn-runtime/styles/background.component.js +8 -6
  703. app-rn-runtime/styles/background.component.js.map +1 -1
  704. app-rn-runtime/styles/style-prop.validator.js +1 -4
  705. app-rn-runtime/styles/style-prop.validator.js.map +1 -1
  706. app-rn-runtime/styles/style-props.js +2 -2
  707. app-rn-runtime/styles/style-props.js.map +1 -1
  708. app-rn-runtime/styles/theme.js +25 -17
  709. app-rn-runtime/styles/theme.js.map +1 -1
  710. app-rn-runtime/styles/theme.variables.js +14 -7
  711. app-rn-runtime/styles/theme.variables.js.map +1 -1
  712. app-rn-runtime/variables/base-variable.js +2 -2
  713. app-rn-runtime/variables/base-variable.js.map +1 -1
  714. app-rn-runtime/variables/device/calendar/create-event.operation.js.map +1 -1
  715. app-rn-runtime/variables/device/calendar/delete-event.operation.js.map +1 -1
  716. app-rn-runtime/variables/device/calendar/get-events.operation.js.map +1 -1
  717. app-rn-runtime/variables/device/camera/capture-image.operation.js.map +1 -1
  718. app-rn-runtime/variables/device/camera/capture-video.operation.js.map +1 -1
  719. app-rn-runtime/variables/device/contacts/get-contacts.operation.js.map +1 -1
  720. app-rn-runtime/variables/device/device/app-info.operation.js.map +1 -1
  721. app-rn-runtime/variables/device/device/current-geo-position.operation.js.map +1 -1
  722. app-rn-runtime/variables/device/device/device-info.operation.js.map +1 -1
  723. app-rn-runtime/variables/device/device/network-info.operation.js +23 -3
  724. app-rn-runtime/variables/device/device/network-info.operation.js.map +1 -1
  725. app-rn-runtime/variables/device/device/vibrate.operation.js.map +1 -1
  726. app-rn-runtime/variables/device/file/upload-file.operation.js.map +1 -1
  727. app-rn-runtime/variables/device/operation.provider.js.map +1 -1
  728. app-rn-runtime/variables/device/scan/scan.operation.js.map +1 -1
  729. app-rn-runtime/variables/device-variable.js +1 -1
  730. app-rn-runtime/variables/device-variable.js.map +1 -1
  731. app-rn-runtime/variables/http.service.js +4 -0
  732. app-rn-runtime/variables/http.service.js.map +1 -1
  733. app-rn-runtime/variables/live-variable.js +3 -3
  734. app-rn-runtime/variables/live-variable.js.map +1 -1
  735. app-rn-runtime/variables/model-variable.js +2 -2
  736. app-rn-runtime/variables/model-variable.js.map +1 -1
  737. app-rn-runtime/variables/service-variable.js +4 -2
  738. app-rn-runtime/variables/service-variable.js.map +1 -1
  739. app-rn-runtime/variables/utils/dataset-util.js.map +1 -1
  740. app-rn-runtime/variables/utils/inflight-queue.js +2 -2
  741. app-rn-runtime/variables/utils/inflight-queue.js.map +1 -1
  742. app-rn-runtime/variables/utils/variable.constants.js.map +1 -1
  743. app-rn-runtime/variables/utils/variable.utils.js +0 -1
  744. app-rn-runtime/variables/utils/variable.utils.js.map +1 -1
@@ -15,17 +15,19 @@ export default class WmButton extends BaseComponent {
15
15
  constructor(props) {
16
16
  super(props, DEFAULT_CLASS, new WmButtonProps());
17
17
  }
18
- prepareIcon(_ref) {
19
- let {
20
- iconclass,
21
- iconurl,
22
- name,
23
- iconsize,
24
- iconheight,
25
- iconmargin,
26
- iconwidth
27
- } = _ref;
28
- return iconclass || iconurl ? /*#__PURE__*/React.createElement(WmIcon, _extends({}, this.getTestPropsForLabel('icon'), {
18
+ prepareIcon({
19
+ iconclass,
20
+ iconurl,
21
+ hint,
22
+ name,
23
+ iconsize,
24
+ iconheight,
25
+ iconmargin,
26
+ iconwidth
27
+ }) {
28
+ return iconclass || iconurl ? /*#__PURE__*/React.createElement(WmIcon, {
29
+ id: this.getTestId('icon'),
30
+ hint: hint,
29
31
  styles: this.styles.icon,
30
32
  name: `${name}_icon`,
31
33
  iconclass: iconclass,
@@ -34,46 +36,69 @@ export default class WmButton extends BaseComponent {
34
36
  iconheight: iconheight,
35
37
  iconmargin: iconmargin,
36
38
  iconwidth: iconwidth
37
- })) : null;
39
+ }) : null;
38
40
  }
39
41
  prepareBadge(props) {
40
42
  //@ts-ignore
41
- return /*#__PURE__*/React.createElement(Badge, {
43
+ return /*#__PURE__*/React.createElement(Badge, _extends({
42
44
  style: this.styles.badge
43
- }, props.badgevalue);
45
+ }, this.getTestProps('badge')), props.badgevalue);
44
46
  }
45
47
  renderSkeleton(prop) {
48
+ let skeletonWidth, skeletonHeight;
49
+ if (this.props.skeletonwidth == "0") {
50
+ skeletonWidth = 0;
51
+ } else {
52
+ var _this$styles$root;
53
+ skeletonWidth = this.props.skeletonwidth || ((_this$styles$root = this.styles.root) === null || _this$styles$root === void 0 ? void 0 : _this$styles$root.width);
54
+ }
55
+ if (this.props.skeletonheight == "0") {
56
+ skeletonHeight = 0;
57
+ } else {
58
+ var _this$styles$root2;
59
+ skeletonHeight = this.props.skeletonheight || ((_this$styles$root2 = this.styles.root) === null || _this$styles$root2 === void 0 ? void 0 : _this$styles$root2.height);
60
+ }
46
61
  return createSkeleton(this.theme, this.styles.skeleton, {
47
62
  ...this.styles.root,
48
- width: this.props.skeletonwidth || this.styles.root.width,
49
- height: this.props.skeletonheight || this.styles.root.height
63
+ width: skeletonWidth,
64
+ height: skeletonHeight
50
65
  });
51
66
  }
52
67
  renderWidget(props) {
53
68
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Animatedview, {
54
69
  entryanimation: props.animation,
70
+ delay: props.animationdelay,
55
71
  style: [this.styles.root, {
56
72
  paddingTop: 0,
57
73
  paddingBottom: 0,
58
74
  paddingLeft: 0,
59
75
  paddingRight: 0,
60
- overflow: 'hidden'
61
- }],
62
- accessibilityProps: {
63
- ...getAccessibilityProps(AccessibilityWidgetType.BUTTON, props)
64
- }
76
+ overflow: 'hidden',
77
+ flexDirection: 'column'
78
+ }, this.styles.root.height == "100%" ? {
79
+ flex: 1
80
+ } : {}]
81
+ // accessibilityProps={{...getAccessibilityProps(
82
+ // AccessibilityWidgetType.BUTTON,
83
+ // props
84
+ // )}}
65
85
  }, this._background, /*#__PURE__*/React.createElement(Tappable, _extends({
66
86
  styles: {
67
87
  paddingTop: this.styles.root.paddingTop,
68
88
  paddingBottom: this.styles.root.paddingBottom,
69
89
  paddingLeft: this.styles.root.paddingLeft,
70
90
  paddingRight: this.styles.root.paddingRight,
71
- height: '100%',
91
+ width: '100%',
92
+ height: this.styles.root.height ? '100%' : null,
72
93
  justifyContent: 'center'
73
94
  },
74
95
  rippleColor: this.styles.root.rippleColor,
75
96
  target: this
76
- }, this.getTestPropsForAction()), /*#__PURE__*/React.createElement(View, {
97
+ }, this.getTestPropsForAction(), {
98
+ accessibilityProps: {
99
+ ...getAccessibilityProps(AccessibilityWidgetType.BUTTON, props)
100
+ }
101
+ }), /*#__PURE__*/React.createElement(View, {
77
102
  style: [this.styles.content, {
78
103
  flexDirection: props.iconposition === 'top' ? 'column' : 'row'
79
104
  }]
@@ -1 +1 @@
1
- {"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","Tappable","Badge","WmButtonProps","DEFAULT_CLASS","WmIcon","Animatedview","createSkeleton","AccessibilityWidgetType","getAccessibilityProps","WmButtonState","WmButton","constructor","props","prepareIcon","_ref","iconclass","iconurl","name","iconsize","iconheight","iconmargin","iconwidth","createElement","_extends","getTestPropsForLabel","styles","icon","prepareBadge","style","badge","badgevalue","renderSkeleton","prop","theme","skeleton","root","width","skeletonwidth","height","skeletonheight","renderWidget","Fragment","entryanimation","animation","paddingTop","paddingBottom","paddingLeft","paddingRight","overflow","accessibilityProps","BUTTON","_background","justifyContent","rippleColor","target","getTestPropsForAction","content","flexDirection","iconposition","caption","text","importantForAccessibility"],"sources":["button.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Text, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { Badge } from 'react-native-paper';\n\nimport WmButtonProps from './button.props';\nimport { DEFAULT_CLASS, WmButtonStyles } from './button.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport { createSkeleton } from '../skeleton/skeleton.component';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nexport class WmButtonState extends BaseComponentState<WmButtonProps> {\n\n}\n\nexport default class WmButton extends BaseComponent<WmButtonProps, WmButtonState, WmButtonStyles> {\n\n constructor(props: WmButtonProps) {\n super(props, DEFAULT_CLASS, new WmButtonProps());\n }\n\n private prepareIcon({\n iconclass,\n iconurl,\n name,\n iconsize,\n iconheight,\n iconmargin,\n iconwidth,\n }: any) {\n return iconclass || iconurl\n ? (<WmIcon\n {...this.getTestPropsForLabel('icon')}\n styles={this.styles.icon} \n name={`${name}_icon`} \n iconclass={iconclass}\n iconsize={iconsize}\n iconurl={iconurl} \n iconheight={iconheight}\n iconmargin={iconmargin}\n iconwidth={iconwidth}\n />): null;\n }\n\n private prepareBadge(props: any) {\n //@ts-ignore\n return (<Badge style={this.styles.badge}>{props.badgevalue}</Badge>);\n }\n\n public renderSkeleton(prop: WmButtonProps) {\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.styles.root.width)as DimensionValue,\n height: (this.props.skeletonheight || this.styles.root.height) as DimensionValue\n });\n }\n\n renderWidget(props: WmButtonProps) {\n return (\n <>\n <Animatedview entryanimation={props.animation}\n style={[\n this.styles.root,\n {\n paddingTop: 0,\n paddingBottom: 0,\n paddingLeft: 0,\n paddingRight: 0,\n overflow: 'hidden'\n }\n ]}\n accessibilityProps={{...getAccessibilityProps(\n AccessibilityWidgetType.BUTTON,\n props\n )}}\n >\n {this._background}\n <Tappable\n styles={{\n paddingTop: this.styles.root.paddingTop,\n paddingBottom: this.styles.root.paddingBottom,\n paddingLeft: this.styles.root.paddingLeft,\n paddingRight: this.styles.root.paddingRight,\n height: '100%',\n justifyContent: 'center',\n }}\n rippleColor = {this.styles.root.rippleColor}\n target={this}\n {...this.getTestPropsForAction()}>\n <View\n style={[\n this.styles.content,\n { flexDirection: props.iconposition === 'top' ? 'column' : 'row' }\n ]}>\n {props.iconposition === 'top' && this.prepareIcon(props)}\n {props.iconposition === 'left' && this.prepareIcon(props)}\n {props.caption ? (\n <Text\n style={this.styles.text}\n {...this.getTestPropsForLabel('caption')}\n importantForAccessibility={'no'}\n // accessibilityLabel={`${props.caption}`}\n >\n {props.caption}\n </Text>\n ) : null}\n {props.iconposition === 'right' && this.prepareIcon(props)}\n </View>\n </Tappable>\n </Animatedview>\n {props.badgevalue && this.prepareBadge(props)}\n </>\n );\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAyBC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,KAAK,QAAQ,oBAAoB;AAE1C,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAASC,cAAc,QAAQ,gCAAgC;AAC/D,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAO,MAAMC,aAAa,SAASV,kBAAkB,CAAgB;AAIrE,eAAe,MAAMW,QAAQ,SAASZ,aAAa,CAA+C;EAEhGa,WAAWA,CAACC,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,EAAET,a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AAK,CAAC,EACvDA,KAAK,CAAC8C,YAAY,KAAK,MAAM,IAAI,IAAI,CAAC7C,WAAW,CAACD,KAAK,CAAC,EACxDA,KAAK,CAAC+C,OAAO,gBACZhE,KAAA,CAAA2B,aAAA,CAAC1B,IAAI,EAAA2B,QAAA;MACHK,KAAK,EAAE,IAAI,CAACH,MAAM,CAACmC;IAAK,GACpB,IAAI,CAACpC,oBAAoB,CAAC,SAAS,CAAC;MACxCqC,yBAAyB,EAAE;MAC3B;IAAA,IAECjD,KAAK,CAAC+C,OACH,CAAC,GACL,IAAI,EACP/C,KAAK,CAAC8C,YAAY,KAAK,OAAO,IAAI,IAAI,CAAC7C,WAAW,CAACD,KAAK,CACrD,CACE,CACE,CAAC,EACdA,KAAK,CAACkB,UAAU,IAAI,IAAI,CAACH,YAAY,CAACf,KAAK,CAC1C,CAAC;EAEP;AACF"}
1
+ {"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","Tappable","Badge","WmButtonProps","DEFAULT_CLASS","WmIcon","Animatedview","createSkeleton","AccessibilityWidgetType","getAccessibilityProps","WmButtonState","WmButton","constructor","props","prepareIcon","iconclass","iconurl","hint","name","iconsize","iconheight","iconmargin","iconwidth","createElement","id","getTestId","styles","icon","prepareBadge","_extends","style","badge","getTestProps","badgevalue","renderSkeleton","prop","skeletonWidth","skeletonHeight","skeletonwidth","_this$styles$root","root","width","skeletonheight","_this$styles$root2","height","theme","skeleton","renderWidget","Fragment","entryanimation","animation","delay","animationdelay","paddingTop","paddingBottom","paddingLeft","paddingRight","overflow","flexDirection","flex","_background","justifyContent","rippleColor","target","getTestPropsForAction","accessibilityProps","BUTTON","content","iconposition","caption","text","getTestPropsForLabel","importantForAccessibility"],"sources":["button.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Text, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { Badge } from 'react-native-paper';\n\nimport WmButtonProps from './button.props';\nimport { DEFAULT_CLASS, WmButtonStyles } from './button.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport { createSkeleton } from '../skeleton/skeleton.component';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nexport class WmButtonState extends BaseComponentState<WmButtonProps> {\n\n}\n\nexport default class WmButton extends BaseComponent<WmButtonProps, WmButtonState, WmButtonStyles> {\n\n constructor(props: WmButtonProps) {\n super(props, DEFAULT_CLASS, new WmButtonProps());\n }\n\n private prepareIcon({\n iconclass,\n iconurl,\n hint,\n name,\n iconsize,\n iconheight,\n iconmargin,\n iconwidth,\n }: any) {\n return iconclass || iconurl\n ? (<WmIcon\n id={this.getTestId('icon')}\n hint={hint}\n styles={this.styles.icon}\n name={`${name}_icon`}\n iconclass={iconclass}\n iconsize={iconsize}\n iconurl={iconurl}\n iconheight={iconheight}\n iconmargin={iconmargin}\n iconwidth={iconwidth}\n />): null;\n }\n\n private prepareBadge(props: any) {\n //@ts-ignore\n return (<Badge style={this.styles.badge} {...this.getTestProps('badge')}>{props.badgevalue}</Badge>);\n }\n\n public renderSkeleton(prop: WmButtonProps) {\n let skeletonWidth, skeletonHeight;\n if(this.props.skeletonwidth == \"0\") {\n skeletonWidth = 0\n } else {\n skeletonWidth = this.props.skeletonwidth || this.styles.root?.width\n }\n\n if(this.props.skeletonheight == \"0\") {\n skeletonHeight = 0\n } else {\n skeletonHeight = this.props.skeletonheight || this.styles.root?.height;\n }\n \n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: skeletonWidth as DimensionValue,\n height: skeletonHeight as DimensionValue\n });\n }\n\n renderWidget(props: WmButtonProps) {\n return (\n <>\n <Animatedview entryanimation={props.animation} delay={props.animationdelay}\n style={[\n this.styles.root,\n {\n paddingTop: 0,\n paddingBottom: 0,\n paddingLeft: 0,\n paddingRight: 0,\n overflow: 'hidden',\n flexDirection: 'column'\n },\n this.styles.root.height == \"100%\" ? {flex: 1}:{}\n ]}\n // accessibilityProps={{...getAccessibilityProps(\n // AccessibilityWidgetType.BUTTON,\n // props\n // )}}\n >\n {this._background}\n <Tappable\n styles={{\n paddingTop: this.styles.root.paddingTop,\n paddingBottom: this.styles.root.paddingBottom,\n paddingLeft: this.styles.root.paddingLeft,\n paddingRight: this.styles.root.paddingRight,\n width: '100%',\n height: this.styles.root.height ? '100%' : null,\n justifyContent: 'center',\n }}\n rippleColor = {this.styles.root.rippleColor}\n target={this}\n {...this.getTestPropsForAction()}\n accessibilityProps={{...getAccessibilityProps(\n AccessibilityWidgetType.BUTTON,\n props\n )}}>\n <View\n style={[\n this.styles.content,\n { flexDirection: props.iconposition === 'top' ? 'column' : 'row' }\n ]}>\n {props.iconposition === 'top' && this.prepareIcon(props)}\n {props.iconposition === 'left' && this.prepareIcon(props)}\n {props.caption ? (\n <Text\n style={this.styles.text}\n {...this.getTestPropsForLabel('caption')}\n importantForAccessibility={'no'}\n // accessibilityLabel={`${props.caption}`}\n >\n {props.caption}\n </Text>\n ) : null}\n {props.iconposition === 'right' && this.prepareIcon(props)}\n </View>\n </Tappable>\n </Animatedview>\n {props.badgevalue && this.prepareBadge(props)}\n </>\n );\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAyBC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,KAAK,QAAQ,oBAAoB;AAE1C,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAASC,cAAc,QAAQ,gCAAgC;AAC/D,SA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ACpB,IAAI,CAACC,oBAAoB,CAAC,SAAS,CAAC;MACxCC,yBAAyB,EAAE;MAC3B;IAAA,IAEC3D,KAAK,CAACwD,OACH,CAAC,GACL,IAAI,EACPxD,KAAK,CAACuD,YAAY,KAAK,OAAO,IAAI,IAAI,CAACtD,WAAW,CAACD,KAAK,CACrD,CACE,CACE,CAAC,EACdA,KAAK,CAACoB,UAAU,IAAI,IAAI,CAACL,YAAY,CAACf,KAAK,CAC1C,CAAC;EAEP;AACF","ignoreList":[]}
@@ -1,11 +1,12 @@
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 WmButtonProps extends BaseProps {
6
- constructor() {
7
- super(...arguments);
6
+ constructor(...args) {
7
+ super(...args);
8
8
  _defineProperty(this, "animation", null);
9
+ _defineProperty(this, "animationdelay", null);
9
10
  _defineProperty(this, "caption", null);
10
11
  _defineProperty(this, "badgevalue", null);
11
12
  _defineProperty(this, "iconclass", null);
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmButtonProps","constructor","arguments","_defineProperty","undefined"],"sources":["button.props.ts"],"sourcesContent":["import {AccessibilityRole} from 'react-native';\nimport { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmButtonProps extends BaseProps {\n animation?: string = null as any;\n caption?: string = null as any;\n badgevalue?: string = null as any;\n iconclass?: string = null as any;\n iconposition? = 'left';\n onTap?: Function = null as any;\n iconsize?:number = 0;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n iconurl?: string = null as any;\n iconheight?: number = null as any;\n iconwidth?: number = null as any;\n iconmargin?: number = null as any;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = \"button\";\n}\n"],"mappings":";;;AACA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,aAAa,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBAC5B,IAAI;IAAAA,eAAA,kBACN,IAAI;IAAAA,eAAA,qBACD,IAAI;IAAAA,eAAA,oBACL,IAAI;IAAAA,eAAA,uBACT,MAAM;IAAAA,eAAA,gBACH,IAAI;IAAAA,eAAA,mBACJ,CAAC;IAAAA,eAAA,yBACM,IAAI;IAAAA,eAAA,wBACL,IAAI;IAAAA,eAAA,kBACV,IAAI;IAAAA,eAAA,qBACD,IAAI;IAAAA,eAAA,oBACL,IAAI;IAAAA,eAAA,qBACH,IAAI;IAAAA,eAAA,6BACIC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,QAAQ;EAAA;AACpD"}
1
+ {"version":3,"names":["BaseProps","WmButtonProps","constructor","args","_defineProperty","undefined"],"sources":["button.props.ts"],"sourcesContent":["import {AccessibilityRole} from 'react-native';\nimport { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmButtonProps extends BaseProps {\n animation?: string = null as any;\n animationdelay?: number = null as any;\n caption?: string = null as any;\n badgevalue?: string = null as any;\n iconclass?: string = null as any;\n iconposition? = 'left';\n onTap?: Function = null as any;\n iconsize?:number = 0;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n iconurl?: string = null as any;\n iconheight?: number = null as any;\n iconwidth?: number = null as any;\n iconmargin?: number = null as any;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = \"button\";\n}\n"],"mappings":";;;AACA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,aAAa,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBAC5B,IAAI;IAAAA,eAAA,yBACC,IAAI;IAAAA,eAAA,kBACX,IAAI;IAAAA,eAAA,qBACD,IAAI;IAAAA,eAAA,oBACL,IAAI;IAAAA,eAAA,uBACT,MAAM;IAAAA,eAAA,gBACH,IAAI;IAAAA,eAAA,mBACJ,CAAC;IAAAA,eAAA,yBACM,IAAI;IAAAA,eAAA,wBACL,IAAI;IAAAA,eAAA,kBACV,IAAI;IAAAA,eAAA,qBACD,IAAI;IAAAA,eAAA,oBACL,IAAI;IAAAA,eAAA,qBACH,IAAI;IAAAA,eAAA,6BACIC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,QAAQ;EAAA;AACpD","ignoreList":[]}
@@ -11,8 +11,7 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
11
11
  paddingLeft: 24,
12
12
  paddingRight: 24,
13
13
  alignSelf: 'flex-start',
14
- rippleColor: themeVariables.rippleColor,
15
- height: 40
14
+ rippleColor: themeVariables.rippleColor
16
15
  },
17
16
  content: {
18
17
  flexDirection: 'row',
@@ -61,8 +60,7 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
61
60
  opacity: 0.5
62
61
  }
63
62
  });
64
- const getButtonStyles = function (bgColor, color) {
65
- let borderColor = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : bgColor;
63
+ const getButtonStyles = (bgColor, color, borderColor = bgColor) => {
66
64
  return {
67
65
  root: {
68
66
  borderWidth: 1,
@@ -1 +1 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","minHeight","borderRadius","paddingTop","paddingBottom","paddingLeft","paddingRight","alignSelf","rippleColor","height","content","flexDirection","alignItems","justifyContent","text","fontSize","fontFamily","baseFont","fontWeight","textAlign","textTransform","badge","backgroundColor","buttonBadgeBackgroundColor","color","buttonBadgeTextColor","position","bottom","marginRight","borderWidth","borderStyle","icon","buttonTextPadding","skeleton","width","opacity","getButtonStyles","bgColor","borderColor","arguments","length","undefined","linkBtnStyle","buttonLinkColor","buttonLinkTextColor","buttonWithOnlyLabel","paddingVertical","textDecorationColor","textDecorationLine","textDecorationStyle","buttonDefaultColor","buttonDefaultTextColor","buttonBorderColor","buttonInfoColor","buttonInfoTextColor","buttonPrimaryColor","buttonPrimaryTextColor","buttonSecondaryColor","buttonSecondaryTextColor","buttonDangerColor","buttonDangerTextColor","buttonSuccessColor","buttonSuccessTextColor","buttonWarningColor","buttonWarningTextColor","buttonDarkColor","buttonDarkTextColor","buttonLightColor","buttonLightTextColor","getStyle","right","marginLeft"],"sources":["button.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmIconStyles } from '../icon/icon.styles';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmButtonStyles = BaseStyles & {\n content: AllStyle,\n badge: AllStyle,\n icon: WmIconStyles,\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-button';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmButtonStyles = defineStyles<WmButtonStyles>({\n root: {\n minHeight: 40,\n borderRadius: 32,\n paddingTop: 12,\n paddingBottom: 12,\n paddingLeft: 24,\n paddingRight: 24,\n alignSelf: 'flex-start',\n rippleColor: themeVariables.rippleColor,\n height: 40\n },\n content: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center'\n },\n text: {\n fontSize: 14,\n fontFamily: themeVariables.baseFont,\n fontWeight: '500',\n textAlign: 'center',\n textTransform: 'capitalize',\n },\n badge: {\n backgroundColor: themeVariables.buttonBadgeBackgroundColor,\n color: themeVariables.buttonBadgeTextColor,\n alignSelf: 'flex-end',\n position: 'relative',\n bottom: 60 ,\n marginRight: 18,\n borderWidth: 1,\n borderStyle: 'solid',\n },\n icon: {\n root : {\n alignSelf: 'auto',\n paddingLeft: -8,\n paddingRight: -8\n },\n text: {\n paddingRight: themeVariables.buttonTextPadding,\n fontSize: 16\n }\n } as WmIconStyles,\n skeleton: {\n root: {\n width: 96,\n height: 48,\n borderRadius: 4\n }\n } as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n root : {\n opacity: 0.5\n }\n });\n\n const getButtonStyles = (bgColor: string, color: string, borderColor = bgColor) => {\n return {\n root: {\n borderWidth: 1,\n borderColor: borderColor,\n borderStyle: 'solid',\n backgroundColor: bgColor\n },\n text: {\n color: color\n },\n badge: {\n backgroundColor: color,\n color: bgColor,\n borderColor: bgColor\n },\n icon: {\n text: {\n color: color\n }\n }\n } as WmButtonStyles;\n }\n\n const linkBtnStyle = getButtonStyles(themeVariables.buttonLinkColor, themeVariables.buttonLinkTextColor );\nconst buttonWithOnlyLabel = getButtonStyles(themeVariables.buttonLinkColor, themeVariables.buttonLinkTextColor );\n\n linkBtnStyle.root.paddingVertical = 4;\n linkBtnStyle.text.textDecorationColor = themeVariables.buttonLinkTextColor;\n linkBtnStyle.text.textDecorationLine = 'underline';\n linkBtnStyle.text.textDecorationStyle = 'solid';\n\n addStyle('btn-default', '', getButtonStyles(themeVariables.buttonDefaultColor, themeVariables.buttonDefaultTextColor, themeVariables.buttonBorderColor));\n addStyle('btn-info', '', getButtonStyles(themeVariables.buttonInfoColor, themeVariables.buttonInfoTextColor));\n addStyle('btn-primary', '', getButtonStyles(themeVariables.buttonPrimaryColor, themeVariables.buttonPrimaryTextColor));\n addStyle('btn-secondary', '', getButtonStyles(themeVariables.buttonSecondaryColor, themeVariables.buttonSecondaryTextColor, themeVariables.buttonSecondaryTextColor));\n addStyle('btn-danger', '', getButtonStyles(themeVariables.buttonDangerColor, themeVariables.buttonDangerTextColor));\n addStyle('btn-success', '', getButtonStyles(themeVariables.buttonSuccessColor, themeVariables.buttonSuccessTextColor));\n addStyle('btn-warning', '', getButtonStyles(themeVariables.buttonWarningColor, themeVariables.buttonWarningTextColor));\n addStyle('btn-link', '', linkBtnStyle);\n addStyle('btn-only-label', '', buttonWithOnlyLabel);\n addStyle('btn-dark', '', getButtonStyles(themeVariables.buttonDarkColor, themeVariables.buttonDarkTextColor));\n addStyle('btn-light', '', getButtonStyles(themeVariables.buttonLightColor, themeVariables.buttonLightTextColor));\n addStyle('fab-btn', 'btn-primary', {\n root : {\n ...BASE_THEME.getStyle('elevate2').root,\n position: 'fixed' as any,\n bottom: 160,\n right: 48,\n width: 56,\n height: 56,\n borderRadius: 56,\n justifyContent: 'center',\n alignItems: 'center'\n },\n text: {\n marginLeft: 0,\n marginRight: 0\n },\n icon: {\n icon: {\n fontSize: 24\n }\n } as WmIconStyles\n } as WmButtonStyles);\n addStyle('mini-fab-btn', 'fab-btn', {\n root : {\n width: 40,\n height: 40\n }\n } as WmButtonStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAWxF,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA6B,GAAGL,YAAY,CAAiB;IAC/DM,IAAI,EAAE;MACFC,SAAS,EAAE,EAAE;MACbC,YAAY,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AC,CAACrE,IAAI;MACvC0B,QAAQ,EAAE,OAAc;MACxBC,MAAM,EAAE,GAAG;MACX2C,KAAK,EAAE,EAAE;MACTpC,KAAK,EAAE,EAAE;MACTzB,MAAM,EAAE,EAAE;MACVP,YAAY,EAAE,EAAE;MAChBW,cAAc,EAAE,QAAQ;MACxBD,UAAU,EAAE;IACd,CAAC;IACDE,IAAI,EAAE;MACJyD,UAAU,EAAE,CAAC;MACb3C,WAAW,EAAE;IACf,CAAC;IACDG,IAAI,EAAE;MACJA,IAAI,EAAE;QACJhB,QAAQ,EAAE;MACZ;IACF;EACF,CAAmB,CAAC;EACpBjB,QAAQ,CAAC,cAAc,EAAE,SAAS,EAAE;IAClCE,IAAI,EAAG;MACLkC,KAAK,EAAE,EAAE;MACTzB,MAAM,EAAE;IACV;EACF,CAAmB,CAAC;AACtB,CAAC,CAAC"}
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","minHeight","borderRadius","paddingTop","paddingBottom","paddingLeft","paddingRight","alignSelf","rippleColor","content","flexDirection","alignItems","justifyContent","text","fontSize","fontFamily","baseFont","fontWeight","textAlign","textTransform","badge","backgroundColor","buttonBadgeBackgroundColor","color","buttonBadgeTextColor","position","bottom","marginRight","borderWidth","borderStyle","icon","buttonTextPadding","skeleton","width","height","opacity","getButtonStyles","bgColor","borderColor","linkBtnStyle","buttonLinkColor","buttonLinkTextColor","buttonWithOnlyLabel","paddingVertical","textDecorationColor","textDecorationLine","textDecorationStyle","buttonDefaultColor","buttonDefaultTextColor","buttonBorderColor","buttonInfoColor","buttonInfoTextColor","buttonPrimaryColor","buttonPrimaryTextColor","buttonSecondaryColor","buttonSecondaryTextColor","buttonDangerColor","buttonDangerTextColor","buttonSuccessColor","buttonSuccessTextColor","buttonWarningColor","buttonWarningTextColor","buttonDarkColor","buttonDarkTextColor","buttonLightColor","buttonLightTextColor","getStyle","right","marginLeft"],"sources":["button.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmIconStyles } from '../icon/icon.styles';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmButtonStyles = BaseStyles & {\n content: AllStyle,\n badge: AllStyle,\n icon: WmIconStyles,\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-button';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmButtonStyles = defineStyles<WmButtonStyles>({\n root: {\n minHeight: 40,\n borderRadius: 32,\n paddingTop: 12,\n paddingBottom: 12,\n paddingLeft: 24,\n paddingRight: 24,\n alignSelf: 'flex-start',\n rippleColor: themeVariables.rippleColor\n },\n content: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center'\n },\n text: {\n fontSize: 14,\n fontFamily: themeVariables.baseFont,\n fontWeight: '500',\n textAlign: 'center',\n textTransform: 'capitalize',\n },\n badge: {\n backgroundColor: themeVariables.buttonBadgeBackgroundColor,\n color: themeVariables.buttonBadgeTextColor,\n alignSelf: 'flex-end',\n position: 'relative',\n bottom: 60 ,\n marginRight: 18,\n borderWidth: 1,\n borderStyle: 'solid',\n },\n icon: {\n root : {\n alignSelf: 'auto',\n paddingLeft: -8,\n paddingRight: -8\n },\n text: {\n paddingRight: themeVariables.buttonTextPadding,\n fontSize: 16\n }\n } as WmIconStyles,\n skeleton: {\n root: {\n width: 96,\n height: 48,\n borderRadius: 4\n }\n } as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n root : {\n opacity: 0.5\n }\n });\n\n const getButtonStyles = (bgColor: string, color: string, borderColor = bgColor) => {\n return {\n root: {\n borderWidth: 1,\n borderColor: borderColor,\n borderStyle: 'solid',\n backgroundColor: bgColor\n },\n text: {\n color: color\n },\n badge: {\n backgroundColor: color,\n color: bgColor,\n borderColor: bgColor\n },\n icon: {\n text: {\n color: color\n }\n }\n } as WmButtonStyles;\n }\n\n const linkBtnStyle = getButtonStyles(themeVariables.buttonLinkColor, themeVariables.buttonLinkTextColor );\nconst buttonWithOnlyLabel = getButtonStyles(themeVariables.buttonLinkColor, themeVariables.buttonLinkTextColor );\n\n linkBtnStyle.root.paddingVertical = 4;\n linkBtnStyle.text.textDecorationColor = themeVariables.buttonLinkTextColor;\n linkBtnStyle.text.textDecorationLine = 'underline';\n linkBtnStyle.text.textDecorationStyle = 'solid';\n\n addStyle('btn-default', '', getButtonStyles(themeVariables.buttonDefaultColor, themeVariables.buttonDefaultTextColor, themeVariables.buttonBorderColor));\n addStyle('btn-info', '', getButtonStyles(themeVariables.buttonInfoColor, themeVariables.buttonInfoTextColor));\n addStyle('btn-primary', '', getButtonStyles(themeVariables.buttonPrimaryColor, themeVariables.buttonPrimaryTextColor));\n addStyle('btn-secondary', '', getButtonStyles(themeVariables.buttonSecondaryColor, themeVariables.buttonSecondaryTextColor, themeVariables.buttonSecondaryTextColor));\n addStyle('btn-danger', '', getButtonStyles(themeVariables.buttonDangerColor, themeVariables.buttonDangerTextColor));\n addStyle('btn-success', '', getButtonStyles(themeVariables.buttonSuccessColor, themeVariables.buttonSuccessTextColor));\n addStyle('btn-warning', '', getButtonStyles(themeVariables.buttonWarningColor, themeVariables.buttonWarningTextColor));\n addStyle('btn-link', '', linkBtnStyle);\n addStyle('btn-only-label', '', buttonWithOnlyLabel);\n addStyle('btn-dark', '', getButtonStyles(themeVariables.buttonDarkColor, themeVariables.buttonDarkTextColor));\n addStyle('btn-light', '', getButtonStyles(themeVariables.buttonLightColor, themeVariables.buttonLightTextColor));\n addStyle('fab-btn', 'btn-primary', {\n root : {\n ...BASE_THEME.getStyle('elevate2').root,\n position: 'fixed' as any,\n bottom: 160,\n right: 48,\n width: 56,\n height: 56,\n borderRadius: 56,\n justifyContent: 'center',\n alignItems: 'center'\n },\n text: {\n marginLeft: 0,\n marginRight: 0\n },\n icon: {\n icon: {\n fontSize: 24\n }\n } as WmIconStyles\n } as WmButtonStyles);\n addStyle('mini-fab-btn', 'fab-btn', {\n root : {\n width: 40,\n height: 40\n }\n } as WmButtonStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAWxF,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA6B,GAAGL,YAAY,CAAiB;IAC/DM,IAAI,EAAE;MACFC,SAAS,EAAE,EAAE;MACbC,YAAY,EAAE,EAAE;MAChBC,UAAU,EAAE,EAAE;MACdC,aAAa,EAAE,EAAE;MACjBC,WAAW,EAAE,EAAE;MACfC,YAAY,EAAE,EAAE;MAChBC,SAAS,EAAE,YAAY;MACvBC,WAAW,EAAEX,cAAc,CAACW;IAChC,CAAC;IACDC,OAAO,EAAE;MACPC,aAAa,EAAE,KAAK;MACpBC,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE;IAClB,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAElB,cAAc,CAACmB,QAAQ;MACnCC,UAAU,EAAE,KAAK;MACjBC,SAAS,EAAE,QAAQ;MACnBC,aAAa,EAAE;IACjB,CAAC;IACDC,KAAK,EAAE;MACLC,eAAe,EAAExB,cAAc,CAACyB,0BAA0B;MAC1DC,KAAK,EAAE1B,cAAc,CAAC2B,oBAAoB;MAC1CjB,SAAS,EAAE,UAAU;MACrBkB,QAAQ,EAAE,UAAU;MACpBC,MAAM,EAAE,EAAE;MACVC,WAAW,EAAE,EAAE;MACfC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAE;IACf,CAAC;IACDC,IAAI,EAAE;MACJ9B,IAAI,EAAG;QACLO,SAAS,EAAE,MAAM;QACjBF,WAAW,EAAE,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E,EAAE,EAAEsC,eAAe,CAACvC,cAAc,CAACiE,eAAe,EAAEjE,cAAc,CAACkE,mBAAmB,CAAC,CAAC;EAC7GjE,QAAQ,CAAC,WAAW,EAAE,EAAE,EAAEsC,eAAe,CAACvC,cAAc,CAACmE,gBAAgB,EAAEnE,cAAc,CAACoE,oBAAoB,CAAC,CAAC;EAChHnE,QAAQ,CAAC,SAAS,EAAE,aAAa,EAAE;IACjCE,IAAI,EAAG;MACL,GAAGP,UAAU,CAACyE,QAAQ,CAAC,UAAU,CAAC,CAAClE,IAAI;MACvCyB,QAAQ,EAAE,OAAc;MACxBC,MAAM,EAAE,GAAG;MACXyC,KAAK,EAAE,EAAE;MACTlC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE,EAAE;MACVhC,YAAY,EAAE,EAAE;MAChBU,cAAc,EAAE,QAAQ;MACxBD,UAAU,EAAE;IACd,CAAC;IACDE,IAAI,EAAE;MACJuD,UAAU,EAAE,CAAC;MACbzC,WAAW,EAAE;IACf,CAAC;IACDG,IAAI,EAAE;MACJA,IAAI,EAAE;QACJhB,QAAQ,EAAE;MACZ;IACF;EACF,CAAmB,CAAC;EACpBhB,QAAQ,CAAC,cAAc,EAAE,SAAS,EAAE;IAClCE,IAAI,EAAG;MACLiC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE;IACV;EACF,CAAmB,CAAC;AACtB,CAAC,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmButtongroupProps","DEFAULT_CLASS","createSkeleton","WmButtongroupState","WmButtongroup","constructor","props","renderSkeleton","theme","styles","skeleton","root","width","skeletonwidth","height","skeletonheight","renderWidget","createElement","style","flexDirection","vertical","_background","children"],"sources":["buttongroup.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmButtongroupProps from './buttongroup.props';\nimport { DEFAULT_CLASS, WmButtongroupStyles } from './buttongroup.styles';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\nexport class WmButtongroupState extends BaseComponentState<WmButtongroupProps> {}\n\nexport default class WmButtongroup extends BaseComponent<WmButtongroupProps, WmButtongroupState, WmButtongroupStyles> {\n\n constructor(props: WmButtongroupProps) {\n super(props, DEFAULT_CLASS, new WmButtongroupProps());\n }\n\n public renderSkeleton(props: WmButtongroupProps){\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.styles.root.width) as DimensionValue,\n height: (this.props.skeletonheight || this.styles.root.height) as DimensionValue\n });\n }\n\n renderWidget(props: WmButtongroupProps) {\n return (\n <View style={[this.styles.root, {flexDirection: props.vertical ? 'column': 'row'}]}>\n {this._background}\n {props.children}\n </View>\n );\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAyBC,IAAI,QAAQ,cAAc;AACnD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,kBAAkB,MAAM,qBAAqB;AACpD,SAASC,aAAa,QAA6B,sBAAsB;AACzE,SAAqBC,cAAc,QAAQ,gCAAgC;AAE3E,OAAO,MAAMC,kBAAkB,SAASJ,kBAAkB,CAAqB;AAE/E,eAAe,MAAMK,aAAa,SAASN,aAAa,CAA8D;EAEpHO,WAAWA,CAACC,KAAyB,EAAE;IACrC,KAAK,CAACA,KAAK,EAAEL,aAAa,EAAE,IAAID,kBAAkB,CAAC,CAAC,CAAC;EACvD;EAEOO,cAAcA,CAACD,KAAyB,EAAC;IAC9C,OAAOJ,cAAc,CAAC,IAAI,CAACM,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC,QAAQ,EAAE;MACtD,GAAG,IAAI,CAACD,MAAM,CAACE,IAAI;MACnBC,KAAK,EAAG,IAAI,CAACN,KAAK,CAACO,aAAa,IAAI,IAAI,CAACJ,MAAM,CAACE,IAAI,CAACC,KAAwB;MAC7EE,MAAM,EAAG,IAAI,CAACR,KAAK,CAACS,cAAc,IAAI,IAAI,CAACN,MAAM,CAACE,IAAI,CAACG;IACzD,CAAC,CAAC;EACJ;EAEAE,YAAYA,CAACV,KAAyB,EAAE;IACtC,oBACEV,KAAA,CAAAqB,aAAA,CAACpB,IAAI;MAACqB,KAAK,EAAE,CAAC,IAAI,CAACT,MAAM,CAACE,IAAI,EAAE;QAACQ,aAAa,EAAEb,KAAK,CAACc,QAAQ,GAAG,QAAQ,GAAE;MAAK,CAAC;IAAE,GAChF,IAAI,CAACC,WAAW,EAChBf,KAAK,CAACgB,QACH,CAAC;EAEX;AACF"}
1
+ {"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmButtongroupProps","DEFAULT_CLASS","createSkeleton","WmButtongroupState","WmButtongroup","constructor","props","renderSkeleton","theme","styles","skeleton","root","width","skeletonwidth","height","skeletonheight","renderWidget","createElement","style","flexDirection","vertical","_background","children"],"sources":["buttongroup.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmButtongroupProps from './buttongroup.props';\nimport { DEFAULT_CLASS, WmButtongroupStyles } from './buttongroup.styles';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\nexport class WmButtongroupState extends BaseComponentState<WmButtongroupProps> {}\n\nexport default class WmButtongroup extends BaseComponent<WmButtongroupProps, WmButtongroupState, WmButtongroupStyles> {\n\n constructor(props: WmButtongroupProps) {\n super(props, DEFAULT_CLASS, new WmButtongroupProps());\n }\n\n public renderSkeleton(props: WmButtongroupProps){\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.styles.root.width) as DimensionValue,\n height: (this.props.skeletonheight || this.styles.root.height) as DimensionValue\n });\n }\n\n renderWidget(props: WmButtongroupProps) {\n return (\n <View style={[this.styles.root, {flexDirection: props.vertical ? 'column': 'row'}]}>\n {this._background}\n {props.children}\n </View>\n );\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAyBC,IAAI,QAAQ,cAAc;AACnD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,kBAAkB,MAAM,qBAAqB;AACpD,SAASC,aAAa,QAA6B,sBAAsB;AACzE,SAAqBC,cAAc,QAAQ,gCAAgC;AAE3E,OAAO,MAAMC,kBAAkB,SAASJ,kBAAkB,CAAqB;AAE/E,eAAe,MAAMK,aAAa,SAASN,aAAa,CAA8D;EAEpHO,WAAWA,CAACC,KAAyB,EAAE;IACrC,KAAK,CAACA,KAAK,EAAEL,aAAa,EAAE,IAAID,kBAAkB,CAAC,CAAC,CAAC;EACvD;EAEOO,cAAcA,CAACD,KAAyB,EAAC;IAC9C,OAAOJ,cAAc,CAAC,IAAI,CAACM,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC,QAAQ,EAAE;MACtD,GAAG,IAAI,CAACD,MAAM,CAACE,IAAI;MACnBC,KAAK,EAAG,IAAI,CAACN,KAAK,CAACO,aAAa,IAAI,IAAI,CAACJ,MAAM,CAACE,IAAI,CAACC,KAAwB;MAC7EE,MAAM,EAAG,IAAI,CAACR,KAAK,CAACS,cAAc,IAAI,IAAI,CAACN,MAAM,CAACE,IAAI,CAACG;IACzD,CAAC,CAAC;EACJ;EAEAE,YAAYA,CAACV,KAAyB,EAAE;IACtC,oBACEV,KAAA,CAAAqB,aAAA,CAACpB,IAAI;MAACqB,KAAK,EAAE,CAAC,IAAI,CAACT,MAAM,CAACE,IAAI,EAAE;QAACQ,aAAa,EAAEb,KAAK,CAACc,QAAQ,GAAG,QAAQ,GAAE;MAAK,CAAC;IAAE,GAChF,IAAI,CAACC,WAAW,EAChBf,KAAK,CAACgB,QACH,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 WmButtongroupProps extends BaseProps {
6
- constructor() {
7
- super(...arguments);
6
+ constructor(...args) {
7
+ super(...args);
8
8
  _defineProperty(this, "children", void 0);
9
9
  _defineProperty(this, "vertical", null);
10
10
  _defineProperty(this, "skeletonheight", null);
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmButtongroupProps","constructor","arguments","_defineProperty"],"sources":["buttongroup.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmButtongroupProps extends BaseProps {\n children?: any;\n vertical: boolean = null as any;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,kBAAkB,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA;IAAAA,eAAA,mBAEpC,IAAI;IAAAA,eAAA,yBACE,IAAI;IAAAA,eAAA,wBACL,IAAI;EAAA;AAC/B"}
1
+ {"version":3,"names":["BaseProps","WmButtongroupProps","constructor","args","_defineProperty"],"sources":["buttongroup.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmButtongroupProps extends BaseProps {\n children?: any;\n vertical: boolean = null as any;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,kBAAkB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA;IAAAA,eAAA,mBAEpC,IAAI;IAAAA,eAAA,yBACE,IAAI;IAAAA,eAAA,wBACL,IAAI;EAAA;AAC/B","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","alignSelf","alignItems","borderRadius","borderWidth","borderStyle","borderColor","buttonGrpBorderColor","backgroundColor","buttonGrpBgColor","overflow","text","skeleton","width","height","borderTopWidth","borderBottomWidth","borderLeftWidth","borderRightWidth","flex","borderTopLeftRadius","borderBottomLeftRadius","borderTopRightRadius","borderBottomRightRadius"],"sources":["buttongroup.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 { WmButtonStyles } from '../button/button.styles';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmButtongroupStyles = BaseStyles & {\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-buttongroup';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmButtongroupStyles = defineStyles({\n root: {\n flexDirection: 'row',\n alignSelf: 'flex-start',\n alignItems: 'center',\n borderRadius: 100,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.buttonGrpBorderColor,\n backgroundColor: themeVariables.buttonGrpBgColor,\n overflow: 'hidden'\n }, \n text: {},\n skeleton: {\n root : {\n width: '100%',\n height: 48,\n borderRadius: 4,\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as any as WmSkeletonStyles\n });\n\n\n addStyle('btn-group-child', '', {\n root: {\n borderTopWidth: 0,\n borderBottomWidth: 0,\n borderLeftWidth: 1,\n borderRightWidth: 0,\n borderRadius: 0,\n backgroundColor: 'transparent',\n flex: 1,\n borderColor: themeVariables.buttonGrpBorderColor,\n },\n } as WmButtonStyles);\n addStyle('btn-group-first-child', '', {\n root: {\n borderLeftWidth: 0,\n borderTopLeftRadius: 28,\n borderBottomLeftRadius: 28,\n backgroundColor: 'transparent',\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as WmButtonStyles);\n addStyle('btn-group-last-child', '', {\n root: {\n borderRightWidth: 0,\n borderTopRightRadius: 28,\n borderBottomRightRadius: 28,\n backgroundColor: 'transparent',\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as WmButtonStyles);\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAQxF,OAAO,MAAMC,aAAa,GAAG,iBAAiB;AAC9CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAAkC,GAAGL,YAAY,CAAC;IACpDM,IAAI,EAAE;MACJC,aAAa,EAAE,KAAK;MACpBC,SAAS,EAAE,YAAY;MACvBC,UAAU,EAAE,QAAQ;MACpBC,YAAY,EAAE,GAAG;MACjBC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAE,OAAO;MACpBC,WAAW,EAAEV,cAAc,CAACW,oBAAoB;MAChDC,eAAe,EAAEZ,cAAc,CAACa,gBAAgB;MAChDC,QAAQ,EAAE;IACZ,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE;MACRb,IAAI,EAAG;QACLc,KAAK,EAAE,MAAM;QACbC,MAAM,EAAE,EAAE;QACVX,YAAY,EAAE,CAAC;QACfG,WAAW,EAAEV,cAAc,CAACW;MAC9B;IACF;EACJ,CAAC,CAAC;EAGFV,QAAQ,CAAC,iBAAiB,EAAE,EAAE,EAAE;IAC9BE,IAAI,EAAE;MACJgB,cAAc,EAAE,CAAC;MACjBC,iBAAiB,EAAE,CAAC;MACpBC,eAAe,EAAE,CAAC;MAClBC,gBAAgB,EAAE,CAAC;MACnBf,YAAY,EAAE,CAAC;MACfK,eAAe,EAAE,aAAa;MAC9BW,IAAI,EAAE,CAAC;MACPb,WAAW,EAAEV,cAAc,CAACW;IAC9B;EACF,CAAmB,CAAC;EACpBV,QAAQ,CAAC,uBAAuB,EAAE,EAAE,EAAE;IACpCE,IAAI,EAAE;MACJkB,eAAe,EAAE,CAAC;MAClBG,mBAAmB,EAAE,EAAE;MACvBC,sBAAsB,EAAE,EAAE;MAC1Bb,eAAe,EAAE,aAAa;MAC9BF,WAAW,EAAEV,cAAc,CAACW;IAC9B;EACF,CAAmB,CAAC;EACpBV,QAAQ,CAAC,sBAAsB,EAAE,EAAE,EAAE;IACnCE,IAAI,EAAE;MACJmB,gBAAgB,EAAE,CAAC;MACnBI,oBAAoB,EAAE,EAAE;MACxBC,uBAAuB,EAAE,EAAE;MAC3Bf,eAAe,EAAE,aAAa;MAC9BF,WAAW,EAAEV,cAAc,CAACW;IAC9B;EACF,CAAmB,CAAC;EACpBV,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC"}
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","alignSelf","alignItems","borderRadius","borderWidth","borderStyle","borderColor","buttonGrpBorderColor","backgroundColor","buttonGrpBgColor","overflow","text","skeleton","width","height","borderTopWidth","borderBottomWidth","borderLeftWidth","borderRightWidth","flex","borderTopLeftRadius","borderBottomLeftRadius","borderTopRightRadius","borderBottomRightRadius"],"sources":["buttongroup.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 { WmButtonStyles } from '../button/button.styles';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmButtongroupStyles = BaseStyles & {\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-buttongroup';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmButtongroupStyles = defineStyles({\n root: {\n flexDirection: 'row',\n alignSelf: 'flex-start',\n alignItems: 'center',\n borderRadius: 100,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.buttonGrpBorderColor,\n backgroundColor: themeVariables.buttonGrpBgColor,\n overflow: 'hidden'\n }, \n text: {},\n skeleton: {\n root : {\n width: '100%',\n height: 48,\n borderRadius: 4,\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as any as WmSkeletonStyles\n });\n\n\n addStyle('btn-group-child', '', {\n root: {\n borderTopWidth: 0,\n borderBottomWidth: 0,\n borderLeftWidth: 1,\n borderRightWidth: 0,\n borderRadius: 0,\n backgroundColor: 'transparent',\n flex: 1,\n borderColor: themeVariables.buttonGrpBorderColor,\n },\n } as WmButtonStyles);\n addStyle('btn-group-first-child', '', {\n root: {\n borderLeftWidth: 0,\n borderTopLeftRadius: 28,\n borderBottomLeftRadius: 28,\n backgroundColor: 'transparent',\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as WmButtonStyles);\n addStyle('btn-group-last-child', '', {\n root: {\n borderRightWidth: 0,\n borderTopRightRadius: 28,\n borderBottomRightRadius: 28,\n backgroundColor: 'transparent',\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as WmButtonStyles);\n addStyle(DEFAULT_CLASS, '',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c,CAACW;IAC9B;EACF,CAAmB,CAAC;EACpBV,QAAQ,CAAC,sBAAsB,EAAE,EAAE,EAAE;IACnCE,IAAI,EAAE;MACJmB,gBAAgB,EAAE,CAAC;MACnBI,oBAAoB,EAAE,EAAE;MACxBC,uBAAuB,EAAE,EAAE;MAC3Bf,eAAe,EAAE,aAAa;MAC9BF,WAAW,EAAEV,cAAc,CAACW;IAC9B;EACF,CAAmB,CAAC;EACpBV,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["React","BaseComponent","BaseComponentState","WmCustomProps","DEFAULT_CLASS","View","createSkeleton","WmCustomState","WmCustom","constructor","props","renderSkeleton","prop","theme","styles","skeleton","root","width","skeletonwidth","height","skeletonheight","renderWidget","createElement","style","renderview"],"sources":["custom.component.tsx"],"sourcesContent":["import React from 'react';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmCustomProps from './custom.props';\nimport { DEFAULT_CLASS, WmCustomStyles } from './custom.styles';\nimport { DimensionValue, Text, View } from 'react-native';\nimport { createSkeleton } from '../skeleton/skeleton.component';\n\n\nexport class WmCustomState extends BaseComponentState<WmCustomProps> { }\n\nexport default class WmCustom extends BaseComponent<WmCustomProps, WmCustomState, WmCustomStyles> {\n\n constructor(props: WmCustomProps) {\n super(props, DEFAULT_CLASS, new WmCustomProps(), new WmCustomState());\n }\n\n public renderSkeleton(prop: WmCustomProps) {\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.styles.root.width) as DimensionValue,\n height: (this.props.skeletonheight || this.styles.root.height) as DimensionValue\n });\n }\n\n renderWidget(props: WmCustomProps) {\n return (\n <View style={this.styles.root}>\n {props.renderview(props)}\n </View>\n );\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,SAA+BC,IAAI,QAAQ,cAAc;AACzD,SAASC,cAAc,QAAQ,gCAAgC;AAG/D,OAAO,MAAMC,aAAa,SAASL,kBAAkB,CAAgB;AAErE,eAAe,MAAMM,QAAQ,SAASP,aAAa,CAA+C;EAEhGQ,WAAWA,CAACC,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,aAAa,CAAC,CAAC,EAAE,IAAII,aAAa,CAAC,CAAC,CAAC;EACvE;EAEOI,cAAcA,CAACC,IAAmB,EAAE;IACzC,OAAON,cAAc,CAAC,IAAI,CAACO,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC,QAAQ,EAAE;MACtD,GAAG,IAAI,CAACD,MAAM,CAACE,IAAI;MACnBC,KAAK,EAAG,IAAI,CAACP,KAAK,CAACQ,aAAa,IAAI,IAAI,CAACJ,MAAM,CAACE,IAAI,CAACC,KAAwB;MAC7EE,MAAM,EAAG,IAAI,CAACT,KAAK,CAACU,cAAc,IAAI,IAAI,CAACN,MAAM,CAACE,IAAI,CAACG;IACzD,CAAC,CAAC;EACJ;EAEAE,YAAYA,CAACX,KAAoB,EAAE;IACjC,oBACEV,KAAA,CAAAsB,aAAA,CAACjB,IAAI;MAACkB,KAAK,EAAE,IAAI,CAACT,MAAM,CAACE;IAAK,GAC3BN,KAAK,CAACc,UAAU,CAACd,KAAK,CACnB,CAAC;EAEX;AACF"}
1
+ {"version":3,"names":["React","BaseComponent","BaseComponentState","WmCustomProps","DEFAULT_CLASS","View","createSkeleton","WmCustomState","WmCustom","constructor","props","renderSkeleton","prop","theme","styles","skeleton","root","width","skeletonwidth","height","skeletonheight","renderWidget","createElement","style","renderview"],"sources":["custom.component.tsx"],"sourcesContent":["import React from 'react';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmCustomProps from './custom.props';\nimport { DEFAULT_CLASS, WmCustomStyles } from './custom.styles';\nimport { DimensionValue, Text, View } from 'react-native';\nimport { createSkeleton } from '../skeleton/skeleton.component';\n\n\nexport class WmCustomState extends BaseComponentState<WmCustomProps> { }\n\nexport default class WmCustom extends BaseComponent<WmCustomProps, WmCustomState, WmCustomStyles> {\n\n constructor(props: WmCustomProps) {\n super(props, DEFAULT_CLASS, new WmCustomProps(), new WmCustomState());\n }\n\n public renderSkeleton(prop: WmCustomProps) {\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.styles.root.width) as DimensionValue,\n height: (this.props.skeletonheight || this.styles.root.height) as DimensionValue\n });\n }\n\n renderWidget(props: WmCustomProps) {\n return (\n <View style={this.styles.root}>\n {props.renderview(props)}\n </View>\n );\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,SAA+BC,IAAI,QAAQ,cAAc;AACzD,SAASC,cAAc,QAAQ,gCAAgC;AAG/D,OAAO,MAAMC,aAAa,SAASL,kBAAkB,CAAgB;AAErE,eAAe,MAAMM,QAAQ,SAASP,aAAa,CAA+C;EAEhGQ,WAAWA,CAACC,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,aAAa,CAAC,CAAC,EAAE,IAAII,aAAa,CAAC,CAAC,CAAC;EACvE;EAEOI,cAAcA,CAACC,IAAmB,EAAE;IACzC,OAAON,cAAc,CAAC,IAAI,CAACO,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC,QAAQ,EAAE;MACtD,GAAG,IAAI,CAACD,MAAM,CAACE,IAAI;MACnBC,KAAK,EAAG,IAAI,CAACP,KAAK,CAACQ,aAAa,IAAI,IAAI,CAACJ,MAAM,CAACE,IAAI,CAACC,KAAwB;MAC7EE,MAAM,EAAG,IAAI,CAACT,KAAK,CAACU,cAAc,IAAI,IAAI,CAACN,MAAM,CAACE,IAAI,CAACG;IACzD,CAAC,CAAC;EACJ;EAEAE,YAAYA,CAACX,KAAoB,EAAE;IACjC,oBACEV,KAAA,CAAAsB,aAAA,CAACjB,IAAI;MAACkB,KAAK,EAAE,IAAI,CAACT,MAAM,CAACE;IAAK,GAC3BN,KAAK,CAACc,UAAU,CAACd,KAAK,CACnB,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 WmCustomProps extends BaseProps {
6
- constructor() {
7
- super(...arguments);
6
+ constructor(...args) {
7
+ super(...args);
8
8
  _defineProperty(this, "renderview", () => {
9
9
  return null;
10
10
  });
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmCustomProps","constructor","arguments","_defineProperty"],"sources":["custom.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmCustomProps extends BaseProps {\n renderview:Function = () => {return null};\n children? = null as any;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n}"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,aAAa,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,qBAC3B,MAAM;MAAC,OAAO,IAAI;IAAA,CAAC;IAAAA,eAAA,mBAC7B,IAAI;IAAAA,eAAA,yBACU,IAAI;IAAAA,eAAA,wBACL,IAAI;EAAA;AACjC"}
1
+ {"version":3,"names":["BaseProps","WmCustomProps","constructor","args","_defineProperty"],"sources":["custom.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmCustomProps extends BaseProps {\n renderview:Function = () => {return null};\n children? = null as any;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n}"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,aAAa,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,qBAC3B,MAAM;MAAC,OAAO,IAAI;IAAA,CAAC;IAAAA,eAAA,mBAC7B,IAAI;IAAAA,eAAA,yBACU,IAAI;IAAAA,eAAA,wBACL,IAAI;EAAA;AACjC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","skeleton","width","height","borderRadius"],"sources":["custom.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 { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\n\nexport type WmCustomStyles = BaseStyles & {\n skeleton: WmSkeletonStyles;\n}\n\nexport const DEFAULT_CLASS = 'app-custom';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles = defineStyles<WmCustomStyles>({\n root: {},\n text: {},\n skeleton: {\n root: {\n width: 96,\n height: 48,\n borderRadius: 4\n }\n } as WmSkeletonStyles\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,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAa,GAAGL,YAAY,CAAiB;IAC/CM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE;MACNF,IAAI,EAAE;QACJG,KAAK,EAAE,EAAE;QACTC,MAAM,EAAE,EAAE;QACVC,YAAY,EAAE;MAChB;IACF;EACN,CAAC,CAAC;EACFP,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","text","skeleton","width","height","borderRadius"],"sources":["custom.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 { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\n\nexport type WmCustomStyles = BaseStyles & {\n skeleton: WmSkeletonStyles;\n}\n\nexport const DEFAULT_CLASS = 'app-custom';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles = defineStyles<WmCustomStyles>({\n root: {},\n text: {},\n skeleton: {\n root: {\n width: 96,\n height: 48,\n borderRadius: 4\n }\n } as WmSkeletonStyles\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,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAa,GAAGL,YAAY,CAAiB;IAC/CM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE;MACNF,IAAI,EAAE;QACJG,KAAK,EAAE,EAAE;QACTC,MAAM,EAAE,EAAE;QACVC,YAAY,EAAE;MAChB;IACF;EACN,CAAC,CAAC;EACFP,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 { Animated, Easing, Text, Image, View } from 'react-native';
7
7
  import { FontAwesome } from '@expo/vector-icons';
@@ -19,8 +19,8 @@ import { createSkeleton } from '../skeleton/skeleton.component';
19
19
  const ICON_SIZES = new Map([['fa-lg', 24], ['fa-2x', 36], ['fa-3x', 48], ['fa-4x', 60], ['fa-5x', 72]]);
20
20
  const ICON_ROTATTION = new Map([['fa-rotate-90', '90deg'], ['fa-rotate-180', '180deg'], ['fa-rotate-270', '270deg']]);
21
21
  export class WmIconState extends BaseComponentState {
22
- constructor() {
23
- super(...arguments);
22
+ constructor(...args) {
23
+ super(...args);
24
24
  _defineProperty(this, "iconDef", {});
25
25
  }
26
26
  }
@@ -108,10 +108,18 @@ export default class WmIcon extends BaseComponent {
108
108
  return null;
109
109
  }
110
110
  renderSkeleton(props) {
111
+ let skeletonWidth = this.props.skeletonwidth || this.props.iconsize || this.styles.root.width;
112
+ let skeletonHeight = this.props.skeletonheight || this.props.iconsize || this.styles.root.height;
113
+ if (this.props.skeletonheight == "0") {
114
+ skeletonWidth = 0;
115
+ }
116
+ if (this.props.skeletonheight == "0") {
117
+ skeletonHeight = 0;
118
+ }
111
119
  return createSkeleton(this.theme, this.styles.skeleton, {
112
120
  ...this.styles.root,
113
- width: this.props.skeletonwidth || this.props.iconsize || this.styles.root.width,
114
- height: this.props.skeletonheight || this.props.iconsize || this.styles.root.height
121
+ width: skeletonWidth,
122
+ height: skeletonHeight
115
123
  });
116
124
  }
117
125
  getElementToShow(props, iconSrc) {
@@ -134,7 +142,7 @@ export default class WmIcon extends BaseComponent {
134
142
  elementToshow = /*#__PURE__*/React.createElement(Image, {
135
143
  testID: this.getTestId('icon'),
136
144
  style: {
137
- margin: iconmargin ?? 0,
145
+ margin: iconmargin !== null && iconmargin !== void 0 ? iconmargin : 0,
138
146
  height: height,
139
147
  width: width
140
148
  },
@@ -179,11 +187,11 @@ export default class WmIcon extends BaseComponent {
179
187
  const iconSize = props.iconsize || this.styles.root.fontSize || this.styles.text.fontSize || iconDef.size;
180
188
  if (props.show && iconDef && iconDef.isFontAwesome) {
181
189
  //@ts-ignore type information is not matching
182
- iconJsx = /*#__PURE__*/React.createElement(FontAwesome, {
190
+ iconJsx = /*#__PURE__*/React.createElement(FontAwesome, _extends({
183
191
  name: customIcon ? '' : iconDef.type,
184
192
  style: style,
185
193
  size: iconSize
186
- }, customIcon);
194
+ }, this.getTestProps('icon')), customIcon);
187
195
  } else if (props.show && iconDef) {
188
196
  var _this$styles$icon;
189
197
  let WMCustomIcon = WavIcon;
@@ -195,11 +203,11 @@ export default class WmIcon extends BaseComponent {
195
203
  return null;
196
204
  }
197
205
  //@ts-ignore type information is not matching
198
- iconJsx = WMCustomIcon ? /*#__PURE__*/React.createElement(WMCustomIcon, {
206
+ iconJsx = WMCustomIcon ? /*#__PURE__*/React.createElement(WMCustomIcon, _extends({
199
207
  name: customIcon ? '' : iconDef.type,
200
208
  style: style,
201
209
  size: iconSize
202
- }, customIcon) : null;
210
+ }, this.getTestProps('icon')), customIcon) : null;
203
211
  }
204
212
  if (iconJsx && iconDef.animation === 'spin') {
205
213
  const rotate = this.spinValue.interpolate({
@@ -230,7 +238,9 @@ export default class WmIcon extends BaseComponent {
230
238
  } else {
231
239
  this.stopAnimation = true;
232
240
  }
233
- return /*#__PURE__*/React.createElement(View, getAccessibilityProps(AccessibilityWidgetType.ICON, this.props), iconJsx);
241
+ return /*#__PURE__*/React.createElement(View
242
+ // {...getAccessibilityProps(AccessibilityWidgetType.ICON, this.props)}
243
+ , null, iconJsx);
234
244
  }
235
245
  renderWidget(props) {
236
246
  let icon = this.renderIcon(props);
@@ -238,12 +248,18 @@ export default class WmIcon extends BaseComponent {
238
248
  return /*#__PURE__*/React.createElement(Tappable, _extends({
239
249
  target: this,
240
250
  rippleColor: this.styles.root.rippleColor
241
- }, this.getTestPropsForAction()), /*#__PURE__*/React.createElement(Animatedview, {
251
+ }, this.getTestPropsForAction(), {
252
+ accessibilityProps: {
253
+ ...getAccessibilityProps(AccessibilityWidgetType.ICON, props)
254
+ }
255
+ }), /*#__PURE__*/React.createElement(Animatedview, {
242
256
  entryanimation: props.animation,
257
+ delay: props.animationdelay,
243
258
  style: this.styles.root,
244
259
  iterationCount: iterationCount
245
260
  }, this._background, props.iconposition === 'left' && icon || null, props.caption && /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel('caption'), {
246
- style: this.styles.text
261
+ style: this.styles.text,
262
+ accessibilityRole: props !== null && props !== void 0 && props.accessibilityrole ? props === null || props === void 0 ? void 0 : props.accessibilityrole : 'text'
247
263
  }), props.caption) || null, props.iconposition === 'right' && icon || null));
248
264
  }
249
265
  }