@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":["Color","Dimensions","StatusBar","ThemeVariables","constructor","_defineProperty","primaryColor","lighten","rgb","toString","defaultColorF","defaultColor","defaultColorA","get","height","currentHeight","width","transparent","defaultColorE","defaultColor3","primaryContrastColor","defaultColorC","fade","widgetBorderColor","navitemActiveTextColor","defaultTextColor","secondaryColor","successColor","infoColor","warningColor","dangerColor","lightColor","darkColor","widgetBgColor","widgetHeaderBgColor","widgetHeaderTextColor","primaryColor3","tabContentBgColor","defaultColor8","dangerContrastColor","infoContrastColor","successContrastColor","warningContrastColor","muteColor","defaultColor6","badgeColor","badgeContrastColor","defaultColorD","defaultColorB","defaultColor4","defaultColor1","popoverBackgroundColor","listTitleColor","listSubTitleColor","widgetActiveHeaderBgColor","widgetActiveHeaderTextColor","primaryColor1","primaryColor2","defaultColor9","defaultColor7","defaultColor5","networkToastTextColor","_class"],"sources":["theme.variables.ts"],"sourcesContent":["import Color, { rgb } from \"color\";\nimport { Dimensions, StatusBar } from \"react-native\";\n\nexport default class ThemeVariables {\n \n primaryColor = '#4263eb';\n primaryColor1 = Color(this.primaryColor).lighten(0.2).rgb().toString();\n primaryColor2 = Color(this.primaryColor).lighten(0.4).rgb().toString();\n primaryColor3 = Color(this.primaryColor).lighten(0.6).rgb().toString();\n primaryContrastColor = '#ffffff';\n secondaryColor = '#6c757d';\n secondaryContrastColor = '#ffffff';\n successColor = '#28a745';\n successContrastColor = '#ffffff';\n infoColor = '#17a2b8';\n infoContrastColor = '#ffffff';\n warningColor = '#ffc107';\n warningContrastColor = '#ffffff';\n dangerColor = '#dc3545';\n dangerContrastColor = '#ffffff';\n defaultColor = '#000000';\n defaultColor1 = '#111111';\n defaultColor2 = '#222222';\n defaultColor3 = '#333333';\n defaultColor4 = '#444444';\n defaultColor5 = '#555555';\n defaultColor6 = '#666666';\n defaultColor7 = '#777777';\n defaultColor8 = '#888888';\n defaultColor9 = '#999999';\n defaultColorA = '#aaaaaa';\n defaultColorB = '#bbbbbb';\n defaultColorC = '#cccccc';\n defaultColorD = '#dddddd';\n defaultColorE = '#eeeeee';\n defaultColorF = '#ffffff';\n defaultBgColor = this.defaultColorF;\n defaultTextColor = '#151420';\n lightColor = this.defaultColorF;\n darkColor = this.defaultColor;\n muteColor = this.defaultColorA;\n heading1FontSize = 36;\n heading2FontSize = 30;\n heading3FontSize = 24;\n heading4FontSize = 18;\n heading5FontSize = 14;\n heading6FontSize = 12;\n transparent = 'transparent';\n badgeColor = '#6c757d';\n badgeContrastColor = '#ffffff';\n baseFont = 'Roboto';\n tabbarInactiveColor = '#d8d8d8';\n maxModalHeight = Dimensions.get('window').height - 64 - (StatusBar.currentHeight || 0);\n maxWidth = Dimensions.get(\"window\").width; \n\n //rippleColor\n rippleColor = this.transparent\n\n // page\n pageContentBgColor = this.defaultColorE;\n\n // common widget color\n widgetHeaderBgColor = this.defaultColorF;\n widgetHeaderTextColor = this.defaultColor3;\n widgetActiveHeaderBgColor = this.primaryColor;\n widgetActiveHeaderTextColor = this.primaryContrastColor;\n widgetBorderColor = this.defaultColorC;\n widgetBgColor = this.defaultColorF;\n\n //App Navbar\n titleBadgeBackgroundColor = Color('#151420').fade(0.8).rgb().toString();\n titleBadgeTextColor = '#151420';\n\n // Navbar variables\n navbarBackgroundColor = this.defaultColorF;\n navbarBorderColor = this.widgetBorderColor;\n navbarTextColor = '#151420';\n navbarIconSize = 32;\n navbarFontSize = 24;\n navbarImageSize = 32;\n navbarCaretColor = this.primaryColor;\n navitemChildBackgroundColor = this.primaryContrastColor;\n navitemChildTextColor = this.primaryColor;\n navitemChildIconColor = this.primaryColor;\n navitemActiveBackgroundColor = this.primaryColor;\n navitemActiveTextColor = this.primaryContrastColor;\n navitemActiveIconColor = this.navitemActiveTextColor;\n\n //Anchor variables\n linkDefaultColor = this.defaultTextColor;\n linkPrimaryColor = this.primaryColor;\n linkSecondaryColor = this.secondaryColor;\n linkSuccessColor = this.successColor;\n linkInfoColor = this.infoColor;\n linkWarningColor = this.warningColor;\n linkDangerColor = this.dangerColor;\n linkLightColor = this.lightColor;\n linkDarkColor = this.darkColor;\n anchorTextPadding = 2;\n\n //Grid Layout variables\n layoutGridBgColor = this.widgetBgColor;\n layoutGridBorderColor = this.widgetBorderColor;\n layoutGridStripColor1 = Color(this.primaryColor).lighten(0.9).rgb().toString();\n layoutGridHeaderBgColor = this.widgetHeaderBgColor;\n layoutGridHeaderTextColor = this.widgetHeaderTextColor;\n layoutGridStripColor2 = this.transparent;\n gridColumnBorderColor = this.widgetBorderColor;\n\n //Spinner Variables\n spinnerIconColor = this.primaryColor;\n\n //tabbar variables\n tabbarBackgroundColor = this.primaryContrastColor;\n tabbarTextColor = 'var(--tabbarInactiveColor)';\n tabbarIconColor = 'var(--tabbarInactiveColor)';\n tabShadowColor = this.defaultColor;\n tabActiveBackgroundColor = this.primaryColor3;\n tabActiveIconColor = this.primaryColor;\n tabLabelTextColor = this.primaryColor;\n\n centerHubItemColor = 'var(--primaryColor)';\n centerHubIconColor = 'var(--defaultColorF)';\n centerHubLabelColor = 'var(--defaultColorF)';\n\n // tab variables\n tabHeaderBgColor = this.widgetBgColor;\n tabHeaderTextColor = this.defaultColorA;\n tabHeaderIconColor = this.defaultColorA;\n tabActiveHeaderBgColor = this.defaultColorF;\n tabActiveHeaderTextColor = this.primaryColor;\n tabActiveIndicatorBgColor = this.primaryColor;\n tabActiveHeaderIconColor = this.primaryColor;\n tabBorderColor = this.widgetBorderColor;\n tabContentBgColor = this.widgetBgColor;\n tabArrowIndicatorBgColor = this.tabContentBgColor;\n tabArrowIndicatorDotColor = this.primaryColor;\n\n //label Variables\n labelHeaderColor = '#151420';\n labelDefaultColor = this.defaultColor8;\n labelDefaultContrastColor = this.defaultColorF;\n labelDangerColor = this.dangerColor;\n labelDangerContrastColor = this.dangerContrastColor;\n labelInfoColor = this.infoColor;\n labelInfoContrastColor = this.infoContrastColor;\n labelPrimaryColor = this.primaryColor;\n labelPrimaryContrastColor = this.primaryContrastColor;\n labelSuccessColor = this.successColor;\n labelSuccessContrastColor = this.successContrastColor;\n labelWarningColor = this.warningColor;\n labelWarningContrastColor = this.warningContrastColor;\n labelTextSuccessColor = this.successColor;\n labelTextDangerColor = this.dangerColor;\n labelTextInfoColor = this.infoColor;\n labelTextMutedColor = this.muteColor;\n labelTextPrimaryColor = this.primaryColor;\n labelTextWarningColor = this.warningColor;\n labelAsteriskColor = this.dangerColor;\n\n //List\n listHeaderBgColor = this.widgetHeaderBgColor;\n listTitleColor = this.widgetHeaderTextColor;\n listSubTitleColor = this.defaultColor6;\n listDividerColor = this.widgetBorderColor;\n itemBgColor = this.defaultColorF;\n selectedItemBorderColor = this.primaryColor;\n\n //button Variables\n buttonBorderColor = this.widgetBorderColor;\n buttonBadgeBackgroundColor = this.badgeColor;\n buttonBadgeTextColor = this.badgeContrastColor;\n buttonTextPadding = 2;\n buttonSuccessColor = this.successColor;\n buttonDefaultColor = this.defaultColorF;\n buttonPrimaryColor = this.primaryColor;\n buttonSecondaryColor = this.defaultColorF;\n buttonDangerColor = this.dangerColor;\n buttonWarningColor = this.warningColor;\n buttonInfoColor = this.infoColor;\n buttonSuccessTextColor = this.successContrastColor;\n buttonDefaultTextColor = this.defaultTextColor;\n buttonPrimaryTextColor = this.primaryContrastColor;\n buttonSecondaryTextColor = this.primaryColor;\n buttonDangerTextColor = this.dangerContrastColor;\n buttonWarningTextColor = this.warningContrastColor;\n buttonInfoTextColor = this.infoContrastColor;\n buttonLinkColor = this.transparent;\n buttonLinkTextColor = this.primaryColor;\n buttonDarkColor = this.darkColor;\n buttonDarkTextColor = this.lightColor;\n buttonLightColor = this.lightColor;\n buttonLightTextColor = this.darkColor;\n buttonGrpBorderColor = this.widgetBorderColor;\n buttonGrpBgColor = this.defaultColorF;\n\n //picture variables\n pictureThumbBgColor = this.defaultColorF;\n pictureThumbBorderColor = this.defaultColorD;\n\n //input variables\n inputTextColor = this.defaultTextColor;\n inputBorderColor = this.defaultColorD;\n inputBackgroundColor = this.defaultColorF;\n inputDisabledBgColor = '#f6f6f6';\n inputFocusBorderColor = this.primaryColor;\n inputInvalidBorderColor = this.dangerColor;\n inputPlaceholderColor = this.defaultColorB;\n\n //floating label\n floatingLabelColor = 'var(--inputPlaceholderColor)';\n activeFloatingLabelColor = 'var(--primaryColor)';\n\n //slider variables\n minimumTrackTintColor = this.primaryColor;\n maximumTrackTintColor = this.widgetHeaderBgColor;\n thumbTintColor = this.primaryColor;\n\n //rating color\n ratingIconColor = this.defaultColorA;\n ratingSelectedIconColor = '#eb8600';\n\n //toggle variables\n toggleOnColor = Color(this.primaryColor).lighten(0.4).rgb().toString();\n toggleOffColor = this.defaultColorB;\n toggleHandleColor = this.primaryColor;\n toggleHandleDisableColor = this.defaultColorA;\n toggleOffBorderColor = this.defaultColorB;\n toggleUnselectedTrackbgColor = this.defaultColorC;\n\n // radioset, checkboxset variables\n groupHeadingBgColor = 'var(--transparent)';\n checkedColor = 'var(--primaryColor)';\n checkedDisabledColor = 'var(--defaultColorA)';\n checkedEnabledColor = 'var(--defaultColorF)';\n checkboxBorderColor = 'var(--defaultColor9)';\n checkedBgColor = 'var(--primaryColor)';\n uncheckedBgColor = 'var(--transparent)';\n checkedIconColor = 'var(--defaultColorF)';\n checkedBorderColor = 'var(--primaryColor)';\n uncheckedBorderColor = 'var(--defaultColor9)';\n \n //form\n formBorderColor = this.widgetBorderColor;\n formTitleColor = this.defaultTextColor;\n formSubTitleColor = this.defaultColor6;\n\n //dialog\n dialogBackgroundColor = this.widgetBgColor;\n dialogBorderColor = this.widgetBorderColor;\n dialogCloseIconColor = this.defaultColorA;\n dialogLabelColor = this.defaultColor3;\n dialogIconColor = this.defaultColor4;\n dialogSupportingTextColor = this.defaultColor1;\n\n //alert dialog\n alertMessageColor = this.defaultColor8;\n\n badgeTextColor = this.defaultColorF;\n\n //popover\n popoverBackgroundColor = this.defaultColorF;\n popoverTitleBackgroundColor = this.defaultColorD;\n popoverTitleColor = this.defaultColor1;\n\n //menu\n menuIconColor = this.defaultColor6;\n menuTextColor = this.defaultColor6;\n menuBackgroundColor = this.popoverBackgroundColor;\n menuItemBorderColor = this.widgetBorderColor;\n menuItemIconColor = this.defaultColor6;\n menuItemTextColor = this.defaultColor6;\n\n //tile Variables\n tileDangerColor = this.dangerColor;\n tileInfoColor = this.infoColor;\n tilePrimaryColor = this.primaryColor;\n tileSuccessColor = this.successColor;\n tileWarningColor = this.warningColor;\n tileWellbgColor = this.defaultColorF;\n tileWellBorderColor = this.defaultColorE;\n tilePrimaryTextColor = this.primaryContrastColor;\n\n //switch\n switchBgColor = this.widgetBgColor;\n switchTextColor = this.defaultTextColor;\n switchActiveBgColor = this.primaryColor;\n switchActiveTextColor = this.primaryContrastColor;\n switchBorderColor = this.widgetBorderColor;\n\n //message\n messageSuccessColor = this.successColor;\n messageErrorColor = this.dangerColor;\n messageWarningColor = this.warningColor;\n messageInfoColor = this.infoColor;\n messageLoadingColor = this.infoColor;\n\n //panel\n panelBgColor = this.widgetBgColor;\n panelHeaderBgColor = this.widgetHeaderBgColor;\n panelHeaderTextColor = this.widgetHeaderTextColor;\n panelFooterColor = this.defaultColorD;\n panelBorderColor = this.widgetBorderColor;\n panelDangerColor = this.dangerColor;\n panelDefaultColor = this.defaultColor;\n panelInfoColor = this.infoColor;\n panelPrimaryColor = this.primaryColor;\n panelSuccessColor = this.successColor;\n panelWarningColor = this.warningColor;\n panelTextColor = this.defaultColorF;\n\n //card\n cardHeaderBgColor = this.defaultColorD;\n cardBgColor = this.widgetBgColor;\n cardTitleColor = this.listTitleColor;\n cardShadowColor = this.defaultColor;\n cardSubTitleColor = this.listSubTitleColor;\n cardBorderColor = this.defaultColorD;\n cardContentBgColor = this.defaultColorF;\n cardFooterBgColor = this.defaultColorF;\n cardFooterBorderColor = this.defaultColorD;\n\n //progress bar\n progressBarDefaultColor = this.primaryColor;\n progressBarTrackColor = this.defaultColorD;\n progressBarSuccessColor = this.successColor;\n progressBarDangerColor = this.dangerColor;\n progressBarInfoColor = this.infoColor;\n progressBarWarningColor = this.warningColor;\n\n //progress circle\n progressCircleDefaultColor = this.primaryColor;\n progressCircleSuccessColor = this.successColor;\n progressCircleDangerColor = this.dangerColor;\n progressCircleInfoColor = this.infoColor;\n progressCircleWarningColor = this.warningColor;\n\n //container\n containerOutlineColor = this.defaultColorC;\n\n //accordion\n accordionBgColor = this.widgetBgColor;\n accordionTitleColor = this.widgetHeaderTextColor;\n accordionHeaderBgColor = this.defaultColorF;\n accordionIconColor= this.defaultColorB;\n accordionActiveIconColor= this.defaultColorF;\n accordionActiveHeaderBgColor = this.widgetActiveHeaderBgColor;\n accordionActiveHeaderTextColor = this.widgetActiveHeaderTextColor;\n accordionBorderColor = this.defaultColorE;\n accordionPaneBgColor = this.defaultColorF;\n\n //carousel\n carouselPrevBtnColor=this.defaultColorF;\n carouselPrevBgColor=Color(this.defaultColorF).fade(0.6).rgb().toString();\n carouselNextBtnColor=this.defaultColorF;\n carouselNextBgColor=Color(this.defaultColorF).fade(0.6).rgb().toString();\n carouselDotWrapperBgColor=this.transparent;\n carouselDotColor=this.defaultColorF;\n carouselActiveDotColor=this.defaultColorF;\n\n //calendar\n calendarBgColor = this.defaultColorF;\n calendarHeaderBgColor = this.defaultColorF;\n calendarHeaderTextColor = this.defaultTextColor;\n calendarWeekDayTextColor = this.defaultColorA;\n calendarDateColor = this.defaultColor;\n calendarNotCurrentMonthDateColor = this.defaultColor6;\n calendarHeaderColor = this.defaultColorF;\n calendarPrevYearIconColor = this.defaultColorA;\n calendarNextYearIconColor = this.defaultColorA;\n calendarPrevMonthIconColor = this.defaultColorA;\n calendarNextMonthIconColor = this.defaultColorA;\n calendarDayBgColor = this.defaultColor;\n calendarSelectedDayBgColor = this.primaryColor;\n calendarSelectedDayTextColor = this.defaultColorF;\n calendarTodayBgColor = this.defaultColorE;\n calendarEventDay1Color = this.primaryColor1;\n calendarEventDay2Color = this.primaryColor2;\n calendarEventDay3Color = this.primaryColor3;\n\n //date picker\n datepickerBgColor = this.defaultColorF;\n\n //wizard\n wizardBackgroundColor = this.widgetBgColor;\n wizardStepActiveColor = this.primaryColor;\n wizardStepDoneColor = this.successColor;\n wizardStepDoneTextColor = this.defaultColorF;\n wizardStepIconColor = this.defaultColor9;\n wizardStepColor = this.defaultColor9;\n wizardActiveStepColor = this.defaultColorF;\n wizardDoneStepColor = this.defaultColorF;\n wizardStepTitleColor = this.defaultColorA;\n wizardNextBtnColor= this.primaryColor;\n wizardDoneBtnColor = this.successColor;\n wizardStepConnectorColor = this.defaultColorE;\n wizardStepCounerColor = this.defaultColor9;\n wizardBorderColor = this.widgetBorderColor;\n\n //Search\n searchBorderColor = this.defaultColorD;\n searchButtonColor = this.primaryColor;\n searchButtonTextColor = this.primaryContrastColor;\n searchItemBorderColor = this.defaultColorD;\n searchItemTextColor = this.defaultColor6;\n searchDropdownBackgroundColor = this.defaultColorF;\n searchDataCompleteItemBgColor = this.defaultColorE;\n searchBgContainerColor = this.defaultColorD;\n //Select\n selectBorderColor = this.defaultColorD;\n selecttemBorderColor = this.defaultColorD;\n selectItemTextColor = this.defaultColor6;\n selectDropdownBackgroundColor = this.defaultColorF;\n\n //Chip\n chipActiveTextColor = this.defaultColorF;\n chipDefaultTextColor = this.defaultColorA;\n chipborderColor = this.defaultColorD;\n chipContainerColor = this.defaultColorF; \n chipIconColor = this.primaryColor;\n chipSelectedOutlineColor = this.defaultColor6;\n chipSelectedContainerColor = this.defaultColor7;\n //Login\n loginErrorMsgColor = this.dangerContrastColor;\n loginErrorMsgBgColor = this.dangerColor;\n loginErrorMsgBorderColor = this.dangerColor;\n\n //camera\n cameraBgColor = this.defaultColorF;\n cameraBorderColor = this.widgetBorderColor;\n cameraTextColor = this.defaultTextColor;\n\n //barcode-scanner\n barcodeScannerBgColor = this.defaultColorF;\n barcodeScannerBorderColor = this.widgetBorderColor;\n barcodeScannerTextColor = this.defaultTextColor;\n\n //fileupload\n fileuploadBgColor = this.defaultColorF;\n fileuploadBorderColor = this.widgetBorderColor;\n fileuploadTextColor = this.defaultTextColor;\n\n //charts\n chartLabelColor = this.defaultTextColor;\n chartGraphLinesColor = this.defaultColorC;\n chartLineColor = this.defaultColor8;\n chartLegendBorder = this.defaultColor7;\n chartAxisColor = this.defaultColor5;\n chartAxisPointColor = this.defaultColor9;\n chartTitleColor = this.widgetHeaderTextColor;\n chartSubTitleColor = this.defaultColor6;\n\n // Network Toast\n networkToastBgColor = this.defaultColor3;\n networkToastTextColor = this.defaultColorF;\n networkToastActionTextColor = this.primaryColor;\n networkToastActionSeparatorColor = this.networkToastTextColor;\n\n // Skeleton\n skeletonBgColor = this.defaultColorE;\n skeletonAnimatedBgColor = this.defaultColorE;\n skeletonGradientBgColor = this.defaultColorF;\n skeletonGradientShadowColor = this.defaultColorF;\n skeletonGradientForegroundColor = this.transparent;\n\n // Audio\n audioPlayerBgColor = this.defaultColorF;\n audioPlayerFgColor = this.defaultColor3;\n\n //Tool tip\n tooltipBgColor = Color(\"#fff\").fade(0.6).rgb().toString();\n tooltipBorderColor = '#404040';\n static INSTANCE = new ThemeVariables();\n}"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAe,OAAO;AAClC,SAASC,UAAU,EAAEC,SAAS,QAAQ,cAAc;AAEpD,eAAe,MAAMC,cAAc,CAAC;EAAAC,YAAA;IAAAC,eAAA,uBAEjB,SAAS;IAAAA,eAAA,wBACRL,KAAK,CAAC,IAAI,CAACM,YAAY,CAAC,CAACC,OAAO,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;IAAAJ,eAAA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AA,6BACqB,IAAI,CAACK,aAAa;IAAAL,eAAA,6BAClB,IAAI,CAACc,aAAa;IAEvC;IAAAd,eAAA,yBACiBL,KAAK,CAAC,MAAM,CAAC,CAACsB,IAAI,CAAC,GAAG,CAAC,CAACd,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;IAAAJ,eAAA,6BACpC,SAAS;EAAA;AAElC;AAACyD,MAAA,GAtdoB3D,cAAc;AAAAE,eAAA,CAAdF,cAAc,cAqdb,IAAIA,MAAc,CAAC,CAAC"}
1
+ {"version":3,"names":["Color","Dimensions","StatusBar","ThemeVariables","constructor","_defineProperty","primaryColor","lighten","rgb","toString","defaultColorF","defaultColor","defaultColorA","get","height","currentHeight","width","transparent","defaultColorE","defaultColor3","primaryContrastColor","defaultColorC","fade","widgetBorderColor","navitemActiveTextColor","defaultTextColor","secondaryColor","successColor","infoColor","warningColor","dangerColor","lightColor","darkColor","widgetBgColor","widgetHeaderBgColor","widgetHeaderTextColor","primaryColor3","tabContentBgColor","defaultColor8","dangerContrastColor","infoContrastColor","successContrastColor","warningContrastColor","muteColor","defaultColor6","badgeColor","badgeContrastColor","defaultColorD","defaultColorB","defaultColor4","defaultColor1","popoverBackgroundColor","listTitleColor","listSubTitleColor","widgetActiveHeaderBgColor","widgetActiveHeaderTextColor","primaryColor1","primaryColor2","defaultColor9","defaultColor7","defaultColor5","networkToastTextColor","_ThemeVariables"],"sources":["theme.variables.ts"],"sourcesContent":["import Color, { rgb } from \"color\";\nimport { Dimensions, StatusBar } from \"react-native\";\n\nexport default class ThemeVariables {\n \n primaryColor = '#4263eb';\n primaryColor1 = Color(this.primaryColor).lighten(0.2).rgb().toString();\n primaryColor2 = Color(this.primaryColor).lighten(0.4).rgb().toString();\n primaryColor3 = Color(this.primaryColor).lighten(0.6).rgb().toString();\n primaryContrastColor = '#ffffff';\n secondaryColor = '#6c757d';\n secondaryContrastColor = '#ffffff';\n successColor = '#28a745';\n successContrastColor = '#ffffff';\n infoColor = '#17a2b8';\n infoContrastColor = '#ffffff';\n warningColor = '#ffc107';\n warningContrastColor = '#ffffff';\n dangerColor = '#dc3545';\n dangerContrastColor = '#ffffff';\n defaultColor = '#000000';\n defaultColor1 = '#111111';\n defaultColor2 = '#222222';\n defaultColor3 = '#333333';\n defaultColor4 = '#444444';\n defaultColor5 = '#555555';\n defaultColor6 = '#666666';\n defaultColor7 = '#777777';\n defaultColor8 = '#888888';\n defaultColor9 = '#999999';\n defaultColorA = '#aaaaaa';\n defaultColorB = '#bbbbbb';\n defaultColorC = '#cccccc';\n defaultColorD = '#dddddd';\n defaultColorE = '#eeeeee';\n defaultColorF = '#ffffff';\n defaultBgColor = this.defaultColorF;\n defaultTextColor = '#151420';\n lightColor = this.defaultColorF;\n darkColor = this.defaultColor;\n muteColor = this.defaultColorA;\n heading1FontSize = 36;\n heading2FontSize = 30;\n heading3FontSize = 24;\n heading4FontSize = 18;\n heading5FontSize = 14;\n heading6FontSize = 12;\n transparent = 'transparent';\n badgeColor = '#6c757d';\n badgeContrastColor = '#ffffff';\n baseFont = 'Roboto';\n tabbarInactiveColor = '#d8d8d8';\n maxModalHeight = Dimensions.get('window').height - 64 - (StatusBar.currentHeight || 0);\n maxWidth = Dimensions.get(\"window\").width; \n\n //rippleColor\n rippleColor = this.transparent\n\n // page\n pageContentBgColor = this.defaultColorE;\n\n // common widget color\n widgetHeaderBgColor = this.defaultColorF;\n widgetHeaderTextColor = this.defaultColor3;\n widgetActiveHeaderBgColor = this.primaryColor;\n widgetActiveHeaderTextColor = this.primaryContrastColor;\n widgetBorderColor = this.defaultColorC;\n widgetBgColor = this.defaultColorF;\n\n //App Navbar\n titleBadgeBackgroundColor = Color('#151420').fade(0.8).rgb().toString();\n titleBadgeTextColor = '#151420';\n\n // Navbar variables\n navbarBackgroundColor = this.defaultColorF;\n navbarBorderColor = this.widgetBorderColor;\n navbarTextColor = '#151420';\n navbarIconSize = 32;\n navbarFontSize = 24;\n navbarImageSize = 32;\n navbarCaretColor = this.primaryColor;\n navitemChildBackgroundColor = this.primaryContrastColor;\n navitemChildTextColor = this.primaryColor;\n navitemChildIconColor = this.primaryColor;\n navitemActiveBackgroundColor = this.primaryColor;\n navitemActiveTextColor = this.primaryContrastColor;\n navitemActiveIconColor = this.navitemActiveTextColor;\n\n //Anchor variables\n linkDefaultColor = this.defaultTextColor;\n linkPrimaryColor = this.primaryColor;\n linkSecondaryColor = this.secondaryColor;\n linkSuccessColor = this.successColor;\n linkInfoColor = this.infoColor;\n linkWarningColor = this.warningColor;\n linkDangerColor = this.dangerColor;\n linkLightColor = this.lightColor;\n linkDarkColor = this.darkColor;\n anchorTextPadding = 2;\n\n //Grid Layout variables\n layoutGridBgColor = this.widgetBgColor;\n layoutGridBorderColor = this.widgetBorderColor;\n layoutGridStripColor1 = Color(this.primaryColor).lighten(0.9).rgb().toString();\n layoutGridHeaderBgColor = this.widgetHeaderBgColor;\n layoutGridHeaderTextColor = this.widgetHeaderTextColor;\n layoutGridStripColor2 = this.transparent;\n gridColumnBorderColor = this.widgetBorderColor;\n\n //Spinner Variables\n spinnerIconColor = this.primaryColor;\n\n //tabbar variables\n tabbarBackgroundColor = this.primaryContrastColor;\n tabbarTextColor = 'var(--tabbarInactiveColor)';\n tabbarIconColor = 'var(--tabbarInactiveColor)';\n tabShadowColor = this.defaultColor;\n tabActiveBackgroundColor = this.primaryColor3;\n tabActiveIconColor = this.primaryColor;\n tabLabelTextColor = this.primaryColor;\n\n centerHubItemColor = 'var(--primaryColor)';\n centerHubIconColor = 'var(--defaultColorF)';\n centerHubLabelColor = 'var(--defaultColorF)';\n\n // tab variables\n tabHeaderBgColor = this.widgetBgColor;\n tabHeaderTextColor = this.defaultColorA;\n tabHeaderIconColor = this.defaultColorA;\n tabActiveHeaderBgColor = this.defaultColorF;\n tabActiveHeaderTextColor = this.primaryColor;\n tabActiveIndicatorBgColor = this.primaryColor;\n tabActiveHeaderIconColor = this.primaryColor;\n tabBorderColor = this.widgetBorderColor;\n tabContentBgColor = this.widgetBgColor;\n tabArrowIndicatorBgColor = this.tabContentBgColor;\n tabArrowIndicatorDotColor = this.primaryColor;\n\n //label Variables\n labelHeaderColor = '#151420';\n labelDefaultColor = this.defaultColor8;\n labelDefaultContrastColor = this.defaultColorF;\n labelDangerColor = this.dangerColor;\n labelDangerContrastColor = this.dangerContrastColor;\n labelInfoColor = this.infoColor;\n labelInfoContrastColor = this.infoContrastColor;\n labelPrimaryColor = this.primaryColor;\n labelPrimaryContrastColor = this.primaryContrastColor;\n labelSuccessColor = this.successColor;\n labelSuccessContrastColor = this.successContrastColor;\n labelWarningColor = this.warningColor;\n labelWarningContrastColor = this.warningContrastColor;\n labelTextSuccessColor = this.successColor;\n labelTextDangerColor = this.dangerColor;\n labelTextInfoColor = this.infoColor;\n labelTextMutedColor = this.muteColor;\n labelTextPrimaryColor = this.primaryColor;\n labelTextWarningColor = this.warningColor;\n labelAsteriskColor = this.dangerColor;\n\n //List\n listHeaderBgColor = this.widgetHeaderBgColor;\n listTitleColor = this.widgetHeaderTextColor;\n listSubTitleColor = this.defaultColor6;\n listDividerColor = this.widgetBorderColor;\n itemBgColor = this.defaultColorF;\n selectedItemBorderColor = this.primaryColor;\n\n //button Variables\n buttonBorderColor = this.widgetBorderColor;\n buttonBadgeBackgroundColor = this.badgeColor;\n buttonBadgeTextColor = this.badgeContrastColor;\n buttonTextPadding = 2;\n buttonSuccessColor = this.successColor;\n buttonDefaultColor = this.defaultColorF;\n buttonPrimaryColor = this.primaryColor;\n buttonSecondaryColor = this.defaultColorF;\n buttonDangerColor = this.dangerColor;\n buttonWarningColor = this.warningColor;\n buttonInfoColor = this.infoColor;\n buttonSuccessTextColor = this.successContrastColor;\n buttonDefaultTextColor = this.defaultTextColor;\n buttonPrimaryTextColor = this.primaryContrastColor;\n buttonSecondaryTextColor = this.primaryColor;\n buttonDangerTextColor = this.dangerContrastColor;\n buttonWarningTextColor = this.warningContrastColor;\n buttonInfoTextColor = this.infoContrastColor;\n buttonLinkColor = this.transparent;\n buttonLinkTextColor = this.primaryColor;\n buttonDarkColor = this.darkColor;\n buttonDarkTextColor = this.lightColor;\n buttonLightColor = this.lightColor;\n buttonLightTextColor = this.darkColor;\n buttonGrpBorderColor = this.widgetBorderColor;\n buttonGrpBgColor = this.defaultColorF;\n\n //picture variables\n pictureThumbBgColor = this.defaultColorF;\n pictureThumbBorderColor = this.defaultColorD;\n\n //input variables\n inputTextColor = this.defaultTextColor;\n inputBorderColor = this.defaultColorD;\n inputBackgroundColor = this.defaultColorF;\n inputDisabledBgColor = '#f6f6f6';\n inputFocusBorderColor = this.primaryColor;\n inputInvalidBorderColor = this.dangerColor;\n inputPlaceholderColor = this.defaultColorB;\n\n //wheel picker variables\n wheelSelectedColor = '#1d1d1b';\n wheelColor = '#737373';\n\n //floating label\n floatingLabelColor = 'var(--inputPlaceholderColor)';\n activeFloatingLabelColor = 'var(--primaryColor)';\n\n //slider variables\n minimumTrackTintColor = this.primaryColor;\n maximumTrackTintColor = this.widgetHeaderBgColor;\n thumbTintColor = this.primaryColor;\n\n //rating color\n ratingIconColor = this.defaultColorA;\n ratingSelectedIconColor = '#eb8600';\n\n //toggle variables\n toggleOnColor = Color(this.primaryColor).lighten(0.4).rgb().toString();\n toggleOffColor = this.defaultColorB;\n toggleHandleColor = this.primaryColor;\n toggleHandleDisableColor = this.defaultColorA;\n toggleOffBorderColor = this.defaultColorB;\n toggleUnselectedTrackbgColor = this.defaultColorC;\n\n // radioset, checkboxset variables\n groupHeadingBgColor = 'var(--transparent)';\n checkedColor = 'var(--primaryColor)';\n checkedDisabledColor = 'var(--defaultColorA)';\n checkedEnabledColor = 'var(--defaultColorF)';\n checkboxBorderColor = 'var(--defaultColor9)';\n checkedBgColor = 'var(--primaryColor)';\n uncheckedBgColor = 'var(--transparent)';\n checkedIconColor = 'var(--defaultColorF)';\n checkedBorderColor = 'var(--primaryColor)';\n uncheckedBorderColor = 'var(--defaultColor9)';\n \n //form\n formBorderColor = this.widgetBorderColor;\n formTitleColor = this.defaultTextColor;\n formSubTitleColor = this.defaultColor6;\n\n //dialog\n dialogBackgroundColor = this.widgetBgColor;\n dialogBorderColor = this.widgetBorderColor;\n dialogCloseIconColor = this.defaultColorA;\n dialogLabelColor = this.defaultColor3;\n dialogIconColor = this.defaultColor4;\n dialogSupportingTextColor = this.defaultColor1;\n\n //alert dialog\n alertMessageColor = this.defaultColor8;\n\n badgeTextColor = this.defaultColorF;\n\n //popover\n popoverBackgroundColor = this.defaultColorF;\n popoverTitleBackgroundColor = this.defaultColorD;\n popoverTitleColor = this.defaultColor1;\n\n //menu\n menuIconColor = this.defaultColor6;\n menuTextColor = this.defaultColor6;\n menuBackgroundColor = this.popoverBackgroundColor;\n menuItemBorderColor = this.widgetBorderColor;\n menuItemIconColor = this.defaultColor6;\n menuItemTextColor = this.defaultColor6;\n\n //tile Variables\n tileDangerColor = this.dangerColor;\n tileInfoColor = this.infoColor;\n tilePrimaryColor = this.primaryColor;\n tileSuccessColor = this.successColor;\n tileWarningColor = this.warningColor;\n tileWellbgColor = this.defaultColorF;\n tileWellBorderColor = this.defaultColorE;\n tilePrimaryTextColor = this.primaryContrastColor;\n\n //switch\n switchBgColor = this.widgetBgColor;\n switchTextColor = this.defaultTextColor;\n switchActiveBgColor = this.primaryColor;\n switchActiveTextColor = this.primaryContrastColor;\n switchBorderColor = this.widgetBorderColor;\n\n //message\n messageSuccessColor = this.successColor;\n messageErrorColor = this.dangerColor;\n messageWarningColor = this.warningColor;\n messageInfoColor = this.infoColor;\n messageLoadingColor = this.infoColor;\n\n //panel\n panelBgColor = this.widgetBgColor;\n panelHeaderBgColor = this.widgetHeaderBgColor;\n panelHeaderTextColor = this.widgetHeaderTextColor;\n panelFooterColor = this.defaultColorD;\n panelBorderColor = this.widgetBorderColor;\n panelDangerColor = this.dangerColor;\n panelDefaultColor = this.defaultColor;\n panelInfoColor = this.infoColor;\n panelPrimaryColor = this.primaryColor;\n panelSuccessColor = this.successColor;\n panelWarningColor = this.warningColor;\n panelTextColor = this.defaultColorF;\n\n //card\n cardHeaderBgColor = this.defaultColorD;\n cardBgColor = this.widgetBgColor;\n cardTitleColor = this.listTitleColor;\n cardShadowColor = this.defaultColor;\n cardSubTitleColor = this.listSubTitleColor;\n cardBorderColor = this.defaultColorD;\n cardContentBgColor = this.defaultColorF;\n cardFooterBgColor = this.defaultColorF;\n cardFooterBorderColor = this.defaultColorD;\n\n //progress bar\n progressBarDefaultColor = this.primaryColor;\n progressBarTrackColor = this.defaultColorD;\n progressBarSuccessColor = this.successColor;\n progressBarDangerColor = this.dangerColor;\n progressBarInfoColor = this.infoColor;\n progressBarWarningColor = this.warningColor;\n\n //progress circle\n progressCircleDefaultColor = this.primaryColor;\n progressCircleSuccessColor = this.successColor;\n progressCircleDangerColor = this.dangerColor;\n progressCircleInfoColor = this.infoColor;\n progressCircleWarningColor = this.warningColor;\n\n //container\n containerOutlineColor = this.defaultColorC;\n\n //accordion\n accordionBgColor = this.widgetBgColor;\n accordionTitleColor = this.widgetHeaderTextColor;\n accordionHeaderBgColor = this.defaultColorF;\n accordionIconColor= this.defaultColorB;\n accordionActiveIconColor= this.defaultColorF;\n accordionActiveHeaderBgColor = this.widgetActiveHeaderBgColor;\n accordionActiveHeaderTextColor = this.widgetActiveHeaderTextColor;\n accordionBorderColor = this.defaultColorE;\n accordionPaneBgColor = this.defaultColorF;\n\n //carousel\n carouselPrevBtnColor=this.defaultColorF;\n carouselPrevBgColor=Color(this.defaultColorF).fade(0.6).rgb().toString();\n carouselNextBtnColor=this.defaultColorF;\n carouselNextBgColor=Color(this.defaultColorF).fade(0.6).rgb().toString();\n carouselDotWrapperBgColor=this.transparent;\n carouselDotColor=this.defaultColorF;\n carouselActiveDotColor=this.defaultColorF;\n\n //calendar\n calendarBgColor = this.defaultColorF;\n calendarHeaderBgColor = this.defaultColorF;\n calendarHeaderTextColor = this.defaultTextColor;\n calendarWeekDayTextColor = this.defaultColorA;\n calendarDateColor = this.defaultColor;\n calendarNotCurrentMonthDateColor = this.defaultColor6;\n calendarHeaderColor = this.defaultColorF;\n calendarPrevYearIconColor = this.defaultColorA;\n calendarNextYearIconColor = this.defaultColorA;\n calendarPrevMonthIconColor = this.defaultColorA;\n calendarNextMonthIconColor = this.defaultColorA;\n calendarDayBgColor = this.defaultColor;\n calendarSelectedDayBgColor = this.primaryColor;\n calendarSelectedDayTextColor = this.defaultColorF;\n calendarTodayBgColor = this.defaultColorE;\n calendarEventDay1Color = this.primaryColor1;\n calendarEventDay2Color = this.primaryColor2;\n calendarEventDay3Color = this.primaryColor3;\n\n //date picker\n datepickerBgColor = this.defaultColorF;\n\n //wizard\n wizardBackgroundColor = this.widgetBgColor;\n wizardStepActiveColor = this.primaryColor;\n wizardStepDoneColor = this.successColor;\n wizardStepDoneTextColor = this.defaultColorF;\n wizardStepIconColor = this.defaultColor9;\n wizardStepColor = this.defaultColor9;\n wizardActiveStepColor = this.defaultColorF;\n wizardDoneStepColor = this.defaultColorF;\n wizardStepTitleColor = this.defaultColorA;\n wizardNextBtnColor= this.primaryColor;\n wizardDoneBtnColor = this.successColor;\n wizardStepConnectorColor = this.defaultColorE;\n wizardStepCounerColor = this.defaultColor9;\n wizardBorderColor = this.widgetBorderColor;\n\n //Search\n searchBorderColor = this.defaultColorD;\n searchButtonColor = this.primaryColor;\n searchButtonTextColor = this.primaryContrastColor;\n searchItemBorderColor = this.defaultColorD;\n searchItemTextColor = this.defaultColor6;\n searchDropdownBackgroundColor = this.defaultColorF;\n searchDataCompleteItemBgColor = this.defaultColorE;\n searchBgContainerColor = this.defaultColorD;\n //Select\n selectBorderColor = this.defaultColorD;\n selecttemBorderColor = this.defaultColorD;\n selectItemTextColor = this.defaultColor6;\n selectDropdownBackgroundColor = this.defaultColorF;\n\n //Chip\n chipActiveTextColor = this.defaultColorF;\n chipDefaultTextColor = this.defaultColorA;\n chipborderColor = this.defaultColorD;\n chipContainerColor = this.defaultColorF; \n chipIconColor = this.primaryColor;\n chipSelectedOutlineColor = this.defaultColor6;\n chipSelectedContainerColor = this.defaultColor7;\n //Login\n loginErrorMsgColor = this.dangerContrastColor;\n loginErrorMsgBgColor = this.dangerColor;\n loginErrorMsgBorderColor = this.dangerColor;\n\n //camera\n cameraBgColor = this.defaultColorF;\n cameraBorderColor = this.widgetBorderColor;\n cameraTextColor = this.defaultTextColor;\n\n //barcode-scanner\n barcodeScannerBgColor = this.defaultColorF;\n barcodeScannerBorderColor = this.widgetBorderColor;\n barcodeScannerTextColor = this.defaultTextColor;\n\n //fileupload\n fileuploadBgColor = this.defaultColorF;\n fileuploadBorderColor = this.widgetBorderColor;\n fileuploadTextColor = this.defaultTextColor;\n\n //charts\n chartLabelColor = this.defaultTextColor;\n chartGraphLinesColor = this.defaultColorC;\n chartLineColor = this.defaultColor8;\n chartLegendBorder = this.defaultColor7;\n chartAxisColor = this.defaultColor5;\n chartAxisPointColor = this.defaultColor9;\n chartTitleColor = this.widgetHeaderTextColor;\n chartSubTitleColor = this.defaultColor6;\n\n // Network Toast\n networkToastBgColor = this.defaultColor3;\n networkToastTextColor = this.defaultColorF;\n networkToastActionTextColor = this.primaryColor;\n networkToastActionSeparatorColor = this.networkToastTextColor;\n\n // Skeleton\n skeletonBgColor = this.defaultColorE;\n skeletonAnimatedBgColor = this.defaultColorE;\n skeletonGradientBgColor = this.defaultColorF;\n skeletonGradientShadowColor = this.defaultColorF;\n skeletonGradientForegroundColor = this.transparent;\n\n // Audio\n audioPlayerBgColor = this.defaultColorF;\n audioPlayerFgColor = this.defaultColor3;\n\n //Tool tip\n tooltipBgColor = \"#e7f9fd\";\n\n // Wheel Picker\n wheelHighlightBorder = 'var(--primaryColor)';\n wheelSelectedTextColor = 'var(--wheelSelectedColor)';\n wheelTextColor = 'var(--wheelColor)';\n\n static INSTANCE = new ThemeVariables();\n}"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAe,OAAO;AAClC,SAASC,UAAU,EAAEC,SAAS,QAAQ,cAAc;AAEpD,eAAe,MAAMC,cAAc,CAAC;EAAAC,YAAA;IAA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AI,CAACwD,qBAAqB;IAE7D;IAAAxD,eAAA,0BACkB,IAAI,CAACa,aAAa;IAAAb,eAAA,kCACV,IAAI,CAACa,aAAa;IAAAb,eAAA,kCAClB,IAAI,CAACK,aAAa;IAAAL,eAAA,sCACd,IAAI,CAACK,aAAa;IAAAL,eAAA,0CACd,IAAI,CAACY,WAAW;IAElD;IAAAZ,eAAA,6BACqB,IAAI,CAACK,aAAa;IAAAL,eAAA,6BAClB,IAAI,CAACc,aAAa;IAEvC;IAAAd,eAAA,yBACiB,SAAS;IAE1B;IAAAA,eAAA,+BACuB,qBAAqB;IAAAA,eAAA,iCACnB,2BAA2B;IAAAA,eAAA,yBACnC,mBAAmB;EAAA;AAGxC;AAACyD,eAAA,GA/doB3D,cAAc;AAAAE,eAAA,CAAdF,cAAc,cA8db,IAAIA,eAAc,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 DatasetUtil from './utils/dataset-util';
5
5
  import EventNotifier from '@wavemaker/app-rn-runtime/core/event-notifier';
6
6
  import { ROOT_LOGGER } from '@wavemaker/app-rn-runtime/core/logger';
@@ -1 +1 @@
1
- {"version":3,"names":["DatasetUtil","EventNotifier","ROOT_LOGGER","isNumber","isObject","isBoolean","get","isEqual","VariableEvents","VARIABLE_LOGGER","extend","BaseVariable","constructor","config","_defineProperty","name","isList","twoWayBinding","dataSet","subscribe","BEFORE_INVOKE","isExecuting","info","AFTER_INVOKE","invoke","params","onSuccess","onError","paramProvider","Promise","resolve","doNext","reject","invokeOnParamChange","last","latest","getData","setData","isValidDataset","getValue","key","index","setValue","value","getItem","setItem","options","getChildDetails","addItem","removeItem","exactMatch","parentIndex","path","clearData","getValidDataset","getCount","pause","resume","destroy"],"sources":["base-variable.ts"],"sourcesContent":["import DatasetUtil from './utils/dataset-util';\nimport EventNotifier from '@wavemaker/app-rn-runtime/core/event-notifier';\nimport { ROOT_LOGGER } from '@wavemaker/app-rn-runtime/core/logger';\nimport { isNumber, isObject, isBoolean, get, isEqual } from 'lodash';\nexport interface VariableConfig {\n name: string;\n paramProvider: Function;\n onBefore: Function;\n onComplete: Function;\n onSuccess: Function;\n onError: Function;\n isList: boolean;\n twoWayBinding: boolean;\n service: any;\n operation: string;\n operationId: string;\n operationType: string;\n serviceType: string;\n}\n\nexport enum VariableEvents {\n BEFORE_INVOKE = 'beforeInvoke',\n SUCCESS = 'success',\n ERROR = 'error',\n AFTER_INVOKE = 'afterInvoke'\n};\n\nexport const VARIABLE_LOGGER = ROOT_LOGGER.extend('variable');\n\nexport abstract class BaseVariable<T extends VariableConfig> extends EventNotifier {\n name: string = '';\n params: any = {};\n dataSet: any = {};\n isList: boolean;\n twoWayBinding: boolean;\n isExecuting = false;\n\n constructor(public config: T) {\n super();\n this.name = config.name;\n this.isList = config.isList;\n this.twoWayBinding = config.twoWayBinding;\n this.dataSet = this.isList ? []: this.dataSet;\n this.subscribe(VariableEvents.BEFORE_INVOKE, () => {\n this.isExecuting = true;\n VARIABLE_LOGGER.info(`Before Invoking variable ${this.name}`);\n });\n this.subscribe(VariableEvents.AFTER_INVOKE, () => {\n this.isExecuting = false;\n VARIABLE_LOGGER.info(`After Invoking variable ${this.name}`);\n });\n }\n\n public invoke(params?: {}, onSuccess?: Function, onError?: Function): Promise<BaseVariable<T>> {\n if (!params) {\n this.params = this.config.paramProvider();\n } else {\n this.params = params;\n }\n return Promise.resolve(this);\n }\n\n public doNext(): Promise<BaseVariable<T>> {\n return Promise.reject(this);\n }\n\n public invokeOnParamChange(): Promise<BaseVariable<T>> {\n const last = this.params;\n const latest = this.config.paramProvider();\n if (!isEqual(last, latest)) {\n return this.invoke(latest);\n }\n return Promise.resolve(this);\n }\n\n public getData() {\n return this.dataSet;\n }\n\n public setData(dataSet: any) {\n if (DatasetUtil.isValidDataset(dataSet, this.isList)) {\n this.dataSet = dataSet;\n }\n return this.dataSet;\n }\n\n getValue(key: string, index: number) {\n return DatasetUtil.getValue(this.dataSet, key, index, this.isList);\n }\n\n setValue(key: string, value: any) {\n return DatasetUtil.setValue(this.dataSet, key, value, this.isList);\n }\n\n getItem(index: number) {\n return DatasetUtil.getItem(this.dataSet, index, this.isList);\n }\n\n setItem(index: any, value: any, options?: any) {\n options = DatasetUtil.getChildDetails(this.dataSet, options, this.isList);\n return DatasetUtil.setItem(this.dataSet, index, value, options);\n }\n\n addItem(value: any, options?: any) {\n let index;\n if (isNumber(options)) {\n index = options;\n }\n if (isObject(options)) {\n // @ts-ignore\n index = options.index;\n }\n\n options = DatasetUtil.getChildDetails(this.dataSet, options, this.isList);\n return DatasetUtil.addItem(this.dataSet, value, index, options);\n }\n\n removeItem(index: any, options?: any) {\n let exactMatch, parentIndex;\n if (options) {\n if (isBoolean(options)) {\n exactMatch = options;\n }\n if (isObject(options)) {\n // @ts-ignore\n exactMatch = options.exactMatch;\n if (this.isList) {\n // @ts-ignore\n parentIndex = options.parentIndex || 0;\n }\n }\n }\n return DatasetUtil.removeItem(this.dataSet, index, { exactMatch, path: get(options, 'path'), parentIndex });\n }\n\n clearData() {\n this.dataSet = DatasetUtil.getValidDataset(this.isList);\n return this.dataSet;\n }\n\n getCount() {\n return DatasetUtil.getCount(this.dataSet, this.isList);\n }\n\n pause() {}\n\n resume() {}\n\n destroy() {}\n\n}\n"],"mappings":";;;AAAA,OAAOA,WAAW,MAAM,sBAAsB;AAC9C,OAAOC,aAAa,MAAM,+CAA+C;AACzE,SAASC,WAAW,QAAQ,uCAAuC;AACnE,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,GAAG,EAAEC,OAAO,QAAQ,QAAQ;AAiBpE,WAAYC,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA;AAKzB;AAED,OAAO,MAAMC,eAAe,GAAGP,WAAW,CAACQ,MAAM,CAAC,UAAU,CAAC;AAE7D,OAAO,MAAeC,YAAY,SAAmCV,aAAa,CAAC;EAQ/EW,WAAWA,CAAQC,MAAS,EAAE;IAC5B,KAAK,CAAC,CAAC;IAAC,KADSA,MAAS,GAATA,MAAS;IAAAC,eAAA,eAPb,EAAE;IAAAA,eAAA,iBACH,CAAC,CAAC;IAAAA,eAAA,kBACD,CAAC,CAAC;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,sBAGH,KAAK;IAIjB,IAAI,CAACC,IAAI,GAAGF,MAAM,CAACE,IAAI;IACvB,IAAI,CAACC,MAAM,GAAGH,MAAM,CAACG,MAAM;IAC3B,IAAI,CAACC,aAAa,GAAGJ,MAAM,CAACI,aAAa;IACzC,IAAI,CAACC,OAAO,GAAG,IAAI,CAACF,MAAM,GAAG,EAAE,GAAE,IAAI,CAACE,OAAO;IAC7C,IAAI,CAACC,SAAS,CAACX,cAAc,CAACY,aAAa,EAAE,MAAM;MACjD,IAAI,CAACC,WAAW,GAAG,IAAI;MACvBZ,eAAe,CAACa,IAAI,CAAE,4BAA2B,IAAI,CAACP,IAAK,EAAC,CAAC;IAC/D,CAAC,CAAC;IACF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C3B,IAAIL,OAAO,EAAE;MACX,IAAIzC,SAAS,CAACyC,OAAO,CAAC,EAAE;QACtBI,UAAU,GAAGJ,OAAO;MACtB;MACA,IAAI1C,QAAQ,CAAC0C,OAAO,CAAC,EAAE;QACrB;QACAI,UAAU,GAAGJ,OAAO,CAACI,UAAU;QAC/B,IAAI,IAAI,CAAClC,MAAM,EAAE;UACf;UACAmC,WAAW,GAAGL,OAAO,CAACK,WAAW,IAAI,CAAC;QACxC;MACF;IACF;IACA,OAAOnD,WAAW,CAACiD,UAAU,CAAC,IAAI,CAAC/B,OAAO,EAAEuB,KAAK,EAAE;MAAES,UAAU;MAAEE,IAAI,EAAE9C,GAAG,CAACwC,OAAO,EAAE,MAAM,CAAC;MAAEK;IAAY,CAAC,CAAC;EAC7G;EAEAE,SAASA,CAAA,EAAG;IACV,IAAI,CAACnC,OAAO,GAAGlB,WAAW,CAACsD,eAAe,CAAC,IAAI,CAACtC,MAAM,CAAC;IACvD,OAAO,IAAI,CAACE,OAAO;EACrB;EAEAqC,QAAQA,CAAA,EAAG;IACT,OAAOvD,WAAW,CAACuD,QAAQ,CAAC,IAAI,CAACrC,OAAO,EAAE,IAAI,CAACF,MAAM,CAAC;EACxD;EAEAwC,KAAKA,CAAA,EAAG,CAAC;EAETC,MAAMA,CAAA,EAAG,CAAC;EAEVC,OAAOA,CAAA,EAAG,CAAC;AAEf"}
1
+ {"version":3,"names":["DatasetUtil","EventNotifier","ROOT_LOGGER","isNumber","isObject","isBoolean","get","isEqual","VariableEvents","VARIABLE_LOGGER","extend","BaseVariable","constructor","config","_defineProperty","name","isList","twoWayBinding","dataSet","subscribe","BEFORE_INVOKE","isExecuting","info","AFTER_INVOKE","invoke","params","onSuccess","onError","paramProvider","Promise","resolve","doNext","reject","invokeOnParamChange","last","latest","getData","setData","isValidDataset","getValue","key","index","setValue","value","getItem","setItem","options","getChildDetails","addItem","removeItem","exactMatch","parentIndex","path","clearData","getValidDataset","getCount","pause","resume","destroy"],"sources":["base-variable.ts"],"sourcesContent":["import DatasetUtil from './utils/dataset-util';\nimport EventNotifier from '@wavemaker/app-rn-runtime/core/event-notifier';\nimport { ROOT_LOGGER } from '@wavemaker/app-rn-runtime/core/logger';\nimport { isNumber, isObject, isBoolean, get, isEqual } from 'lodash';\nexport interface VariableConfig {\n name: string;\n paramProvider: Function;\n onBefore: Function;\n onComplete: Function;\n onSuccess: Function;\n onError: Function;\n isList: boolean;\n twoWayBinding: boolean;\n service: any;\n operation: string;\n operationId: string;\n operationType: string;\n serviceType: string;\n}\n\nexport enum VariableEvents {\n BEFORE_INVOKE = 'beforeInvoke',\n SUCCESS = 'success',\n ERROR = 'error',\n AFTER_INVOKE = 'afterInvoke'\n};\n\nexport const VARIABLE_LOGGER = ROOT_LOGGER.extend('variable');\n\nexport abstract class BaseVariable<T extends VariableConfig> extends EventNotifier {\n name: string = '';\n params: any = {};\n dataSet: any = {};\n isList: boolean;\n twoWayBinding: boolean;\n isExecuting = false;\n\n constructor(public config: T) {\n super();\n this.name = config.name;\n this.isList = config.isList;\n this.twoWayBinding = config.twoWayBinding;\n this.dataSet = this.isList ? []: this.dataSet;\n this.subscribe(VariableEvents.BEFORE_INVOKE, () => {\n this.isExecuting = true;\n VARIABLE_LOGGER.info(`Before Invoking variable ${this.name}`);\n });\n this.subscribe(VariableEvents.AFTER_INVOKE, () => {\n this.isExecuting = false;\n VARIABLE_LOGGER.info(`After Invoking variable ${this.name}`);\n });\n }\n\n public invoke(params?: {}, onSuccess?: Function, onError?: Function): Promise<BaseVariable<T>> {\n if (!params) {\n this.params = this.config.paramProvider();\n } else {\n this.params = params;\n }\n return Promise.resolve(this);\n }\n\n public doNext(): Promise<BaseVariable<T>> {\n return Promise.reject(this);\n }\n\n public invokeOnParamChange(): Promise<BaseVariable<T>> {\n const last = this.params;\n const latest = this.config.paramProvider();\n if (!isEqual(last, latest)) {\n return this.invoke(latest);\n }\n return Promise.resolve(this);\n }\n\n public getData() {\n return this.dataSet;\n }\n\n public setData(dataSet: any) {\n if (DatasetUtil.isValidDataset(dataSet, this.isList)) {\n this.dataSet = dataSet;\n }\n return this.dataSet;\n }\n\n getValue(key: string, index: number) {\n return DatasetUtil.getValue(this.dataSet, key, index, this.isList);\n }\n\n setValue(key: string, value: any) {\n return DatasetUtil.setValue(this.dataSet, key, value, this.isList);\n }\n\n getItem(index: number) {\n return DatasetUtil.getItem(this.dataSet, index, this.isList);\n }\n\n setItem(index: any, value: any, options?: any) {\n options = DatasetUtil.getChildDetails(this.dataSet, options, this.isList);\n return DatasetUtil.setItem(this.dataSet, index, value, options);\n }\n\n addItem(value: any, options?: any) {\n let index;\n if (isNumber(options)) {\n index = options;\n }\n if (isObject(options)) {\n // @ts-ignore\n index = options.index;\n }\n\n options = DatasetUtil.getChildDetails(this.dataSet, options, this.isList);\n return DatasetUtil.addItem(this.dataSet, value, index, options);\n }\n\n removeItem(index: any, options?: any) {\n let exactMatch, parentIndex;\n if (options) {\n if (isBoolean(options)) {\n exactMatch = options;\n }\n if (isObject(options)) {\n // @ts-ignore\n exactMatch = options.exactMatch;\n if (this.isList) {\n // @ts-ignore\n parentIndex = options.parentIndex || 0;\n }\n }\n }\n return DatasetUtil.removeItem(this.dataSet, index, { exactMatch, path: get(options, 'path'), parentIndex });\n }\n\n clearData() {\n this.dataSet = DatasetUtil.getValidDataset(this.isList);\n return this.dataSet;\n }\n\n getCount() {\n return DatasetUtil.getCount(this.dataSet, this.isList);\n }\n\n pause() {}\n\n resume() {}\n\n destroy() {}\n\n}\n"],"mappings":";;;AAAA,OAAOA,WAAW,MAAM,sBAAsB;AAC9C,OAAOC,aAAa,MAAM,+CAA+C;AACzE,SAASC,WAAW,QAAQ,uCAAuC;AACnE,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,GAAG,EAAEC,OAAO,QAAQ,QAAQ;AAiBpE,WAAYC,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OA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O,EAAE,MAAM,CAAC;MAAEK;IAAY,CAAC,CAAC;EAC7G;EAEAE,SAASA,CAAA,EAAG;IACV,IAAI,CAACnC,OAAO,GAAGlB,WAAW,CAACsD,eAAe,CAAC,IAAI,CAACtC,MAAM,CAAC;IACvD,OAAO,IAAI,CAACE,OAAO;EACrB;EAEAqC,QAAQA,CAAA,EAAG;IACT,OAAOvD,WAAW,CAACuD,QAAQ,CAAC,IAAI,CAACrC,OAAO,EAAE,IAAI,CAACF,MAAM,CAAC;EACxD;EAEAwC,KAAKA,CAAA,EAAG,CAAC;EAETC,MAAMA,CAAA,EAAG,CAAC;EAEVC,OAAOA,CAAA,EAAG,CAAC;AAEf","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["isDate","isString","moment","getDateObj","value","isNaN","parseInt","isValid","undefined","dateObj","Date","format","valueOf","getDay","CreateEventOperation","constructor","calendar","invoke","params","createEvent"],"sources":["create-event.operation.tsx"],"sourcesContent":["import { Operation, Output } from '../operation.provider';\nimport { isDate, isString } from 'lodash';\nimport moment from 'moment';\nimport { CalendarInput, CalendarService } from \"@wavemaker/app-rn-runtime/core/device/calendar-service\";\n\nexport interface CreateEventOutput extends Output {\n dataValue: string;\n}\n\n/**\n * method to get the date object from the input received\n */\nexport const getDateObj = (value: any): any => {\n\n /*if the value is a date object, no need to covert it*/\n if (isDate(value)) {\n return value;\n }\n\n /*if the value is a timestamp string, convert it to a number*/\n if (!isNaN(value)) {\n value = parseInt(value, 10);\n }\n\n if (!moment(value).isValid() || value === '' || value === null || value === undefined) {\n return undefined;\n }\n let dateObj = new Date(value);\n /**\n * if date value is string \"20-05-2019\" then new Date(value) return 20May2019 with current time in India,\n * whereas this will return 19May2019 with time lagging for few hours.\n * This is because it returns UTC time i.e. Coordinated Universal Time (UTC).\n * To create date in local time use moment\n */\n if (isString(value)) {\n /*\n * If selected locale is Arabic, moment(value).format() is giving date in Arabic language\n * (Ex: If date value is \"1990-11-23\" and moment(value).format() is \"١٩٩٠-١١-٢٣T٠٠:٠٠:٠٠+٠٥:٣٠\")\n * and new Date(moment(value).format()) is giving Invalid Date. So frst converting it to timestamp value.\n */\n dateObj = new Date(moment(moment(value).format()).valueOf());\n }\n\n if (isNaN(dateObj.getDay())) {\n return new Date();\n }\n return dateObj;\n};\n\nexport class CreateEventOperation implements Operation {\n constructor(private calendar: CalendarService) {}\n\n public invoke(params: CalendarInput): Promise<CreateEventOutput> {\n return this.calendar.createEvent(params);\n }\n}\n"],"mappings":"AACA,SAASA,MAAM,EAAEC,QAAQ,QAAQ,QAAQ;AACzC,OAAOC,MAAM,MAAM,QAAQ;AAO3B;AACA;AACA;AACA,OAAO,MAAMC,UAAU,GAAIC,KAAU,IAAU;EAE7C;EACA,IAAIJ,MAAM,CAACI,KAAK,CAAC,EAAE;IACjB,OAAOA,KAAK;EACd;;EAEA;EACA,IAAI,CAACC,KAAK,CAACD,KAAK,CAAC,EAAE;IACjBA,KAAK,GAAGE,QAAQ,CAACF,KAAK,EAAE,EAAE,CAAC;EAC7B;EAEA,IAAI,CAACF,MAAM,CAACE,KAAK,CAAC,CAACG,OAAO,CAAC,CAAC,IAAIH,KAAK,KAAK,EAAE,IAAIA,KAAK,KAAK,IAAI,IAAIA,KAAK,KAAKI,SAAS,EAAE;IACrF,OAAOA,SAAS;EAClB;EACA,IAAIC,OAAO,GAAG,IAAIC,IAAI,CAACN,KAAK,CAAC;EAC7B;AACF;AACA;AACA;AACA;AACA;EACE,IAAIH,QAAQ,CAACG,KAAK,CAAC,EAAE;IACnB;AACJ;AACA;AACA;AACA;IACIK,OAAO,GAAG,IAAIC,IAAI,CAACR,MAAM,CAACA,MAAM,CAACE,KAAK,CAAC,CAACO,MAAM,CAAC,CAAC,CAAC,CAACC,OAAO,CAAC,CAAC,CAAC;EAC9D;EAEA,IAAIP,KAAK,CAACI,OAAO,CAACI,MAAM,CAAC,CAAC,CAAC,EAAE;IAC3B,OAAO,IAAIH,IAAI,CAAC,CAAC;EACnB;EACA,OAAOD,OAAO;AAChB,CAAC;AAED,OAAO,MAAMK,oBAAoB,CAAsB;EACrDC,WAAWA,CAASC,QAAyB,EAAE;IAAA,KAA3BA,QAAyB,GAAzBA,QAAyB;EAAG;EAEzCC,MAAMA,CAACC,MAAqB,EAA8B;IAC/D,OAAO,IAAI,CAACF,QAAQ,CAACG,WAAW,CAACD,MAAM,CAAC;EAC1C;AACF"}
1
+ {"version":3,"names":["isDate","isString","moment","getDateObj","value","isNaN","parseInt","isValid","undefined","dateObj","Date","format","valueOf","getDay","CreateEventOperation","constructor","calendar","invoke","params","createEvent"],"sources":["create-event.operation.tsx"],"sourcesContent":["import { Operation, Output } from '../operation.provider';\nimport { isDate, isString } from 'lodash';\nimport moment from 'moment';\nimport { CalendarInput, CalendarService } from \"@wavemaker/app-rn-runtime/core/device/calendar-service\";\n\nexport interface CreateEventOutput extends Output {\n dataValue: string;\n}\n\n/**\n * method to get the date object from the input received\n */\nexport const getDateObj = (value: any): any => {\n\n /*if the value is a date object, no need to covert it*/\n if (isDate(value)) {\n return value;\n }\n\n /*if the value is a timestamp string, convert it to a number*/\n if (!isNaN(value)) {\n value = parseInt(value, 10);\n }\n\n if (!moment(value).isValid() || value === '' || value === null || value === undefined) {\n return undefined;\n }\n let dateObj = new Date(value);\n /**\n * if date value is string \"20-05-2019\" then new Date(value) return 20May2019 with current time in India,\n * whereas this will return 19May2019 with time lagging for few hours.\n * This is because it returns UTC time i.e. Coordinated Universal Time (UTC).\n * To create date in local time use moment\n */\n if (isString(value)) {\n /*\n * If selected locale is Arabic, moment(value).format() is giving date in Arabic language\n * (Ex: If date value is \"1990-11-23\" and moment(value).format() is \"١٩٩٠-١١-٢٣T٠٠:٠٠:٠٠+٠٥:٣٠\")\n * and new Date(moment(value).format()) is giving Invalid Date. So frst converting it to timestamp value.\n */\n dateObj = new Date(moment(moment(value).format()).valueOf());\n }\n\n if (isNaN(dateObj.getDay())) {\n return new Date();\n }\n return dateObj;\n};\n\nexport class CreateEventOperation implements Operation {\n constructor(private calendar: CalendarService) {}\n\n public invoke(params: CalendarInput): Promise<CreateEventOutput> {\n return this.calendar.createEvent(params);\n }\n}\n"],"mappings":"AACA,SAASA,MAAM,EAAEC,QAAQ,QAAQ,QAAQ;AACzC,OAAOC,MAAM,MAAM,QAAQ;AAO3B;AACA;AACA;AACA,OAAO,MAAMC,UAAU,GAAIC,KAAU,IAAU;EAE7C;EACA,IAAIJ,MAAM,CAACI,KAAK,CAAC,EAAE;IACjB,OAAOA,KAAK;EACd;;EAEA;EACA,IAAI,CAACC,KAAK,CAACD,KAAK,CAAC,EAAE;IACjBA,KAAK,GAAGE,QAAQ,CAACF,KAAK,EAAE,EAAE,CAAC;EAC7B;EAEA,IAAI,CAACF,MAAM,CAACE,KAAK,CAAC,CAACG,OAAO,CAAC,CAAC,IAAIH,KAAK,KAAK,EAAE,IAAIA,KAAK,KAAK,IAAI,IAAIA,KAAK,KAAKI,SAAS,EAAE;IACrF,OAAOA,SAAS;EAClB;EACA,IAAIC,OAAO,GAAG,IAAIC,IAAI,CAACN,KAAK,CAAC;EAC7B;AACF;AACA;AACA;AACA;AACA;EACE,IAAIH,QAAQ,CAACG,KAAK,CAAC,EAAE;IACnB;AACJ;AACA;AACA;AACA;IACIK,OAAO,GAAG,IAAIC,IAAI,CAACR,MAAM,CAACA,MAAM,CAACE,KAAK,CAAC,CAACO,MAAM,CAAC,CAAC,CAAC,CAACC,OAAO,CAAC,CAAC,CAAC;EAC9D;EAEA,IAAIP,KAAK,CAACI,OAAO,CAACI,MAAM,CAAC,CAAC,CAAC,EAAE;IAC3B,OAAO,IAAIH,IAAI,CAAC,CAAC;EACnB;EACA,OAAOD,OAAO;AAChB,CAAC;AAED,OAAO,MAAMK,oBAAoB,CAAsB;EACrDC,WAAWA,CAASC,QAAyB,EAAE;IAAA,KAA3BA,QAAyB,GAAzBA,QAAyB;EAAG;EAEzCC,MAAMA,CAACC,MAAqB,EAA8B;IAC/D,OAAO,IAAI,CAACF,QAAQ,CAACG,WAAW,CAACD,MAAM,CAAC;EAC1C;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["DeleteEventOperation","constructor","calendar","invoke","params","deleteEvent"],"sources":["delete-event.operation.tsx"],"sourcesContent":["import { Operation, Output } from '../operation.provider';\nimport { CalendarInput, CalendarService } from \"@wavemaker/app-rn-runtime/core/device/calendar-service\";\n\nexport interface DeleteEventOutput extends Output {\n dataValue: boolean;\n}\n\nexport class DeleteEventOperation implements Operation {\n constructor(private calendar: CalendarService) {}\n\n public invoke(params: CalendarInput): Promise<DeleteEventOutput> {\n return this.calendar.deleteEvent(params);\n }\n}\n"],"mappings":"AAOA,OAAO,MAAMA,oBAAoB,CAAsB;EACrDC,WAAWA,CAASC,QAAyB,EAAE;IAAA,KAA3BA,QAAyB,GAAzBA,QAAyB;EAAG;EAEzCC,MAAMA,CAACC,MAAqB,EAA8B;IAC/D,OAAO,IAAI,CAACF,QAAQ,CAACG,WAAW,CAACD,MAAM,CAAC;EAC1C;AACF"}
1
+ {"version":3,"names":["DeleteEventOperation","constructor","calendar","invoke","params","deleteEvent"],"sources":["delete-event.operation.tsx"],"sourcesContent":["import { Operation, Output } from '../operation.provider';\nimport { CalendarInput, CalendarService } from \"@wavemaker/app-rn-runtime/core/device/calendar-service\";\n\nexport interface DeleteEventOutput extends Output {\n dataValue: boolean;\n}\n\nexport class DeleteEventOperation implements Operation {\n constructor(private calendar: CalendarService) {}\n\n public invoke(params: CalendarInput): Promise<DeleteEventOutput> {\n return this.calendar.deleteEvent(params);\n }\n}\n"],"mappings":"AAOA,OAAO,MAAMA,oBAAoB,CAAsB;EACrDC,WAAWA,CAASC,QAAyB,EAAE;IAAA,KAA3BA,QAAyB,GAAzBA,QAAyB;EAAG;EAEzCC,MAAMA,CAACC,MAAqB,EAA8B;IAC/D,OAAO,IAAI,CAACF,QAAQ,CAACG,WAAW,CAACD,MAAM,CAAC;EAC1C;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["GetEventsOperation","constructor","calendar","invoke","params","getEvents"],"sources":["get-events.operation.tsx"],"sourcesContent":["import { Operation, Output } from '../operation.provider';\nimport { CalendarInput, CalendarService } from \"@wavemaker/app-rn-runtime/core/device/calendar-service\";\n\nexport interface CalendarEvent extends Output {\n title: string;\n message: string;\n location: string;\n startDate: string | Date;\n endDate: string | Date;\n}\n\nexport class GetEventsOperation implements Operation {\n constructor(private calendar: CalendarService) {}\n\n public invoke(params: CalendarInput): Promise<Array<CalendarEvent>> {\n return this.calendar.getEvents(params);\n }\n}\n\n"],"mappings":"AAWA,OAAO,MAAMA,kBAAkB,CAAsB;EACnDC,WAAWA,CAASC,QAAyB,EAAE;IAAA,KAA3BA,QAAyB,GAAzBA,QAAyB;EAAG;EAEzCC,MAAMA,CAACC,MAAqB,EAAiC;IAClE,OAAO,IAAI,CAACF,QAAQ,CAACG,SAAS,CAACD,MAAM,CAAC;EACxC;AACF"}
1
+ {"version":3,"names":["GetEventsOperation","constructor","calendar","invoke","params","getEvents"],"sources":["get-events.operation.tsx"],"sourcesContent":["import { Operation, Output } from '../operation.provider';\nimport { CalendarInput, CalendarService } from \"@wavemaker/app-rn-runtime/core/device/calendar-service\";\n\nexport interface CalendarEvent extends Output {\n title: string;\n message: string;\n location: string;\n startDate: string | Date;\n endDate: string | Date;\n}\n\nexport class GetEventsOperation implements Operation {\n constructor(private calendar: CalendarService) {}\n\n public invoke(params: CalendarInput): Promise<Array<CalendarEvent>> {\n return this.calendar.getEvents(params);\n }\n}\n\n"],"mappings":"AAWA,OAAO,MAAMA,kBAAkB,CAAsB;EACnDC,WAAWA,CAASC,QAAyB,EAAE;IAAA,KAA3BA,QAAyB,GAAzBA,QAAyB;EAAG;EAEzCC,MAAMA,CAACC,MAAqB,EAAiC;IAClE,OAAO,IAAI,CAACF,QAAQ,CAACG,SAAS,CAACD,MAAM,CAAC;EACxC;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["CaptureImageOperation","constructor","camera","invoke","params","captureImage"],"sources":["capture-image.operation.tsx"],"sourcesContent":["import {CameraInput, CameraService} from \"@wavemaker/app-rn-runtime/core/device/camera-service\";\nimport { Operation, Output } from '../operation.provider';\n\nexport interface CaptureImageOutput extends Output {\n imagePath: string;\n content: string;\n}\n\nexport class CaptureImageOperation implements Operation {\n constructor(private camera: CameraService) {}\n\n public invoke(params: CameraInput): Promise<CaptureImageOutput> {\n return this.camera.captureImage(params);\n }\n}\n"],"mappings":"AAQA,OAAO,MAAMA,qBAAqB,CAAsB;EACtDC,WAAWA,CAASC,MAAqB,EAAE;IAAA,KAAvBA,MAAqB,GAArBA,MAAqB;EAAG;EAErCC,MAAMA,CAACC,MAAmB,EAA+B;IAC9D,OAAO,IAAI,CAACF,MAAM,CAACG,YAAY,CAACD,MAAM,CAAC;EACzC;AACF"}
1
+ {"version":3,"names":["CaptureImageOperation","constructor","camera","invoke","params","captureImage"],"sources":["capture-image.operation.tsx"],"sourcesContent":["import {CameraInput, CameraService} from \"@wavemaker/app-rn-runtime/core/device/camera-service\";\nimport { Operation, Output } from '../operation.provider';\n\nexport interface CaptureImageOutput extends Output {\n imagePath: string;\n content: string;\n}\n\nexport class CaptureImageOperation implements Operation {\n constructor(private camera: CameraService) {}\n\n public invoke(params: CameraInput): Promise<CaptureImageOutput> {\n return this.camera.captureImage(params);\n }\n}\n"],"mappings":"AAQA,OAAO,MAAMA,qBAAqB,CAAsB;EACtDC,WAAWA,CAASC,MAAqB,EAAE;IAAA,KAAvBA,MAAqB,GAArBA,MAAqB;EAAG;EAErCC,MAAMA,CAACC,MAAmB,EAA+B;IAC9D,OAAO,IAAI,CAACF,MAAM,CAACG,YAAY,CAACD,MAAM,CAAC;EACzC;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["CaptureVideoOperation","constructor","camera","invoke","captureVideo"],"sources":["capture-video.operation.tsx"],"sourcesContent":["import { CameraService } from \"@wavemaker/app-rn-runtime/core/device/camera-service\";\nimport { Operation, Output } from '../operation.provider';\n\nexport interface CaptureVideoOutput extends Output {\n videoPath: string;\n content: string;\n}\n\nexport class CaptureVideoOperation implements Operation {\n constructor(private camera: CameraService) {\n }\n\n public invoke(): Promise<CaptureVideoOutput> {\n return this.camera.captureVideo();\n }\n}\n"],"mappings":"AAQA,OAAO,MAAMA,qBAAqB,CAAsB;EACtDC,WAAWA,CAASC,MAAqB,EAAE;IAAA,KAAvBA,MAAqB,GAArBA,MAAqB;EACzC;EAEOC,MAAMA,CAAA,EAAgC;IAC3C,OAAO,IAAI,CAACD,MAAM,CAACE,YAAY,CAAC,CAAC;EACnC;AACF"}
1
+ {"version":3,"names":["CaptureVideoOperation","constructor","camera","invoke","captureVideo"],"sources":["capture-video.operation.tsx"],"sourcesContent":["import { CameraService } from \"@wavemaker/app-rn-runtime/core/device/camera-service\";\nimport { Operation, Output } from '../operation.provider';\n\nexport interface CaptureVideoOutput extends Output {\n videoPath: string;\n content: string;\n}\n\nexport class CaptureVideoOperation implements Operation {\n constructor(private camera: CameraService) {\n }\n\n public invoke(): Promise<CaptureVideoOutput> {\n return this.camera.captureVideo();\n }\n}\n"],"mappings":"AAQA,OAAO,MAAMA,qBAAqB,CAAsB;EACtDC,WAAWA,CAASC,MAAqB,EAAE;IAAA,KAAvBA,MAAqB,GAArBA,MAAqB;EACzC;EAEOC,MAAMA,CAAA,EAAgC;IAC3C,OAAO,IAAI,CAACD,MAAM,CAACE,YAAY,CAAC,CAAC;EACnC;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["GetContactsOperation","constructor","contacts","invoke","params","getContacts"],"sources":["get-contacts.operation.ts"],"sourcesContent":["import { Output, Operation } from '../operation.provider';\nimport { ContactsInput, ContactsService } from \"@wavemaker/app-rn-runtime/core/device/contacts-service\";\n\nexport interface PhoneNumber {\n value: string;\n}\n\nexport interface ContactsOutput extends Output{\n id: number;\n displayName: string;\n phoneNumbers: Array<PhoneNumber>;\n}\n\nexport class GetContactsOperation implements Operation {\n constructor(private contacts: ContactsService) {}\n\n public invoke(params: ContactsInput): Promise<Array<ContactsOutput>> {\n return this.contacts.getContacts(params);\n }\n}\n"],"mappings":"AAaA,OAAO,MAAMA,oBAAoB,CAAsB;EACrDC,WAAWA,CAASC,QAAyB,EAAE;IAAA,KAA3BA,QAAyB,GAAzBA,QAAyB;EAAG;EAEzCC,MAAMA,CAACC,MAAqB,EAAkC;IACnE,OAAO,IAAI,CAACF,QAAQ,CAACG,WAAW,CAACD,MAAM,CAAC;EAC1C;AACF"}
1
+ {"version":3,"names":["GetContactsOperation","constructor","contacts","invoke","params","getContacts"],"sources":["get-contacts.operation.ts"],"sourcesContent":["import { Output, Operation } from '../operation.provider';\nimport { ContactsInput, ContactsService } from \"@wavemaker/app-rn-runtime/core/device/contacts-service\";\n\nexport interface PhoneNumber {\n value: string;\n}\n\nexport interface ContactsOutput extends Output{\n id: number;\n displayName: string;\n phoneNumbers: Array<PhoneNumber>;\n}\n\nexport class GetContactsOperation implements Operation {\n constructor(private contacts: ContactsService) {}\n\n public invoke(params: ContactsInput): Promise<Array<ContactsOutput>> {\n return this.contacts.getContacts(params);\n }\n}\n"],"mappings":"AAaA,OAAO,MAAMA,oBAAoB,CAAsB;EACrDC,WAAWA,CAASC,QAAyB,EAAE;IAAA,KAA3BA,QAAyB,GAAzBA,QAAyB;EAAG;EAEzCC,MAAMA,CAACC,MAAqB,EAAkC;IACnE,OAAO,IAAI,CAACF,QAAQ,CAACG,WAAW,CAACD,MAAM,CAAC;EAC1C;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["React","AppInfoOperation","constructor","data","invoke","Promise","resolve","appversion","appVersion","reactversion","version"],"sources":["app-info.operation.ts"],"sourcesContent":["import React from \"react\";\nimport { Operation } from \"@wavemaker/app-rn-runtime/variables/device/operation.provider\";\n\nexport interface AppInfoOutput {\n appversion: string;\n reactversion: string;\n}\n\nexport class AppInfoOperation implements Operation {\n constructor(private data: {appVersion: string}) {\n }\n\n public invoke(): Promise<AppInfoOutput> {\n return Promise.resolve({\n appversion: this.data.appVersion,\n reactversion: React.version\n });\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAQzB,OAAO,MAAMC,gBAAgB,CAAsB;EACjDC,WAAWA,CAASC,IAA0B,EAAE;IAAA,KAA5BA,IAA0B,GAA1BA,IAA0B;EAC9C;EAEOC,MAAMA,CAAA,EAA2B;IACtC,OAAOC,OAAO,CAACC,OAAO,CAAC;MACrBC,UAAU,EAAE,IAAI,CAACJ,IAAI,CAACK,UAAU;MAChCC,YAAY,EAAET,KAAK,CAACU;IACtB,CAAC,CAAC;EACJ;AACF"}
1
+ {"version":3,"names":["React","AppInfoOperation","constructor","data","invoke","Promise","resolve","appversion","appVersion","reactversion","version"],"sources":["app-info.operation.ts"],"sourcesContent":["import React from \"react\";\nimport { Operation } from \"@wavemaker/app-rn-runtime/variables/device/operation.provider\";\n\nexport interface AppInfoOutput {\n appversion: string;\n reactversion: string;\n}\n\nexport class AppInfoOperation implements Operation {\n constructor(private data: {appVersion: string}) {\n }\n\n public invoke(): Promise<AppInfoOutput> {\n return Promise.resolve({\n appversion: this.data.appVersion,\n reactversion: React.version\n });\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAQzB,OAAO,MAAMC,gBAAgB,CAAsB;EACjDC,WAAWA,CAASC,IAA0B,EAAE;IAAA,KAA5BA,IAA0B,GAA1BA,IAA0B;EAC9C;EAEOC,MAAMA,CAAA,EAA2B;IACtC,OAAOC,OAAO,CAACC,OAAO,CAAC;MACrBC,UAAU,EAAE,IAAI,CAACJ,IAAI,CAACK,UAAU;MAChCC,YAAY,EAAET,KAAK,CAACU;IACtB,CAAC,CAAC;EACJ;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["CurrentGeoPositionOperation","constructor","location","invoke","params","getCurrentGeoPosition"],"sources":["current-geo-position.operation.ts"],"sourcesContent":["import { Input, Operation, Output } from \"@wavemaker/app-rn-runtime/variables/device/operation.provider\";\nimport { LocationService } from \"@wavemaker/app-rn-runtime/core/device/location-service\";\n\nexport interface coordsOutput {\n latitude: number | null;\n longitude: number | null;\n altitude: number | null;\n accuracy: number | null;\n altitudeAccuracy: number | null;\n heading: number | null;\n speed: number | null;\n}\n\nexport interface GeoPositionOutput extends Output {\n coords: coordsOutput;\n timestamp: number | null;\n}\n\nexport interface GeoPositionInput extends Input {\n maximumAge: number;\n timeout: number;\n enableHighAccuracy: boolean;\n}\n\nexport class CurrentGeoPositionOperation implements Operation {\n constructor(private location: LocationService) {\n }\n\n public invoke(params: GeoPositionInput): Promise<GeoPositionOutput> {\n return this.location.getCurrentGeoPosition(params);\n }\n}\n"],"mappings":"AAwBA,OAAO,MAAMA,2BAA2B,CAAsB;EAC5DC,WAAWA,CAASC,QAAyB,EAAE;IAAA,KAA3BA,QAAyB,GAAzBA,QAAyB;EAC7C;EAEOC,MAAMA,CAACC,MAAwB,EAA8B;IAClE,OAAO,IAAI,CAACF,QAAQ,CAACG,qBAAqB,CAACD,MAAM,CAAC;EACpD;AACF"}
1
+ {"version":3,"names":["CurrentGeoPositionOperation","constructor","location","invoke","params","getCurrentGeoPosition"],"sources":["current-geo-position.operation.ts"],"sourcesContent":["import { Input, Operation, Output } from \"@wavemaker/app-rn-runtime/variables/device/operation.provider\";\nimport { LocationService } from \"@wavemaker/app-rn-runtime/core/device/location-service\";\n\nexport interface coordsOutput {\n latitude: number | null;\n longitude: number | null;\n altitude: number | null;\n accuracy: number | null;\n altitudeAccuracy: number | null;\n heading: number | null;\n speed: number | null;\n}\n\nexport interface GeoPositionOutput extends Output {\n coords: coordsOutput;\n timestamp: number | null;\n}\n\nexport interface GeoPositionInput extends Input {\n maximumAge: number;\n timeout: number;\n enableHighAccuracy: boolean;\n}\n\nexport class CurrentGeoPositionOperation implements Operation {\n constructor(private location: LocationService) {\n }\n\n public invoke(params: GeoPositionInput): Promise<GeoPositionOutput> {\n return this.location.getCurrentGeoPosition(params);\n }\n}\n"],"mappings":"AAwBA,OAAO,MAAMA,2BAA2B,CAAsB;EAC5DC,WAAWA,CAASC,QAAyB,EAAE;IAAA,KAA3BA,QAAyB,GAAzBA,QAAyB;EAC7C;EAEOC,MAAMA,CAACC,MAAwB,EAA8B;IAClE,OAAO,IAAI,CAACF,QAAQ,CAACG,qBAAqB,CAACD,MAAM,CAAC;EACpD;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["Device","DeviceInfoOperation","invoke","Promise","resolve","deviceModel","modelName","os","osName","osVersion","deviceUUID"],"sources":["device-info.operation.ts"],"sourcesContent":["import * as Device from 'expo-device';\nimport { Operation } from \"@wavemaker/app-rn-runtime/variables/device/operation.provider\";\n\nexport interface DeviceInfoOutput {\n deviceModel: string | null;\n os: string | null;\n osVersion: string | null;\n deviceUUID: string;\n}\n\nexport class DeviceInfoOperation implements Operation {\n public invoke(): Promise<DeviceInfoOutput> {\n return Promise.resolve({\n deviceModel: Device.modelName,\n os: Device.osName,\n osVersion: Device.osVersion,\n deviceUUID: ''\n });\n }\n}\n"],"mappings":"AAAA,OAAO,KAAKA,MAAM,MAAM,aAAa;AAUrC,OAAO,MAAMC,mBAAmB,CAAsB;EAC7CC,MAAMA,CAAA,EAA8B;IACzC,OAAOC,OAAO,CAACC,OAAO,CAAC;MACrBC,WAAW,EAAEL,MAAM,CAACM,SAAS;MAC7BC,EAAE,EAAEP,MAAM,CAACQ,MAAM;MACjBC,SAAS,EAAET,MAAM,CAACS,SAAS;MAC3BC,UAAU,EAAE;IACd,CAAC,CAAC;EACJ;AACF"}
1
+ {"version":3,"names":["Device","DeviceInfoOperation","invoke","Promise","resolve","deviceModel","modelName","os","osName","osVersion","deviceUUID"],"sources":["device-info.operation.ts"],"sourcesContent":["import * as Device from 'expo-device';\nimport { Operation } from \"@wavemaker/app-rn-runtime/variables/device/operation.provider\";\n\nexport interface DeviceInfoOutput {\n deviceModel: string | null;\n os: string | null;\n osVersion: string | null;\n deviceUUID: string;\n}\n\nexport class DeviceInfoOperation implements Operation {\n public invoke(): Promise<DeviceInfoOutput> {\n return Promise.resolve({\n deviceModel: Device.modelName,\n os: Device.osName,\n osVersion: Device.osVersion,\n deviceUUID: ''\n });\n }\n}\n"],"mappings":"AAAA,OAAO,KAAKA,MAAM,MAAM,aAAa;AAUrC,OAAO,MAAMC,mBAAmB,CAAsB;EAC7CC,MAAMA,CAAA,EAA8B;IACzC,OAAOC,OAAO,CAACC,OAAO,CAAC;MACrBC,WAAW,EAAEL,MAAM,CAACM,SAAS;MAC7BC,EAAE,EAAEP,MAAM,CAACQ,MAAM;MACjBC,SAAS,EAAET,MAAM,CAACS,SAAS;MAC3BC,UAAU,EAAE;IACd,CAAC,CAAC;EACJ;AACF","ignoreList":[]}
@@ -1,12 +1,32 @@
1
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1
4
  import * as Network from 'expo-network';
