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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (704) hide show
  1. app-rn-runtime/actions/base-action.js.map +1 -1
  2. app-rn-runtime/actions/index.js.map +1 -1
  3. app-rn-runtime/actions/login-action.js.map +1 -1
  4. app-rn-runtime/actions/logout-action.js.map +1 -1
  5. app-rn-runtime/actions/navigation-action.js +4 -4
  6. app-rn-runtime/actions/navigation-action.js.map +1 -1
  7. app-rn-runtime/actions/notification-action.js +3 -4
  8. app-rn-runtime/actions/notification-action.js.map +1 -1
  9. app-rn-runtime/actions/timer-action.js +2 -2
  10. app-rn-runtime/actions/timer-action.js.map +1 -1
  11. app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.component.js.map +1 -1
  12. app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.props.js +4 -4
  13. app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.props.js.map +1 -1
  14. app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +1 -1
  15. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.component.js.map +1 -1
  16. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.props.js +4 -4
  17. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.props.js.map +1 -1
  18. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +1 -1
  19. app-rn-runtime/components/advanced/carousel/carousel.component.js +31 -22
  20. app-rn-runtime/components/advanced/carousel/carousel.component.js.map +1 -1
  21. app-rn-runtime/components/advanced/carousel/carousel.props.js +4 -4
  22. app-rn-runtime/components/advanced/carousel/carousel.props.js.map +1 -1
  23. app-rn-runtime/components/advanced/carousel/carousel.styles.js.map +1 -1
  24. app-rn-runtime/components/advanced/login/login.component.js +4 -4
  25. app-rn-runtime/components/advanced/login/login.component.js.map +1 -1
  26. app-rn-runtime/components/advanced/login/login.props.js +4 -4
  27. app-rn-runtime/components/advanced/login/login.props.js.map +1 -1
  28. app-rn-runtime/components/advanced/login/login.styles.js.map +1 -1
  29. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js +4 -4
  30. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -1
  31. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.props.js +4 -4
  32. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.props.js.map +1 -1
  33. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +1 -1
  34. app-rn-runtime/components/advanced/webview/webview.component.js +12 -8
  35. app-rn-runtime/components/advanced/webview/webview.component.js.map +1 -1
  36. app-rn-runtime/components/advanced/webview/webview.props.js +4 -4
  37. app-rn-runtime/components/advanced/webview/webview.props.js.map +1 -1
  38. app-rn-runtime/components/advanced/webview/webview.styles.js.map +1 -1
  39. app-rn-runtime/components/basic/anchor/anchor.component.js +1 -0
  40. app-rn-runtime/components/basic/anchor/anchor.component.js.map +1 -1
  41. app-rn-runtime/components/basic/anchor/anchor.props.js +5 -4
  42. app-rn-runtime/components/basic/anchor/anchor.props.js.map +1 -1
  43. app-rn-runtime/components/basic/anchor/anchor.styles.js.map +1 -1
  44. app-rn-runtime/components/basic/animatedview.component.js +4 -2
  45. app-rn-runtime/components/basic/animatedview.component.js.map +1 -1
  46. app-rn-runtime/components/basic/audio/audio.component.js +8 -9
  47. app-rn-runtime/components/basic/audio/audio.component.js.map +1 -1
  48. app-rn-runtime/components/basic/audio/audio.props.js +4 -4
  49. app-rn-runtime/components/basic/audio/audio.props.js.map +1 -1
  50. app-rn-runtime/components/basic/audio/audio.styles.js.map +1 -1
  51. app-rn-runtime/components/basic/button/button.component.js +18 -14
  52. app-rn-runtime/components/basic/button/button.component.js.map +1 -1
  53. app-rn-runtime/components/basic/button/button.props.js +5 -4
  54. app-rn-runtime/components/basic/button/button.props.js.map +1 -1
  55. app-rn-runtime/components/basic/button/button.styles.js +2 -4
  56. app-rn-runtime/components/basic/button/button.styles.js.map +1 -1
  57. app-rn-runtime/components/basic/buttongroup/buttongroup.component.js.map +1 -1
  58. app-rn-runtime/components/basic/buttongroup/buttongroup.props.js +4 -4
  59. app-rn-runtime/components/basic/buttongroup/buttongroup.props.js.map +1 -1
  60. app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js.map +1 -1
  61. app-rn-runtime/components/basic/custom/custom.component.js.map +1 -1
  62. app-rn-runtime/components/basic/custom/custom.props.js +4 -4
  63. app-rn-runtime/components/basic/custom/custom.props.js.map +1 -1
  64. app-rn-runtime/components/basic/custom/custom.styles.js.map +1 -1
  65. app-rn-runtime/components/basic/icon/icon.component.js +6 -5
  66. app-rn-runtime/components/basic/icon/icon.component.js.map +1 -1
  67. app-rn-runtime/components/basic/icon/icon.props.js +5 -4
  68. app-rn-runtime/components/basic/icon/icon.props.js.map +1 -1
  69. app-rn-runtime/components/basic/icon/icon.styles.js.map +1 -1
  70. app-rn-runtime/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +1 -1
  71. app-rn-runtime/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +1 -1
  72. app-rn-runtime/components/basic/icon/wavicon/wavicon.component.js.map +1 -1
  73. app-rn-runtime/components/basic/label/label.component.js +11 -9
  74. app-rn-runtime/components/basic/label/label.component.js.map +1 -1
  75. app-rn-runtime/components/basic/label/label.props.js +5 -4
  76. app-rn-runtime/components/basic/label/label.props.js.map +1 -1
  77. app-rn-runtime/components/basic/label/label.styles.js.map +1 -1
  78. app-rn-runtime/components/basic/lottie/lottie.component.js +9 -10
  79. app-rn-runtime/components/basic/lottie/lottie.component.js.map +1 -1
  80. app-rn-runtime/components/basic/lottie/lottie.props.js +4 -4
  81. app-rn-runtime/components/basic/lottie/lottie.props.js.map +1 -1
  82. app-rn-runtime/components/basic/lottie/lottie.styles.js +5 -1
  83. app-rn-runtime/components/basic/lottie/lottie.styles.js.map +1 -1
  84. app-rn-runtime/components/basic/message/message.component.js +3 -2
  85. app-rn-runtime/components/basic/message/message.component.js.map +1 -1
  86. app-rn-runtime/components/basic/message/message.props.js +5 -4
  87. app-rn-runtime/components/basic/message/message.props.js.map +1 -1
  88. app-rn-runtime/components/basic/message/message.styles.js +1 -2
  89. app-rn-runtime/components/basic/message/message.styles.js.map +1 -1
  90. app-rn-runtime/components/basic/modal/modal.component.js.map +1 -1
  91. app-rn-runtime/components/basic/modal/modal.props.js +4 -4
  92. app-rn-runtime/components/basic/modal/modal.props.js.map +1 -1
  93. app-rn-runtime/components/basic/modal/modal.styles.js.map +1 -1
  94. app-rn-runtime/components/basic/picture/picture.component.js +5 -4
  95. app-rn-runtime/components/basic/picture/picture.component.js.map +1 -1
  96. app-rn-runtime/components/basic/picture/picture.props.js +5 -4
  97. app-rn-runtime/components/basic/picture/picture.props.js.map +1 -1
  98. app-rn-runtime/components/basic/picture/picture.styles.js.map +1 -1
  99. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js +23 -1
  100. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +1 -1
  101. app-rn-runtime/components/basic/progress-bar/progress-bar.props.js +4 -4
  102. app-rn-runtime/components/basic/progress-bar/progress-bar.props.js.map +1 -1
  103. app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js.map +1 -1
  104. app-rn-runtime/components/basic/progress-circle/progress-circle.component.js +4 -4
  105. app-rn-runtime/components/basic/progress-circle/progress-circle.component.js.map +1 -1
  106. app-rn-runtime/components/basic/progress-circle/progress-circle.props.js +4 -4
  107. app-rn-runtime/components/basic/progress-circle/progress-circle.props.js.map +1 -1
  108. app-rn-runtime/components/basic/progress-circle/progress-circle.styles.js.map +1 -1
  109. app-rn-runtime/components/basic/search/local-data-provider.js +2 -2
  110. app-rn-runtime/components/basic/search/local-data-provider.js.map +1 -1
  111. app-rn-runtime/components/basic/search/search.component.js +16 -22
  112. app-rn-runtime/components/basic/search/search.component.js.map +1 -1
  113. app-rn-runtime/components/basic/search/search.props.js +4 -4
  114. app-rn-runtime/components/basic/search/search.props.js.map +1 -1
  115. app-rn-runtime/components/basic/search/search.styles.js.map +1 -1
  116. app-rn-runtime/components/basic/skeleton/skeleton.component.js +5 -5
  117. app-rn-runtime/components/basic/skeleton/skeleton.component.js.map +1 -1
  118. app-rn-runtime/components/basic/skeleton/skeleton.props.js.map +1 -1
  119. app-rn-runtime/components/basic/skeleton/skeleton.styles.js.map +1 -1
  120. app-rn-runtime/components/basic/spinner/spinner.component.js +2 -2
  121. app-rn-runtime/components/basic/spinner/spinner.component.js.map +1 -1
  122. app-rn-runtime/components/basic/spinner/spinner.props.js +4 -4
  123. app-rn-runtime/components/basic/spinner/spinner.props.js.map +1 -1
  124. app-rn-runtime/components/basic/spinner/spinner.styles.js.map +1 -1
  125. app-rn-runtime/components/basic/tooltip/tooltip.component.js +79 -0
  126. app-rn-runtime/components/basic/tooltip/tooltip.component.js.map +1 -0
  127. app-rn-runtime/components/basic/tooltip/tooltip.props.js +18 -0
  128. app-rn-runtime/components/basic/tooltip/tooltip.props.js.map +1 -0
  129. app-rn-runtime/components/basic/tooltip/tooltip.styles.js +49 -0
  130. app-rn-runtime/components/basic/tooltip/tooltip.styles.js.map +1 -0
  131. app-rn-runtime/components/basic/video/video.component.js +11 -8
  132. app-rn-runtime/components/basic/video/video.component.js.map +1 -1
  133. app-rn-runtime/components/basic/video/video.props.js +4 -4
  134. app-rn-runtime/components/basic/video/video.props.js.map +1 -1
  135. app-rn-runtime/components/basic/video/video.styles.js.map +1 -1
  136. app-rn-runtime/components/chart/area-chart/area-chart.component.js +19 -9
  137. app-rn-runtime/components/chart/area-chart/area-chart.component.js.map +1 -1
  138. app-rn-runtime/components/chart/area-chart/area-chart.props.js +4 -4
  139. app-rn-runtime/components/chart/area-chart/area-chart.props.js.map +1 -1
  140. app-rn-runtime/components/chart/area-chart/area-chart.styles.js.map +1 -1
  141. app-rn-runtime/components/chart/bar-chart/bar-chart.component.js +21 -10
  142. app-rn-runtime/components/chart/bar-chart/bar-chart.component.js.map +1 -1
  143. app-rn-runtime/components/chart/bar-chart/bar-chart.props.js +4 -4
  144. app-rn-runtime/components/chart/bar-chart/bar-chart.props.js.map +1 -1
  145. app-rn-runtime/components/chart/bar-chart/bar-chart.styles.js.map +1 -1
  146. app-rn-runtime/components/chart/basechart.component.js +90 -55
  147. app-rn-runtime/components/chart/basechart.component.js.map +1 -1
  148. app-rn-runtime/components/chart/basechart.props.js +4 -11
  149. app-rn-runtime/components/chart/basechart.props.js.map +1 -1
  150. app-rn-runtime/components/chart/basechart.styles.js +27 -10
  151. app-rn-runtime/components/chart/basechart.styles.js.map +1 -1
  152. app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js +19 -11
  153. app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js.map +1 -1
  154. app-rn-runtime/components/chart/bubble-chart/bubble-chart.props.js +4 -4
  155. app-rn-runtime/components/chart/bubble-chart/bubble-chart.props.js.map +1 -1
  156. app-rn-runtime/components/chart/bubble-chart/bubble-chart.styles.js.map +1 -1
  157. app-rn-runtime/components/chart/column-chart/column-chart.component.js.map +1 -1
  158. app-rn-runtime/components/chart/column-chart/column-chart.props.js.map +1 -1
  159. app-rn-runtime/components/chart/column-chart/column-chart.styles.js.map +1 -1
  160. app-rn-runtime/components/chart/donut-chart/donut-chart.component.js.map +1 -1
  161. app-rn-runtime/components/chart/donut-chart/donut-chart.props.js +4 -4
  162. app-rn-runtime/components/chart/donut-chart/donut-chart.props.js.map +1 -1
  163. app-rn-runtime/components/chart/donut-chart/donut-chart.styles.js.map +1 -1
  164. app-rn-runtime/components/chart/legend/legend.component.js.map +1 -1
  165. app-rn-runtime/components/chart/line-chart/line-chart.component.js +16 -4
  166. app-rn-runtime/components/chart/line-chart/line-chart.component.js.map +1 -1
  167. app-rn-runtime/components/chart/line-chart/line-chart.props.js +4 -4
  168. app-rn-runtime/components/chart/line-chart/line-chart.props.js.map +1 -1
  169. app-rn-runtime/components/chart/line-chart/line-chart.styles.js.map +1 -1
  170. app-rn-runtime/components/chart/pie-chart/pie-chart.component.js +19 -11
  171. app-rn-runtime/components/chart/pie-chart/pie-chart.component.js.map +1 -1
  172. app-rn-runtime/components/chart/pie-chart/pie-chart.props.js +4 -4
  173. app-rn-runtime/components/chart/pie-chart/pie-chart.props.js.map +1 -1
  174. app-rn-runtime/components/chart/pie-chart/pie-chart.styles.js.map +1 -1
  175. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js +79 -41
  176. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js.map +1 -1
  177. app-rn-runtime/components/chart/stack-chart/stack-chart.props.js +5 -5
  178. app-rn-runtime/components/chart/stack-chart/stack-chart.props.js.map +1 -1
  179. app-rn-runtime/components/chart/stack-chart/stack-chart.styles.js.map +1 -1
  180. app-rn-runtime/components/chart/staticdata.js.map +1 -1
  181. app-rn-runtime/components/chart/theme/chart.theme.js.map +1 -1
  182. app-rn-runtime/components/container/accordion/accordion.component.js +11 -17
  183. app-rn-runtime/components/container/accordion/accordion.component.js.map +1 -1
  184. app-rn-runtime/components/container/accordion/accordion.props.js +4 -4
  185. app-rn-runtime/components/container/accordion/accordion.props.js.map +1 -1
  186. app-rn-runtime/components/container/accordion/accordion.styles.js.map +1 -1
  187. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +4 -4
  188. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -1
  189. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.props.js +4 -4
  190. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -1
  191. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.styles.js.map +1 -1
  192. app-rn-runtime/components/container/container.component.js +5 -4
  193. app-rn-runtime/components/container/container.component.js.map +1 -1
  194. app-rn-runtime/components/container/container.props.js +5 -4
  195. app-rn-runtime/components/container/container.props.js.map +1 -1
  196. app-rn-runtime/components/container/container.styles.js.map +1 -1
  197. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -1
  198. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +4 -4
  199. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -1
  200. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +1 -1
  201. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -1
  202. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.props.js +4 -4
  203. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -1
  204. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.styles.js.map +1 -1
  205. app-rn-runtime/components/container/layoutgrid/layoutgrid.component.js.map +1 -1
  206. app-rn-runtime/components/container/layoutgrid/layoutgrid.props.js +4 -4
  207. app-rn-runtime/components/container/layoutgrid/layoutgrid.props.js.map +1 -1
  208. app-rn-runtime/components/container/layoutgrid/layoutgrid.styles.js.map +1 -1
  209. app-rn-runtime/components/container/linearlayout/linearlayout.component.js.map +1 -1
  210. app-rn-runtime/components/container/linearlayout/linearlayout.props.js +4 -4
  211. app-rn-runtime/components/container/linearlayout/linearlayout.props.js.map +1 -1
  212. app-rn-runtime/components/container/linearlayout/linearlayout.styles.js.map +1 -1
  213. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +1 -1
  214. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +4 -4
  215. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -1
  216. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +1 -1
  217. app-rn-runtime/components/container/panel/collapsible-pane.component.js.map +1 -1
  218. app-rn-runtime/components/container/panel/panel-content/panel-content.component.js.map +1 -1
  219. app-rn-runtime/components/container/panel/panel-content/panel-content.props.js +4 -4
  220. app-rn-runtime/components/container/panel/panel-content/panel-content.props.js.map +1 -1
  221. app-rn-runtime/components/container/panel/panel-content/panel-content.styles.js.map +1 -1
  222. app-rn-runtime/components/container/panel/panel-footer/panel-footer.component.js.map +1 -1
  223. app-rn-runtime/components/container/panel/panel-footer/panel-footer.props.js +4 -4
  224. app-rn-runtime/components/container/panel/panel-footer/panel-footer.props.js.map +1 -1
  225. app-rn-runtime/components/container/panel/panel-footer/panel-footer.styles.js.map +1 -1
  226. app-rn-runtime/components/container/panel/panel.component.js +5 -5
  227. app-rn-runtime/components/container/panel/panel.component.js.map +1 -1
  228. app-rn-runtime/components/container/panel/panel.props.js +4 -4
  229. app-rn-runtime/components/container/panel/panel.props.js.map +1 -1
  230. app-rn-runtime/components/container/panel/panel.styles.js.map +1 -1
  231. app-rn-runtime/components/container/partial-host.component.js +6 -6
  232. app-rn-runtime/components/container/partial-host.component.js.map +1 -1
  233. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +10 -9
  234. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +1 -1
  235. app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js +4 -4
  236. app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js.map +1 -1
  237. app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js +1 -1
  238. app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js.map +1 -1
  239. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js +10 -7
  240. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +1 -1
  241. app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js +4 -4
  242. app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js.map +1 -1
  243. app-rn-runtime/components/container/tabs/tabpane/tabpane.styles.js.map +1 -1
  244. app-rn-runtime/components/container/tabs/tabs.component.js +20 -17
  245. app-rn-runtime/components/container/tabs/tabs.component.js.map +1 -1
  246. app-rn-runtime/components/container/tabs/tabs.props.js +4 -4
  247. app-rn-runtime/components/container/tabs/tabs.props.js.map +1 -1
  248. app-rn-runtime/components/container/tabs/tabs.styles.js.map +1 -1
  249. app-rn-runtime/components/container/tile/tile.component.js +1 -0
  250. app-rn-runtime/components/container/tile/tile.component.js.map +1 -1
  251. app-rn-runtime/components/container/tile/tile.props.js +5 -4
  252. app-rn-runtime/components/container/tile/tile.props.js.map +1 -1
  253. app-rn-runtime/components/container/tile/tile.styles.js.map +1 -1
  254. app-rn-runtime/components/container/wizard/wizard.component.js +12 -12
  255. app-rn-runtime/components/container/wizard/wizard.component.js.map +1 -1
  256. app-rn-runtime/components/container/wizard/wizard.props.js +5 -4
  257. app-rn-runtime/components/container/wizard/wizard.props.js.map +1 -1
  258. app-rn-runtime/components/container/wizard/wizard.styles.js +3 -1
  259. app-rn-runtime/components/container/wizard/wizard.styles.js.map +1 -1
  260. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js +5 -5
  261. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -1
  262. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js +4 -4
  263. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -1
  264. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.styles.js +1 -1
  265. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.styles.js.map +1 -1
  266. app-rn-runtime/components/data/card/card-content/card-content.component.js +4 -4
  267. app-rn-runtime/components/data/card/card-content/card-content.component.js.map +1 -1
  268. app-rn-runtime/components/data/card/card-content/card-content.props.js +4 -4
  269. app-rn-runtime/components/data/card/card-content/card-content.props.js.map +1 -1
  270. app-rn-runtime/components/data/card/card-content/card-content.styles.js.map +1 -1
  271. app-rn-runtime/components/data/card/card-footer/card-footer.component.js.map +1 -1
  272. app-rn-runtime/components/data/card/card-footer/card-footer.props.js +4 -4
  273. app-rn-runtime/components/data/card/card-footer/card-footer.props.js.map +1 -1
  274. app-rn-runtime/components/data/card/card-footer/card-footer.styles.js.map +1 -1
  275. app-rn-runtime/components/data/card/card.component.js.map +1 -1
  276. app-rn-runtime/components/data/card/card.props.js +4 -4
  277. app-rn-runtime/components/data/card/card.props.js.map +1 -1
  278. app-rn-runtime/components/data/card/card.styles.js.map +1 -1
  279. app-rn-runtime/components/data/form/form-action/form-action.component.js +2 -2
  280. app-rn-runtime/components/data/form/form-action/form-action.component.js.map +1 -1
  281. app-rn-runtime/components/data/form/form-action/form-action.props.js +4 -4
  282. app-rn-runtime/components/data/form/form-action/form-action.props.js.map +1 -1
  283. app-rn-runtime/components/data/form/form-action/form-action.styles.js.map +1 -1
  284. app-rn-runtime/components/data/form/form-body/form-body.component.js.map +1 -1
  285. app-rn-runtime/components/data/form/form-body/form-body.props.js +4 -4
  286. app-rn-runtime/components/data/form/form-body/form-body.props.js.map +1 -1
  287. app-rn-runtime/components/data/form/form-body/form-body.styles.js.map +1 -1
  288. app-rn-runtime/components/data/form/form-field/form-field.component.js +12 -9
  289. app-rn-runtime/components/data/form/form-field/form-field.component.js.map +1 -1
  290. app-rn-runtime/components/data/form/form-field/form-field.props.js +5 -4
  291. app-rn-runtime/components/data/form/form-field/form-field.props.js.map +1 -1
  292. app-rn-runtime/components/data/form/form-field/form-field.styles.js.map +1 -1
  293. app-rn-runtime/components/data/form/form-footer/form-footer.component.js.map +1 -1
  294. app-rn-runtime/components/data/form/form-footer/form-footer.props.js +4 -4
  295. app-rn-runtime/components/data/form/form-footer/form-footer.props.js.map +1 -1
  296. app-rn-runtime/components/data/form/form-footer/form-footer.styles.js.map +1 -1
  297. app-rn-runtime/components/data/form/form.component.js +11 -11
  298. app-rn-runtime/components/data/form/form.component.js.map +1 -1
  299. app-rn-runtime/components/data/form/form.props.js +4 -4
  300. app-rn-runtime/components/data/form/form.props.js.map +1 -1
  301. app-rn-runtime/components/data/form/form.styles.js.map +1 -1
  302. app-rn-runtime/components/data/list/list-action-template/list-action-template.component.js +28 -0
  303. app-rn-runtime/components/data/list/list-action-template/list-action-template.component.js.map +1 -0
  304. app-rn-runtime/components/data/list/list-action-template/list-action-template.props.js +12 -0
  305. app-rn-runtime/components/data/list/list-action-template/list-action-template.props.js.map +1 -0
  306. app-rn-runtime/components/data/list/list-action-template/list-action-template.styles.js +36 -0
  307. app-rn-runtime/components/data/list/list-action-template/list-action-template.styles.js.map +1 -0
  308. app-rn-runtime/components/data/list/list-template/list-template.component.js.map +1 -1
  309. app-rn-runtime/components/data/list/list-template/list-template.props.js +4 -4
  310. app-rn-runtime/components/data/list/list-template/list-template.props.js.map +1 -1
  311. app-rn-runtime/components/data/list/list-template/list-template.styles.js +0 -1
  312. app-rn-runtime/components/data/list/list-template/list-template.styles.js.map +1 -1
  313. app-rn-runtime/components/data/list/list.component.js +63 -38
  314. app-rn-runtime/components/data/list/list.component.js.map +1 -1
  315. app-rn-runtime/components/data/list/list.props.js +5 -4
  316. app-rn-runtime/components/data/list/list.props.js.map +1 -1
  317. app-rn-runtime/components/data/list/list.styles.js +2 -2
  318. app-rn-runtime/components/data/list/list.styles.js.map +1 -1
  319. app-rn-runtime/components/data/liveform/liveform.component.js +5 -5
  320. app-rn-runtime/components/data/liveform/liveform.component.js.map +1 -1
  321. app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js +2 -2
  322. app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js.map +1 -1
  323. app-rn-runtime/components/device/barcodescanner/barcodescanner.props.js +4 -4
  324. app-rn-runtime/components/device/barcodescanner/barcodescanner.props.js.map +1 -1
  325. app-rn-runtime/components/device/barcodescanner/barcodescanner.styles.js.map +1 -1
  326. app-rn-runtime/components/device/camera/camera.component.js +2 -2
  327. app-rn-runtime/components/device/camera/camera.component.js.map +1 -1
  328. app-rn-runtime/components/device/camera/camera.props.js +4 -4
  329. app-rn-runtime/components/device/camera/camera.props.js.map +1 -1
  330. app-rn-runtime/components/device/camera/camera.styles.js.map +1 -1
  331. app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js +3 -2
  332. app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js.map +1 -1
  333. app-rn-runtime/components/dialogs/alertdialog/alertdialog.props.js +5 -4
  334. app-rn-runtime/components/dialogs/alertdialog/alertdialog.props.js.map +1 -1
  335. app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -1
  336. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js +3 -2
  337. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -1
  338. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.props.js +5 -4
  339. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -1
  340. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -1
  341. app-rn-runtime/components/dialogs/dialog/dialog.component.js +5 -4
  342. app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +1 -1
  343. app-rn-runtime/components/dialogs/dialog/dialog.props.js +5 -4
  344. app-rn-runtime/components/dialogs/dialog/dialog.props.js.map +1 -1
  345. app-rn-runtime/components/dialogs/dialog/dialog.styles.js.map +1 -1
  346. app-rn-runtime/components/dialogs/dialogactions/dialogactions.component.js +2 -2
  347. app-rn-runtime/components/dialogs/dialogactions/dialogactions.component.js.map +1 -1
  348. app-rn-runtime/components/dialogs/dialogactions/dialogactions.props.js +4 -4
  349. app-rn-runtime/components/dialogs/dialogactions/dialogactions.props.js.map +1 -1
  350. app-rn-runtime/components/dialogs/dialogactions/dialogactions.styles.js.map +1 -1
  351. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js +1 -1
  352. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -1
  353. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.props.js +4 -4
  354. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -1
  355. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.styles.js.map +1 -1
  356. app-rn-runtime/components/input/basedataset/basedataset.component.js +9 -14
  357. app-rn-runtime/components/input/basedataset/basedataset.component.js.map +1 -1
  358. app-rn-runtime/components/input/basedataset/basedataset.props.js +4 -4
  359. app-rn-runtime/components/input/basedataset/basedataset.props.js.map +1 -1
  360. app-rn-runtime/components/input/basedataset/basedataset.styles.js.map +1 -1
  361. app-rn-runtime/components/input/baseinput/baseinput.component.js +8 -9
  362. app-rn-runtime/components/input/baseinput/baseinput.component.js.map +1 -1
  363. app-rn-runtime/components/input/baseinput/baseinput.props.js +4 -4
  364. app-rn-runtime/components/input/baseinput/baseinput.props.js.map +1 -1
  365. app-rn-runtime/components/input/baseinput/baseinput.styles.js.map +1 -1
  366. app-rn-runtime/components/input/basenumber/basenumber.component.js +6 -9
  367. app-rn-runtime/components/input/basenumber/basenumber.component.js.map +1 -1
  368. app-rn-runtime/components/input/basenumber/basenumber.props.js +4 -4
  369. app-rn-runtime/components/input/basenumber/basenumber.props.js.map +1 -1
  370. app-rn-runtime/components/input/basenumber/basenumber.styles.js.map +1 -1
  371. app-rn-runtime/components/input/calendar/calendar.component.js +5 -5
  372. app-rn-runtime/components/input/calendar/calendar.component.js.map +1 -1
  373. app-rn-runtime/components/input/calendar/calendar.props.js +4 -4
  374. app-rn-runtime/components/input/calendar/calendar.props.js.map +1 -1
  375. app-rn-runtime/components/input/calendar/calendar.styles.js.map +1 -1
  376. app-rn-runtime/components/input/calendar/views/month-view.js +6 -10
  377. app-rn-runtime/components/input/calendar/views/month-view.js.map +1 -1
  378. app-rn-runtime/components/input/calendar/views/month-view.styles.js.map +1 -1
  379. app-rn-runtime/components/input/checkbox/checkbox.component.js +4 -4
  380. app-rn-runtime/components/input/checkbox/checkbox.component.js.map +1 -1
  381. app-rn-runtime/components/input/checkbox/checkbox.props.js +4 -4
  382. app-rn-runtime/components/input/checkbox/checkbox.props.js.map +1 -1
  383. app-rn-runtime/components/input/checkbox/checkbox.styles.js.map +1 -1
  384. app-rn-runtime/components/input/checkboxset/checkboxset.component.js +17 -8
  385. app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +1 -1
  386. app-rn-runtime/components/input/checkboxset/checkboxset.props.js +10 -4
  387. app-rn-runtime/components/input/checkboxset/checkboxset.props.js.map +1 -1
  388. app-rn-runtime/components/input/checkboxset/checkboxset.styles.js +2 -0
  389. app-rn-runtime/components/input/checkboxset/checkboxset.styles.js.map +1 -1
  390. app-rn-runtime/components/input/chips/chips.component.js +5 -5
  391. app-rn-runtime/components/input/chips/chips.component.js.map +1 -1
  392. app-rn-runtime/components/input/chips/chips.props.js +4 -4
  393. app-rn-runtime/components/input/chips/chips.props.js.map +1 -1
  394. app-rn-runtime/components/input/chips/chips.styles.js.map +1 -1
  395. app-rn-runtime/components/input/composite/composite.component.js.map +1 -1
  396. app-rn-runtime/components/input/composite/composite.props.js +4 -4
  397. app-rn-runtime/components/input/composite/composite.props.js.map +1 -1
  398. app-rn-runtime/components/input/composite/composite.styles.js.map +1 -1
  399. app-rn-runtime/components/input/currency/currency.component.js +4 -4
  400. app-rn-runtime/components/input/currency/currency.component.js.map +1 -1
  401. app-rn-runtime/components/input/currency/currency.props.js +4 -4
  402. app-rn-runtime/components/input/currency/currency.props.js.map +1 -1
  403. app-rn-runtime/components/input/currency/currency.styles.js.map +1 -1
  404. app-rn-runtime/components/input/epoch/base-datetime.component.js +90 -16
  405. app-rn-runtime/components/input/epoch/base-datetime.component.js.map +1 -1
  406. app-rn-runtime/components/input/epoch/date/date.component.js.map +1 -1
  407. app-rn-runtime/components/input/epoch/date/date.props.js.map +1 -1
  408. app-rn-runtime/components/input/epoch/date/date.styles.js.map +1 -1
  409. app-rn-runtime/components/input/epoch/date-picker.component.js +2 -2
  410. app-rn-runtime/components/input/epoch/date-picker.component.js.map +1 -1
  411. app-rn-runtime/components/input/epoch/datetime/datetime.component.js.map +1 -1
  412. app-rn-runtime/components/input/epoch/datetime/datetime.props.js +6 -4
  413. app-rn-runtime/components/input/epoch/datetime/datetime.props.js.map +1 -1
  414. app-rn-runtime/components/input/epoch/datetime/datetime.styles.js.map +1 -1
  415. app-rn-runtime/components/input/epoch/time/time.component.js.map +1 -1
  416. app-rn-runtime/components/input/epoch/time/time.props.js +2 -2
  417. app-rn-runtime/components/input/epoch/time/time.props.js.map +1 -1
  418. app-rn-runtime/components/input/epoch/time/time.styles.js.map +1 -1
  419. app-rn-runtime/components/input/epoch/wheel-date-picker.component.js +87 -0
  420. app-rn-runtime/components/input/epoch/wheel-date-picker.component.js.map +1 -0
  421. app-rn-runtime/components/input/epoch/wheel-time-picker.component.js +107 -0
  422. app-rn-runtime/components/input/epoch/wheel-time-picker.component.js.map +1 -0
  423. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.component.js +91 -0
  424. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -0
  425. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
  426. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -0
  427. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.styles.js +55 -0
  428. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +1 -0
  429. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +72 -0
  430. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -0
  431. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +15 -0
  432. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -0
  433. app-rn-runtime/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +66 -0
  434. app-rn-runtime/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +1 -0
  435. app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +74 -0
  436. app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +1 -0
  437. app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +16 -0
  438. app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -0
  439. app-rn-runtime/components/input/fileupload/fileupload.component.js +4 -4
  440. app-rn-runtime/components/input/fileupload/fileupload.component.js.map +1 -1
  441. app-rn-runtime/components/input/fileupload/fileupload.props.js +4 -4
  442. app-rn-runtime/components/input/fileupload/fileupload.props.js.map +1 -1
  443. app-rn-runtime/components/input/fileupload/fileupload.styles.js.map +1 -1
  444. app-rn-runtime/components/input/number/number.component.js +4 -4
  445. app-rn-runtime/components/input/number/number.component.js.map +1 -1
  446. app-rn-runtime/components/input/number/number.props.js +4 -4
  447. app-rn-runtime/components/input/number/number.props.js.map +1 -1
  448. app-rn-runtime/components/input/number/number.styles.js.map +1 -1
  449. app-rn-runtime/components/input/radioset/radioset.component.js +10 -7
  450. app-rn-runtime/components/input/radioset/radioset.component.js.map +1 -1
  451. app-rn-runtime/components/input/radioset/radioset.props.js +4 -4
  452. app-rn-runtime/components/input/radioset/radioset.props.js.map +1 -1
  453. app-rn-runtime/components/input/radioset/radioset.styles.js +1 -0
  454. app-rn-runtime/components/input/radioset/radioset.styles.js.map +1 -1
  455. app-rn-runtime/components/input/rating/rating.component.js +4 -4
  456. app-rn-runtime/components/input/rating/rating.component.js.map +1 -1
  457. app-rn-runtime/components/input/rating/rating.props.js +4 -4
  458. app-rn-runtime/components/input/rating/rating.props.js.map +1 -1
  459. app-rn-runtime/components/input/rating/rating.styles.js.map +1 -1
  460. app-rn-runtime/components/input/select/select.component.js +10 -7
  461. app-rn-runtime/components/input/select/select.component.js.map +1 -1
  462. app-rn-runtime/components/input/select/select.props.js +4 -4
  463. app-rn-runtime/components/input/select/select.props.js.map +1 -1
  464. app-rn-runtime/components/input/select/select.styles.js.map +1 -1
  465. app-rn-runtime/components/input/slider/slider.component.js +357 -70
  466. app-rn-runtime/components/input/slider/slider.component.js.map +1 -1
  467. app-rn-runtime/components/input/slider/slider.props.js +13 -9
  468. app-rn-runtime/components/input/slider/slider.props.js.map +1 -1
  469. app-rn-runtime/components/input/slider/slider.styles.js +25 -2
  470. app-rn-runtime/components/input/slider/slider.styles.js.map +1 -1
  471. app-rn-runtime/components/input/switch/switch.component.js +1 -1
  472. app-rn-runtime/components/input/switch/switch.component.js.map +1 -1
  473. app-rn-runtime/components/input/switch/switch.props.js +4 -4
  474. app-rn-runtime/components/input/switch/switch.props.js.map +1 -1
  475. app-rn-runtime/components/input/switch/switch.styles.js +6 -1
  476. app-rn-runtime/components/input/switch/switch.styles.js.map +1 -1
  477. app-rn-runtime/components/input/text/text.component.js.map +1 -1
  478. app-rn-runtime/components/input/text/text.props.js +4 -4
  479. app-rn-runtime/components/input/text/text.props.js.map +1 -1
  480. app-rn-runtime/components/input/text/text.styles.js.map +1 -1
  481. app-rn-runtime/components/input/textarea/textarea.component.js.map +1 -1
  482. app-rn-runtime/components/input/textarea/textarea.props.js +4 -4
  483. app-rn-runtime/components/input/textarea/textarea.props.js.map +1 -1
  484. app-rn-runtime/components/input/textarea/textarea.styles.js.map +1 -1
  485. app-rn-runtime/components/input/toggle/toggle.component.js +13 -6
  486. app-rn-runtime/components/input/toggle/toggle.component.js.map +1 -1
  487. app-rn-runtime/components/input/toggle/toggle.props.js +4 -4
  488. app-rn-runtime/components/input/toggle/toggle.props.js.map +1 -1
  489. app-rn-runtime/components/input/toggle/toggle.styles.js.map +1 -1
  490. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js +4 -4
  491. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +1 -1
  492. app-rn-runtime/components/navigation/appnavbar/appnavbar.props.js +4 -4
  493. app-rn-runtime/components/navigation/appnavbar/appnavbar.props.js.map +1 -1
  494. app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js.map +1 -1
  495. app-rn-runtime/components/navigation/basenav/basenav.component.js +6 -10
  496. app-rn-runtime/components/navigation/basenav/basenav.component.js.map +1 -1
  497. app-rn-runtime/components/navigation/basenav/basenav.props.js +4 -4
  498. app-rn-runtime/components/navigation/basenav/basenav.props.js.map +1 -1
  499. app-rn-runtime/components/navigation/basenav/basenav.styles.js.map +1 -1
  500. app-rn-runtime/components/navigation/menu/menu.component.js +2 -2
  501. app-rn-runtime/components/navigation/menu/menu.component.js.map +1 -1
  502. app-rn-runtime/components/navigation/menu/menu.props.js +4 -4
  503. app-rn-runtime/components/navigation/menu/menu.props.js.map +1 -1
  504. app-rn-runtime/components/navigation/menu/menu.styles.js.map +1 -1
  505. app-rn-runtime/components/navigation/navbar/navbar.component.js.map +1 -1
  506. app-rn-runtime/components/navigation/navbar/navbar.props.js +4 -4
  507. app-rn-runtime/components/navigation/navbar/navbar.props.js.map +1 -1
  508. app-rn-runtime/components/navigation/navbar/navbar.styles.js.map +1 -1
  509. app-rn-runtime/components/navigation/navitem/navitem.component.js +4 -4
  510. app-rn-runtime/components/navigation/navitem/navitem.component.js.map +1 -1
  511. app-rn-runtime/components/navigation/navitem/navitem.props.js +4 -4
  512. app-rn-runtime/components/navigation/navitem/navitem.props.js.map +1 -1
  513. app-rn-runtime/components/navigation/navitem/navitem.styles.js.map +1 -1
  514. app-rn-runtime/components/navigation/popover/popover.component.js +84 -31
  515. app-rn-runtime/components/navigation/popover/popover.component.js.map +1 -1
  516. app-rn-runtime/components/navigation/popover/popover.props.js +5 -4
  517. app-rn-runtime/components/navigation/popover/popover.props.js.map +1 -1
  518. app-rn-runtime/components/navigation/popover/popover.styles.js +6 -1
  519. app-rn-runtime/components/navigation/popover/popover.styles.js.map +1 -1
  520. app-rn-runtime/components/page/content/content.component.js.map +1 -1
  521. app-rn-runtime/components/page/content/content.props.js.map +1 -1
  522. app-rn-runtime/components/page/content/content.styles.js.map +1 -1
  523. app-rn-runtime/components/page/left-panel/left-panel.component.js +5 -5
  524. app-rn-runtime/components/page/left-panel/left-panel.component.js.map +1 -1
  525. app-rn-runtime/components/page/left-panel/left-panel.props.js +4 -4
  526. app-rn-runtime/components/page/left-panel/left-panel.props.js.map +1 -1
  527. app-rn-runtime/components/page/left-panel/left-panel.styles.js.map +1 -1
  528. app-rn-runtime/components/page/page-content/page-content.component.js +2 -1
  529. app-rn-runtime/components/page/page-content/page-content.component.js.map +1 -1
  530. app-rn-runtime/components/page/page-content/page-content.props.js +4 -4
  531. app-rn-runtime/components/page/page-content/page-content.props.js.map +1 -1
  532. app-rn-runtime/components/page/page-content/page-content.styles.js.map +1 -1
  533. app-rn-runtime/components/page/page.component.js +13 -3
  534. app-rn-runtime/components/page/page.component.js.map +1 -1
  535. app-rn-runtime/components/page/page.props.js.map +1 -1
  536. app-rn-runtime/components/page/page.styles.js.map +1 -1
  537. app-rn-runtime/components/page/partial/partial.component.js.map +1 -1
  538. app-rn-runtime/components/page/partial/partial.props.js.map +1 -1
  539. app-rn-runtime/components/page/partial/partial.styles.js.map +1 -1
  540. app-rn-runtime/components/page/partial-container/partial-container.component.js.map +1 -1
  541. app-rn-runtime/components/page/partial-container/partial-container.props.js +4 -4
  542. app-rn-runtime/components/page/partial-container/partial-container.props.js.map +1 -1
  543. app-rn-runtime/components/page/partial-container/partial-container.styles.js.map +1 -1
  544. app-rn-runtime/components/page/tabbar/curve.js.map +1 -1
  545. app-rn-runtime/components/page/tabbar/tabbar.component.js +26 -14
  546. app-rn-runtime/components/page/tabbar/tabbar.component.js.map +1 -1
  547. app-rn-runtime/components/page/tabbar/tabbar.props.js +4 -4
  548. app-rn-runtime/components/page/tabbar/tabbar.props.js.map +1 -1
  549. app-rn-runtime/components/page/tabbar/tabbar.styles.js.map +1 -1
  550. app-rn-runtime/components/prefab/prefab-container.component.js.map +1 -1
  551. app-rn-runtime/components/prefab/prefab-container.props.js.map +1 -1
  552. app-rn-runtime/components/prefab/prefab-container.styles.js.map +1 -1
  553. app-rn-runtime/core/AppConfig.js.map +1 -1
  554. app-rn-runtime/core/accessibility.js +1 -1
  555. app-rn-runtime/core/accessibility.js.map +1 -1
  556. app-rn-runtime/core/asset.provider.js.map +1 -1
  557. app-rn-runtime/core/base.component.js +27 -22
  558. app-rn-runtime/core/base.component.js.map +1 -1
  559. app-rn-runtime/core/components/floatinglabel.component.js.map +1 -1
  560. app-rn-runtime/core/components/textinput.component.js +6 -5
  561. app-rn-runtime/core/components/textinput.component.js.map +1 -1
  562. app-rn-runtime/core/constant.service.js +2 -2
  563. app-rn-runtime/core/constant.service.js.map +1 -1
  564. app-rn-runtime/core/constants/currency-constants.js.map +1 -1
  565. app-rn-runtime/core/currency-constants.js.map +1 -1
  566. app-rn-runtime/core/device/calendar-service.js.map +1 -1
  567. app-rn-runtime/core/device/camera-service.js.map +1 -1
  568. app-rn-runtime/core/device/contacts-service.js.map +1 -1
  569. app-rn-runtime/core/device/location-service.js.map +1 -1
  570. app-rn-runtime/core/device/scan-service.js.map +1 -1
  571. app-rn-runtime/core/display.manager.js.map +1 -1
  572. app-rn-runtime/core/event-notifier.js +15 -7
  573. app-rn-runtime/core/event-notifier.js.map +1 -1
  574. app-rn-runtime/core/file-extension-types.js.map +1 -1
  575. app-rn-runtime/core/fixed-view.component.js +4 -4
  576. app-rn-runtime/core/fixed-view.component.js.map +1 -1
  577. app-rn-runtime/core/formatters.js +6 -12
  578. app-rn-runtime/core/formatters.js.map +1 -1
  579. app-rn-runtime/core/i18n.service.js.map +1 -1
  580. app-rn-runtime/core/if.component.js +6 -7
  581. app-rn-runtime/core/if.component.js.map +1 -1
  582. app-rn-runtime/core/imageSizeEstimator.js +3 -3
  583. app-rn-runtime/core/imageSizeEstimator.js.map +1 -1
  584. app-rn-runtime/core/injector.js.map +1 -1
  585. app-rn-runtime/core/key.extractor.js +3 -4
  586. app-rn-runtime/core/key.extractor.js.map +1 -1
  587. app-rn-runtime/core/logger.js +3 -3
  588. app-rn-runtime/core/logger.js.map +1 -1
  589. app-rn-runtime/core/modal.service.js.map +1 -1
  590. app-rn-runtime/core/navigation.service.js.map +1 -1
  591. app-rn-runtime/core/network.service.js +7 -11
  592. app-rn-runtime/core/network.service.js.map +1 -1
  593. app-rn-runtime/core/partial.service.js.map +1 -1
  594. app-rn-runtime/core/props.provider.js +4 -5
  595. app-rn-runtime/core/props.provider.js.map +1 -1
  596. app-rn-runtime/core/scroll-view.component.js +2 -2
  597. app-rn-runtime/core/scroll-view.component.js.map +1 -1
  598. app-rn-runtime/core/security.service.js.map +1 -1
  599. app-rn-runtime/core/spinner.service.js.map +1 -1
  600. app-rn-runtime/core/storage.service.js +2 -2
  601. app-rn-runtime/core/storage.service.js.map +1 -1
  602. app-rn-runtime/core/tappable.component.js +77 -42
  603. app-rn-runtime/core/tappable.component.js.map +1 -1
  604. app-rn-runtime/core/testid.provider.js.map +1 -1
  605. app-rn-runtime/core/toast.service.js.map +1 -1
  606. app-rn-runtime/core/utils.js +123 -20
  607. app-rn-runtime/core/utils.js.map +1 -1
  608. app-rn-runtime/core/viewport.js +2 -2
  609. app-rn-runtime/core/viewport.js.map +1 -1
  610. app-rn-runtime/gestures/swipe.animation.js +2 -2
  611. app-rn-runtime/gestures/swipe.animation.js.map +1 -1
  612. app-rn-runtime/index.js.map +1 -1
  613. app-rn-runtime/package.json +85 -85
  614. app-rn-runtime/runtime/App.js +55 -47
  615. app-rn-runtime/runtime/App.js.map +1 -1
  616. app-rn-runtime/runtime/App.navigator.js +1 -1
  617. app-rn-runtime/runtime/App.navigator.js.map +1 -1
  618. app-rn-runtime/runtime/base-fragment.component.js +6 -8
  619. app-rn-runtime/runtime/base-fragment.component.js.map +1 -1
  620. app-rn-runtime/runtime/base-page.component.js +29 -22
  621. app-rn-runtime/runtime/base-page.component.js.map +1 -1
  622. app-rn-runtime/runtime/base-partial.component.js +12 -7
  623. app-rn-runtime/runtime/base-partial.component.js.map +1 -1
  624. app-rn-runtime/runtime/base-prefab.component.js +6 -6
  625. app-rn-runtime/runtime/base-prefab.component.js.map +1 -1
  626. app-rn-runtime/runtime/lib-patch.js +1 -1
  627. app-rn-runtime/runtime/lib-patch.js.map +1 -1
  628. app-rn-runtime/runtime/memo.component.js +2 -2
  629. app-rn-runtime/runtime/memo.component.js.map +1 -1
  630. app-rn-runtime/runtime/navigator/drawer.navigator.js +1 -0
  631. app-rn-runtime/runtime/navigator/drawer.navigator.js.map +1 -1
  632. app-rn-runtime/runtime/navigator/stack.navigator.js +5 -8
  633. app-rn-runtime/runtime/navigator/stack.navigator.js.map +1 -1
  634. app-rn-runtime/runtime/platform.api.js.map +1 -1
  635. app-rn-runtime/runtime/services/app-display-manager.service.js +7 -4
  636. app-rn-runtime/runtime/services/app-display-manager.service.js.map +1 -1
  637. app-rn-runtime/runtime/services/app-i18n.service.js +3 -4
  638. app-rn-runtime/runtime/services/app-i18n.service.js.map +1 -1
  639. app-rn-runtime/runtime/services/app-modal.service.js +7 -4
  640. app-rn-runtime/runtime/services/app-modal.service.js.map +1 -1
  641. app-rn-runtime/runtime/services/app-security.service.js +26 -11
  642. app-rn-runtime/runtime/services/app-security.service.js.map +1 -1
  643. app-rn-runtime/runtime/services/app-spinner.service.js +3 -4
  644. app-rn-runtime/runtime/services/app-spinner.service.js.map +1 -1
  645. app-rn-runtime/runtime/services/app-toast.service.js +2 -2
  646. app-rn-runtime/runtime/services/app-toast.service.js.map +1 -1
  647. app-rn-runtime/runtime/services/device/calendar-service.js.map +1 -1
  648. app-rn-runtime/runtime/services/device/camera-service.js +2 -2
  649. app-rn-runtime/runtime/services/device/camera-service.js.map +1 -1
  650. app-rn-runtime/runtime/services/device/contacts-service.js +1 -1
  651. app-rn-runtime/runtime/services/device/contacts-service.js.map +1 -1
  652. app-rn-runtime/runtime/services/device/location-service.js.map +1 -1
  653. app-rn-runtime/runtime/services/device/permissions.js.map +1 -1
  654. app-rn-runtime/runtime/services/device/scan-service.js.map +1 -1
  655. app-rn-runtime/runtime/services/partial.service.js +1 -2
  656. app-rn-runtime/runtime/services/partial.service.js.map +1 -1
  657. app-rn-runtime/runtime/services/webprocess.service.js +3 -5
  658. app-rn-runtime/runtime/services/webprocess.service.js.map +1 -1
  659. app-rn-runtime/runtime/watcher.js +5 -5
  660. app-rn-runtime/runtime/watcher.js.map +1 -1
  661. app-rn-runtime/styles/MediaQueryList.js.map +1 -1
  662. app-rn-runtime/styles/background.component.js +7 -6
  663. app-rn-runtime/styles/background.component.js.map +1 -1
  664. app-rn-runtime/styles/style-prop.validator.js +1 -4
  665. app-rn-runtime/styles/style-prop.validator.js.map +1 -1
  666. app-rn-runtime/styles/style-props.js +2 -2
  667. app-rn-runtime/styles/style-props.js.map +1 -1
  668. app-rn-runtime/styles/theme.js +25 -17
  669. app-rn-runtime/styles/theme.js.map +1 -1
  670. app-rn-runtime/styles/theme.variables.js +13 -7
  671. app-rn-runtime/styles/theme.variables.js.map +1 -1
  672. app-rn-runtime/variables/base-variable.js +2 -2
  673. app-rn-runtime/variables/base-variable.js.map +1 -1
  674. app-rn-runtime/variables/device/calendar/create-event.operation.js.map +1 -1
  675. app-rn-runtime/variables/device/calendar/delete-event.operation.js.map +1 -1
  676. app-rn-runtime/variables/device/calendar/get-events.operation.js.map +1 -1
  677. app-rn-runtime/variables/device/camera/capture-image.operation.js.map +1 -1
  678. app-rn-runtime/variables/device/camera/capture-video.operation.js.map +1 -1
  679. app-rn-runtime/variables/device/contacts/get-contacts.operation.js.map +1 -1
  680. app-rn-runtime/variables/device/device/app-info.operation.js.map +1 -1
  681. app-rn-runtime/variables/device/device/current-geo-position.operation.js.map +1 -1
  682. app-rn-runtime/variables/device/device/device-info.operation.js.map +1 -1
  683. app-rn-runtime/variables/device/device/network-info.operation.js +23 -3
  684. app-rn-runtime/variables/device/device/network-info.operation.js.map +1 -1
  685. app-rn-runtime/variables/device/device/vibrate.operation.js.map +1 -1
  686. app-rn-runtime/variables/device/file/upload-file.operation.js.map +1 -1
  687. app-rn-runtime/variables/device/operation.provider.js.map +1 -1
  688. app-rn-runtime/variables/device/scan/scan.operation.js.map +1 -1
  689. app-rn-runtime/variables/device-variable.js +1 -1
  690. app-rn-runtime/variables/device-variable.js.map +1 -1
  691. app-rn-runtime/variables/http.service.js +4 -0
  692. app-rn-runtime/variables/http.service.js.map +1 -1
  693. app-rn-runtime/variables/live-variable.js +3 -3
  694. app-rn-runtime/variables/live-variable.js.map +1 -1
  695. app-rn-runtime/variables/model-variable.js +2 -2
  696. app-rn-runtime/variables/model-variable.js.map +1 -1
  697. app-rn-runtime/variables/service-variable.js +2 -2
  698. app-rn-runtime/variables/service-variable.js.map +1 -1
  699. app-rn-runtime/variables/utils/dataset-util.js.map +1 -1
  700. app-rn-runtime/variables/utils/inflight-queue.js +2 -2
  701. app-rn-runtime/variables/utils/inflight-queue.js.map +1 -1
  702. app-rn-runtime/variables/utils/variable.constants.js.map +1 -1
  703. app-rn-runtime/variables/utils/variable.utils.js +0 -1
  704. app-rn-runtime/variables/utils/variable.utils.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","listIcon","marginTop","marginRight","groupHeading","backgroundColor","groupHeadingBgColor","fontSize","paddingLeft","paddingRight","lineHeight","fontFamily","baseFont","loadingIcon","flex","alignSelf","justifyContent","color","listSubTitleColor","heading","padding","marginBottom","listHeaderBgColor","title","listTitleColor","fontWeight","subheading","emptyMessage","onDemandMessage","paddingVertical","width","textAlign","group","item","getStyle","shadowColor","flexDirection","paddingTop","paddingBottom","minHeight","itemBgColor","borderColor","selectedItemBorderColor","borderRadius","borderStyle","selectedItem","selectedIcon","position","right","top","primaryColor","minWidth","borderBottomWidth","borderBottomColor","listDividerColor","borderRightWidth","borderRightColor"],"sources":["list.styles.ts"],"sourcesContent":["import { TextStyle, ViewStyle } from 'react-native';\nimport BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmLabelStyles } from '@wavemaker/app-rn-runtime/components/basic/label/label.styles';\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\n\nexport type WmListStyles = BaseStyles & {\n heading: AllStyle,\n groupHeading: TextStyle,\n listIcon: WmIconStyles,\n loadingIcon: WmIconStyles,\n title: WmLabelStyles,\n subheading: WmLabelStyles,\n emptyMessage: WmLabelStyles,\n onDemandMessage: WmLabelStyles,\n item: AllStyle,\n selectedItem: AllStyle,\n selectedIcon: WmIconStyles,\n group: AllStyle,\n};\n\nexport const DEFAULT_CLASS = 'app-list';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmListStyles = defineStyles({\n root: {},\n text: {},\n listIcon: {\n root: {\n marginTop: 10,\n marginRight: 8\n }\n } as WmIconStyles,\n groupHeading: {\n backgroundColor: themeVariables.groupHeadingBgColor,\n fontSize: 16,\n paddingLeft: 8,\n paddingRight: 8,\n lineHeight: 40,\n fontFamily: themeVariables.baseFont\n },\n loadingIcon: {\n root: {\n flex: 1,\n alignSelf: 'center',\n justifyContent: 'center',\n fontSize: 16\n },\n text: {\n color: themeVariables.listSubTitleColor\n }\n } as WmIconStyles,\n heading : {\n padding: 8,\n marginBottom: 6,\n backgroundColor: themeVariables.listHeaderBgColor\n },\n title: {\n text: {\n color: themeVariables.listTitleColor,\n fontSize: 16,\n fontFamily: themeVariables.baseFont,\n lineHeight: 24,\n fontWeight: '400' \n }\n } as WmLabelStyles,\n subheading: {\n text: {\n fontSize: 14,\n lineHeight: 20,\n fontFamily: themeVariables.baseFont,\n fontWeight: '400',\n color: themeVariables.listSubTitleColor\n }\n } as WmLabelStyles,\n emptyMessage: {\n root: {\n flex: 1,\n alignSelf: 'center',\n fontSize: 16,\n lineHeight: 18,\n color: themeVariables.listSubTitleColor\n }\n } as WmLabelStyles,\n onDemandMessage: {\n root: {\n paddingVertical: 8,\n width: '100%'\n } as ViewStyle,\n text: {\n textAlign: 'center',\n color: themeVariables.listSubTitleColor\n }\n } as WmLabelStyles,\n group: {\n marginBottom: 16,\n },\n item: {\n ...BASE_THEME.getStyle('elevate1').root,\n shadowColor: 'rgba(0, 0, 0, 0.3)',\n flexDirection: 'row',\n flex: 1,\n paddingLeft: 4,\n paddingRight: 4,\n paddingTop: 4,\n paddingBottom: 4,\n minHeight: 56,\n backgroundColor: themeVariables.itemBgColor,\n borderColor: themeVariables.selectedItemBorderColor,\n borderRadius: 6,\n borderStyle: 'solid',\n },\n selectedItem : {} as AllStyle,\n selectedIcon : {\n root: {\n position: 'absolute',\n right: 0,\n top: 0\n },\n text: {\n color: themeVariables.primaryColor,\n fontSize: 16\n }\n } as WmIconStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n\n addStyle('app-horizontal-list', '', {\n groupHeading: {\n minWidth: 120,\n backgroundColor: themeVariables.groupHeadingBgColor,\n },\n item: {\n marginRight: 6,\n borderColor: themeVariables.selectedItemBorderColor,\n }\n } as WmListStyles);\n\n addStyle('app-vertical-list', '', {\n item: {\n marginBottom: 6,\n width: '100%',\n borderBottomWidth: 0,\n borderBottomColor: themeVariables.listDividerColor,\n }\n } as any as WmListStyles);\n\n addStyle('app-horizontal-list-dense', '', {\n item: {\n marginRight: 0,\n borderRadius: 0,\n borderRightWidth: 1,\n borderRightColor: 'rgba(0,0,0,0.05)'\n } as ViewStyle\n } as WmListStyles);\n\n addStyle('app-list-dense', '', {\n item: {\n marginBottom: 0,\n borderRadius: 0,\n borderBottomWidth: 1,\n borderBottomColor: 'rgba(0,0,0,0.05)'\n } as ViewStyle\n } as WmListStyles);\n});\n"],"mappings":"AACA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAmBxF,OAAO,MAAMC,aAAa,GAAG,UAAU;AACvCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAA2B,GAAGL,YAAY,CAAC;IAC7CM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE;MACNF,IAAI,EAAE;QACFG,SAAS,EAAE,EAAE;QACbC,WAAW,EAAE;MACjB;IACJ,CAAiB;IACjBC,YAAY,EAAE;MACVC,eAAe,EAAET,cAAc,CAACU,mBAAmB;MACnDC,QAAQ,EAAE,EAAE;MACZC,WAAW,EAAE,CAAC;MACdC,YAAY,EAAE,CAAC;MACfC,UAAU,EAAE,EAAE;MACdC,U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ACtCoC,IAAI,EAAE;MACF9B,WAAW,EAAE,CAAC;MACdwC,YAAY,EAAE,CAAC;MACfY,gBAAgB,EAAE,CAAC;MACnBC,gBAAgB,EAAE;IACtB;EACJ,CAAiB,CAAC;EAElB3D,QAAQ,CAAC,gBAAgB,EAAE,EAAE,EAAE;IAC3BoC,IAAI,EAAE;MACFZ,YAAY,EAAE,CAAC;MACfsB,YAAY,EAAE,CAAC;MACfS,iBAAiB,EAAE,CAAC;MACpBC,iBAAiB,EAAE;IACvB;EACJ,CAAiB,CAAC;AACtB,CAAC,CAAC"}
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","listIcon","marginTop","marginRight","groupHeading","backgroundColor","groupHeadingBgColor","fontSize","paddingLeft","paddingRight","lineHeight","fontFamily","baseFont","loadingIcon","flex","alignSelf","justifyContent","color","listSubTitleColor","heading","padding","marginBottom","listHeaderBgColor","title","listTitleColor","fontWeight","subheading","emptyMessage","onDemandMessage","paddingVertical","width","textAlign","group","item","getStyle","shadowColor","flexDirection","paddingTop","paddingBottom","minHeight","itemBgColor","borderColor","selectedItemBorderColor","borderRadius","borderStyle","selectedItem","selectedIcon","position","right","top","primaryColor","minWidth","borderBottomWidth","borderBottomColor","listDividerColor","borderRightWidth","borderRightColor"],"sources":["list.styles.ts"],"sourcesContent":["import { TextStyle, ViewStyle } from 'react-native';\nimport BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmLabelStyles } from '@wavemaker/app-rn-runtime/components/basic/label/label.styles';\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\n\nexport type WmListStyles = BaseStyles & {\n heading: AllStyle,\n groupHeading: TextStyle,\n listIcon: WmIconStyles,\n loadingIcon: WmIconStyles,\n title: WmLabelStyles,\n subheading: WmLabelStyles,\n emptyMessage: WmLabelStyles,\n onDemandMessage: WmLabelStyles,\n item: AllStyle,\n selectedItem: AllStyle,\n selectedIcon: WmIconStyles,\n group: AllStyle,\n};\n\nexport const DEFAULT_CLASS = 'app-list';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmListStyles = defineStyles({\n root: {},\n text: {},\n listIcon: {\n root: {\n marginTop: 10,\n marginRight: 8\n }\n } as WmIconStyles,\n groupHeading: {\n backgroundColor: themeVariables.groupHeadingBgColor,\n fontSize: 16,\n paddingLeft: 8,\n paddingRight: 8,\n lineHeight: 40,\n fontFamily: themeVariables.baseFont\n },\n loadingIcon: {\n root: {\n flex: 1,\n alignSelf: 'center',\n justifyContent: 'center',\n fontSize: 16\n },\n text: {\n color: themeVariables.listSubTitleColor\n }\n } as WmIconStyles,\n heading : {\n padding: 8,\n marginBottom: 6,\n backgroundColor: themeVariables.listHeaderBgColor\n },\n title: {\n text: {\n color: themeVariables.listTitleColor,\n fontSize: 16,\n fontFamily: themeVariables.baseFont,\n lineHeight: 24,\n fontWeight: '400' \n }\n } as WmLabelStyles,\n subheading: {\n text: {\n fontSize: 14,\n lineHeight: 20,\n fontFamily: themeVariables.baseFont,\n fontWeight: '400',\n color: themeVariables.listSubTitleColor\n }\n } as WmLabelStyles,\n emptyMessage: {\n root: {\n flex: 1,\n alignSelf: 'center',\n fontSize: 16,\n lineHeight: 18,\n color: themeVariables.listSubTitleColor\n }\n } as WmLabelStyles,\n onDemandMessage: {\n root: {\n paddingVertical: 8,\n width: '100%'\n } as ViewStyle,\n text: {\n textAlign: 'center',\n color: themeVariables.listSubTitleColor\n }\n } as WmLabelStyles,\n group: {\n marginBottom: 16,\n },\n item: {\n ...BASE_THEME.getStyle('elevate1').root,\n shadowColor: 'rgba(0, 0, 0, 0.3)',\n paddingLeft: 4,\n paddingRight: 4,\n flex: 1,\n flexDirection: 'row',\n paddingTop: 4,\n paddingBottom: 4,\n minHeight: 56,\n backgroundColor: themeVariables.itemBgColor,\n borderColor: themeVariables.selectedItemBorderColor,\n borderRadius: 6,\n borderStyle: 'solid',\n },\n selectedItem : {} as AllStyle,\n selectedIcon : {\n root: {\n position: 'absolute',\n right: 0,\n top: 0\n },\n text: {\n color: themeVariables.primaryColor,\n fontSize: 16\n }\n } as WmIconStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n\n addStyle('app-horizontal-list', '', {\n groupHeading: {\n minWidth: 120,\n backgroundColor: themeVariables.groupHeadingBgColor,\n },\n item: {\n marginRight: 6,\n borderColor: themeVariables.selectedItemBorderColor,\n }\n } as WmListStyles);\n\n addStyle('app-vertical-list', '', {\n item: {\n marginBottom: 6,\n width: '100%',\n borderBottomWidth: 0,\n borderBottomColor: themeVariables.listDividerColor,\n }\n } as any as WmListStyles);\n\n addStyle('app-horizontal-list-dense', '', {\n item: {\n marginRight: 0,\n borderRadius: 0,\n borderRightWidth: 1,\n borderRightColor: 'rgba(0,0,0,0.05)'\n } as ViewStyle\n } as WmListStyles);\n\n addStyle('app-list-dense', '', {\n item: {\n marginBottom: 0,\n borderRadius: 0,\n borderBottomWidth: 1,\n borderBottomColor: 'rgba(0,0,0,0.05)'\n } as ViewStyle\n } as WmListStyles);\n});\n"],"mappings":"AACA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAmBxF,OAAO,MAAMC,aAAa,GAAG,UAAU;AACvCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAA2B,GAAGL,YAAY,CAAC;IAC7CM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE;MACNF,IAAI,EAAE;QACFG,SAAS,EAAE,EAAE;QACbC,WAAW,EAAE;MACjB;IACJ,CAAiB;IACjBC,YAAY,EAAE;MACVC,eAAe,EAAET,cAAc,CAACU,mBAAmB;MACnDC,QAAQ,EAAE,EAAE;MACZC,WAAW,EAAE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AAwB,CAAC;EAEzBzD,QAAQ,CAAC,2BAA2B,EAAE,EAAE,EAAE;IACtCoC,IAAI,EAAE;MACF9B,WAAW,EAAE,CAAC;MACdwC,YAAY,EAAE,CAAC;MACfY,gBAAgB,EAAE,CAAC;MACnBC,gBAAgB,EAAE;IACtB;EACJ,CAAiB,CAAC;EAElB3D,QAAQ,CAAC,gBAAgB,EAAE,EAAE,EAAE;IAC3BoC,IAAI,EAAE;MACFZ,YAAY,EAAE,CAAC;MACfsB,YAAY,EAAE,CAAC;MACfS,iBAAiB,EAAE,CAAC;MACpBC,iBAAiB,EAAE;IACvB;EACJ,CAAiB,CAAC;AACtB,CAAC,CAAC","ignoreList":[]}
@@ -1,12 +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 { BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
5
5
  import { forEach, isEmpty, some, get } from 'lodash';
6
6
  import WmForm from '@wavemaker/app-rn-runtime/components/data/form/form.component';
7
7
  export class WmFormState extends BaseComponentState {
8
- constructor() {
9
- super(...arguments);
8
+ constructor(...args) {
9
+ super(...args);
10
10
  _defineProperty(this, "isValid", false);
11
11
  _defineProperty(this, "type", 'success');
12
12
  _defineProperty(this, "message", '');
@@ -64,7 +64,7 @@ export default class WmLiveForm extends WmForm {
64
64
 
65
65
  // @ts-ignore
66
66
  handleSubmit(event) {
67
- event === null || event === void 0 ? void 0 : event.preventDefault();
67
+ event === null || event === void 0 || event.preventDefault();
68
68
  const formData = this.state.props.dataoutput || this.formdataoutput;
69
69
  const operationType = this.findOperationType();
70
70
  if (!this.validateFieldsOnSubmit()) {
@@ -1 +1 @@
1
- {"version":3,"names":["BaseComponentState","forEach","isEmpty","some","get","WmForm","WmFormState","constructor","arguments","_defineProperty","Live_Operations","INSERT","UPDATE","DELETE","READ","WmLiveForm","findOperationType","operation","isPrimary","primaryKey","state","props","formdata","length","value","handleSubmit","event","preventDefault","formData","dataoutput","formdataoutput","operationType","validateFieldsOnSubmit","onBeforeservicecall","invokeEventCallback","formSubmit","inputFields","data","onResultCb","error","response","status","formSuccess","onSuccess","postmessage","toggleMessage","onError","errormessage"],"sources":["liveform.component.tsx"],"sourcesContent":["import { BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { forEach, isEmpty, some, get } from 'lodash';\n\nimport WmFormProps from '../form/form.props';\nimport WmForm from '@wavemaker/app-rn-runtime/components/data/form/form.component';\n\nexport class WmFormState extends BaseComponentState<WmFormProps> {\n isValid = false;\n type: 'success' | 'warning' | 'error' | 'info' | 'loading' | undefined = 'success';\n message: string = '';\n showInlineMsg: boolean = false;\n}\nconst Live_Operations = {\n INSERT : 'insert',\n UPDATE : 'update',\n DELETE : 'delete',\n READ : 'read'\n}\n\nexport default class WmLiveForm extends WmForm {\n\n findOperationType() {\n let operation;\n let isPrimary = false;\n // const sourceOperation = this.form.datasource && this.form.datasource.execute(DataSource.Operation.GET_OPERATION_TYPE);\n // if (sourceOperation && sourceOperation !== 'read') {\n // return sourceOperation;\n // }\n /*If OperationType is not set then based on the formdata object return the operation type,\n this case occurs only if the form is outside a livegrid*/\n /*If the formdata object has primary key value then return update else insert*/\n if (this.primaryKey && !isEmpty(this.state.props.formdata)) {\n /*If only one column is primary key*/\n if (this.primaryKey.length === 1) {\n if (this.state.props.formdata[this.primaryKey[0]]) {\n operation = Live_Operations.UPDATE;\n }\n /*If only no column is primary key*/\n } else if (this.primaryKey.length === 0) {\n forEach(this.state.props.formdata, (value) => {\n if (value) {\n isPrimary = true;\n }\n });\n if (isPrimary) {\n operation = Live_Operations.UPDATE;\n }\n /*If multiple columns are primary key*/\n } else {\n // @ts-ignore\n isPrimary = some(this.primaryKey, (primaryKey: any) => {\n if (this.state.props.formdata[primaryKey]) {\n return true;\n }\n });\n if (isPrimary) {\n operation = Live_Operations.UPDATE;\n }\n }\n }\n return operation || Live_Operations.INSERT;\n }\n\n // @ts-ignore\n handleSubmit(event?: any) {\n event?.preventDefault();\n const formData = this.state.props.dataoutput || this.formdataoutput;\n const operationType = this.findOperationType();\n\n if (!this.validateFieldsOnSubmit()) {\n return false;\n }\n if (this.props.onBeforeservicecall) {\n this.invokeEventCallback('onBeforeservicecall', [ null, operationType, formData ]);\n }\n if (this.props.formSubmit) {\n this.props.formSubmit({inputFields: formData}, operationType, ((data: any) => {\n this.onResultCb(data, 'success', operationType);\n }), ((error: any) => {\n this.onResultCb(error, '', operationType);\n }));\n }\n }\n\n onResultCb(response: any, status: string, operationType: string, event?: any) {\n this.invokeEventCallback('onResult', [ null, operationType, response ]);\n if (status) {\n this.invokeEventCallback('onSuccess', [ null, operationType, response ]);\n this.props.formSuccess && this.props.formSuccess();\n !this.props.onSuccess && this.state.props.postmessage && this.toggleMessage('success', this.state.props.postmessage);\n } else {\n this.invokeEventCallback('onError', [ null, operationType, response ]);\n !this.props.onError && this.toggleMessage('error', this.state.props.errormessage || get(response, 'message') || response);\n }\n }\n\n}\n"],"mappings":";;;AAAA,SAASA,kBAAkB,QAAQ,+CAA+C;AAClF,SAASC,OAAO,EAAEC,OAAO,EAAEC,IAAI,EAAE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UAAU,EAAE,CAAE,IAAI,EAAEH,aAAa,EAAES,QAAQ,CAAE,CAAC;IACvE,IAAIC,MAAM,EAAE;MACV,IAAI,CAACP,mBAAmB,CAAC,WAAW,EAAE,CAAE,IAAI,EAAEH,aAAa,EAAES,QAAQ,CAAE,CAAC;MACxE,IAAI,CAACnB,KAAK,CAACqB,WAAW,IAAI,IAAI,CAACrB,KAAK,CAACqB,WAAW,CAAC,CAAC;MAClD,CAAC,IAAI,CAACrB,KAAK,CAACsB,SAAS,IAAI,IAAI,CAACvB,KAAK,CAACC,KAAK,CAACuB,WAAW,IAAI,IAAI,CAACC,aAAa,CAAC,SAAS,EAAE,IAAI,CAACzB,KAAK,CAACC,KAAK,CAACuB,WAAW,CAAC;IACtH,CAAC,MAAM;MACL,IAAI,CAACV,mBAAmB,CAAC,SAAS,EAAE,CAAE,IAAI,EAAEH,aAAa,EAAES,QAAQ,CAAE,CAAC;MACtE,CAAC,IAAI,CAACnB,KAAK,CAACyB,OAAO,IAAI,IAAI,CAACD,aAAa,CAAC,OAAO,EAAE,IAAI,CAACzB,KAAK,CAACC,KAAK,CAAC0B,YAAY,IAAI3C,GAAG,CAACoC,QAAQ,EAAE,SAAS,CAAC,IAAIA,QAAQ,CAAC;IAC3H;EACF;AAEF"}
1
+ {"version":3,"names":["BaseComponentState","forEach","isEmpty","some","get","WmForm","WmFormState","constructor","args","_defineProperty","Live_Operations","INSERT","UPDATE","DELETE","READ","WmLiveForm","findOperationType","operation","isPrimary","primaryKey","state","props","formdata","length","value","handleSubmit","event","preventDefault","formData","dataoutput","formdataoutput","operationType","validateFieldsOnSubmit","onBeforeservicecall","invokeEventCallback","formSubmit","inputFields","data","onResultCb","error","response","status","formSuccess","onSuccess","postmessage","toggleMessage","onError","errormessage"],"sources":["liveform.component.tsx"],"sourcesContent":["import { BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { forEach, isEmpty, some, get } from 'lodash';\n\nimport WmFormProps from '../form/form.props';\nimport WmForm from '@wavemaker/app-rn-runtime/components/data/form/form.component';\n\nexport class WmFormState extends BaseComponentState<WmFormProps> {\n isValid = false;\n type: 'success' | 'warning' | 'error' | 'info' | 'loading' | undefined = 'success';\n message: string = '';\n showInlineMsg: boolean = false;\n}\nconst Live_Operations = {\n INSERT : 'insert',\n UPDATE : 'update',\n DELETE : 'delete',\n READ : 'read'\n}\n\nexport default class WmLiveForm extends WmForm {\n\n findOperationType() {\n let operation;\n let isPrimary = false;\n // const sourceOperation = this.form.datasource && this.form.datasource.execute(DataSource.Operation.GET_OPERATION_TYPE);\n // if (sourceOperation && sourceOperation !== 'read') {\n // return sourceOperation;\n // }\n /*If OperationType is not set then based on the formdata object return the operation type,\n this case occurs only if the form is outside a livegrid*/\n /*If the formdata object has primary key value then return update else insert*/\n if (this.primaryKey && !isEmpty(this.state.props.formdata)) {\n /*If only one column is primary key*/\n if (this.primaryKey.length === 1) {\n if (this.state.props.formdata[this.primaryKey[0]]) {\n operation = Live_Operations.UPDATE;\n }\n /*If only no column is primary key*/\n } else if (this.primaryKey.length === 0) {\n forEach(this.state.props.formdata, (value) => {\n if (value) {\n isPrimary = true;\n }\n });\n if (isPrimary) {\n operation = Live_Operations.UPDATE;\n }\n /*If multiple columns are primary key*/\n } else {\n // @ts-ignore\n isPrimary = some(this.primaryKey, (primaryKey: any) => {\n if (this.state.props.formdata[primaryKey]) {\n return true;\n }\n });\n if (isPrimary) {\n operation = Live_Operations.UPDATE;\n }\n }\n }\n return operation || Live_Operations.INSERT;\n }\n\n // @ts-ignore\n handleSubmit(event?: any) {\n event?.preventDefault();\n const formData = this.state.props.dataoutput || this.formdataoutput;\n const operationType = this.findOperationType();\n\n if (!this.validateFieldsOnSubmit()) {\n return false;\n }\n if (this.props.onBeforeservicecall) {\n this.invokeEventCallback('onBeforeservicecall', [ null, operationType, formData ]);\n }\n if (this.props.formSubmit) {\n this.props.formSubmit({inputFields: formData}, operationType, ((data: any) => {\n this.onResultCb(data, 'success', operationType);\n }), ((error: any) => {\n this.onResultCb(error, '', operationType);\n }));\n }\n }\n\n onResultCb(response: any, status: string, operationType: string, event?: any) {\n this.invokeEventCallback('onResult', [ null, operationType, response ]);\n if (status) {\n this.invokeEventCallback('onSuccess', [ null, operationType, response ]);\n this.props.formSuccess && this.props.formSuccess();\n !this.props.onSuccess && this.state.props.postmessage && this.toggleMessage('success', this.state.props.postmessage);\n } else {\n this.invokeEventCallback('onError', [ null, operationType, response ]);\n !this.props.onError && this.toggleMessage('error', this.state.props.errormessage || get(response, 'message') || response);\n }\n }\n\n}\n"],"mappings":";;;AAAA,SAASA,kBAAkB,QAAQ,+CAA+C;AAClF,SAASC,OAAO,EAAEC,OAAO,EAAEC,IAAI,EAAEC,GAAG,QAAQ,QAAQ;AAGpD,OAAOC,MAAM,MAAM,+DAA+D;AAElF,OAAO,MAAMC,WAAW,SAASN,kBAAkB,CAAc;EAAAO,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,kBACrD,KAAK;IAAAA,eAAA,eAC0D,SAAS;IAAAA,eAAA,kBAChE,EAAE;IAAAA,eAAA,wBACK,KAAK;EAAA;AAChC;AACA,MAAMC,eAAe,GAAG;EACtBC,MAAM,EAAG,QAAQ;EACjBC,MAAM,EAAG,QAAQ;EACjBC,MAAM,EAAG,QAAQ;EACjBC,IAAI,EAAG;AACT,CAAC;AAED,eAAe,MAAMC,UAAU,SAASV,MAAM,CAAC;EAE7CW,iBAAiBA,CAAA,EAAG;IAClB,IAAIC,SAAS;IACb,IAAIC,SAAS,GAAG,KAAK;IACrB;IACA;IACA;IACA;IACA;AACJ;IACI;IACA,IAAI,IAAI,CAACC,UAAU,IAAI,CAACjB,OAAO,CAAC,IAAI,CAACkB,KAAK,CAACC,KAAK,CAACC,QAAQ,CAAC,EAAE;MAC1D;MACA,IAAI,IAAI,CAACH,UAAU,CAACI,MAAM,KAAK,CAAC,EAAE;QAChC,IAAI,IAAI,CAACH,KAAK,CAACC,KAAK,CAACC,QAAQ,CA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F;AAEF","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
4
  import React from 'react';
5
5
  import { View } from 'react-native';
6
6
  import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","BaseComponent","BaseComponentState","ScanConsumer","WmBarcodescannerProps","DEFAULT_CLASS","WmButton","WmBarcodescannerState","WmBarcodescanner","constructor","props","_defineProperty","onScanTap","params","barcodeFormat","state","barcodeformat","scanner","scanBarcode","then","res","updateState","datavalue","text","invokeEventCallback","proxy","renderWidget","createElement","scanService","style","styles","root","_background","id","getTestId","iconclass","button","onTap","bind","caption","iconsize","accessibilitylabel","hint","accessibilityrole"],"sources":["barcodescanner.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { ScanInput, ScanOutput } from '@wavemaker/app-rn-runtime/variables/device/scan/scan.operation';\nimport { ScanConsumer, ScanService } from '@wavemaker/app-rn-runtime/core/device/scan-service';\n\nimport WmBarcodescannerProps from './barcodescanner.props';\nimport { DEFAULT_CLASS, WmBarcodescannerStyles } from './barcodescanner.styles';\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\n\nexport class WmBarcodescannerState extends BaseComponentState<WmBarcodescannerProps> {}\n\nexport default class WmBarcodescanner extends BaseComponent<WmBarcodescannerProps, WmBarcodescannerState, WmBarcodescannerStyles> {\n private scanner: ScanService = null as any;\n constructor(props: WmBarcodescannerProps) {\n super(props, DEFAULT_CLASS, new WmBarcodescannerProps());\n }\n\n onScanTap() {\n const params: ScanInput = {\n barcodeFormat: this.state.props.barcodeformat\n };\n this.scanner.scanBarcode(params).then((res: ScanOutput) => {\n this.updateState({\n props: {\n datavalue: res.text\n }\n } as WmBarcodescannerState, () => {\n this.invokeEventCallback('onSuccess', [null, this.proxy]);\n });\n })\n }\n\n renderWidget(props: WmBarcodescannerProps) {\n return (\n <ScanConsumer>\n {(scanService: ScanService) => {\n this.scanner = scanService;\n return <View style={this.styles.root}>\n {this._background}\n <WmButton id={this.getTestId('button')} iconclass={props.iconclass} styles={this.styles.button} onTap={this.onScanTap.bind(this)} caption={props.caption} iconsize={props.iconsize} accessibilitylabel={props.accessibilitylabel} hint={props.hint} accessibilityrole={props.accessibilityrole}></WmButton>\n </View>\n }}\n </ScanConsumer>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,SAASC,YAAY,QAAqB,oDAAoD;AAE9F,OAAOC,qBAAqB,MAAM,wBAAwB;AAC1D,SAASC,aAAa,QAAgC,yBAAyB;AAC/E,OAAOC,QAAQ,MAAM,oEAAoE;AAEzF,OAAO,MAAMC,qBAAqB,SAASL,kBAAkB,CAAwB;AAErF,eAAe,MAAMM,gBAAgB,SAASP,aAAa,CAAuE;EAEhIQ,W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AAmB;QAACC,IAAI,EAAEhC,KAAK,CAACgC,IAAK;QAACC,iBAAiB,EAAEjC,KAAK,CAACiC;MAAkB,CAAW,CACtS,CAAC;IACT,CACY,CAAC;EAEnB;AACF"}
1
+ {"version":3,"names":["React","View","BaseComponent","BaseComponentState","ScanConsumer","WmBarcodescannerProps","DEFAULT_CLASS","WmButton","WmBarcodescannerState","WmBarcodescanner","constructor","props","_defineProperty","onScanTap","params","barcodeFormat","state","barcodeformat","scanner","scanBarcode","then","res","updateState","datavalue","text","invokeEventCallback","proxy","renderWidget","createElement","scanService","style","styles","root","_background","id","getTestId","iconclass","button","onTap","bind","caption","iconsize","accessibilitylabel","hint","accessibilityrole"],"sources":["barcodescanner.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { ScanInput, ScanOutput } from '@wavemaker/app-rn-runtime/variables/device/scan/scan.operation';\nimport { ScanConsumer, ScanService } from '@wavemaker/app-rn-runtime/core/device/scan-service';\n\nimport WmBarcodescannerProps from './barcodescanner.props';\nimport { DEFAULT_CLASS, WmBarcodescannerStyles } from './barcodescanner.styles';\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\n\nexport class WmBarcodescannerState extends BaseComponentState<WmBarcodescannerProps> {}\n\nexport default class WmBarcodescanner extends BaseComponent<WmBarcodescannerProps, WmBarcodescannerState, WmBarcodescannerStyles> {\n private scanner: ScanService = null as any;\n constructor(props: WmBarcodescannerProps) {\n super(props, DEFAULT_CLASS, new WmBarcodescannerProps());\n }\n\n onScanTap() {\n const params: ScanInput = {\n barcodeFormat: this.state.props.barcodeformat\n };\n this.scanner.scanBarcode(params).then((res: ScanOutput) => {\n this.updateState({\n props: {\n datavalue: res.text\n }\n } as WmBarcodescannerState, () => {\n this.invokeEventCallback('onSuccess', [null, this.proxy]);\n });\n })\n }\n\n renderWidget(props: WmBarcodescannerProps) {\n return (\n <ScanConsumer>\n {(scanService: ScanService) => {\n this.scanner = scanService;\n return <View style={this.styles.root}>\n {this._background}\n <WmButton id={this.getTestId('button')} iconclass={props.iconclass} styles={this.styles.button} onTap={this.onScanTap.bind(this)} caption={props.caption} iconsize={props.iconsize} accessibilitylabel={props.accessibilitylabel} hint={props.hint} accessibilityrole={props.accessibilityrole}></WmButton>\n </View>\n }}\n </ScanConsumer>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,SAASC,YAAY,QAAqB,oDAAoD;AAE9F,OAAOC,qBAAqB,MAAM,wBAAwB;AAC1D,SAASC,aAAa,QAAgC,yBAAyB;AAC/E,OAAOC,QAAQ,MAAM,oEAAoE;AAEzF,OAAO,MAAMC,qBAAqB,SAASL,kBAAkB,CAAwB;AAErF,eAAe,MAAMM,gBAAgB,SAASP,aAAa,CAAuE;EAEhIQ,WAAWA,CAACC,KAA4B,EAAE;IACxC,KAAK,CAACA,KAAK,EAAEL,aAAa,EAAE,IAAID,qBAAqB,CAAC,CAAC,CAAC;IAACO,eAAA,kBAF5B,IAAI;EAGnC;EAEAC,SAASA,CAAA,EAAG;IACV,MAAMC,MAAiB,GAAG;MACxBC,aAAa,EAAE,IAAI,CAACC,KAAK,CAACL,KAAK,CAACM;IAClC,CAAC;IACD,IAAI,CAACC,OAAO,CAACC,WAAW,CAACL,MAAM,CAAC,CAACM,IAAI,CAAEC,GAAe,IAAK;MACzD,IAAI,CAACC,WAAW,CAAC;QACfX,KAAK,EAAE;UACLY,SAAS,EAAEF,GAAG,CAACG;QACjB;MACF,CAAC,EAA2B,MAAM;QAChC,IAAI,CAACC,mBAAmB,CAAC,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,CAACC,KAAK,CAAC,CAAC;MAC3D,CAAC,CAAC;IACJ,CAAC,CAAC;EACJ;EAEAC,YAAYA,CAAChB,KAA4B,EAAE;IACzC,oBACEX,KAAA,CAAA4B,aAAA,CAACxB,YAAY,QACTyB,WAAwB,IAAK;MAC7B,IAAI,CAACX,OAAO,GAAGW,WAAW;MAC1B,oBAAO7B,KAAA,CAAA4B,aAAA,CAAC3B,IAAI;QAAC6B,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC;MAAK,GAClC,IAAI,CAACC,WAAW,eACjBjC,KAAA,CAAA4B,aAAA,CAACrB,QAAQ;QAAC2B,EAAE,EAAE,IAAI,CAACC,SAAS,CAAC,QAAQ,CAAE;QAACC,SAAS,EAAEzB,KAAK,CAACyB,SAAU;QAACL,MAAM,EAAE,IAAI,CAACA,MAAM,CAACM,MAAO;QAACC,KAAK,EAAE,IAAI,CAACzB,SAAS,CAAC0B,IAAI,CAAC,IAAI,CAAE;QAACC,OAAO,EAAE7B,KAAK,CAAC6B,OAAQ;QAACC,QAAQ,EAAE9B,KAAK,CAAC8B,QAAS;QAACC,kBAAkB,EAAE/B,KAAK,CAAC+B,kBAAmB;QAACC,IAAI,EAAEhC,KAAK,CAACgC,IAAK;QAACC,iBAAiB,EAAEjC,KAAK,CAACiC;MAAkB,CAAW,CACtS,CAAC;IACT,CACY,CAAC;EAEnB;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 WmBarcodescannerProps extends BaseProps {
6
- constructor() {
7
- super(...arguments);
6
+ constructor(...args) {
7
+ super(...args);
8
8
  _defineProperty(this, "barcodeformat", 'ALL');
9
9
  _defineProperty(this, "caption", null);
10
10
  _defineProperty(this, "datavalue", void 0);
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmBarcodescannerProps","constructor","arguments","_defineProperty","undefined"],"sources":["barcodescanner.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\n\nexport default class WmBarcodescannerProps extends BaseProps {\n barcodeformat: string = 'ALL';\n caption: string = null as any;\n datavalue: any;\n iconclass: string = 'fa fa-barcode';\n iconsize: number = 16;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = \"imagebutton\";\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAGzE,eAAe,MAAMC,qBAAqB,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,wBACnC,KAAK;IAAAA,eAAA,kBACX,IAAI;IAAAA,eAAA;IAAAA,eAAA,oBAEF,eAAe;IAAAA,eAAA,mBAChB,EAAE;IAAAA,eAAA,6BACSC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,aAAa;EAAA;AACvD"}
1
+ {"version":3,"names":["BaseProps","WmBarcodescannerProps","constructor","args","_defineProperty","undefined"],"sources":["barcodescanner.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\n\nexport default class WmBarcodescannerProps extends BaseProps {\n barcodeformat: string = 'ALL';\n caption: string = null as any;\n datavalue: any;\n iconclass: string = 'fa fa-barcode';\n iconsize: number = 16;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = \"imagebutton\";\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAGzE,eAAe,MAAMC,qBAAqB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,wBACnC,KAAK;IAAAA,eAAA,kBACX,IAAI;IAAAA,eAAA;IAAAA,eAAA,oBAEF,eAAe;IAAAA,eAAA,mBAChB,EAAE;IAAAA,eAAA,6BACSC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,aAAa;EAAA;AACvD","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","button","minHeight","minWidth","paddingRight","paddingTop","paddingLeft","paddingBottom","borderWidth","borderColor","defaultColor2","borderStyle","backgroundColor","primaryColor","borderRadius","color","barcodeScannerTextColor","icon","defaultColorF","fontSize"],"sources":["barcodescanner.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 '@wavemaker/app-rn-runtime/components/basic/button/button.styles';\n\nexport type WmBarcodescannerStyles = BaseStyles & {\n button: WmButtonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-barcodescanner';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmBarcodescannerStyles = defineStyles({\n root: {},\n text: {},\n button: {\n root: {\n minHeight: 30,\n minWidth: 40,\n paddingRight: 0,\n paddingTop: 10,\n paddingLeft: 8,\n paddingBottom: 8,\n borderWidth: 1,\n borderColor: themeVariables.defaultColor2,\n borderStyle: 'solid',\n backgroundColor: themeVariables.primaryColor,\n borderRadius: 20,\n },\n text: {\n color: themeVariables.barcodeScannerTextColor,\n paddingRight: 0\n },\n icon: {\n text: {\n color: themeVariables.defaultColorF\n },\n icon: {\n fontSize: 21\n }\n }\n } as WmButtonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAOxF,OAAO,MAAMC,aAAa,GAAG,oBAAoB;AACjDF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAAqC,GAAGL,YAAY,CAAC;IACvDM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,MAAM,EAAE;MACNF,IAAI,EAAE;QACJG,SAAS,EAAE,EAAE;QACbC,QAAQ,EAAE,EAAE;QACZC,YAAY,EAAE,CAAC;QACfC,UAAU,EAAE,EAAE;QACdC,WAAW,EAAE,CAAC;QACdC,aAAa,EAAE,CAAC;QAChBC,WAAW,EAAE,CAAC;QACdC,WAAW,EAAEb,cAAc,CAACc,aAAa;QACzCC,WAAW,EAAE,OAAO;QACpBC,eAAe,EAAEhB,cAAc,CAACiB,YAAY;QAC5CC,YAAY,EAAE;MAChB,CAAC;MACDd,IAAI,EAAE;QACJe,KAAK,EAAEnB,cAAc,CAACoB,uBAAuB;QAC7CZ,YAAY,EAAE;MAChB,CAAC;MACDa,IAAI,EAAE;QACJjB,IAAI,EAAE;UACJe,KAAK,EAAEnB,cAAc,CAACsB;QACxB,CAAC;QACDD,IAAI,EAAE;UACJE,QAAQ,EAAE;QACZ;MACF;IACF;EACJ,CAAC,CAAC;EAEFtB,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","text","button","minHeight","minWidth","paddingRight","paddingTop","paddingLeft","paddingBottom","borderWidth","borderColor","defaultColor2","borderStyle","backgroundColor","primaryColor","borderRadius","color","barcodeScannerTextColor","icon","defaultColorF","fontSize"],"sources":["barcodescanner.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 '@wavemaker/app-rn-runtime/components/basic/button/button.styles';\n\nexport type WmBarcodescannerStyles = BaseStyles & {\n button: WmButtonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-barcodescanner';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmBarcodescannerStyles = defineStyles({\n root: {},\n text: {},\n button: {\n root: {\n minHeight: 30,\n minWidth: 40,\n paddingRight: 0,\n paddingTop: 10,\n paddingLeft: 8,\n paddingBottom: 8,\n borderWidth: 1,\n borderColor: themeVariables.defaultColor2,\n borderStyle: 'solid',\n backgroundColor: themeVariables.primaryColor,\n borderRadius: 20,\n },\n text: {\n color: themeVariables.barcodeScannerTextColor,\n paddingRight: 0\n },\n icon: {\n text: {\n color: themeVariables.defaultColorF\n },\n icon: {\n fontSize: 21\n }\n }\n } as WmButtonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAOxF,OAAO,MAAMC,aAAa,GAAG,oBAAoB;AACjDF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAAqC,GAAGL,YAAY,CAAC;IACvDM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,MAAM,EAAE;MACNF,IAAI,EAAE;QACJG,SAAS,EAAE,EAAE;QACbC,QAAQ,EAAE,EAAE;QACZC,YAAY,EAAE,CAAC;QACfC,UAAU,EAAE,EAAE;QACdC,WAAW,EAAE,CAAC;QACdC,aAAa,EAAE,CAAC;QAChBC,WAAW,EAAE,CAAC;QACdC,WAAW,EAAEb,cAAc,CAACc,aAAa;QACzCC,WAAW,EAAE,OAAO;QACpBC,eAAe,EAAEhB,cAAc,CAACiB,YAAY;QAC5CC,YAAY,EAAE;MAChB,CAAC;MACDd,IAAI,EAAE;QACJe,KAAK,EAAEnB,cAAc,CAACoB,uBAAuB;QAC7CZ,YAAY,EAAE;MAChB,CAAC;MACDa,IAAI,EAAE;QACJjB,IAAI,EAAE;UACJe,KAAK,EAAEnB,cAAc,CAACsB;QACxB,CAAC;QACDD,IAAI,EAAE;UACJE,QAAQ,EAAE;QACZ;MACF;IACF;EACJ,CAAC,CAAC;EAEFtB,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
4
  import React from 'react';
5
5
  import { View } from 'react-native';
6
6
  import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmCameraProps","DEFAULT_CLASS","WmButton","CameraConsumer","WmCameraState","WmCamera","constructor","props","_defineProperty","onCameraTap","state","capturetype","params","allowImageEdit","allowedit","imageQuality","imagequality","imageEncodingType","imageencodingtype","imageTargetWidth","imagetargetwidth","imageTargetHeight","imagetargetheight","camera","captureImage","then","res","updateModel","imagePath","content","captureVideo","videoPath","$event","value","startsWith","localFile","updateState","datavalue","localFilePath","invokeEventCallback","bind","proxy","renderWidget","createElement","cameraService","_background","style","styles","root","id","getTestId","iconclass","button","iconsize","onTap","accessibilitylabel","hint","accessibilityrole"],"sources":["camera.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmCameraProps from './camera.props';\nimport { DEFAULT_CLASS, WmCameraStyles } from './camera.styles';\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\nimport { CaptureImageOutput } from '@wavemaker/app-rn-runtime/variables/device/camera/capture-image.operation';\nimport { CameraConsumer, CameraInput, CameraService } from \"@wavemaker/app-rn-runtime/core/device/camera-service\";\nimport { CaptureVideoOutput } from '@wavemaker/app-rn-runtime/variables/device/camera/capture-video.operation';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \n\n\nexport class WmCameraState extends BaseComponentState<WmCameraProps> {}\n\nexport default class WmCamera extends BaseComponent<WmCameraProps, WmCameraState, WmCameraStyles> {\n private camera: CameraService = null as any;\n public localFile: string = '';\n constructor(props: WmCameraProps) {\n super(props, DEFAULT_CLASS, new WmCameraProps());\n }\n\n onCameraTap() {\n const props = this.state.props;\n if (props.capturetype === 'IMAGE') {\n const params: CameraInput = {\n allowImageEdit: props.allowedit,\n imageQuality: props.imagequality,\n imageEncodingType: props.imageencodingtype,\n imageTargetWidth: props.imagetargetwidth,\n imageTargetHeight: props.imagetargetheight\n };\n\n this.camera.captureImage(params).then((res: CaptureImageOutput) => {\n this.updateModel(null, res.imagePath, res.content);\n });\n } else {\n this.camera.captureVideo().then((res: CaptureVideoOutput) => {\n this.updateModel(null, res.videoPath, res.content);\n });\n }\n\n }\n\n private updateModel($event: any, value: any, content: string) {\n value = (value.startsWith('file://') ? '' : 'file://') + value;\n this.localFile = content;\n this.updateState({\n props: {\n datavalue: value,\n localFilePath: value\n }\n } as WmCameraState, this.invokeEventCallback.bind(this, 'onSuccess', [null, this.proxy, value, this.localFile]));\n }\n\n renderWidget(props: WmCameraProps) {\n return (\n <CameraConsumer>\n {(cameraService: CameraService) => {\n {this._background}\n this.camera = cameraService;\n return <View style={this.styles.root}>\n <WmButton id={this.getTestId('button')} iconclass={props.iconclass} styles={this.styles.button} iconsize={props.iconsize} onTap={this.onCameraTap.bind(this)} accessibilitylabel={props.accessibilitylabel} hint={props.hint} accessibilityrole={props.accessibilityrole}></WmButton>\n </View>\n }}\n </CameraConsumer>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,OAAOC,QAAQ,MAAM,oEAAoE;AAEzF,SAASC,cAAc,QAAoC,sDAAsD;AAKjH,OAAO,MAAMC,aAAa,SAASL,kBAAkB,CAAgB;AAErE,eAAe,MAAMM,QAAQ,SAASP,aAAa,CAA+C;EAGhGQ,WAAWA,CAACC,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,aAAa,CAAC,CAAC,CAAC;IAACQ,eAAA,iBAHnB,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I,CAACC,KAAK,EAAER,KAAK,EAAE,IAAI,CAACE,SAAS,CAAC,CAAC,CAAC;EAClH;EAEAO,YAAYA,CAACnC,KAAoB,EAAE;IACjC,oBACMX,KAAA,CAAA+C,aAAA,CAACxC,cAAc,QACTyC,aAA4B,IAAK;MACnC;QAAC,IAAI,CAACC,WAAW;MAAA;MACjB,IAAI,CAACtB,MAAM,GAAGqB,aAAa;MAC3B,oBAAOhD,KAAA,CAAA+C,aAAA,CAAC9C,IAAI;QAACiD,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC;MAAK,gBACnCpD,KAAA,CAAA+C,aAAA,CAACzC,QAAQ;QAAC+C,EAAE,EAAE,IAAI,CAACC,SAAS,CAAC,QAAQ,CAAE;QAACC,SAAS,EAAE5C,KAAK,CAAC4C,SAAU;QAACJ,MAAM,EAAE,IAAI,CAACA,MAAM,CAACK,MAAO;QAACC,QAAQ,EAAE9C,KAAK,CAAC8C,QAAS;QAACC,KAAK,EAAE,IAAI,CAAC7C,WAAW,CAAC+B,IAAI,CAAC,IAAI,CAAE;QAACe,kBAAkB,EAAEhD,KAAK,CAACgD,kBAAmB;QAACC,IAAI,EAAEjD,KAAK,CAACiD,IAAK;QAACC,iBAAiB,EAAElD,KAAK,CAACkD;MAAkB,CAAW,CAChR,CAAC;IACT,CACc,CAAC;EAEzB;AACF"}
1
+ {"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmCameraProps","DEFAULT_CLASS","WmButton","CameraConsumer","WmCameraState","WmCamera","constructor","props","_defineProperty","onCameraTap","state","capturetype","params","allowImageEdit","allowedit","imageQuality","imagequality","imageEncodingType","imageencodingtype","imageTargetWidth","imagetargetwidth","imageTargetHeight","imagetargetheight","camera","captureImage","then","res","updateModel","imagePath","content","captureVideo","videoPath","$event","value","startsWith","localFile","updateState","datavalue","localFilePath","invokeEventCallback","bind","proxy","renderWidget","createElement","cameraService","_background","style","styles","root","id","getTestId","iconclass","button","iconsize","onTap","accessibilitylabel","hint","accessibilityrole"],"sources":["camera.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmCameraProps from './camera.props';\nimport { DEFAULT_CLASS, WmCameraStyles } from './camera.styles';\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\nimport { CaptureImageOutput } from '@wavemaker/app-rn-runtime/variables/device/camera/capture-image.operation';\nimport { CameraConsumer, CameraInput, CameraService } from \"@wavemaker/app-rn-runtime/core/device/camera-service\";\nimport { CaptureVideoOutput } from '@wavemaker/app-rn-runtime/variables/device/camera/capture-video.operation';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \n\n\nexport class WmCameraState extends BaseComponentState<WmCameraProps> {}\n\nexport default class WmCamera extends BaseComponent<WmCameraProps, WmCameraState, WmCameraStyles> {\n private camera: CameraService = null as any;\n public localFile: string = '';\n constructor(props: WmCameraProps) {\n super(props, DEFAULT_CLASS, new WmCameraProps());\n }\n\n onCameraTap() {\n const props = this.state.props;\n if (props.capturetype === 'IMAGE') {\n const params: CameraInput = {\n allowImageEdit: props.allowedit,\n imageQuality: props.imagequality,\n imageEncodingType: props.imageencodingtype,\n imageTargetWidth: props.imagetargetwidth,\n imageTargetHeight: props.imagetargetheight\n };\n\n this.camera.captureImage(params).then((res: CaptureImageOutput) => {\n this.updateModel(null, res.imagePath, res.content);\n });\n } else {\n this.camera.captureVideo().then((res: CaptureVideoOutput) => {\n this.updateModel(null, res.videoPath, res.content);\n });\n }\n\n }\n\n private updateModel($event: any, value: any, content: string) {\n value = (value.startsWith('file://') ? '' : 'file://') + value;\n this.localFile = content;\n this.updateState({\n props: {\n datavalue: value,\n localFilePath: value\n }\n } as WmCameraState, this.invokeEventCallback.bind(this, 'onSuccess', [null, this.proxy, value, this.localFile]));\n }\n\n renderWidget(props: WmCameraProps) {\n return (\n <CameraConsumer>\n {(cameraService: CameraService) => {\n {this._background}\n this.camera = cameraService;\n return <View style={this.styles.root}>\n <WmButton id={this.getTestId('button')} iconclass={props.iconclass} styles={this.styles.button} iconsize={props.iconsize} onTap={this.onCameraTap.bind(this)} accessibilitylabel={props.accessibilitylabel} hint={props.hint} accessibilityrole={props.accessibilityrole}></WmButton>\n </View>\n }}\n </CameraConsumer>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,OAAOC,QAAQ,MAAM,oEAAoE;AAEzF,SAASC,cAAc,QAAoC,sDAAsD;AAKjH,OAAO,MAAMC,aAAa,SAASL,kBAAkB,CAAgB;AAErE,eAAe,MAAMM,QAAQ,SAASP,aAAa,CAA+C;EAGhGQ,WAAWA,CAACC,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,aAAa,CAAC,CAAC,CAAC;IAACQ,eAAA,iBAHnB,IAAI;IAAAA,eAAA,oBACT,EAAE;EAG7B;EAEAC,WAAWA,CAAA,EAAG;IACZ,MAAMF,KAAK,GAAG,IAAI,CAACG,KAAK,CAACH,KAAK;IAC9B,IAAIA,KAAK,CAACI,WAAW,KAAK,OAAO,EAAE;MACjC,MAAMC,MAAmB,GAAG;QAC1BC,cAAc,EAAEN,KAAK,CAACO,SAAS;QAC/BC,YAAY,EAAER,KAAK,CAACS,YAAY;QAChCC,iBAAiB,EAAEV,KAAK,CAACW,iBAAiB;QAC1CC,gBAAgB,EAAEZ,KAAK,CAACa,gBAAgB;QACxCC,iBAAiB,EAAEd,KAAK,CAACe;MAC3B,CAAC;MAED,IAAI,CAACC,MAAM,CAACC,YAAY,CAACZ,MAAM,CAAC,CAACa,IAAI,CAAEC,GAAuB,IAAK;QACjE,IAAI,CAACC,W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AI,CAACA,MAAM,CAACK,MAAO;QAACC,QAAQ,EAAE9C,KAAK,CAAC8C,QAAS;QAACC,KAAK,EAAE,IAAI,CAAC7C,WAAW,CAAC+B,IAAI,CAAC,IAAI,CAAE;QAACe,kBAAkB,EAAEhD,KAAK,CAACgD,kBAAmB;QAACC,IAAI,EAAEjD,KAAK,CAACiD,IAAK;QAACC,iBAAiB,EAAElD,KAAK,CAACkD;MAAkB,CAAW,CAChR,CAAC;IACT,CACc,CAAC;EAEzB;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 WmCameraProps extends BaseProps {
6
- constructor() {
7
- super(...arguments);
6
+ constructor(...args) {
7
+ super(...args);
8
8
  _defineProperty(this, "allowedit", false);
9
9
  _defineProperty(this, "capturetype", 'IMAGE');
10
10
  _defineProperty(this, "iconclass", 'wm-sl-l sl-camera');
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmCameraProps","constructor","arguments","_defineProperty","undefined"],"sources":["camera.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\n\nexport default class WmCameraProps extends BaseProps {\n allowedit: boolean = false;\n capturetype: string = 'IMAGE';\n iconclass: string = 'wm-sl-l sl-camera';\n iconsize: number = 16;\n imagequality: number = 80;\n imageencodingtype: string = 'JPEG';\n imagetargetwidth: number = null as any;\n imagetargetheight: number = null as any;\n datavalue: any;\n localFilePath: string = '';\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = \"imagebutton\";\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAGzE,eAAe,MAAMC,aAAa,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBAC9B,KAAK;IAAAA,eAAA,sBACJ,OAAO;IAAAA,eAAA,oBACT,mBAAmB;IAAAA,eAAA,mBACpB,EAAE;IAAAA,eAAA,uBACE,EAAE;IAAAA,eAAA,4BACG,MAAM;IAAAA,eAAA,2BACP,IAAI;IAAAA,eAAA,4BACH,IAAI;IAAAA,eAAA;IAAAA,eAAA,wBAER,EAAE;IAAAA,eAAA,6BACIC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,aAAa;EAAA;AACvD"}
1
+ {"version":3,"names":["BaseProps","WmCameraProps","constructor","args","_defineProperty","undefined"],"sources":["camera.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\n\nexport default class WmCameraProps extends BaseProps {\n allowedit: boolean = false;\n capturetype: string = 'IMAGE';\n iconclass: string = 'wm-sl-l sl-camera';\n iconsize: number = 16;\n imagequality: number = 80;\n imageencodingtype: string = 'JPEG';\n imagetargetwidth: number = null as any;\n imagetargetheight: number = null as any;\n datavalue: any;\n localFilePath: string = '';\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = \"imagebutton\";\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAGzE,eAAe,MAAMC,aAAa,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBAC9B,KAAK;IAAAA,eAAA,sBACJ,OAAO;IAAAA,eAAA,oBACT,mBAAmB;IAAAA,eAAA,mBACpB,EAAE;IAAAA,eAAA,uBACE,EAAE;IAAAA,eAAA,4BACG,MAAM;IAAAA,eAAA,2BACP,IAAI;IAAAA,eAAA,4BACH,IAAI;IAAAA,eAAA;IAAAA,eAAA,wBAER,EAAE;IAAAA,eAAA,6BACIC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,aAAa;EAAA;AACvD","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","button","minHeight","minWidth","paddingRight","paddingLeft","paddingBottom","paddingTop","borderWidth","borderColor","defaultColor2","borderStyle","backgroundColor","primaryColor","borderRadius","rippleColor","color","cameraTextColor","icon","defaultColorF","fontSize"],"sources":["camera.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 '@wavemaker/app-rn-runtime/components/basic/button/button.styles';\n\nexport type WmCameraStyles = BaseStyles & {\n button: WmButtonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-camera';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmCameraStyles = defineStyles({\n root: {},\n text: {},\n button: {\n root: {\n minHeight: 30,\n minWidth: 40,\n paddingRight: 0,\n paddingLeft: 7,\n paddingBottom: 4,\n paddingTop: 4,\n borderWidth: 1,\n borderColor: themeVariables.defaultColor2,\n borderStyle: 'solid',\n backgroundColor: themeVariables.primaryColor,\n borderRadius: 20,\n rippleColor : themeVariables.rippleColor\n },\n text: {\n color: themeVariables.cameraTextColor,\n },\n icon: {\n text: {\n color: themeVariables.defaultColorF,\n paddingRight: 0\n },\n icon: {\n fontSize: 24\n }\n }\n } as WmButtonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAOxF,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA6B,GAAGL,YAAY,CAAC;IAC/CM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,MAAM,EAAE;MACNF,IAAI,EAAE;QACJG,SAAS,EAAE,EAAE;QACbC,QAAQ,EAAE,EAAE;QACZC,YAAY,EAAE,CAAC;QACfC,WAAW,EAAE,CAAC;QACdC,aAAa,EAAE,CAAC;QAChBC,UAAU,EAAE,CAAC;QACbC,WAAW,EAAE,CAAC;QACdC,WAAW,EAAEb,cAAc,CAACc,aAAa;QACzCC,WAAW,EAAE,OAAO;QACpBC,eAAe,EAAEhB,cAAc,CAACiB,YAAY;QAC5CC,YAAY,EAAE,EAAE;QAChBC,WAAW,EAAGnB,cAAc,CAACmB;MAC/B,CAAC;MACDf,IAAI,EAAE;QACJgB,KAAK,EAAEpB,cAAc,CAACqB;MACxB,CAAC;MACDC,IAAI,EAAE;QACJlB,IAAI,EAAE;UACJgB,KAAK,EAAEpB,cAAc,CAACuB,aAAa;UACnCf,YAAY,EAAE;QAChB,CAAC;QACDc,IAAI,EAAE;UACJE,QAAQ,EAAE;QACZ;MACF;IACF;EACJ,CAAC,CAAC;EAEFvB,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","text","button","minHeight","minWidth","paddingRight","paddingLeft","paddingBottom","paddingTop","borderWidth","borderColor","defaultColor2","borderStyle","backgroundColor","primaryColor","borderRadius","rippleColor","color","cameraTextColor","icon","defaultColorF","fontSize"],"sources":["camera.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 '@wavemaker/app-rn-runtime/components/basic/button/button.styles';\n\nexport type WmCameraStyles = BaseStyles & {\n button: WmButtonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-camera';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmCameraStyles = defineStyles({\n root: {},\n text: {},\n button: {\n root: {\n minHeight: 30,\n minWidth: 40,\n paddingRight: 0,\n paddingLeft: 7,\n paddingBottom: 4,\n paddingTop: 4,\n borderWidth: 1,\n borderColor: themeVariables.defaultColor2,\n borderStyle: 'solid',\n backgroundColor: themeVariables.primaryColor,\n borderRadius: 20,\n rippleColor : themeVariables.rippleColor\n },\n text: {\n color: themeVariables.cameraTextColor,\n },\n icon: {\n text: {\n color: themeVariables.defaultColorF,\n paddingRight: 0\n },\n icon: {\n fontSize: 24\n }\n }\n } as WmButtonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAOxF,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA6B,GAAGL,YAAY,CAAC;IAC/CM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,MAAM,EAAE;MACNF,IAAI,EAAE;QACJG,SAAS,EAAE,EAAE;QACbC,QAAQ,EAAE,EAAE;QACZC,YAAY,EAAE,CAAC;QACfC,WAAW,EAAE,CAAC;QACdC,aAAa,EAAE,CAAC;QAChBC,UAAU,EAAE,CAAC;QACbC,WAAW,EAAE,CAAC;QACdC,WAAW,EAAEb,cAAc,CAACc,aAAa;QACzCC,WAAW,EAAE,OAAO;QACpBC,eAAe,EAAEhB,cAAc,CAACiB,YAAY;QAC5CC,YAAY,EAAE,EAAE;QAChBC,WAAW,EAAGnB,cAAc,CAACmB;MAC/B,CAAC;MACDf,IAAI,EAAE;QACJgB,KAAK,EAAEpB,cAAc,CAACqB;MACxB,CAAC;MACDC,IAAI,EAAE;QACJlB,IAAI,EAAE;UACJgB,KAAK,EAAEpB,cAAc,CAACuB,aAAa;UACnCf,YAAY,EAAE;QAChB,CAAC;QACDc,IAAI,EAAE;UACJE,QAAQ,EAAE;QACZ;MACF;IACF;EACJ,CAAC,CAAC;EAEFvB,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
4
  import React from 'react';
5
5
  import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
6
6
  import WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';
@@ -41,6 +41,7 @@ export default class WmAlertdialog extends BaseComponent {
41
41
  iconmargin: props.iconmargin,
42
42
  iconwidth: props.iconwidth,
43
43
  animation: props.animation,
44
+ animationdelay: props.animationdelay,
44
45
  closable: props.closable,
45
46
  modal: props.modal,
46
47
  styles: this.styles.dialog,
@@ -1 +1 @@
1
- {"version":3,"names":["React","BaseComponent","BaseComponentState","WmButton","WmLabel","WmDialog","WmDialogcontent","WmDialogactions","WmAlertdialogProps","DEFAULT_CLASS","WmAlertdialogState","MESSAGE_STYLES","Map","WmAlertdialog","constructor","props","_defineProperty","onComponentInit","c","dialogRef","open","close","getMessageStyle","type","renderWidget","messageStyle","theme","getStyle","get","alerttype","createElement","id","getTestId","iconclass","iconurl","iconheight","iconmargin","iconwidth","animation","closable","modal","styles","dialog","title","listener","onOpened","invokeEventCallback","dialogContent","caption","message","dialogActions","oktext","mergeStyle","okButton","onTap"],"sources":["alertdialog.component.tsx"],"sourcesContent":["import React from 'react';\nimport { BaseComponent, BaseComponentState, LifecycleListener } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\nimport WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';\n\nimport WmDialog from '../dialog/dialog.component';\nimport WmDialogcontent from '../dialogcontent/dialogcontent.component';\nimport WmDialogactions from '../dialogactions/dialogactions.component';\n\nimport WmAlertdialogProps from './alertdialog.props';\nimport { DEFAULT_CLASS, WmAlertdialogStyles } from './alertdialog.styles';\n\nexport class WmAlertdialogState extends BaseComponentState<WmAlertdialogProps> {}\n\nconst MESSAGE_STYLES = new Map<string, string>([\n ['error', 'text-danger'],\n ['information', 'text-info'],\n ['warning', 'text-warning'],\n ['success', 'text-success']\n]);\n\nexport default class WmAlertdialog extends BaseComponent<WmAlertdialogProps, WmAlertdialogState, WmAlertdialogStyles> {\n\n private dialogRef: WmDialog = null as any;\n\n private listener: LifecycleListener = {\n onComponentInit: (c) => {\n if (c instanceof WmDialog) {\n this.dialogRef = c;\n }\n }\n };\n\n constructor(props: WmAlertdialogProps) {\n super(props, DEFAULT_CLASS, new WmAlertdialogProps());\n }\n\n open() {\n this.dialogRef.open();\n }\n\n close() {\n this.dialogRef.close();\n }\n\n getMessageStyle(type: string) {\n\n }\n\n renderWidget(props: WmAlertdialogProps) {\n const messageStyle = this.theme.getStyle(MESSAGE_STYLES.get(props.alerttype || 'error') as string);\n return (\n <WmDialog\n id={this.getTestId('dialog')}\n iconclass={props.iconclass}\n iconurl={props.iconurl}\n iconheight={props.iconheight}\n iconmargin={props.iconmargin}\n iconwidth={props.iconwidth}\n animation={props.animation}\n closable={props.closable}\n modal={props.modal}\n styles={this.styles.dialog}\n title={props.title}\n listener={this.listener} onOpened={() => {\n this.invokeEventCallback('onOpened', [null, this]);\n }}>\n <WmDialogcontent styles={this.styles.dialogContent}>\n <WmLabel\n id={this.getTestId('msg')}\n caption={props.message || ''}\n styles={this.styles.message}></WmLabel>\n </WmDialogcontent>\n <WmDialogactions styles={this.styles.dialogActions}>\n <WmButton\n id={this.getTestId('okbtn')}\n caption={props.oktext}\n styles={this.theme.mergeStyle({},this.styles.okButton,this.theme.getStyle('btn-only-label'))}\n onTap={() => {\n this.dialogRef.close();\n this.invokeEventCallback('onOk', [null, this]);\n }}></WmButton>\n </WmDialogactions>\n </WmDialog>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,EAAEC,kBAAkB,QAA2B,+CAA+C;AAEpH,OAAOC,QAAQ,MAAM,oEAAoE;AACzF,OAAOC,OAAO,MAAM,kEAAkE;AAEtF,OAAOC,QAAQ,MAAM,4B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AAC,IAAI,CAAC3B,KAAK,CAACC,QAAQ,CAAC,gBAAgB,CAAC,CAAE;MAC7F2B,KAAK,EAAEA,CAAA,KAAM;QACX,IAAI,CAACnC,SAAS,CAACE,KAAK,CAAC,CAAC;QACtB,IAAI,CAACyB,mBAAmB,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;MAChD;IAAE,CAAW,CACA,CACT,CAAC;EAEf;AACF"}
1
+ {"version":3,"names":["React","BaseComponent","BaseComponentState","WmButton","WmLabel","WmDialog","WmDialogcontent","WmDialogactions","WmAlertdialogProps","DEFAULT_CLASS","WmAlertdialogState","MESSAGE_STYLES","Map","WmAlertdialog","constructor","props","_defineProperty","onComponentInit","c","dialogRef","open","close","getMessageStyle","type","renderWidget","messageStyle","theme","getStyle","get","alerttype","createElement","id","getTestId","iconclass","iconurl","iconheight","iconmargin","iconwidth","animation","animationdelay","closable","modal","styles","dialog","title","listener","onOpened","invokeEventCallback","dialogContent","caption","message","dialogActions","oktext","mergeStyle","okButton","onTap"],"sources":["alertdialog.component.tsx"],"sourcesContent":["import React from 'react';\nimport { BaseComponent, BaseComponentState, LifecycleListener } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\nimport WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';\n\nimport WmDialog from '../dialog/dialog.component';\nimport WmDialogcontent from '../dialogcontent/dialogcontent.component';\nimport WmDialogactions from '../dialogactions/dialogactions.component';\n\nimport WmAlertdialogProps from './alertdialog.props';\nimport { DEFAULT_CLASS, WmAlertdialogStyles } from './alertdialog.styles';\n\nexport class WmAlertdialogState extends BaseComponentState<WmAlertdialogProps> {}\n\nconst MESSAGE_STYLES = new Map<string, string>([\n ['error', 'text-danger'],\n ['information', 'text-info'],\n ['warning', 'text-warning'],\n ['success', 'text-success']\n]);\n\nexport default class WmAlertdialog extends BaseComponent<WmAlertdialogProps, WmAlertdialogState, WmAlertdialogStyles> {\n\n private dialogRef: WmDialog = null as any;\n\n private listener: LifecycleListener = {\n onComponentInit: (c) => {\n if (c instanceof WmDialog) {\n this.dialogRef = c;\n }\n }\n };\n\n constructor(props: WmAlertdialogProps) {\n super(props, DEFAULT_CLASS, new WmAlertdialogProps());\n }\n\n open() {\n this.dialogRef.open();\n }\n\n close() {\n this.dialogRef.close();\n }\n\n getMessageStyle(type: string) {\n\n }\n\n renderWidget(props: WmAlertdialogProps) {\n const messageStyle = this.theme.getStyle(MESSAGE_STYLES.get(props.alerttype || 'error') as string);\n return (\n <WmDialog\n id={this.getTestId('dialog')}\n iconclass={props.iconclass}\n iconurl={props.iconurl}\n iconheight={props.iconheight}\n iconmargin={props.iconmargin}\n iconwidth={props.iconwidth}\n animation={props.animation}\n animationdelay={props.animationdelay}\n closable={props.closable}\n modal={props.modal}\n styles={this.styles.dialog}\n title={props.title}\n listener={this.listener} onOpened={() => {\n this.invokeEventCallback('onOpened', [null, this]);\n }}>\n <WmDialogcontent styles={this.styles.dialogContent}>\n <WmLabel\n id={this.getTestId('msg')}\n caption={props.message || ''}\n styles={this.styles.message}></WmLabel>\n </WmDialogcontent>\n <WmDialogactions styles={this.styles.dialogActions}>\n <WmButton\n id={this.getTestId('okbtn')}\n caption={props.oktext}\n styles={this.theme.mergeStyle({},this.styles.okButton,this.theme.getStyle('btn-only-label'))}\n onTap={() => {\n this.dialogRef.close();\n this.invokeEventCallback('onOk', [null, this]);\n }}></WmButton>\n </WmDialogactions>\n </WmDialog>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,EAAEC,kBAAkB,QAA2B,+CAA+C;AAEpH,OAAOC,QAAQ,MAAM,oEAAoE;AACzF,OAAOC,OAAO,MAAM,kEAAkE;AAEtF,OAAOC,QAAQ,MAAM,4BAA4B;AACjD,OAAOC,eAAe,MAAM,0CAA0C;AACtE,OAAOC,eAAe,MAAM,0CAA0C;AAEtE,OAAOC,kB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gB,CAAC,CAAE;MAC7F4B,KAAK,EAAEA,CAAA,KAAM;QACX,IAAI,CAACpC,SAAS,CAACE,KAAK,CAAC,CAAC;QACtB,IAAI,CAAC0B,mBAAmB,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;MAChD;IAAE,CAAW,CACA,CACT,CAAC;EAEf;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 WmAlertdialogProps 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, "title", 'Alert');
10
11
  _defineProperty(this, "iconclass", 'wi wi-warning');
11
12
  _defineProperty(this, "alerttype", 'error');
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmAlertdialogProps","constructor","arguments","_defineProperty"],"sources":["alertdialog.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmAlertdialogProps extends BaseProps {\n animation: string = null as any;\n title? = 'Alert';\n iconclass? = 'wi wi-warning';\n alerttype? = 'error'\n oktext? = 'Ok';\n message? = 'I am an alert box!';\n modal? = false;\n closable? = true;\n onOpened?: Function = 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}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,kBAAkB,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBACpC,IAAI;IAAAA,eAAA,gBACf,OAAO;IAAAA,eAAA,oBACH,eAAe;IAAAA,eAAA,oBACf,OAAO;IAAAA,eAAA,iBACV,IAAI;IAAAA,eAAA,kBACH,oBAAoB;IAAAA,eAAA,gBACtB,KAAK;IAAAA,eAAA,mBACF,IAAI;IAAAA,eAAA,mBACM,IAAI;IAAAA,eAAA,kBACP,IAAI;IAAAA,eAAA,qBACD,IAAI;IAAAA,eAAA,oBACL,IAAI;IAAAA,eAAA,qBACH,IAAI;EAAA;AAC5B"}
1
+ {"version":3,"names":["BaseProps","WmAlertdialogProps","constructor","args","_defineProperty"],"sources":["alertdialog.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmAlertdialogProps extends BaseProps {\n animation: string = null as any;\n animationdelay: number = null as any;\n title? = 'Alert';\n iconclass? = 'wi wi-warning';\n alerttype? = 'error'\n oktext? = 'Ok';\n message? = 'I am an alert box!';\n modal? = false;\n closable? = true;\n onOpened?: Function = 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}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,kBAAkB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBACpC,IAAI;IAAAA,eAAA,yBACC,IAAI;IAAAA,eAAA,gBACpB,OAAO;IAAAA,eAAA,oBACH,eAAe;IAAAA,eAAA,oBACf,OAAO;IAAAA,eAAA,iBACV,IAAI;IAAAA,eAAA,kBACH,oBAAoB;IAAAA,eAAA,gBACtB,KAAK;IAAAA,eAAA,mBACF,IAAI;IAAAA,eAAA,mBACM,IAAI;IAAAA,eAAA,kBACP,IAAI;IAAAA,eAAA,qBACD,IAAI;IAAAA,eAAA,oBACL,IAAI;IAAAA,eAAA,qBACH,IAAI;EAAA;AAC5B","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","dialog","dialogContent","dialogActions","okButton","border","marginLeft","textTransform","fontSize","message","fontFamily","baseFont","fontWeight","color","dialogSupportingTextColor"],"sources":["alertdialog.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 '@wavemaker/app-rn-runtime/components/basic/button/button.styles';\nimport { WmDialogStyles } from '../dialog/dialog.styles';\nimport { WmDialogcontentStyles } from '../dialogcontent/dialogcontent.styles';\nimport { WmDialogactionsStyles } from '../dialogactions/dialogactions.styles';\nimport { WmLabelStyles } from '../../basic/label/label.styles';\n\nexport type WmAlertdialogStyles = BaseStyles & {\n dialog: WmDialogStyles,\n dialogContent: WmDialogcontentStyles,\n dialogActions: WmDialogactionsStyles,\n okButton: WmButtonStyles,\n message: WmLabelStyles\n};\n\nexport const DEFAULT_CLASS = 'app-alertdialog';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmAlertdialogStyles = defineStyles({\n root: {},\n text: {},\n dialog: {} as WmDialogStyles,\n dialogContent: {\n root: {}\n } as WmDialogactionsStyles,\n dialogActions: {} as WmDialogcontentStyles,\n okButton: {\n root: {\n border: 'none',\n marginLeft: 4\n },\n text : {\n textTransform: 'capitalize',\n fontSize: 16\n }\n } as any as WmButtonStyles,\n message: {\n text: {\n fontFamily: themeVariables.baseFont,\n fontSize: 14,\n fontWeight: '400',\n color: themeVariables.dialogSupportingTextColor\n }\n } as WmLabelStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAexF,OAAO,MAAMC,aAAa,GAAG,iBAAiB;AAC9CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAkC,GAAGL,YAAY,CAAC;IACpDM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,MAAM,EAAE,CAAC,CAAmB;IAC5BC,aAAa,EAAE;MACXH,IAAI,EAAE,CAAC;IACX,CAA0B;IAC1BI,aAAa,EAAE,CAAC,CAA0B;IAC1CC,QAAQ,EAAE;MACNL,IAAI,EAAE;QACHM,MAAM,EAAE,MAAM;QACdC,UAAU,EAAE;MACf,CAAC;MACDN,IAAI,EAAG;QACHO,aAAa,EAAE,YAAY;QAC3BC,QAAQ,EAAE;MACd;IACJ,CAA0B;IAC1BC,OAAO,EAAE;MACLT,IAAI,EAAE;QACFU,UAAU,EAAEd,cAAc,CAACe,QAAQ;QACnCH,QAAQ,EAAE,EAAE;QACZI,UAAU,EAAE,KAAK;QACjBC,KAAK,EAAEjB,cAAc,CAACkB;MAC1B;IACJ;EACJ,CAAC,CAAC;EAEFjB,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","dialog","dialogContent","dialogActions","okButton","border","marginLeft","textTransform","fontSize","message","fontFamily","baseFont","fontWeight","color","dialogSupportingTextColor"],"sources":["alertdialog.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 '@wavemaker/app-rn-runtime/components/basic/button/button.styles';\nimport { WmDialogStyles } from '../dialog/dialog.styles';\nimport { WmDialogcontentStyles } from '../dialogcontent/dialogcontent.styles';\nimport { WmDialogactionsStyles } from '../dialogactions/dialogactions.styles';\nimport { WmLabelStyles } from '../../basic/label/label.styles';\n\nexport type WmAlertdialogStyles = BaseStyles & {\n dialog: WmDialogStyles,\n dialogContent: WmDialogcontentStyles,\n dialogActions: WmDialogactionsStyles,\n okButton: WmButtonStyles,\n message: WmLabelStyles\n};\n\nexport const DEFAULT_CLASS = 'app-alertdialog';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmAlertdialogStyles = defineStyles({\n root: {},\n text: {},\n dialog: {} as WmDialogStyles,\n dialogContent: {\n root: {}\n } as WmDialogactionsStyles,\n dialogActions: {} as WmDialogcontentStyles,\n okButton: {\n root: {\n border: 'none',\n marginLeft: 4\n },\n text : {\n textTransform: 'capitalize',\n fontSize: 16\n }\n } as any as WmButtonStyles,\n message: {\n text: {\n fontFamily: themeVariables.baseFont,\n fontSize: 14,\n fontWeight: '400',\n color: themeVariables.dialogSupportingTextColor\n }\n } as WmLabelStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAexF,OAAO,MAAMC,aAAa,GAAG,iBAAiB;AAC9CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAkC,GAAGL,YAAY,CAAC;IACpDM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,MAAM,EAAE,CAAC,CAAmB;IAC5BC,aAAa,EAAE;MACXH,IAAI,EAAE,CAAC;IACX,CAA0B;IAC1BI,aAAa,EAAE,CAAC,CAA0B;IAC1CC,QAAQ,EAAE;MACNL,IAAI,EAAE;QACHM,MAAM,EAAE,MAAM;QACdC,UAAU,EAAE;MACf,CAAC;MACDN,IAAI,EAAG;QACHO,aAAa,EAAE,YAAY;QAC3BC,QAAQ,EAAE;MACd;IACJ,CAA0B;IAC1BC,OAAO,EAAE;MACLT,IAAI,EAAE;QACFU,UAAU,EAAEd,cAAc,CAACe,QAAQ;QACnCH,QAAQ,EAAE,EAAE;QACZI,UAAU,EAAE,KAAK;QACjBC,KAAK,EAAEjB,cAAc,CAACkB;MAC1B;IACJ;EACJ,CAAC,CAAC;EAEFjB,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC9C,CAAC,CAAC","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
4
  import React from 'react';
5
5
  import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
6
6
  import WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';
@@ -39,6 +39,7 @@ export default class WmConfirmdialog extends BaseComponent {
39
39
  iconmargin: props.iconmargin,
40
40
  iconwidth: props.iconwidth,
41
41
  animation: props.animation,
42
+ animationdelay: props.animationdelay,
42
43
  closable: props.closable,
43
44
  modal: props.modal,
44
45
  styles: this.styles.dialog,
@@ -1 +1 @@
1
- {"version":3,"names":["React","BaseComponent","BaseComponentState","WmButton","WmLabel","WmDialog","WmDialogcontent","WmDialogactions","WmConfirmdialogProps","DEFAULT_CLASS","WmConfirmdialogState","WmConfirmdialog","constructor","props","_defineProperty","onComponentInit","c","dialogRef","open","close","getMessageStyle","type","renderWidget","createElement","id","getTestId","iconclass","iconurl","iconheight","iconmargin","iconwidth","animation","closable","modal","styles","dialog","title","listener","onOpened","invokeEventCallback","dialogContent","caption","message","dialogActions","canceltext","theme","mergeStyle","getStyle","cancelButton","onTap","oktext","okButton"],"sources":["confirmdialog.component.tsx"],"sourcesContent":["import React from 'react';\nimport { BaseComponent, BaseComponentState, LifecycleListener } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\nimport WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';\n\nimport WmDialog from '../dialog/dialog.component';\nimport WmDialogcontent from '../dialogcontent/dialogcontent.component';\nimport WmDialogactions from '../dialogactions/dialogactions.component';\n\nimport WmConfirmdialogProps from './confirmdialog.props';\nimport { DEFAULT_CLASS, WmConfirmdialogStyles } from './confirmdialog.styles';\nimport { merge } from 'lodash-es';\n\nexport class WmConfirmdialogState extends BaseComponentState<WmConfirmdialogProps> {}\n\nexport default class WmConfirmdialog extends BaseComponent<WmConfirmdialogProps, WmConfirmdialogState, WmConfirmdialogStyles> {\n\n private dialogRef: WmDialog = null as any;\n\n private listener: LifecycleListener = {\n onComponentInit: (c) => {\n if (c instanceof WmDialog) {\n this.dialogRef = c;\n }\n }\n };\n\n constructor(props: WmConfirmdialogProps) {\n super(props, DEFAULT_CLASS, new WmConfirmdialogProps());\n }\n\n open() {\n this.dialogRef.open();\n }\n\n close() {\n this.dialogRef.close();\n }\n\n getMessageStyle(type: string) {\n\n }\n\n renderWidget(props: WmConfirmdialogProps) {\n return (\n <WmDialog\n id={this.getTestId('dialog')}\n iconclass={props.iconclass}\n iconurl={props.iconurl}\n iconheight={props.iconheight}\n iconmargin={props.iconmargin}\n iconwidth={props.iconwidth}\n animation={props.animation}\n closable={props.closable}\n modal={props.modal}\n styles={this.styles.dialog}\n title={props.title}\n listener={this.listener} onOpened={() => {\n this.invokeEventCallback('onOpened', [null, this]);\n }}>\n <WmDialogcontent styles={this.styles.dialogContent}>\n <WmLabel\n id={this.getTestId('msg')}\n caption={props.message || ''}\n styles={this.styles.message}></WmLabel>\n </WmDialogcontent>\n <WmDialogactions styles={this.styles.dialogActions}>\n <WmButton\n id={this.getTestId('cancelbtn')}\n caption={props.canceltext}\n styles={this.theme.mergeStyle({}, this.theme.getStyle('btn-onlyLabel'), this.styles.cancelButton)}\n onTap={() => {\n this.dialogRef.close();\n this.invokeEventCallback('onCancel', [null, this]);\n }}></WmButton>\n <WmButton\n id={this.getTestId('okbtn')}\n caption={props.oktext}\n styles={this.theme.mergeStyle({}, this.theme.getStyle('btn-only-label'), this.styles.okButton)}\n onTap={() => {\n this.dialogRef.close();\n this.invokeEventCallback('onOk', [null, this]);\n }}></WmButton>\n </WmDialogactions>\n </WmDialog>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,EAAEC,kBAAkB,QAA2B,+CAA+C;AAEpH,OAAOC,QAAQ,MAAM,oEAAoE;AACzF,OAAOC,OAAO,MAAM,kEAAkE;AAEtF,OAAOC,QAAQ,MAAM,4BAA4B;AACjD,OAAOC,eAAe,MAAM,0CA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MAAO;MACtBhB,MAAM,EAAE,IAAI,CAACW,KAAK,CAACC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAACD,KAAK,CAACE,QAAQ,CAAC,gBAAgB,CAAC,EAAE,IAAI,CAACb,MAAM,CAACiB,QAAQ,CAAE;MAC/FF,KAAK,EAAEA,CAAA,KAAM;QACX,IAAI,CAAChC,SAAS,CAACE,KAAK,CAAC,CAAC;QACtB,IAAI,CAACoB,mBAAmB,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;MAChD;IAAE,CAAW,CACA,CACT,CAAC;EAEf;AACF"}
1
+ {"version":3,"names":["React","BaseComponent","BaseComponentState","WmButton","WmLabel","WmDialog","WmDialogcontent","WmDialogactions","WmConfirmdialogProps","DEFAULT_CLASS","WmConfirmdialogState","WmConfirmdialog","constructor","props","_defineProperty","onComponentInit","c","dialogRef","open","close","getMessageStyle","type","renderWidget","createElement","id","getTestId","iconclass","iconurl","iconheight","iconmargin","iconwidth","animation","animationdelay","closable","modal","styles","dialog","title","listener","onOpened","invokeEventCallback","dialogContent","caption","message","dialogActions","canceltext","theme","mergeStyle","getStyle","cancelButton","onTap","oktext","okButton"],"sources":["confirmdialog.component.tsx"],"sourcesContent":["import React from 'react';\nimport { BaseComponent, BaseComponentState, LifecycleListener } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\nimport WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';\n\nimport WmDialog from '../dialog/dialog.component';\nimport WmDialogcontent from '../dialogcontent/dialogcontent.component';\nimport WmDialogactions from '../dialogactions/dialogactions.component';\n\nimport WmConfirmdialogProps from './confirmdialog.props';\nimport { DEFAULT_CLASS, WmConfirmdialogStyles } from './confirmdialog.styles';\nimport { merge } from 'lodash-es';\n\nexport class WmConfirmdialogState extends BaseComponentState<WmConfirmdialogProps> {}\n\nexport default class WmConfirmdialog extends BaseComponent<WmConfirmdialogProps, WmConfirmdialogState, WmConfirmdialogStyles> {\n\n private dialogRef: WmDialog = null as any;\n\n private listener: LifecycleListener = {\n onComponentInit: (c) => {\n if (c instanceof WmDialog) {\n this.dialogRef = c;\n }\n }\n };\n\n constructor(props: WmConfirmdialogProps) {\n super(props, DEFAULT_CLASS, new WmConfirmdialogProps());\n }\n\n open() {\n this.dialogRef.open();\n }\n\n close() {\n this.dialogRef.close();\n }\n\n getMessageStyle(type: string) {\n\n }\n\n renderWidget(props: WmConfirmdialogProps) {\n return (\n <WmDialog\n id={this.getTestId('dialog')}\n iconclass={props.iconclass}\n iconurl={props.iconurl}\n iconheight={props.iconheight}\n iconmargin={props.iconmargin}\n iconwidth={props.iconwidth}\n animation={props.animation}\n animationdelay={props.animationdelay}\n closable={props.closable}\n modal={props.modal}\n styles={this.styles.dialog}\n title={props.title}\n listener={this.listener} onOpened={() => {\n this.invokeEventCallback('onOpened', [null, this]);\n }}>\n <WmDialogcontent styles={this.styles.dialogContent}>\n <WmLabel\n id={this.getTestId('msg')}\n caption={props.message || ''}\n styles={this.styles.message}></WmLabel>\n </WmDialogcontent>\n <WmDialogactions styles={this.styles.dialogActions}>\n <WmButton\n id={this.getTestId('cancelbtn')}\n caption={props.canceltext}\n styles={this.theme.mergeStyle({}, this.theme.getStyle('btn-onlyLabel'), this.styles.cancelButton)}\n onTap={() => {\n this.dialogRef.close();\n this.invokeEventCallback('onCancel', [null, this]);\n }}></WmButton>\n <WmButton\n id={this.getTestId('okbtn')}\n caption={props.oktext}\n styles={this.theme.mergeStyle({}, this.theme.getStyle('btn-only-label'), this.styles.okButton)}\n onTap={() => {\n this.dialogRef.close();\n this.invokeEventCallback('onOk', [null, this]);\n }}></WmButton>\n </WmDialogactions>\n </WmDialog>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,EAAEC,kBAAkB,QAA2B,+CAA+C;AAEpH,OAAOC,QAAQ,MAAM,oEAAoE;AACzF,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C,KAAA,CAAAuB,aAAA,CAACpB,QAAQ;MACPqB,EAAE,EAAE,IAAI,CAACC,SAAS,CAAC,OAAO,CAAE;MAC5BiB,OAAO,EAAE7B,KAAK,CAACsC,MAAO;MACtBhB,MAAM,EAAE,IAAI,CAACW,KAAK,CAACC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAACD,KAAK,CAACE,QAAQ,CAAC,gBAAgB,CAAC,EAAE,IAAI,CAACb,MAAM,CAACiB,QAAQ,CAAE;MAC/FF,KAAK,EAAEA,CAAA,KAAM;QACX,IAAI,CAACjC,SAAS,CAACE,KAAK,CAAC,CAAC;QACtB,IAAI,CAACqB,mBAAmB,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;MAChD;IAAE,CAAW,CACA,CACT,CAAC;EAEf;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 WmConfirmdialogProps 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, "title", 'Confirm');
10
11
  _defineProperty(this, "iconclass", 'wm-sl-l sl-check');
11
12
  _defineProperty(this, "oktext", 'Ok');
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmConfirmdialogProps","constructor","arguments","_defineProperty"],"sources":["confirmdialog.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmConfirmdialogProps extends BaseProps {\n animation: string = null as any;\n title? = 'Confirm';\n iconclass? = 'wm-sl-l sl-check';\n oktext? = 'Ok';\n canceltext? = 'CANCEL';\n message? = 'I am confirm box!';\n modal? = false;\n closable? = true;\n onOpened?: Function = 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}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,oBAAoB,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBACpC,IAAI;IAAAA,eAAA,gBACf,SAAS;IAAAA,eAAA,oBACL,kBAAkB;IAAAA,eAAA,iBACrB,IAAI;IAAAA,eAAA,qBACA,QAAQ;IAAAA,eAAA,kBACX,mBAAmB;IAAAA,eAAA,gBACrB,KAAK;IAAAA,eAAA,mBACF,IAAI;IAAAA,eAAA,mBACM,IAAI;IAAAA,eAAA,kBACP,IAAI;IAAAA,eAAA,qBACD,IAAI;IAAAA,eAAA,oBACL,IAAI;IAAAA,eAAA,qBACH,IAAI;EAAA;AAC9B"}
1
+ {"version":3,"names":["BaseProps","WmConfirmdialogProps","constructor","args","_defineProperty"],"sources":["confirmdialog.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmConfirmdialogProps extends BaseProps {\n animation: string = null as any;\n animationdelay: number = null as any;\n title? = 'Confirm';\n iconclass? = 'wm-sl-l sl-check';\n oktext? = 'Ok';\n canceltext? = 'CANCEL';\n message? = 'I am confirm box!';\n modal? = false;\n closable? = true;\n onOpened?: Function = 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}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,oBAAoB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBACpC,IAAI;IAAAA,eAAA,yBACC,IAAI;IAAAA,eAAA,gBACpB,SAAS;IAAAA,eAAA,oBACL,kBAAkB;IAAAA,eAAA,iBACrB,IAAI;IAAAA,eAAA,qBACA,QAAQ;IAAAA,eAAA,kBACX,mBAAmB;IAAAA,eAAA,gBACrB,KAAK;IAAAA,eAAA,mBACF,IAAI;IAAAA,eAAA,mBACM,IAAI;IAAAA,eAAA,kBACP,IAAI;IAAAA,eAAA,qBACD,IAAI;IAAAA,eAAA,oBACL,IAAI;IAAAA,eAAA,qBACH,IAAI;EAAA;AAC9B","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","Platform","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","dialog","icon","fontSize","dialogContent","dialogActions","padding","flexDirection","okButton","textTransform","cancelButton","message","fontFamily","baseFont","fontWeight","color","dialogSupportingTextColor","OS","marginLeft","marginRight"],"sources":["confirmdialog.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 '@wavemaker/app-rn-runtime/components/basic/button/button.styles';\nimport { WmDialogStyles } from '../dialog/dialog.styles';\nimport { WmDialogcontentStyles } from '../dialogcontent/dialogcontent.styles';\nimport { WmDialogactionsStyles } from '../dialogactions/dialogactions.styles';\nimport { WmLabelStyles } from '../../basic/label/label.styles';\nimport { Platform } from 'react-native';\n\nexport type WmConfirmdialogStyles = BaseStyles & {\n dialog: WmDialogStyles,\n dialogContent: WmDialogcontentStyles,\n dialogActions: WmDialogactionsStyles,\n okButton: WmButtonStyles,\n cancelButton: WmButtonStyles,\n message: WmLabelStyles\n};\n\nexport const DEFAULT_CLASS = 'app-confirmdialog';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmConfirmdialogStyles = defineStyles({\n root: {},\n text: {},\n dialog: {\n icon: {\n icon: {\n fontSize: 16\n }\n }\n } as WmDialogStyles,\n dialogContent: {\n root: {}\n } as WmDialogcontentStyles,\n dialogActions: {\n root: {\n padding: 0,\n flexDirection: 'row',\n }\n } as WmDialogactionsStyles,\n okButton: {\n root : {},\n text: {\n textTransform: 'capitalize',\n fontSize: 16\n }\n } as WmButtonStyles,\n cancelButton: {\n root : {\n },\n text: {\n textTransform: 'capitalize',\n fontSize: 16\n }\n } as WmButtonStyles,\n message: {\n text: {\n fontFamily: themeVariables.baseFont,\n fontSize: 14,\n fontWeight: '400',\n color: themeVariables.dialogSupportingTextColor\n }\n } as WmLabelStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', Platform.OS==\"web\"?{\n cancelButton: {\n root: {\n marginLeft: 8,\n marginRight: 0\n }\n }\n }:{});\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAMxF,SAASC,QAAQ,QAAQ,cAAc;AAWvC,OAAO,MAAMC,aAAa,GAAG,mBAAmB;AAChDH,UAAU,CAACI,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAoC,GAAGN,YAAY,CAAC;IACtDO,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,MAAM,EAAE;MACJC,IAAI,EAAE;QACFA,IAAI,EAAE;UACFC,QAAQ,EAAE;QACd;MACJ;IACJ,CAAmB;IACnBC,aAAa,EAAE;MACXL,IAAI,EAAE,CAAC;IACX,CAA0B;IAC1BM,aAAa,EAAE;MACXN,IAAI,EAAE;QACFO,OAAO,EAAE,CAAC;QACVC,aAAa,EAAE;MACnB;IACJ,CAA0B;IAC1BC,QAAQ,EAAE;MACNT,IAAI,EAAG,CAAC,CAAC;MACTC,IAAI,EAAE;QACFS,aAAa,EAAE,YAAY;QAC3BN,QAAQ,EAAE;MACd;IACJ,CAAmB;IACnBO,YAAY,EAAE;MACVX,IAAI,EAAG,CACP,CAAC;MACDC,IAAI,EAAE;QACFS,aAAa,EAAE,YAAY;QAC3BN,QAAQ,EAAE;MACd;IACJ,CAAoB;IACpBQ,OAAO,EAAE;MACLX,IAAI,EAAE;QACFY,UAAU,EAAEhB,cAAc,CAACiB,QAAQ;QACnCV,QAAQ,EAAE,EAAE;QACZW,UAAU,EAAE,KAAK;QACjBC,KAAK,EAAEnB,cAAc,CAACoB;MAC1B;IACJ;EACJ,CAAC,CAAC;EAEFnB,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAED,QAAQ,CAACwB,EAAE,IAAE,KAAK,GAAC;IACpDP,YAAY,EAAE;MACVX,IAAI,EAAE;QACFmB,UAAU,EAAE,CAAC;QACbC,WAAW,EAAE;MACjB;IACJ;EACJ,CAAC,GAAC,CAAC,CAAC,CAAC;AACT,CAAC,CAAC"}
1
+ {"version":3,"names":["BASE_THEME","defineStyles","Platform","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","dialog","icon","fontSize","dialogContent","dialogActions","padding","flexDirection","okButton","textTransform","cancelButton","message","fontFamily","baseFont","fontWeight","color","dialogSupportingTextColor","OS","marginLeft","marginRight"],"sources":["confirmdialog.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 '@wavemaker/app-rn-runtime/components/basic/button/button.styles';\nimport { WmDialogStyles } from '../dialog/dialog.styles';\nimport { WmDialogcontentStyles } from '../dialogcontent/dialogcontent.styles';\nimport { WmDialogactionsStyles } from '../dialogactions/dialogactions.styles';\nimport { WmLabelStyles } from '../../basic/label/label.styles';\nimport { Platform } from 'react-native';\n\nexport type WmConfirmdialogStyles = BaseStyles & {\n dialog: WmDialogStyles,\n dialogContent: WmDialogcontentStyles,\n dialogActions: WmDialogactionsStyles,\n okButton: WmButtonStyles,\n cancelButton: WmButtonStyles,\n message: WmLabelStyles\n};\n\nexport const DEFAULT_CLASS = 'app-confirmdialog';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmConfirmdialogStyles = defineStyles({\n root: {},\n text: {},\n dialog: {\n icon: {\n icon: {\n fontSize: 16\n }\n }\n } as WmDialogStyles,\n dialogContent: {\n root: {}\n } as WmDialogcontentStyles,\n dialogActions: {\n root: {\n padding: 0,\n flexDirection: 'row',\n }\n } as WmDialogactionsStyles,\n okButton: {\n root : {},\n text: {\n textTransform: 'capitalize',\n fontSize: 16\n }\n } as WmButtonStyles,\n cancelButton: {\n root : {\n },\n text: {\n textTransform: 'capitalize',\n fontSize: 16\n }\n } as WmButtonStyles,\n message: {\n text: {\n fontFamily: themeVariables.baseFont,\n fontSize: 14,\n fontWeight: '400',\n color: themeVariables.dialogSupportingTextColor\n }\n } as WmLabelStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', Platform.OS==\"web\"?{\n cancelButton: {\n root: {\n marginLeft: 8,\n marginRight: 0\n }\n }\n }:{});\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAA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AC,CAAC,CAAC,CAAC;AACT,CAAC,CAAC","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
4
  import React from 'react';
5
5
  import { View } from 'react-native';
6
6
  import { ModalConsumer } from '@wavemaker/app-rn-runtime/core/modal.service';
@@ -13,8 +13,8 @@ import WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.c
13
13
  import WmDialogProps from './dialog.props';
14
14
  import { DEFAULT_CLASS } from './dialog.styles';
15
15
  export class WmDialogState extends BaseComponentState {
16
- constructor() {
17
- super(...arguments);
16
+ constructor(...args) {
17
+ super(...args);
18
18
  _defineProperty(this, "modalOptions", {});
19
19
  }
20
20
  }
@@ -60,6 +60,7 @@ export default class WmDialog extends BaseComponent {
60
60
  o.isModal = !!this.state.props.modal;
61
61
  o.centered = true;
62
62
  o.animation = this.state.props.animation;
63
+ o.animationdelay = this.state.props.animationdelay || 0;
63
64
  this._close = () => modalService.hideModal(this.state.modalOptions);
64
65
  return o;
65
66
  }