2
5
  export class NetworkInfoOperation {
3
- invoke() {
6
+ constructor() {
7
+ _defineProperty(this, "isOnline", true);
8
+ }
9
+ invoke(params, onSuccess, onError, operation, variable) {
10
+ const networkState = params.networkStatus;
4
11
  return Network.getNetworkStateAsync().then(response => {
5
12
  return {
6
13
  connectionType: Network.NetworkStateType[response.type],
7
- isNetworkAvailable: response.isInternetReachable,
8
- isOnline: response.isInternetReachable
14
+ isConnecting: networkState.isConnecting,
15
+ isNetworkAvailable: networkState.isNetworkAvailable,
16
+ isOnline: networkState.isConnected,
17
+ isOffline: !networkState.isConnected
9
18
  };
19
+ }).then(dataset => {
20
+ try {
21
+ if (this.isOnline !== networkState.isConnected) {
22
+ this.isOnline = networkState.isConnected;
23
+ const callback = (variable === null || variable === void 0 ? void 0 : variable.config)[networkState.isConnected ? 'onOnline' : 'onOffline'];
24
+ callback === null || callback === void 0 || callback(variable, dataset);
25
+ }
26
+ } catch (e) {
27
+ console.error(e);
28
+ }
29
+ return dataset;
10
30
  });
11
31
  }
12
32
  }
@@ -1 +1 @@
1
- {"version":3,"names":["Network","NetworkInfoOperation","invoke","getNetworkStateAsync","then","response","connectionType","NetworkStateType","type","isNetworkAvailable","isInternetReachable","isOnline"],"sources":["network-info.operation.ts"],"sourcesContent":["import * as Network from 'expo-network';\nimport { Operation } from '@wavemaker/app-rn-runtime/variables/device/operation.provider';\n\nexport interface NetworkInfoOutput {\n connectionType: string;\n isNetworkAvailable: boolean;\n isOnline: boolean;\n}\n\nexport class NetworkInfoOperation implements Operation {\n public invoke(): Promise<NetworkInfoOutput> {\n return Network.getNetworkStateAsync().then((response) => {\n return {\n connectionType: Network.NetworkStateType[response.type as Network.NetworkStateType],\n isNetworkAvailable: response.isInternetReachable,\n isOnline: response.isInternetReachable\n } as NetworkInfoOutput;\n });\n }\n}\n"],"mappings":"AAAA,OAAO,KAAKA,OAAO,MAAM,cAAc;AASvC,OAAO,MAAMC,oBAAoB,CAAsB;EAC9CC,MAAMA,CAAA,EAA+B;IAC1C,OAAOF,OAAO,CAACG,oBAAoB,CAAC,CAAC,CAACC,IAAI,CAAEC,QAAQ,IAAK;MACvD,OAAO;QACLC,cAAc,EAAEN,OAAO,CAACO,gBAAgB,CAACF,QAAQ,CAACG,IAAI,CAA6B;QACnFC,kBAAkB,EAAEJ,QAAQ,CAACK,mBAAmB;QAChDC,QAAQ,EAAEN,QAAQ,CAACK;MACrB,CAAC;IACH,CAAC,CAAC;EACJ;AACF"}
1
+ {"version":3,"names":["Network","NetworkInfoOperation","constructor","_defineProperty","invoke","params","onSuccess","onError","operation","variable","networkState","networkStatus","getNetworkStateAsync","then","response","connectionType","NetworkStateType","type","isConnecting","isNetworkAvailable","isOnline","isConnected","isOffline","dataset","callback","config","e","console","error"],"sources":["network-info.operation.ts"],"sourcesContent":["import * as Network from 'expo-network';\nimport { Operation } from '@wavemaker/app-rn-runtime/variables/device/operation.provider';\nimport NetworkService from '@wavemaker/app-rn-runtime/core/network.service';\n\nimport { DeviceVariable } from '../../device-variable';\n\nexport interface NetworkInfoOutput {\n connectionType: string;\n isConnecting: boolean;\n isNetworkAvailable: boolean;\n isOnline: boolean;\n isOffline: boolean;\n}\n\nexport class NetworkInfoOperation implements Operation {\n isOnline = true;\n\n public invoke(params?: any, onSuccess?: Function, onError?: Function, operation?: string, variable?: DeviceVariable): Promise<NetworkInfoOutput> {\n const networkState = params.networkStatus;\n return Network.getNetworkStateAsync().then((response) => {\n return {\n connectionType: Network.NetworkStateType[response.type as Network.NetworkStateType], \n isConnecting: networkState.isConnecting,\n isNetworkAvailable: networkState.isNetworkAvailable,\n isOnline: networkState.isConnected,\n isOffline: !networkState.isConnected\n } as NetworkInfoOutput;\n }).then((dataset) => {\n try {\n if (this.isOnline !== networkState.isConnected) {\n this.isOnline = networkState.isConnected;\n const callback = (variable?.config as any)[networkState.isConnected ? 'onOnline' : 'onOffline'] as Function;\n callback?.(variable, dataset);\n }\n } catch(e) {\n console.error(e);\n }\n return dataset;\n });\n }\n}\n"],"mappings":";;;AAAA,OAAO,KAAKA,OAAO,MAAM,cAAc;AAcvC,OAAO,MAAMC,oBAAoB,CAAsB;EAAAC,YAAA;IAAAC,eAAA,mBAC1C,IAAI;EAAA;EAERC,MAAMA,CAACC,MAAY,EAAEC,SAAoB,EAAEC,OAAkB,EAAEC,SAAkB,EAAEC,QAAyB,EAA8B;IAC/I,MAAMC,YAAY,GAAGL,MAAM,CAACM,aAAa;IACzC,OAAOX,OAAO,CAACY,oBAAoB,CAAC,CAAC,CAACC,IAAI,CAAEC,QAAQ,IAAK;MACvD,OAAO;QACLC,cAAc,EAAEf,OAAO,CAACgB,gBAAgB,CAACF,QAAQ,CAACG,IAAI,CAA6B;QACnFC,YAAY,EAAER,YAAY,CAACQ,YAAY;QACvCC,kBAAkB,EAAET,YAAY,CAACS,kBAAkB;QACnDC,QAAQ,EAAEV,YAAY,CAACW,WAAW;QAClCC,SAAS,EAAE,CAACZ,YAAY,CAACW;MAC3B,CAAC;IACH,CAAC,CAAC,CAACR,IAAI,CAAEU,OAAO,IAAK;MACnB,IAAI;QACF,IAAI,IAAI,CAACH,QAAQ,KAAKV,YAAY,CAACW,WAAW,EAAE;UAC9C,IAAI,CAACD,QAAQ,GAAGV,YAAY,CAACW,WAAW;UACxC,MAAMG,QAAQ,GAAG,CAACf,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAEgB,MAAM,EAASf,YAAY,CAACW,WAAW,GAAG,UAAU,GAAG,WAAW,CAAa;UAC3GG,QAAQ,aAARA,QAAQ,eAARA,QAAQ,CAAGf,QAAQ,EAAEc,OAAO,CAAC;QAC/B;MACF,CAAC,CAAC,OAAMG,CAAC,EAAE;QACTC,OAAO,CAACC,KAAK,CAACF,CAAC,CAAC;MAClB;MACA,OAAOH,OAAO;IAChB,CAAC,CAAC;EACJ;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["Vibration","VibrateOperation","invoke","params","vibrate","vibrationtime","Promise","resolve"],"sources":["vibrate.operation.ts"],"sourcesContent":["import { Vibration } from 'react-native';\nimport { Operation, Output } from \"@wavemaker/app-rn-runtime/variables/device/operation.provider\";\n\nexport interface VibrateInput {\n vibrationtime: number;\n}\n\nexport class VibrateOperation implements Operation {\n\n public invoke(params: VibrateInput): Promise<Output> {\n Vibration.vibrate(params.vibrationtime * 1000);\n return Promise.resolve({} as Output);\n }\n}\n"],"mappings":"AAAA,SAASA,SAAS,QAAQ,cAAc;AAOxC,OAAO,MAAMC,gBAAgB,CAAsB;EAE1CC,MAAMA,CAACC,MAAoB,EAAmB;IACnDH,SAAS,CAACI,OAAO,CAACD,MAAM,CAACE,aAAa,GAAG,IAAI,CAAC;IAC9C,OAAOC,OAAO,CAACC,OAAO,CAAC,CAAC,CAAW,CAAC;EACtC;AACF"}
1
+ {"version":3,"names":["Vibration","VibrateOperation","invoke","params","vibrate","vibrationtime","Promise","resolve"],"sources":["vibrate.operation.ts"],"sourcesContent":["import { Vibration } from 'react-native';\nimport { Operation, Output } from \"@wavemaker/app-rn-runtime/variables/device/operation.provider\";\n\nexport interface VibrateInput {\n vibrationtime: number;\n}\n\nexport class VibrateOperation implements Operation {\n\n public invoke(params: VibrateInput): Promise<Output> {\n Vibration.vibrate(params.vibrationtime * 1000);\n return Promise.resolve({} as Output);\n }\n}\n"],"mappings":"AAAA,SAASA,SAAS,QAAQ,cAAc;AAOxC,OAAO,MAAMC,gBAAgB,CAAsB;EAE1CC,MAAMA,CAACC,MAAoB,EAAmB;IACnDH,SAAS,CAACI,OAAO,CAACD,MAAM,CAACE,aAAa,GAAG,IAAI,CAAC;IAC9C,OAAOC,OAAO,CAACC,OAAO,CAAC,CAAC,CAAW,CAAC;EACtC;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["axios","Platform","endsWith","DocumentPicker","FileExtensionTypesMap","namedParameters","copyToCacheDirectory","multiple","type","UploadFileOperation","chooseFile","getDocumentAsync","then","response","OS","file","uri","invoke","params","serverUrl","remoteFolder","Promise","resolve","localFile","browse","filePath","fileName","split","pop","arr","fileExtension","length","fileObj","name","formData","FormData","append","url","method","headers","data","error"],"sources":["upload-file.operation.tsx"],"sourcesContent":["import axios from 'axios';\nimport { Platform } from 'react-native';\nimport { endsWith } from 'lodash-es';\nimport * as DocumentPicker from 'expo-document-picker';\n\nimport { Operation } from '@wavemaker/app-rn-runtime/variables/device/operation.provider';\nimport { FileExtensionTypesMap } from '@wavemaker/app-rn-runtime/core/file-extension-types';\n\nexport interface UploadFileInput {\n localFile: string;\n remoteFolder: string;\n serverUrl: string;\n browse: boolean;\n}\n\nexport interface UploadFileOutput {\n fileName: string;\n path: string;\n length: number;\n success: boolean;\n inlinePath: string;\n errorMessage: string;\n}\n\nconst namedParameters = {\n copyToCacheDirectory: false,\n multiple: false,\n type: '*/*'\n};\n\nexport class UploadFileOperation implements Operation {\n\n public chooseFile() {\n return DocumentPicker.getDocumentAsync(namedParameters).then((response: any) => {\n return Platform.OS === 'web' ? response.file : response.uri;\n });\n }\n\n public invoke(params: UploadFileInput): Promise<UploadFileOutput> {\n params.serverUrl = endsWith(params.serverUrl, '/') ? params.serverUrl : params.serverUrl + '/';\n let serverUrl = params.serverUrl + 'services/file/uploadFile';\n if (params.remoteFolder) {\n serverUrl = serverUrl + '?relativePath=' + params.remoteFolder\n }\n return Promise.resolve().then(() => {\n if (!params.localFile && params.browse) {\n return this.chooseFile();\n } else {\n return params.localFile;\n }\n }).then((filePath: string) => {\n if (!filePath) {\n return;\n }\n const fileName: string | undefined = filePath.split('/').pop() || '';\n const arr: any = fileName.split('.');\n const fileExtension: string = '.' + arr[arr.length - 1];\n let fileObj = {\n uri: filePath,\n type: FileExtensionTypesMap[fileExtension],\n name: fileName,\n };\n\n let formData = new FormData();\n formData.append('files', fileObj);\n return axios({\n url: serverUrl,\n method: 'POST',\n headers: {\n 'Content-Type': 'multipart/form-data'\n },\n data: formData\n }).then(\n (response) => {\n return response.data[0];\n }, error => error);\n });\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,cAAc;AACvC,SAASC,QAAQ,QAAQ,WAAW;AACpC,OAAO,KAAKC,cAAc,MAAM,sBAAsB;AAGtD,SAASC,qBAAqB,QAAQ,qDAAqD;AAkB3F,MAAMC,eAAe,GAAG;EACtBC,oBAAoB,EAAE,KAAK;EAC3BC,QAAQ,EAAE,KAAK;EACfC,IAAI,EAAE;AACR,CAAC;AAED,OAAO,MAAMC,mBAAmB,CAAsB;EAE7CC,UAAUA,CAAA,EAAG;IAClB,OAAOP,cAAc,CAACQ,gBAAgB,CAACN,eAAe,CAAC,CAAC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Q,GAAG,IAAIC,QAAQ,CAAC,CAAC;MAC7BD,QAAQ,CAACE,MAAM,CAAC,OAAO,EAAEJ,OAAO,CAAC;MACjC,OAAOhC,KAAK,CAAC;QACXqC,GAAG,EAAElB,SAAS;QACdmB,MAAM,EAAE,MAAM;QACdC,OAAO,EAAE;UACP,cAAc,EAAE;QAClB,CAAC;QACDC,IAAI,EAAEN;MACR,CAAC,CAAC,CAACtB,IAAI,CACJC,QAAQ,IAAK;QACd,OAAOA,QAAQ,CAAC2B,IAAI,CAAC,CAAC,CAAC;MACzB,CAAC,EAAEC,KAAK,IAAIA,KAAK,CAAC;IACpB,CAAC,CAAC;EACJ;AACF"}
1
+ {"version":3,"names":["axios","Platform","endsWith","DocumentPicker","FileExtensionTypesMap","namedParameters","copyToCacheDirectory","multiple","type","UploadFileOperation","chooseFile","getDocumentAsync","then","response","OS","file","uri","invoke","params","serverUrl","remoteFolder","Promise","resolve","localFile","browse","filePath","fileName","split","pop","arr","fileExtension","length","fileObj","name","formData","FormData","append","url","method","headers","data","error"],"sources":["upload-file.operation.tsx"],"sourcesContent":["import axios from 'axios';\nimport { Platform } from 'react-native';\nimport { endsWith } from 'lodash-es';\nimport * as DocumentPicker from 'expo-document-picker';\n\nimport { Operation } from '@wavemaker/app-rn-runtime/variables/device/operation.provider';\nimport { FileExtensionTypesMap } from '@wavemaker/app-rn-runtime/core/file-extension-types';\n\nexport interface UploadFileInput {\n localFile: string;\n remoteFolder: string;\n serverUrl: string;\n browse: boolean;\n}\n\nexport interface UploadFileOutput {\n fileName: string;\n path: string;\n length: number;\n success: boolean;\n inlinePath: string;\n errorMessage: string;\n}\n\nconst namedParameters = {\n copyToCacheDirectory: false,\n multiple: false,\n type: '*/*'\n};\n\nexport class UploadFileOperation implements Operation {\n\n public chooseFile() {\n return DocumentPicker.getDocumentAsync(namedParameters).then((response: any) => {\n return Platform.OS === 'web' ? response.file : response.uri;\n });\n }\n\n public invoke(params: UploadFileInput): Promise<UploadFileOutput> {\n params.serverUrl = endsWith(params.serverUrl, '/') ? params.serverUrl : params.serverUrl + '/';\n let serverUrl = params.serverUrl + 'services/file/uploadFile';\n if (params.remoteFolder) {\n serverUrl = serverUrl + '?relativePath=' + params.remoteFolder\n }\n return Promise.resolve().then(() => {\n if (!params.localFile && params.browse) {\n return this.chooseFile();\n } else {\n return params.localFile;\n }\n }).then((filePath: string) => {\n if (!filePath) {\n return;\n }\n const fileName: string | undefined = filePath.split('/').pop() || '';\n const arr: any = fileName.split('.');\n const fileExtension: string = '.' + arr[arr.length - 1];\n let fileObj = {\n uri: filePath,\n type: FileExtensionTypesMap[fileExtension],\n name: fileName,\n };\n\n let formData = new FormData();\n formData.append('files', fileObj);\n return axios({\n url: serverUrl,\n method: 'POST',\n headers: {\n 'Content-Type': 'multipart/form-data'\n },\n data: formData\n }).then(\n (response) => {\n return response.data[0];\n }, error => error);\n });\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,cAAc;AACvC,SAASC,QAAQ,QAAQ,WAAW;AACpC,OAAO,KAAKC,cAAc,MAAM,sBAAsB;AAGtD,SAASC,qBAAqB,QAAQ,qDAAqD;AAkB3F,MAAMC,eAAe,GAAG;EACtBC,oBAAoB,EAAE,KAAK;EAC3BC,QAAQ,EAAE,KAAK;EACfC,IAAI,EAAE;AACR,CAAC;AAED,OAAO,MAAMC,mBAAmB,CAAsB;EAE7CC,UAAUA,CAAA,EAAG;IAClB,OAAOP,cAAc,CAACQ,gBAAgB,CAACN,eAAe,CAAC,CAACO,IAAI,CAAEC,QAAa,IAAK;MAC9E,OAAOZ,QAAQ,CAACa,EAAE,KAAK,KAAK,GAAGD,QAAQ,CAACE,IAAI,GAAGF,QAAQ,CAACG,GAAG;IAC7D,CAAC,CAAC;EACJ;EAEOC,MAAMA,CAACC,MAAuB,EAA6B;IAChEA,MAAM,CAACC,SAAS,GAAGjB,QAAQ,CAACgB,MAAM,CAACC,SAAS,EAAE,GAAG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IAAI,CACJC,QAAQ,IAAK;QACd,OAAOA,QAAQ,CAAC2B,IAAI,CAAC,CAAC,CAAC;MACzB,CAAC,EAAEC,KAAK,IAAIA,KAAK,CAAC;IACpB,CAAC,CAAC;EACJ;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["registry","Map","OperationProvider","set","name","operation","get"],"sources":["operation.provider.ts"],"sourcesContent":["export interface Operation {\n invoke(params?: Input, onSuccess?: Function, onError?: Function, operation?: string): Promise<Output>;\n}\n\nexport interface Input {\n}\n\nexport interface Output {\n}\n\nconst registry = new Map<string, Operation>();\n\nexport class OperationProvider {\n\n public set(name: string, operation: Operation) {\n return registry.set(name, operation);\n }\n\n public get(name: string) {\n return registry.get(name);\n }\n}\n\nexport default new OperationProvider();"],"mappings":"AAUA,MAAMA,QAAQ,GAAG,IAAIC,GAAG,CAAoB,CAAC;AAE7C,OAAO,MAAMC,iBAAiB,CAAC;EAEtBC,GAAGA,CAACC,IAAY,EAAEC,SAAoB,EAAE;IAC7C,OAAOL,QAAQ,CAACG,GAAG,CAACC,IAAI,EAAEC,SAAS,CAAC;EACtC;EAEOC,GAAGA,CAACF,IAAY,EAAE;IACvB,OAAOJ,QAAQ,CAACM,GAAG,CAACF,IAAI,CAAC;EAC3B;AACF;AAEA,eAAe,IAAIF,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"names":["registry","Map","OperationProvider","set","name","operation","get"],"sources":["operation.provider.ts"],"sourcesContent":["import { DeviceVariable } from \"../device-variable\";\n\nexport interface Operation {\n invoke(params?: Input, onSuccess?: Function, onError?: Function, operation?: string, variable?: DeviceVariable): Promise<Output>;\n}\n\nexport interface Input {\n}\n\nexport interface Output {\n}\n\nconst registry = new Map<string, Operation>();\n\nexport class OperationProvider {\n\n public set(name: string, operation: Operation) {\n return registry.set(name, operation);\n }\n\n public get(name: string) {\n return registry.get(name);\n }\n}\n\nexport default new OperationProvider();"],"mappings":"AAYA,MAAMA,QAAQ,GAAG,IAAIC,GAAG,CAAoB,CAAC;AAE7C,OAAO,MAAMC,iBAAiB,CAAC;EAEtBC,GAAGA,CAACC,IAAY,EAAEC,SAAoB,EAAE;IAC7C,OAAOL,QAAQ,CAACG,GAAG,CAACC,IAAI,EAAEC,SAAS,CAAC;EACtC;EAEOC,GAAGA,CAACF,IAAY,EAAE;IACvB,OAAOJ,QAAQ,CAACM,GAAG,CAACF,IAAI,CAAC;EAC3B;AACF;AAEA,eAAe,IAAIF,iBAAiB,CAAC,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["ScanOperation","constructor","scan","invoke","params","scanBarcode"],"sources":["scan.operation.tsx"],"sourcesContent":["import { ScanService } from \"@wavemaker/app-rn-runtime/core/device/scan-service\";\nimport { Operation, Input, Output } from '../operation.provider';\n\nexport interface ScanInput extends Input {\n barcodeFormat: string;\n}\n\nexport interface ScanOutput extends Output {\n text : string;\n format : string;\n cancelled : boolean;\n}\n\nexport class ScanOperation implements Operation {\n\n constructor(private scan: ScanService) {}\n\n public invoke(params: ScanInput): Promise<ScanOutput> {\n return this.scan.scanBarcode(params);\n }\n}\n"],"mappings":"AAaA,OAAO,MAAMA,aAAa,CAAsB;EAE9CC,WAAWA,CAASC,IAAiB,EAAE;IAAA,KAAnBA,IAAiB,GAAjBA,IAAiB;EAAG;EAEjCC,MAAMA,CAACC,MAAiB,EAAuB;IACpD,OAAO,IAAI,CAACF,IAAI,CAACG,WAAW,CAACD,MAAM,CAAC;EACtC;AACF"}
1
+ {"version":3,"names":["ScanOperation","constructor","scan","invoke","params","scanBarcode"],"sources":["scan.operation.tsx"],"sourcesContent":["import { ScanService } from \"@wavemaker/app-rn-runtime/core/device/scan-service\";\nimport { Operation, Input, Output } from '../operation.provider';\n\nexport interface ScanInput extends Input {\n barcodeFormat: string;\n}\n\nexport interface ScanOutput extends Output {\n text : string;\n format : string;\n cancelled : boolean;\n}\n\nexport class ScanOperation implements Operation {\n\n constructor(private scan: ScanService) {}\n\n public invoke(params: ScanInput): Promise<ScanOutput> {\n return this.scan.scanBarcode(params);\n }\n}\n"],"mappings":"AAaA,OAAO,MAAMA,aAAa,CAAsB;EAE9CC,WAAWA,CAASC,IAAiB,EAAE;IAAA,KAAnBA,IAAiB,GAAjBA,IAAiB;EAAG;EAEjCC,MAAMA,CAACC,MAAiB,EAAuB;IACpD,OAAO,IAAI,CAACF,IAAI,CAACG,WAAW,CAACD,MAAM,CAAC;EACtC;AACF","ignoreList":[]}
@@ -12,7 +12,7 @@ export class DeviceVariable extends BaseVariable {
12
12
  return Promise.resolve(this);
13
13
  }
14
14
  this.notify(VariableEvents.BEFORE_INVOKE, [this, this.dataSet]);
15
- return operation.invoke(this.params, onSuccess, onError).then(data => {
15
+ return operation.invoke(this.params, onSuccess, onError, this.config.operation, this).then(data => {
16
16
  this.dataSet = data;
17
17
  this.config.onSuccess && this.config.onSuccess(this, this.dataSet);
18
18
  this.notify(VariableEvents.SUCCESS, [this, this.dataSet]);
@@ -1 +1 @@
1
- {"version":3,"names":["BaseVariable","VariableEvents","OperationProvider","DeviceVariable","constructor","config","dataSet","isList","invoke","params","onSuccess","onError","operation","get","service","Promise","resolve","notify","BEFORE_INVOKE","then","data","SUCCESS","err","ERROR","AFTER_INVOKE"],"sources":["device-variable.ts"],"sourcesContent":["import { BaseVariable, VariableConfig, VariableEvents } from '@wavemaker/app-rn-runtime/variables/base-variable';\nimport OperationProvider, { Input, Output } from './device/operation.provider';\n\nexport interface DeviceVariableConfig extends VariableConfig {\n service: string;\n operation: string;\n}\n\nexport class DeviceVariable extends BaseVariable<DeviceVariableConfig> {\n\n constructor(config: DeviceVariableConfig) {\n super(config);\n this.dataSet = this.isList ? [] : {};\n }\n\n invoke(params: any, onSuccess?: Function, onError?: Function): Promise<DeviceVariable> {\n super.invoke(params, onSuccess, onError);\n const operation = OperationProvider.get(`${this.config.service}.${this.config.operation}`);\n if (!operation) {\n return Promise.resolve(this);\n }\n this.notify(VariableEvents.BEFORE_INVOKE, [this, this.dataSet]);\n\n return operation.invoke(this.params as Input, onSuccess, onError)\n .then((data: Output) => {\n this.dataSet = data;\n this.config.onSuccess && this.config.onSuccess(this, this.dataSet);\n this.notify(VariableEvents.SUCCESS, [this, this.dataSet]);\n }, (err: Output) => {\n this.config.onError && this.config.onError(this, null);\n this.notify(VariableEvents.ERROR, [this, this.dataSet]);\n }).then(() => {\n this.notify(VariableEvents.AFTER_INVOKE, [this, this.dataSet]);\n return this;\n });\n }\n}\n"],"mappings":"AAAA,SAASA,YAAY,EAAkBC,cAAc,QAAQ,mDAAmD;AAChH,OAAOC,iBAAiB,MAAyB,6BAA6B;AAO9E,OAAO,MAAMC,cAAc,SAASH,YAAY,CAAuB;EAErEI,WAAWA,CAACC,MAA4B,EAAE;IACxC,KAAK,CAACA,MAAM,CAAC;IACb,IAAI,CAACC,OAAO,GAAG,IAAI,CAACC,MAAM,GAAG,EAAE,GAAG,CAAC,CAAC;EACtC;EAEAC,MAAMA,CAACC,MAAW,EAAEC,SAAoB,EAAEC,OAAkB,EAA2B;IACrF,KAAK,CAACH,MAAM,CAACC,MAAM,EAAEC,SAAS,EAAEC,OAAO,CAAC;IACxC,MAAMC,SAAS,GAAGV,iBAAiB,CAACW,GAAG,CAAE,GAAE,IAAI,CAACR,MAAM,CAACS,OAAQ,IAAG,IAAI,CAACT,MAAM,CAACO,SAAU,EAAC,CAAC;IAC1F,IAAI,CAACA,SAAS,EAAE;MACd,OAAOG,OAAO,CAACC,OAAO,CAAC,IAAI,CAAC;IAC9B;IACA,IAAI,CAACC,MAAM,CAAChB,cAAc,CAACiB,aAAa,EAAE,CAAC,IAAI,EAAE,IAAI,CAACZ,OAAO,CAAC,CAAC;IAE/D,OAAOM,SAAS,CAACJ,MAAM,CAAC,IAAI,CAACC,MAAM,EAAWC,SAAS,EAAEC,OAAO,CAAC,CAC9DQ,IAAI,CAAEC,IAAY,IAAK;MACtB,IAAI,CAACd,OAAO,GAAGc,IAAI;MACnB,IAAI,CAACf,MAAM,CAACK,SAAS,IAAI,IAAI,CAACL,MAAM,CAACK,SAAS,CAAC,IAAI,EAAE,IAAI,CAACJ,OAAO,CAAC;MAClE,IAAI,CAACW,MAAM,CAAChB,cAAc,CAACoB,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,CAACf,OAAO,CAAC,CAAC;IAC3D,CAAC,EAAGgB,GAAW,IAAK;MAClB,IAAI,CAACjB,MAAM,CAACM,OAAO,IAAI,IAAI,CAACN,MAAM,CAACM,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC;MACtD,IAAI,CAACM,MAAM,CAAChB,cAAc,CAACsB,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,CAACjB,OAAO,CAAC,CAAC;IACzD,CAAC,CAAC,CAACa,IAAI,CAAC,MAAM;MACZ,IAAI,CAACF,MAAM,CAAChB,cAAc,CAACuB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,CAAClB,OAAO,CAAC,CAAC;MAC9D,OAAO,IAAI;IACf,CAAC,CAAC;EACJ;AACF"}
1
+ {"version":3,"names":["BaseVariable","VariableEvents","OperationProvider","DeviceVariable","constructor","config","dataSet","isList","invoke","params","onSuccess","onError","operation","get","service","Promise","resolve","notify","BEFORE_INVOKE","then","data","SUCCESS","err","ERROR","AFTER_INVOKE"],"sources":["device-variable.ts"],"sourcesContent":["import { BaseVariable, VariableConfig, VariableEvents } from '@wavemaker/app-rn-runtime/variables/base-variable';\nimport OperationProvider, { Input, Output } from './device/operation.provider';\n\nexport interface DeviceVariableConfig extends VariableConfig {\n service: string;\n operation: string;\n}\n\nexport class DeviceVariable extends BaseVariable<DeviceVariableConfig> {\n\n constructor(config: DeviceVariableConfig) {\n super(config);\n this.dataSet = this.isList ? [] : {};\n }\n\n invoke(params: any, onSuccess?: Function, onError?: Function): Promise<DeviceVariable> {\n super.invoke(params, onSuccess, onError);\n const operation = OperationProvider.get(`${this.config.service}.${this.config.operation}`);\n if (!operation) {\n return Promise.resolve(this);\n }\n this.notify(VariableEvents.BEFORE_INVOKE, [this, this.dataSet]);\n\n return operation.invoke(this.params as Input, onSuccess, onError, this.config.operation, this)\n .then((data: Output) => {\n this.dataSet = data;\n this.config.onSuccess && this.config.onSuccess(this, this.dataSet);\n this.notify(VariableEvents.SUCCESS, [this, this.dataSet]);\n }, (err: Output) => {\n this.config.onError && this.config.onError(this, null);\n this.notify(VariableEvents.ERROR, [this, this.dataSet]);\n }).then(() => {\n this.notify(VariableEvents.AFTER_INVOKE, [this, this.dataSet]);\n return this;\n });\n }\n}\n"],"mappings":"AAAA,SAASA,YAAY,EAAkBC,cAAc,QAAQ,mDAAmD;AAChH,OAAOC,iBAAiB,MAAyB,6BAA6B;AAO9E,OAAO,MAAMC,cAAc,SAASH,YAAY,CAAuB;EAErEI,WAAWA,CAACC,MAA4B,EAAE;IACxC,KAAK,CAACA,MAAM,CAAC;IACb,IAAI,CAACC,OAAO,GAAG,IAAI,CAACC,MAAM,GAAG,EAAE,GAAG,CAAC,CAAC;EACtC;EAEAC,MAAMA,CAACC,MAAW,EAAEC,SAAoB,EAAEC,OAAkB,EAA2B;IACrF,KAAK,CAACH,MAAM,CAACC,MAAM,EAAEC,SAAS,EAAEC,OAAO,CAAC;IACxC,MAAMC,SAAS,GAAGV,iBAAiB,CAACW,GAAG,CAAE,GAAE,IAAI,CAACR,MAAM,CAACS,OAAQ,IAAG,IAAI,CAACT,MAAM,CAACO,SAAU,EAAC,CAAC;IAC1F,IAAI,CAACA,SAAS,EAAE;MACd,OAAOG,OAAO,CAACC,OAAO,CAAC,IAAI,CAAC;IAC9B;IACA,IAAI,CAACC,MAAM,CAAChB,cAAc,CAACiB,aAAa,EAAE,CAAC,IAAI,EAAE,IAAI,CAACZ,OAAO,CAAC,CAAC;IAE/D,OAAOM,SAAS,CAACJ,MAAM,CAAC,IAAI,CAACC,MAAM,EAAWC,SAAS,EAAEC,OAAO,EAAE,IAAI,CAACN,MAAM,CAACO,SAAS,EAAE,IAAI,CAAC,CAC3FO,IAAI,CAAEC,IAAY,IAAK;MACtB,IAAI,CAACd,OAAO,GAAGc,IAAI;MACnB,IAAI,CAACf,MAAM,CAACK,SAAS,IAAI,IAAI,CAACL,MAAM,CAACK,SAAS,CAAC,IAAI,EAAE,IAAI,CAACJ,OAAO,CAAC;MAClE,IAAI,CAACW,MAAM,CAAChB,cAAc,CAACoB,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,CAACf,OAAO,CAAC,CAAC;IAC3D,CAAC,EAAGgB,GAAW,IAAK;MAClB,IAAI,CAACjB,MAAM,CAACM,OAAO,IAAI,IAAI,CAACN,MAAM,CAACM,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC;MACtD,IAAI,CAACM,MAAM,CAAChB,cAAc,CAACsB,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,CAACjB,OAAO,CAAC,CAAC;IACzD,CAAC,CAAC,CAACa,IAAI,CAAC,MAAM;MACZ,IAAI,CAACF,MAAM,CAAChB,cAAc,CAACuB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,CAAClB,OAAO,CAAC,CAAC;MAC9D,OAAO,IAAI;IACf,CAAC,CAAC;EACJ;AACF","ignoreList":[]}
@@ -25,6 +25,10 @@ export class HttpService {
25
25
  options.url = options.url.replace('./', '/');
26
26
  url = variable.config.baseUrl + options.url;
27
27
  }
28
+ if (!isWebPreviewMode() && variable.serviceType === "JavaService" && !(url.startsWith('http://') || url.startsWith("https://"))) {
29
+ options.url = options.url.replace('./', '');
30
+ url = options.url;
31
+ }
28
32
  const methodType = (serviceInfo === null || serviceInfo === void 0 ? void 0 : serviceInfo.methodType) || options.method.toLowerCase();
29
33
  const isNonDataMethod = WS_CONSTANTS.NON_DATA_AXIOS_METHODS.indexOf(methodType.toUpperCase()) > -1;
30
34
  const axiosConfig = {
@@ -1 +1 @@
1
- {"version":3,"names":["axios","WS_CONSTANTS","isWebPreviewMode","injector","HttpService","send","options","variable","_variable$serviceInfo","serviceInfo","headers","requestBody","data","url","cancelTokenSource","CancelToken","source","consumes","formData","FormData","parameters","forEach","p","v","params","name","append","category","startsWith","replace","config","baseUrl","methodType","method","toLowerCase","isNonDataMethod","NON_DATA_AXIOS_METHODS","indexOf","toUpperCase","axiosConfig","cancelToken","token","withCredentials","Promise","resolve","reject","apply","then","result","err","response","sendCall","requestParams","getLocale","appConfig","get","appLocale","messages","cancel","uploadFile","event","error","httpService"],"sources":["http.service.ts"],"sourcesContent":["import axios from 'axios';\nimport { HttpClientService } from '@wavemaker/variables/src/types/http-client.service';\nimport { WS_CONSTANTS } from '@wavemaker/app-rn-runtime/variables/utils/variable.constants';\nimport { get, isEmpty } from 'lodash';\nimport AppConfig from '@wavemaker/app-rn-runtime/core/AppConfig';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\nimport injector from '@wavemaker/app-rn-runtime/core/injector';\n\nexport class HttpService implements HttpClientService {\n\n send(options: any, variable: any) {\n const serviceInfo = variable.serviceInfo;\n let headers: any = options.headers,\n requestBody: any = options.data,\n url: string = options.url;\n variable.cancelTokenSource = axios.CancelToken.source();\n if (!isWebPreviewMode() && (variable?.serviceInfo?.consumes||[])[0] === 'multipart/form-data') {\n headers['Content-Type'] = 'multipart/form-data';\n let formData = new FormData();\n (variable.serviceInfo.parameters||[]).forEach((p: any) => {\n const v = variable.params[p.name];\n if (v) {\n formData.append(p.name, variable.params[p.name]);\n }\n });\n requestBody = formData;\n }\n if (!isWebPreviewMode()\n && variable.category === 'wm.LiveVariable'\n && !(url.startsWith('http://') || url.startsWith(\"https://\"))) {\n options.url = options.url.replace('./', '/');\n url = variable.config.baseUrl + options.url;\n }\n\n const methodType: string = serviceInfo?.methodType || options.method.toLowerCase();\n const isNonDataMethod: boolean = WS_CONSTANTS.NON_DATA_AXIOS_METHODS.indexOf(methodType.toUpperCase()) > -1;\n const axiosConfig = {\n headers: headers,\n cancelToken: variable.cancelTokenSource.token,\n withCredentials: !isWebPreviewMode() || options?.withCredentials !== false\n };\n return new Promise((resolve, reject) => {\n // @ts-ignore\n axios[methodType].apply(variable, ( isNonDataMethod ? [url, axiosConfig] : [url, requestBody || {}, axiosConfig]))\n .then((result: any) => {\n resolve(result);\n }, (err: any) => {\n reject(err.response);\n })\n })\n }\n\n sendCall(requestParams: any, variable: any) {\n return new Promise((resolve, reject) => {\n this.send(requestParams, variable).then((response: any) => {\n resolve(response);\n }, (err: any) => {\n reject(err);\n });\n });\n }\n\n getLocale() {\n const appConfig = injector.get<AppConfig>('APP_CONFIG');\n return appConfig.appLocale.messages;\n }\n\n cancel(variable: any) {\n variable.cancelTokenSource.cancel();\n }\n\n uploadFile(url: any, data: any, variable: any, options?: any) {\n const requestParams = {\n url: url,\n data: data\n }\n return new Promise((resolve, reject) => {\n return this.send(requestParams, variable).then((event: any) => {\n resolve(event.data);\n }, (error: any) => {\n reject(error);\n });\n });\n }\n}\n\nconst httpService = new HttpService();\n\nexport default httpService;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,YAAY,QAAQ,8DAA8D;AAG3F,SAASC,gBAAgB,QAAQ,sCAAsC;AACvE,OAAOC,QAAQ,MAAM,yCAAyC;AAE9D,OAAO,MAAMC,WAAW,CAA8B;EAEpDC,IAAIA,CAACC,OAAY,EAAEC,QAAa,EAAE;IAAA,IAAAC,qBAAA;IAChC,MAAMC,WAAW,GAAGF,QAAQ,CAACE,WAAW;IACxC,IAAIC,OAAY,GAAGJ,OAAO,CAACI,OAAO;MAChCC,WAAgB,GAAGL,OAAO,CAACM,IAAI;MAC/BC,GAAW,GAAGP,OAAO,CAACO,GAAG;IACzBN,QAAQ,CAACO,iBAAiB,GAAGd,KAAK,CAACe,WAAW,CAACC,MAAM,CAAC,CAAC;IACzD,IAAI,CAACd,gBAAgB,CAAC,CAAC,IAAI,CAAC,CAAAK,QAAQ,aAARA,QAAQ,gBAAAC,qBAAA,GAARD,QAAQ,CAAEE,WAAW,cAAAD,qBAAA,uBAArBA,qBAAA,CAAuBS,QAAQ,KAAE,EAAE,EAAE,CAAC,CAAC,KAA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M8C,aAAa,GAAG;MACpBvC,GAAG,EAAEA,GAAG;MACRD,IAAI,EAAEA;IACR,CAAC;IACD,OAAO,IAAI+B,OAAO,CAAC,CAACC,OAAO,EAAEC,MAAM,KAAK;MACtC,OAAO,IAAI,CAACxC,IAAI,CAAC+C,aAAa,EAAE7C,QAAQ,CAAC,CAACwC,IAAI,CAAEa,KAAU,IAAK;QAC7DhB,OAAO,CAACgB,KAAK,CAAChD,IAAI,CAAC;MACrB,CAAC,EAAGiD,KAAU,IAAK;QACjBhB,MAAM,CAACgB,KAAK,CAAC;MACf,CAAC,CAAC;IACJ,CAAC,CAAC;EACJ;AACF;AAEA,MAAMC,WAAW,GAAG,IAAI1D,WAAW,CAAC,CAAC;AAErC,eAAe0D,WAAW"}
1
+ {"version":3,"names":["axios","WS_CONSTANTS","isWebPreviewMode","injector","HttpService","send","options","variable","_variable$serviceInfo","serviceInfo","headers","requestBody","data","url","cancelTokenSource","CancelToken","source","consumes","formData","FormData","parameters","forEach","p","v","params","name","append","category","startsWith","replace","config","baseUrl","serviceType","methodType","method","toLowerCase","isNonDataMethod","NON_DATA_AXIOS_METHODS","indexOf","toUpperCase","axiosConfig","cancelToken","token","withCredentials","Promise","resolve","reject","apply","then","result","err","response","sendCall","requestParams","getLocale","appConfig","get","appLocale","messages","cancel","uploadFile","event","error","httpService"],"sources":["http.service.ts"],"sourcesContent":["import axios from 'axios';\nimport { HttpClientService } from '@wavemaker/variables/src/types/http-client.service';\nimport { WS_CONSTANTS } from '@wavemaker/app-rn-runtime/variables/utils/variable.constants';\nimport { get, isEmpty } from 'lodash';\nimport AppConfig from '@wavemaker/app-rn-runtime/core/AppConfig';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\nimport injector from '@wavemaker/app-rn-runtime/core/injector';\n\nexport class HttpService implements HttpClientService {\n\n send(options: any, variable: any) {\n const serviceInfo = variable.serviceInfo;\n let headers: any = options.headers,\n requestBody: any = options.data,\n url: string = options.url;\n variable.cancelTokenSource = axios.CancelToken.source();\n if (!isWebPreviewMode() && (variable?.serviceInfo?.consumes||[])[0] === 'multipart/form-data') {\n headers['Content-Type'] = 'multipart/form-data';\n let formData = new FormData();\n (variable.serviceInfo.parameters||[]).forEach((p: any) => {\n const v = variable.params[p.name];\n if (v) {\n formData.append(p.name, variable.params[p.name]);\n }\n });\n requestBody = formData;\n }\n if (!isWebPreviewMode()\n && variable.category === 'wm.LiveVariable'\n && !(url.startsWith('http://') || url.startsWith(\"https://\"))) {\n options.url = options.url.replace('./', '/');\n url = variable.config.baseUrl + options.url;\n }\n\n if (!isWebPreviewMode() \n && variable.serviceType === \"JavaService\"\n && !(url.startsWith('http://') || url.startsWith(\"https://\"))) {\n options.url = options.url.replace('./', '');\n url = options.url;\n }\n\n const methodType: string = serviceInfo?.methodType || options.method.toLowerCase();\n const isNonDataMethod: boolean = WS_CONSTANTS.NON_DATA_AXIOS_METHODS.indexOf(methodType.toUpperCase()) > -1;\n const axiosConfig = {\n headers: headers,\n cancelToken: variable.cancelTokenSource.token,\n withCredentials: !isWebPreviewMode() || options?.withCredentials !== false\n };\n return new Promise((resolve, reject) => {\n // @ts-ignore\n axios[methodType].apply(variable, ( isNonDataMethod ? [url, axiosConfig] : [url, requestBody || {}, axiosConfig]))\n .then((result: any) => {\n resolve(result);\n }, (err: any) => {\n reject(err.response);\n })\n })\n }\n\n sendCall(requestParams: any, variable: any) {\n return new Promise((resolve, reject) => {\n this.send(requestParams, variable).then((response: any) => {\n resolve(response);\n }, (err: any) => {\n reject(err);\n });\n });\n }\n\n getLocale() {\n const appConfig = injector.get<AppConfig>('APP_CONFIG');\n return appConfig.appLocale.messages;\n }\n\n cancel(variable: any) {\n variable.cancelTokenSource.cancel();\n }\n\n uploadFile(url: any, data: any, variable: any, options?: any) {\n const requestParams = {\n url: url,\n data: data\n }\n return new Promise((resolve, reject) => {\n return this.send(requestParams, variable).then((event: any) => {\n resolve(event.data);\n }, (error: any) => {\n reject(error);\n });\n });\n }\n}\n\n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a,EAAE9C,QAAQ,CAAC,CAACyC,IAAI,CAAEa,KAAU,IAAK;QAC7DhB,OAAO,CAACgB,KAAK,CAACjD,IAAI,CAAC;MACrB,CAAC,EAAGkD,KAAU,IAAK;QACjBhB,MAAM,CAACgB,KAAK,CAAC;MACf,CAAC,CAAC;IACJ,CAAC,CAAC;EACJ;AACF;AAEA,MAAMC,WAAW,GAAG,IAAI3D,WAAW,CAAC,CAAC;AAErC,eAAe2D,WAAW","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 { isEqual, isUndefined, isFunction, forEach, isEmpty } from 'lodash';
5
5
  import { LiveVariable as _LiveVariable } from '@wavemaker/variables/src/model/variable/live-variable';
6
6
  import httpService from '@wavemaker/app-rn-runtime/variables/http.service';
@@ -66,7 +66,7 @@ export class LiveVariable extends _LiveVariable {
66
66
  }
67
67
  setFilterExpValue(filter) {
68
68
  var _this$filterExpressio;
69
- (_this$filterExpressio = this.filterExpressions) === null || _this$filterExpressio === void 0 ? void 0 : _this$filterExpressio.rules.forEach(r => {
69
+ (_this$filterExpressio = this.filterExpressions) === null || _this$filterExpressio === void 0 || _this$filterExpressio.rules.forEach(r => {
70
70
  r.value = filter[r.target];
71
71
  });
72
72
  }