@wavemaker/app-rn-runtime 11.4.1-next.29471 → 11.4.1-patch.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (872) hide show
  1. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +4 -1
  2. package/components/advanced/carousel/carousel-template/carousel-template.component.js.map +1 -0
  3. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +1 -2
  4. package/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +1 -0
  5. package/components/advanced/carousel/carousel.component.js +201 -0
  6. package/components/advanced/carousel/carousel.component.js.map +1 -0
  7. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js +2 -0
  8. package/components/advanced/carousel/carousel.props.js.map +1 -0
  9. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js +17 -9
  10. package/components/advanced/carousel/carousel.styles.js.map +1 -0
  11. {app-rn-runtime → package}/components/basic/button/button.component.js +2 -2
  12. {app-rn-runtime → package}/components/basic/button/button.component.js.map +1 -1
  13. {app-rn-runtime → package}/components/basic/icon/icon.component.js +3 -0
  14. package/components/basic/icon/icon.component.js.map +1 -0
  15. {app-rn-runtime → package}/components/basic/search/search.component.js +3 -1
  16. package/components/basic/search/search.component.js.map +1 -0
  17. {app-rn-runtime → package}/components/chart/basechart.component.js +19 -8
  18. package/components/chart/basechart.component.js.map +1 -0
  19. package/components/chart/stack-chart/stack-chart.component.js +213 -0
  20. package/components/chart/stack-chart/stack-chart.component.js.map +1 -0
  21. package/components/chart/stack-chart/stack-chart.props.js +15 -0
  22. package/components/chart/stack-chart/stack-chart.props.js.map +1 -0
  23. package/components/chart/stack-chart/stack-chart.styles.js +7 -0
  24. package/components/chart/stack-chart/stack-chart.styles.js.map +1 -0
  25. {app-rn-runtime → package}/components/container/accordion/accordion.component.js +6 -2
  26. package/components/container/accordion/accordion.component.js.map +1 -0
  27. package/components/data/list/list-template/list-template.component.js +31 -0
  28. package/components/data/list/list-template/list-template.component.js.map +1 -0
  29. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js +7 -3
  30. package/components/data/list/list-template/list-template.styles.js.map +1 -0
  31. {app-rn-runtime → package}/components/data/list/list.component.js +21 -6
  32. package/components/data/list/list.component.js.map +1 -0
  33. {app-rn-runtime → package}/components/data/list/list.props.js +6 -0
  34. package/components/data/list/list.props.js.map +1 -0
  35. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js +4 -2
  36. package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -0
  37. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +2 -1
  38. package/components/dialogs/dialogcontent/dialogcontent.styles.js.map +1 -0
  39. {app-rn-runtime → package}/components/input/radioset/radioset.component.js +7 -3
  40. package/components/input/radioset/radioset.component.js.map +1 -0
  41. {app-rn-runtime → package}/components/input/radioset/radioset.props.js +6 -0
  42. package/components/input/radioset/radioset.props.js.map +1 -0
  43. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js +4 -8
  44. package/components/input/radioset/radioset.styles.js.map +1 -0
  45. {app-rn-runtime → package}/components/input/select/select.styles.js +2 -1
  46. package/components/input/select/select.styles.js.map +1 -0
  47. {app-rn-runtime → package}/components/input/switch/switch.styles.js +2 -1
  48. package/components/input/switch/switch.styles.js.map +1 -0
  49. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js +2 -0
  50. package/components/navigation/basenav/basenav.component.js.map +1 -0
  51. {app-rn-runtime → package}/components/navigation/navitem/navitem.component.js +1 -1
  52. package/components/navigation/navitem/navitem.component.js.map +1 -0
  53. package/core/change.queue.js +26 -0
  54. package/core/change.queue.js.map +1 -0
  55. {app-rn-runtime → package}/core/imageSizeEstimator.js +4 -0
  56. package/core/imageSizeEstimator.js.map +1 -0
  57. {app-rn-runtime → package}/gestures/swipe.animation.js +34 -11
  58. package/gestures/swipe.animation.js.map +1 -0
  59. {app-rn-runtime → package}/package.json +3 -3
  60. package/styles/fdfd.css +56 -0
  61. {app-rn-runtime → package}/styles/theme.js +16 -1
  62. package/styles/theme.js.map +1 -0
  63. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -1
  64. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -1
  65. app-rn-runtime/components/advanced/carousel/carousel.component.js +0 -164
  66. app-rn-runtime/components/advanced/carousel/carousel.component.js.map +0 -1
  67. app-rn-runtime/components/advanced/carousel/carousel.props.js.map +0 -1
  68. app-rn-runtime/components/advanced/carousel/carousel.styles.js.map +0 -1
  69. app-rn-runtime/components/basic/icon/icon.component.js.map +0 -1
  70. app-rn-runtime/components/basic/search/search.component.js.map +0 -1
  71. app-rn-runtime/components/chart/basechart.component.js.map +0 -1
  72. app-rn-runtime/components/container/accordion/accordion.component.js.map +0 -1
  73. app-rn-runtime/components/data/list/list-template/list-template.component.js +0 -17
  74. app-rn-runtime/components/data/list/list-template/list-template.component.js.map +0 -1
  75. app-rn-runtime/components/data/list/list-template/list-template.styles.js.map +0 -1
  76. app-rn-runtime/components/data/list/list.component.js.map +0 -1
  77. app-rn-runtime/components/data/list/list.props.js.map +0 -1
  78. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -1
  79. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -1
  80. app-rn-runtime/components/input/radioset/radioset.component.js.map +0 -1
  81. app-rn-runtime/components/input/radioset/radioset.props.js.map +0 -1
  82. app-rn-runtime/components/input/radioset/radioset.styles.js.map +0 -1
  83. app-rn-runtime/components/input/select/select.styles.js.map +0 -1
  84. app-rn-runtime/components/input/switch/switch.styles.js.map +0 -1
  85. app-rn-runtime/components/navigation/basenav/basenav.component.js.map +0 -1
  86. app-rn-runtime/components/navigation/navitem/navitem.component.js.map +0 -1
  87. app-rn-runtime/core/imageSizeEstimator.js.map +0 -1
  88. app-rn-runtime/gestures/swipe.animation.js.map +0 -1
  89. app-rn-runtime/styles/theme.js.map +0 -1
  90. {app-rn-runtime → package}/actions/base-action.js +0 -0
  91. {app-rn-runtime → package}/actions/base-action.js.map +0 -0
  92. {app-rn-runtime → package}/actions/index.js +0 -0
  93. {app-rn-runtime → package}/actions/index.js.map +0 -0
  94. {app-rn-runtime → package}/actions/login-action.js +0 -0
  95. {app-rn-runtime → package}/actions/login-action.js.map +0 -0
  96. {app-rn-runtime → package}/actions/logout-action.js +0 -0
  97. {app-rn-runtime → package}/actions/logout-action.js.map +0 -0
  98. {app-rn-runtime → package}/actions/navigation-action.js +0 -0
  99. {app-rn-runtime → package}/actions/navigation-action.js.map +0 -0
  100. {app-rn-runtime → package}/actions/notification-action.js +0 -0
  101. {app-rn-runtime → package}/actions/notification-action.js.map +0 -0
  102. {app-rn-runtime → package}/actions/timer-action.js +0 -0
  103. {app-rn-runtime → package}/actions/timer-action.js.map +0 -0
  104. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
  105. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -0
  106. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -0
  107. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -0
  108. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
  109. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
  110. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -0
  111. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -0
  112. {app-rn-runtime → package}/components/advanced/login/login.component.js +0 -0
  113. {app-rn-runtime → package}/components/advanced/login/login.component.js.map +0 -0
  114. {app-rn-runtime → package}/components/advanced/login/login.props.js +0 -0
  115. {app-rn-runtime → package}/components/advanced/login/login.props.js.map +0 -0
  116. {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
  117. {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
  118. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -0
  119. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -0
  120. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -0
  121. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -0
  122. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
  123. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
  124. {app-rn-runtime → package}/components/advanced/webview/webview.component.js +0 -0
  125. {app-rn-runtime → package}/components/advanced/webview/webview.component.js.map +0 -0
  126. {app-rn-runtime → package}/components/advanced/webview/webview.props.js +0 -0
  127. {app-rn-runtime → package}/components/advanced/webview/webview.props.js.map +0 -0
  128. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
  129. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
  130. {app-rn-runtime → package}/components/basic/anchor/anchor.component.js +0 -0
  131. {app-rn-runtime → package}/components/basic/anchor/anchor.component.js.map +0 -0
  132. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js +0 -0
  133. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js.map +0 -0
  134. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js +0 -0
  135. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js.map +0 -0
  136. {app-rn-runtime → package}/components/basic/animatedview.component.js +0 -0
  137. {app-rn-runtime → package}/components/basic/animatedview.component.js.map +0 -0
  138. {app-rn-runtime → package}/components/basic/audio/audio.component.js +0 -0
  139. {app-rn-runtime → package}/components/basic/audio/audio.component.js.map +0 -0
  140. {app-rn-runtime → package}/components/basic/audio/audio.props.js +0 -0
  141. {app-rn-runtime → package}/components/basic/audio/audio.props.js.map +0 -0
  142. {app-rn-runtime → package}/components/basic/audio/audio.styles.js +0 -0
  143. {app-rn-runtime → package}/components/basic/audio/audio.styles.js.map +0 -0
  144. {app-rn-runtime → package}/components/basic/button/button.props.js +0 -0
  145. {app-rn-runtime → package}/components/basic/button/button.props.js.map +0 -0
  146. {app-rn-runtime → package}/components/basic/button/button.styles.js +0 -0
  147. {app-rn-runtime → package}/components/basic/button/button.styles.js.map +0 -0
  148. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
  149. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js.map +0 -0
  150. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js +0 -0
  151. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js.map +0 -0
  152. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js +0 -0
  153. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js.map +0 -0
  154. {app-rn-runtime → package}/components/basic/custom/custom.component.js +0 -0
  155. {app-rn-runtime → package}/components/basic/custom/custom.component.js.map +0 -0
  156. {app-rn-runtime → package}/components/basic/custom/custom.props.js +0 -0
  157. {app-rn-runtime → package}/components/basic/custom/custom.props.js.map +0 -0
  158. {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
  159. {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
  160. {app-rn-runtime → package}/components/basic/icon/icon.props.js +0 -0
  161. {app-rn-runtime → package}/components/basic/icon/icon.props.js.map +0 -0
  162. {app-rn-runtime → package}/components/basic/icon/icon.styles.js +0 -0
  163. {app-rn-runtime → package}/components/basic/icon/icon.styles.js.map +0 -0
  164. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
  165. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
  166. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
  167. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
  168. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
  169. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
  170. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
  171. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
  172. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
  173. {app-rn-runtime → package}/components/basic/label/label.component.js +0 -0
  174. {app-rn-runtime → package}/components/basic/label/label.component.js.map +0 -0
  175. {app-rn-runtime → package}/components/basic/label/label.props.js +0 -0
  176. {app-rn-runtime → package}/components/basic/label/label.props.js.map +0 -0
  177. {app-rn-runtime → package}/components/basic/label/label.styles.js +0 -0
  178. {app-rn-runtime → package}/components/basic/label/label.styles.js.map +0 -0
  179. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js +0 -0
  180. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js.map +0 -0
  181. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js +0 -0
  182. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js.map +0 -0
  183. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
  184. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
  185. {app-rn-runtime → package}/components/basic/message/message.component.js +0 -0
  186. {app-rn-runtime → package}/components/basic/message/message.component.js.map +0 -0
  187. {app-rn-runtime → package}/components/basic/message/message.props.js +0 -0
  188. {app-rn-runtime → package}/components/basic/message/message.props.js.map +0 -0
  189. {app-rn-runtime → package}/components/basic/message/message.styles.js +0 -0
  190. {app-rn-runtime → package}/components/basic/message/message.styles.js.map +0 -0
  191. {app-rn-runtime → package}/components/basic/modal/modal.component.js +0 -0
  192. {app-rn-runtime → package}/components/basic/modal/modal.component.js.map +0 -0
  193. {app-rn-runtime → package}/components/basic/modal/modal.props.js +0 -0
  194. {app-rn-runtime → package}/components/basic/modal/modal.props.js.map +0 -0
  195. {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
  196. {app-rn-runtime → package}/components/basic/modal/modal.styles.js.map +0 -0
  197. {app-rn-runtime → package}/components/basic/picture/picture.component.js +0 -0
  198. {app-rn-runtime → package}/components/basic/picture/picture.component.js.map +0 -0
  199. {app-rn-runtime → package}/components/basic/picture/picture.props.js +0 -0
  200. {app-rn-runtime → package}/components/basic/picture/picture.props.js.map +0 -0
  201. {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
  202. {app-rn-runtime → package}/components/basic/picture/picture.styles.js.map +0 -0
  203. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js +0 -0
  204. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js.map +0 -0
  205. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js +0 -0
  206. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js.map +0 -0
  207. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js +0 -0
  208. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js.map +0 -0
  209. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js +0 -0
  210. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js.map +0 -0
  211. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js +0 -0
  212. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js.map +0 -0
  213. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
  214. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js.map +0 -0
  215. {app-rn-runtime → package}/components/basic/search/local-data-provider.js +0 -0
  216. {app-rn-runtime → package}/components/basic/search/local-data-provider.js.map +0 -0
  217. {app-rn-runtime → package}/components/basic/search/search.props.js +0 -0
  218. {app-rn-runtime → package}/components/basic/search/search.props.js.map +0 -0
  219. {app-rn-runtime → package}/components/basic/search/search.styles.js +0 -0
  220. {app-rn-runtime → package}/components/basic/search/search.styles.js.map +0 -0
  221. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js +0 -0
  222. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js.map +0 -0
  223. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js +0 -0
  224. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js.map +0 -0
  225. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js +0 -0
  226. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js.map +0 -0
  227. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js +0 -0
  228. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js.map +0 -0
  229. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js +0 -0
  230. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js.map +0 -0
  231. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js +0 -0
  232. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js.map +0 -0
  233. {app-rn-runtime → package}/components/basic/video/video.component.js +0 -0
  234. {app-rn-runtime → package}/components/basic/video/video.component.js.map +0 -0
  235. {app-rn-runtime → package}/components/basic/video/video.props.js +0 -0
  236. {app-rn-runtime → package}/components/basic/video/video.props.js.map +0 -0
  237. {app-rn-runtime → package}/components/basic/video/video.styles.js +0 -0
  238. {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
  239. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js +0 -0
  240. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js.map +0 -0
  241. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js +0 -0
  242. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js.map +0 -0
  243. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js +0 -0
  244. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js.map +0 -0
  245. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js +0 -0
  246. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js.map +0 -0
  247. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js +0 -0
  248. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js.map +0 -0
  249. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
  250. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
  251. {app-rn-runtime → package}/components/chart/basechart.props.js +0 -0
  252. {app-rn-runtime → package}/components/chart/basechart.props.js.map +0 -0
  253. {app-rn-runtime → package}/components/chart/basechart.styles.js +0 -0
  254. {app-rn-runtime → package}/components/chart/basechart.styles.js.map +0 -0
  255. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js +0 -0
  256. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js.map +0 -0
  257. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js +0 -0
  258. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
  259. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
  260. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
  261. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
  262. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js.map +0 -0
  263. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
  264. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
  265. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
  266. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
  267. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
  268. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js.map +0 -0
  269. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js +0 -0
  270. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js.map +0 -0
  271. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
  272. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
  273. {app-rn-runtime → package}/components/chart/legend/legend.component.js +0 -0
  274. {app-rn-runtime → package}/components/chart/legend/legend.component.js.map +0 -0
  275. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js +0 -0
  276. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js.map +0 -0
  277. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js +0 -0
  278. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js.map +0 -0
  279. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
  280. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
  281. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js +0 -0
  282. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js.map +0 -0
  283. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js +0 -0
  284. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js.map +0 -0
  285. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
  286. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
  287. {app-rn-runtime → package}/components/chart/theme/chart.theme.js +0 -0
  288. {app-rn-runtime → package}/components/chart/theme/chart.theme.js.map +0 -0
  289. {app-rn-runtime → package}/components/container/accordion/accordion.props.js +0 -0
  290. {app-rn-runtime → package}/components/container/accordion/accordion.props.js.map +0 -0
  291. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js +0 -0
  292. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js.map +0 -0
  293. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js +0 -0
  294. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -0
  295. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js +0 -0
  296. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -0
  297. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
  298. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
  299. {app-rn-runtime → package}/components/container/container.component.js +0 -0
  300. {app-rn-runtime → package}/components/container/container.component.js.map +0 -0
  301. {app-rn-runtime → package}/components/container/container.props.js +0 -0
  302. {app-rn-runtime → package}/components/container/container.props.js.map +0 -0
  303. {app-rn-runtime → package}/components/container/container.styles.js +0 -0
  304. {app-rn-runtime → package}/components/container/container.styles.js.map +0 -0
  305. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
  306. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -0
  307. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
  308. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -0
  309. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
  310. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
  311. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
  312. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -0
  313. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
  314. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -0
  315. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
  316. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
  317. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
  318. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js.map +0 -0
  319. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
  320. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js.map +0 -0
  321. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
  322. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js.map +0 -0
  323. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js +0 -0
  324. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js.map +0 -0
  325. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
  326. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js.map +0 -0
  327. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
  328. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
  329. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -0
  330. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -0
  331. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
  332. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -0
  333. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
  334. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
  335. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
  336. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js.map +0 -0
  337. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js +0 -0
  338. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js.map +0 -0
  339. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
  340. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
  341. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
  342. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js.map +0 -0
  343. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js +0 -0
  344. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js.map +0 -0
  345. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
  346. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
  347. {app-rn-runtime → package}/components/container/panel/panel.component.js +0 -0
  348. {app-rn-runtime → package}/components/container/panel/panel.component.js.map +0 -0
  349. {app-rn-runtime → package}/components/container/panel/panel.props.js +0 -0
  350. {app-rn-runtime → package}/components/container/panel/panel.props.js.map +0 -0
  351. {app-rn-runtime → package}/components/container/panel/panel.styles.js +0 -0
  352. {app-rn-runtime → package}/components/container/panel/panel.styles.js.map +0 -0
  353. {app-rn-runtime → package}/components/container/partial-host.component.js +0 -0
  354. {app-rn-runtime → package}/components/container/partial-host.component.js.map +0 -0
  355. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.component.js +0 -0
  356. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.component.js.map +0 -0
  357. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js +0 -0
  358. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js.map +0 -0
  359. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js +0 -0
  360. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js.map +0 -0
  361. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js +0 -0
  362. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js.map +0 -0
  363. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js +0 -0
  364. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js.map +0 -0
  365. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
  366. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
  367. {app-rn-runtime → package}/components/container/tabs/tabs.component.js +0 -0
  368. {app-rn-runtime → package}/components/container/tabs/tabs.component.js.map +0 -0
  369. {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
  370. {app-rn-runtime → package}/components/container/tabs/tabs.props.js.map +0 -0
  371. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js +0 -0
  372. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js.map +0 -0
  373. {app-rn-runtime → package}/components/container/tile/tile.component.js +0 -0
  374. {app-rn-runtime → package}/components/container/tile/tile.component.js.map +0 -0
  375. {app-rn-runtime → package}/components/container/tile/tile.props.js +0 -0
  376. {app-rn-runtime → package}/components/container/tile/tile.props.js.map +0 -0
  377. {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
  378. {app-rn-runtime → package}/components/container/tile/tile.styles.js.map +0 -0
  379. {app-rn-runtime → package}/components/container/wizard/wizard.component.js +0 -0
  380. {app-rn-runtime → package}/components/container/wizard/wizard.component.js.map +0 -0
  381. {app-rn-runtime → package}/components/container/wizard/wizard.props.js +0 -0
  382. {app-rn-runtime → package}/components/container/wizard/wizard.props.js.map +0 -0
  383. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js +0 -0
  384. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js.map +0 -0
  385. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js +0 -0
  386. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -0
  387. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js +0 -0
  388. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -0
  389. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
  390. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
  391. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js +0 -0
  392. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js.map +0 -0
  393. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js +0 -0
  394. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js.map +0 -0
  395. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
  396. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
  397. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js +0 -0
  398. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js.map +0 -0
  399. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js +0 -0
  400. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js.map +0 -0
  401. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
  402. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
  403. {app-rn-runtime → package}/components/data/card/card.component.js +0 -0
  404. {app-rn-runtime → package}/components/data/card/card.component.js.map +0 -0
  405. {app-rn-runtime → package}/components/data/card/card.props.js +0 -0
  406. {app-rn-runtime → package}/components/data/card/card.props.js.map +0 -0
  407. {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
  408. {app-rn-runtime → package}/components/data/card/card.styles.js.map +0 -0
  409. {app-rn-runtime → package}/components/data/form/form-action/form-action.component.js +0 -0
  410. {app-rn-runtime → package}/components/data/form/form-action/form-action.component.js.map +0 -0
  411. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js +0 -0
  412. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js.map +0 -0
  413. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
  414. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js.map +0 -0
  415. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js +0 -0
  416. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js.map +0 -0
  417. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js +0 -0
  418. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js.map +0 -0
  419. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
  420. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
  421. {app-rn-runtime → package}/components/data/form/form-field/form-field.component.js +0 -0
  422. {app-rn-runtime → package}/components/data/form/form-field/form-field.component.js.map +0 -0
  423. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js +0 -0
  424. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js.map +0 -0
  425. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
  426. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js.map +0 -0
  427. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
  428. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js.map +0 -0
  429. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js +0 -0
  430. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js.map +0 -0
  431. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
  432. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
  433. {app-rn-runtime → package}/components/data/form/form.component.js +0 -0
  434. {app-rn-runtime → package}/components/data/form/form.component.js.map +0 -0
  435. {app-rn-runtime → package}/components/data/form/form.props.js +0 -0
  436. {app-rn-runtime → package}/components/data/form/form.props.js.map +0 -0
  437. {app-rn-runtime → package}/components/data/form/form.styles.js +0 -0
  438. {app-rn-runtime → package}/components/data/form/form.styles.js.map +0 -0
  439. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js +0 -0
  440. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js.map +0 -0
  441. {app-rn-runtime → package}/components/data/list/list.styles.js +0 -0
  442. {app-rn-runtime → package}/components/data/list/list.styles.js.map +0 -0
  443. {app-rn-runtime → package}/components/data/liveform/liveform.component.js +0 -0
  444. {app-rn-runtime → package}/components/data/liveform/liveform.component.js.map +0 -0
  445. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js +0 -0
  446. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js.map +0 -0
  447. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js +0 -0
  448. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js.map +0 -0
  449. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js +0 -0
  450. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js.map +0 -0
  451. {app-rn-runtime → package}/components/device/camera/camera.component.js +0 -0
  452. {app-rn-runtime → package}/components/device/camera/camera.component.js.map +0 -0
  453. {app-rn-runtime → package}/components/device/camera/camera.props.js +0 -0
  454. {app-rn-runtime → package}/components/device/camera/camera.props.js.map +0 -0
  455. {app-rn-runtime → package}/components/device/camera/camera.styles.js +0 -0
  456. {app-rn-runtime → package}/components/device/camera/camera.styles.js.map +0 -0
  457. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js +0 -0
  458. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js.map +0 -0
  459. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js +0 -0
  460. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js.map +0 -0
  461. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js +0 -0
  462. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -0
  463. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js +0 -0
  464. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -0
  465. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js +0 -0
  466. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -0
  467. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -0
  468. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -0
  469. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js +0 -0
  470. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js.map +0 -0
  471. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js +0 -0
  472. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js.map +0 -0
  473. {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js +0 -0
  474. {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js.map +0 -0
  475. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
  476. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js.map +0 -0
  477. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js +0 -0
  478. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js.map +0 -0
  479. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
  480. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
  481. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js +0 -0
  482. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -0
  483. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js +0 -0
  484. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js.map +0 -0
  485. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js +0 -0
  486. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js.map +0 -0
  487. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
  488. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
  489. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js +0 -0
  490. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js.map +0 -0
  491. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js +0 -0
  492. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js.map +0 -0
  493. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
  494. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
  495. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js +0 -0
  496. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js.map +0 -0
  497. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js +0 -0
  498. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js.map +0 -0
  499. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
  500. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
  501. {app-rn-runtime → package}/components/input/calendar/calendar.component.js +0 -0
  502. {app-rn-runtime → package}/components/input/calendar/calendar.component.js.map +0 -0
  503. {app-rn-runtime → package}/components/input/calendar/calendar.props.js +0 -0
  504. {app-rn-runtime → package}/components/input/calendar/calendar.props.js.map +0 -0
  505. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js +0 -0
  506. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js.map +0 -0
  507. {app-rn-runtime → package}/components/input/calendar/views/month-view.js +0 -0
  508. {app-rn-runtime → package}/components/input/calendar/views/month-view.js.map +0 -0
  509. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js +0 -0
  510. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js.map +0 -0
  511. {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js +0 -0
  512. {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js.map +0 -0
  513. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js +0 -0
  514. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js.map +0 -0
  515. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js +0 -0
  516. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js.map +0 -0
  517. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.component.js +0 -0
  518. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.component.js.map +0 -0
  519. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js +0 -0
  520. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js.map +0 -0
  521. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +0 -0
  522. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js.map +0 -0
  523. {app-rn-runtime → package}/components/input/chips/chips.component.js +0 -0
  524. {app-rn-runtime → package}/components/input/chips/chips.component.js.map +0 -0
  525. {app-rn-runtime → package}/components/input/chips/chips.props.js +0 -0
  526. {app-rn-runtime → package}/components/input/chips/chips.props.js.map +0 -0
  527. {app-rn-runtime → package}/components/input/chips/chips.styles.js +0 -0
  528. {app-rn-runtime → package}/components/input/chips/chips.styles.js.map +0 -0
  529. {app-rn-runtime → package}/components/input/composite/composite.component.js +0 -0
  530. {app-rn-runtime → package}/components/input/composite/composite.component.js.map +0 -0
  531. {app-rn-runtime → package}/components/input/composite/composite.props.js +0 -0
  532. {app-rn-runtime → package}/components/input/composite/composite.props.js.map +0 -0
  533. {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
  534. {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
  535. {app-rn-runtime → package}/components/input/currency/currency.component.js +0 -0
  536. {app-rn-runtime → package}/components/input/currency/currency.component.js.map +0 -0
  537. {app-rn-runtime → package}/components/input/currency/currency.props.js +0 -0
  538. {app-rn-runtime → package}/components/input/currency/currency.props.js.map +0 -0
  539. {app-rn-runtime → package}/components/input/currency/currency.styles.js +0 -0
  540. {app-rn-runtime → package}/components/input/currency/currency.styles.js.map +0 -0
  541. {app-rn-runtime → package}/components/input/epoch/base-datetime.component.js +0 -0
  542. {app-rn-runtime → package}/components/input/epoch/base-datetime.component.js.map +0 -0
  543. {app-rn-runtime → package}/components/input/epoch/date/date.component.js +0 -0
  544. {app-rn-runtime → package}/components/input/epoch/date/date.component.js.map +0 -0
  545. {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
  546. {app-rn-runtime → package}/components/input/epoch/date/date.props.js.map +0 -0
  547. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js +0 -0
  548. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js.map +0 -0
  549. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js +0 -0
  550. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js.map +0 -0
  551. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +0 -0
  552. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js.map +0 -0
  553. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js +0 -0
  554. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js.map +0 -0
  555. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js +0 -0
  556. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js.map +0 -0
  557. {app-rn-runtime → package}/components/input/epoch/time/time.component.js +0 -0
  558. {app-rn-runtime → package}/components/input/epoch/time/time.component.js.map +0 -0
  559. {app-rn-runtime → package}/components/input/epoch/time/time.props.js +0 -0
  560. {app-rn-runtime → package}/components/input/epoch/time/time.props.js.map +0 -0
  561. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js +0 -0
  562. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js.map +0 -0
  563. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js +0 -0
  564. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js.map +0 -0
  565. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js +0 -0
  566. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js.map +0 -0
  567. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
  568. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
  569. {app-rn-runtime → package}/components/input/number/number.component.js +0 -0
  570. {app-rn-runtime → package}/components/input/number/number.component.js.map +0 -0
  571. {app-rn-runtime → package}/components/input/number/number.props.js +0 -0
  572. {app-rn-runtime → package}/components/input/number/number.props.js.map +0 -0
  573. {app-rn-runtime → package}/components/input/number/number.styles.js +0 -0
  574. {app-rn-runtime → package}/components/input/number/number.styles.js.map +0 -0
  575. {app-rn-runtime → package}/components/input/rating/rating.component.js +0 -0
  576. {app-rn-runtime → package}/components/input/rating/rating.component.js.map +0 -0
  577. {app-rn-runtime → package}/components/input/rating/rating.props.js +0 -0
  578. {app-rn-runtime → package}/components/input/rating/rating.props.js.map +0 -0
  579. {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
  580. {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
  581. {app-rn-runtime → package}/components/input/select/select.component.js +0 -0
  582. {app-rn-runtime → package}/components/input/select/select.component.js.map +0 -0
  583. {app-rn-runtime → package}/components/input/select/select.props.js +0 -0
  584. {app-rn-runtime → package}/components/input/select/select.props.js.map +0 -0
  585. {app-rn-runtime → package}/components/input/slider/slider.component.js +0 -0
  586. {app-rn-runtime → package}/components/input/slider/slider.component.js.map +0 -0
  587. {app-rn-runtime → package}/components/input/slider/slider.props.js +0 -0
  588. {app-rn-runtime → package}/components/input/slider/slider.props.js.map +0 -0
  589. {app-rn-runtime → package}/components/input/slider/slider.styles.js +0 -0
  590. {app-rn-runtime → package}/components/input/slider/slider.styles.js.map +0 -0
  591. {app-rn-runtime → package}/components/input/switch/switch.component.js +0 -0
  592. {app-rn-runtime → package}/components/input/switch/switch.component.js.map +0 -0
  593. {app-rn-runtime → package}/components/input/switch/switch.props.js +0 -0
  594. {app-rn-runtime → package}/components/input/switch/switch.props.js.map +0 -0
  595. {app-rn-runtime → package}/components/input/text/text.component.js +0 -0
  596. {app-rn-runtime → package}/components/input/text/text.component.js.map +0 -0
  597. {app-rn-runtime → package}/components/input/text/text.props.js +0 -0
  598. {app-rn-runtime → package}/components/input/text/text.props.js.map +0 -0
  599. {app-rn-runtime → package}/components/input/text/text.styles.js +0 -0
  600. {app-rn-runtime → package}/components/input/text/text.styles.js.map +0 -0
  601. {app-rn-runtime → package}/components/input/textarea/textarea.component.js +0 -0
  602. {app-rn-runtime → package}/components/input/textarea/textarea.component.js.map +0 -0
  603. {app-rn-runtime → package}/components/input/textarea/textarea.props.js +0 -0
  604. {app-rn-runtime → package}/components/input/textarea/textarea.props.js.map +0 -0
  605. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js +0 -0
  606. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js.map +0 -0
  607. {app-rn-runtime → package}/components/input/toggle/toggle.component.js +0 -0
  608. {app-rn-runtime → package}/components/input/toggle/toggle.component.js.map +0 -0
  609. {app-rn-runtime → package}/components/input/toggle/toggle.props.js +0 -0
  610. {app-rn-runtime → package}/components/input/toggle/toggle.props.js.map +0 -0
  611. {app-rn-runtime → package}/components/input/toggle/toggle.styles.js +0 -0
  612. {app-rn-runtime → package}/components/input/toggle/toggle.styles.js.map +0 -0
  613. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js +0 -0
  614. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js.map +0 -0
  615. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js +0 -0
  616. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js.map +0 -0
  617. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js +0 -0
  618. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js.map +0 -0
  619. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js +0 -0
  620. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js.map +0 -0
  621. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
  622. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
  623. {app-rn-runtime → package}/components/navigation/menu/menu.component.js +0 -0
  624. {app-rn-runtime → package}/components/navigation/menu/menu.component.js.map +0 -0
  625. {app-rn-runtime → package}/components/navigation/menu/menu.props.js +0 -0
  626. {app-rn-runtime → package}/components/navigation/menu/menu.props.js.map +0 -0
  627. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js +0 -0
  628. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js.map +0 -0
  629. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js +0 -0
  630. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js.map +0 -0
  631. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js +0 -0
  632. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js.map +0 -0
  633. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
  634. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js.map +0 -0
  635. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js +0 -0
  636. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js.map +0 -0
  637. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js +0 -0
  638. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js.map +0 -0
  639. {app-rn-runtime → package}/components/navigation/popover/popover.component.js +0 -0
  640. {app-rn-runtime → package}/components/navigation/popover/popover.component.js.map +0 -0
  641. {app-rn-runtime → package}/components/navigation/popover/popover.props.js +0 -0
  642. {app-rn-runtime → package}/components/navigation/popover/popover.props.js.map +0 -0
  643. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js +0 -0
  644. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js.map +0 -0
  645. {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
  646. {app-rn-runtime → package}/components/page/content/content.component.js.map +0 -0
  647. {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
  648. {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
  649. {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
  650. {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
  651. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js +0 -0
  652. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js.map +0 -0
  653. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js +0 -0
  654. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js.map +0 -0
  655. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js +0 -0
  656. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js.map +0 -0
  657. {app-rn-runtime → package}/components/page/page-content/page-content.component.js +0 -0
  658. {app-rn-runtime → package}/components/page/page-content/page-content.component.js.map +0 -0
  659. {app-rn-runtime → package}/components/page/page-content/page-content.props.js +0 -0
  660. {app-rn-runtime → package}/components/page/page-content/page-content.props.js.map +0 -0
  661. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
  662. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js.map +0 -0
  663. {app-rn-runtime → package}/components/page/page.component.js +0 -0
  664. {app-rn-runtime → package}/components/page/page.component.js.map +0 -0
  665. {app-rn-runtime → package}/components/page/page.props.js +0 -0
  666. {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
  667. {app-rn-runtime → package}/components/page/page.styles.js +0 -0
  668. {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
  669. {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
  670. {app-rn-runtime → package}/components/page/partial/partial.component.js.map +0 -0
  671. {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
  672. {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
  673. {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
  674. {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
  675. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js +0 -0
  676. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js.map +0 -0
  677. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js +0 -0
  678. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js.map +0 -0
  679. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
  680. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
  681. {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js +0 -0
  682. {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js.map +0 -0
  683. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js +0 -0
  684. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js.map +0 -0
  685. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +0 -0
  686. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js.map +0 -0
  687. {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
  688. {app-rn-runtime → package}/components/prefab/prefab-container.component.js.map +0 -0
  689. {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
  690. {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
  691. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
  692. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
  693. {app-rn-runtime → package}/core/AppConfig.js +0 -0
  694. {app-rn-runtime → package}/core/AppConfig.js.map +0 -0
  695. {app-rn-runtime → package}/core/asset.provider.js +0 -0
  696. {app-rn-runtime → package}/core/asset.provider.js.map +0 -0
  697. {app-rn-runtime → package}/core/base.component.js +0 -0
  698. {app-rn-runtime → package}/core/base.component.js.map +0 -0
  699. {app-rn-runtime → package}/core/components/textinput.component.js +0 -0
  700. {app-rn-runtime → package}/core/components/textinput.component.js.map +0 -0
  701. {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
  702. {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
  703. {app-rn-runtime → package}/core/currency-constants.js +0 -0
  704. {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
  705. {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
  706. {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
  707. {app-rn-runtime → package}/core/device/camera-service.js +0 -0
  708. {app-rn-runtime → package}/core/device/camera-service.js.map +0 -0
  709. {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
  710. {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
  711. {app-rn-runtime → package}/core/device/location-service.js +0 -0
  712. {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
  713. {app-rn-runtime → package}/core/device/scan-service.js +0 -0
  714. {app-rn-runtime → package}/core/device/scan-service.js.map +0 -0
  715. {app-rn-runtime → package}/core/display.manager.js +0 -0
  716. {app-rn-runtime → package}/core/display.manager.js.map +0 -0
  717. {app-rn-runtime → package}/core/event-notifier.js +0 -0
  718. {app-rn-runtime → package}/core/event-notifier.js.map +0 -0
  719. {app-rn-runtime → package}/core/file-extension-types.js +0 -0
  720. {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
  721. {app-rn-runtime → package}/core/fixed-view.component.js +0 -0
  722. {app-rn-runtime → package}/core/fixed-view.component.js.map +0 -0
  723. {app-rn-runtime → package}/core/formatters.js +0 -0
  724. {app-rn-runtime → package}/core/formatters.js.map +0 -0
  725. {app-rn-runtime → package}/core/i18n.service.js +0 -0
  726. {app-rn-runtime → package}/core/i18n.service.js.map +0 -0
  727. {app-rn-runtime → package}/core/if.component.js +0 -0
  728. {app-rn-runtime → package}/core/if.component.js.map +0 -0
  729. {app-rn-runtime → package}/core/injector.js +0 -0
  730. {app-rn-runtime → package}/core/injector.js.map +0 -0
  731. {app-rn-runtime → package}/core/key.extractor.js +0 -0
  732. {app-rn-runtime → package}/core/key.extractor.js.map +0 -0
  733. {app-rn-runtime → package}/core/logger.js +0 -0
  734. {app-rn-runtime → package}/core/logger.js.map +0 -0
  735. {app-rn-runtime → package}/core/modal.service.js +0 -0
  736. {app-rn-runtime → package}/core/modal.service.js.map +0 -0
  737. {app-rn-runtime → package}/core/navigation.service.js +0 -0
  738. {app-rn-runtime → package}/core/navigation.service.js.map +0 -0
  739. {app-rn-runtime → package}/core/network.service.js +0 -0
  740. {app-rn-runtime → package}/core/network.service.js.map +0 -0
  741. {app-rn-runtime → package}/core/partial.service.js +0 -0
  742. {app-rn-runtime → package}/core/partial.service.js.map +0 -0
  743. {app-rn-runtime → package}/core/props.provider.js +0 -0
  744. {app-rn-runtime → package}/core/props.provider.js.map +0 -0
  745. {app-rn-runtime → package}/core/scroll-view.component.js +0 -0
  746. {app-rn-runtime → package}/core/scroll-view.component.js.map +0 -0
  747. {app-rn-runtime → package}/core/security.service.js +0 -0
  748. {app-rn-runtime → package}/core/security.service.js.map +0 -0
  749. {app-rn-runtime → package}/core/spinner.service.js +0 -0
  750. {app-rn-runtime → package}/core/spinner.service.js.map +0 -0
  751. {app-rn-runtime → package}/core/storage.service.js +0 -0
  752. {app-rn-runtime → package}/core/storage.service.js.map +0 -0
  753. {app-rn-runtime → package}/core/tappable.component.js +0 -0
  754. {app-rn-runtime → package}/core/tappable.component.js.map +0 -0
  755. {app-rn-runtime → package}/core/toast.service.js +0 -0
  756. {app-rn-runtime → package}/core/toast.service.js.map +0 -0
  757. {app-rn-runtime → package}/core/utils.js +0 -0
  758. {app-rn-runtime → package}/core/utils.js.map +0 -0
  759. {app-rn-runtime → package}/core/viewport.js +0 -0
  760. {app-rn-runtime → package}/core/viewport.js.map +0 -0
  761. {app-rn-runtime → package}/index.js +0 -0
  762. {app-rn-runtime → package}/index.js.map +0 -0
  763. {app-rn-runtime → package}/runtime/App.js +0 -0
  764. {app-rn-runtime → package}/runtime/App.js.map +0 -0
  765. {app-rn-runtime → package}/runtime/App.navigator.js +0 -0
  766. {app-rn-runtime → package}/runtime/App.navigator.js.map +0 -0
  767. {app-rn-runtime → package}/runtime/base-fragment.component.js +0 -0
  768. {app-rn-runtime → package}/runtime/base-fragment.component.js.map +0 -0
  769. {app-rn-runtime → package}/runtime/base-page.component.js +0 -0
  770. {app-rn-runtime → package}/runtime/base-page.component.js.map +0 -0
  771. {app-rn-runtime → package}/runtime/base-partial.component.js +0 -0
  772. {app-rn-runtime → package}/runtime/base-partial.component.js.map +0 -0
  773. {app-rn-runtime → package}/runtime/base-prefab.component.js +0 -0
  774. {app-rn-runtime → package}/runtime/base-prefab.component.js.map +0 -0
  775. {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
  776. {app-rn-runtime → package}/runtime/lib-patch.js.map +0 -0
  777. {app-rn-runtime → package}/runtime/memo.component.js +0 -0
  778. {app-rn-runtime → package}/runtime/memo.component.js.map +0 -0
  779. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
  780. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js.map +0 -0
  781. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js +0 -0
  782. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js.map +0 -0
  783. {app-rn-runtime → package}/runtime/platform.api.js +0 -0
  784. {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
  785. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js +0 -0
  786. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js.map +0 -0
  787. {app-rn-runtime → package}/runtime/services/app-i18n.service.js +0 -0
  788. {app-rn-runtime → package}/runtime/services/app-i18n.service.js.map +0 -0
  789. {app-rn-runtime → package}/runtime/services/app-modal.service.js +0 -0
  790. {app-rn-runtime → package}/runtime/services/app-modal.service.js.map +0 -0
  791. {app-rn-runtime → package}/runtime/services/app-security.service.js +0 -0
  792. {app-rn-runtime → package}/runtime/services/app-security.service.js.map +0 -0
  793. {app-rn-runtime → package}/runtime/services/app-spinner.service.js +0 -0
  794. {app-rn-runtime → package}/runtime/services/app-spinner.service.js.map +0 -0
  795. {app-rn-runtime → package}/runtime/services/app-toast.service.js +0 -0
  796. {app-rn-runtime → package}/runtime/services/app-toast.service.js.map +0 -0
  797. {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
  798. {app-rn-runtime → package}/runtime/services/device/calendar-service.js.map +0 -0
  799. {app-rn-runtime → package}/runtime/services/device/camera-service.js +0 -0
  800. {app-rn-runtime → package}/runtime/services/device/camera-service.js.map +0 -0
  801. {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
  802. {app-rn-runtime → package}/runtime/services/device/contacts-service.js.map +0 -0
  803. {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
  804. {app-rn-runtime → package}/runtime/services/device/location-service.js.map +0 -0
  805. {app-rn-runtime → package}/runtime/services/device/permissions.js +0 -0
  806. {app-rn-runtime → package}/runtime/services/device/permissions.js.map +0 -0
  807. {app-rn-runtime → package}/runtime/services/device/scan-service.js +0 -0
  808. {app-rn-runtime → package}/runtime/services/device/scan-service.js.map +0 -0
  809. {app-rn-runtime → package}/runtime/services/partial.service.js +0 -0
  810. {app-rn-runtime → package}/runtime/services/partial.service.js.map +0 -0
  811. {app-rn-runtime → package}/runtime/services/webprocess.service.js +0 -0
  812. {app-rn-runtime → package}/runtime/services/webprocess.service.js.map +0 -0
  813. {app-rn-runtime → package}/runtime/watcher.js +0 -0
  814. {app-rn-runtime → package}/runtime/watcher.js.map +0 -0
  815. {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
  816. {app-rn-runtime → package}/styles/MediaQueryList.js.map +0 -0
  817. {app-rn-runtime → package}/styles/background.component.js +0 -0
  818. {app-rn-runtime → package}/styles/background.component.js.map +0 -0
  819. {app-rn-runtime → package}/styles/style-prop.validator.js +0 -0
  820. {app-rn-runtime → package}/styles/style-prop.validator.js.map +0 -0
  821. {app-rn-runtime → package}/styles/style-props.js +0 -0
  822. {app-rn-runtime → package}/styles/style-props.js.map +0 -0
  823. {app-rn-runtime → package}/styles/theme.variables.js +0 -0
  824. {app-rn-runtime → package}/styles/theme.variables.js.map +0 -0
  825. {app-rn-runtime → package}/variables/base-variable.js +0 -0
  826. {app-rn-runtime → package}/variables/base-variable.js.map +0 -0
  827. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
  828. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js.map +0 -0
  829. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
  830. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js.map +0 -0
  831. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
  832. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js.map +0 -0
  833. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
  834. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js.map +0 -0
  835. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
  836. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js.map +0 -0
  837. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
  838. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js.map +0 -0
  839. {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
  840. {app-rn-runtime → package}/variables/device/device/app-info.operation.js.map +0 -0
  841. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
  842. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js.map +0 -0
  843. {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
  844. {app-rn-runtime → package}/variables/device/device/device-info.operation.js.map +0 -0
  845. {app-rn-runtime → package}/variables/device/device/network-info.operation.js +0 -0
  846. {app-rn-runtime → package}/variables/device/device/network-info.operation.js.map +0 -0
  847. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
  848. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js.map +0 -0
  849. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js +0 -0
  850. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js.map +0 -0
  851. {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
  852. {app-rn-runtime → package}/variables/device/operation.provider.js.map +0 -0
  853. {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
  854. {app-rn-runtime → package}/variables/device/scan/scan.operation.js.map +0 -0
  855. {app-rn-runtime → package}/variables/device-variable.js +0 -0
  856. {app-rn-runtime → package}/variables/device-variable.js.map +0 -0
  857. {app-rn-runtime → package}/variables/http.service.js +0 -0
  858. {app-rn-runtime → package}/variables/http.service.js.map +0 -0
  859. {app-rn-runtime → package}/variables/live-variable.js +0 -0
  860. {app-rn-runtime → package}/variables/live-variable.js.map +0 -0
  861. {app-rn-runtime → package}/variables/model-variable.js +0 -0
  862. {app-rn-runtime → package}/variables/model-variable.js.map +0 -0
  863. {app-rn-runtime → package}/variables/service-variable.js +0 -0
  864. {app-rn-runtime → package}/variables/service-variable.js.map +0 -0
  865. {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
  866. {app-rn-runtime → package}/variables/utils/dataset-util.js.map +0 -0
  867. {app-rn-runtime → package}/variables/utils/inflight-queue.js +0 -0
  868. {app-rn-runtime → package}/variables/utils/inflight-queue.js.map +0 -0
  869. {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
  870. {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
  871. {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
  872. {app-rn-runtime → package}/variables/utils/variable.utils.js.map +0 -0
@@ -9,8 +9,11 @@ export default class WmCarouselTemplate extends BaseComponent {
9
9
  super(props, DEFAULT_CLASS, new WmCarouselTemplateProps());
10
10
  }
11
11
  renderWidget(props) {
12
+ var _this$parent;
12
13
  return /*#__PURE__*/React.createElement(View, {
13
- style: this.styles.root
14
+ style: [this.styles.root, {
15
+ height: this.styles.root.height || ((_this$parent = this.parent) === null || _this$parent === void 0 ? void 0 : _this$parent.styles.root.height) && '100%'
16
+ }]
14
17
  }, this._background, props.children);
15
18
  }
16
19
  }
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmCarouselTemplateProps","DEFAULT_CLASS","WmCarouselTemplateState","WmCarouselTemplate","constructor","props","renderWidget","_this$parent","createElement","style","styles","root","height","parent","_background","children"],"sources":["carousel-template.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmCarouselTemplateProps from './carousel-template.props';\nimport { DEFAULT_CLASS, WmCarouselTemplateStyles } from './carousel-template.styles';\n\nexport class WmCarouselTemplateState extends BaseComponentState<WmCarouselTemplateProps> {}\n\nexport default class WmCarouselTemplate extends BaseComponent<WmCarouselTemplateProps, WmCarouselTemplateState, WmCarouselTemplateStyles> {\n\n constructor(props: WmCarouselTemplateProps) {\n super(props, DEFAULT_CLASS, new WmCarouselTemplateProps());\n }\n\n renderWidget(props: WmCarouselTemplateProps) {\n return (<View style={[this.styles.root, {\n height: this.styles.root.height || (this.parent?.styles.root.height && '100%')\n }]}>{this._background}{props.children}</View>); \n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,uBAAuB,MAAM,2BAA2B;AAC/D,SAASC,aAAa,QAAkC,4BAA4B;AAEpF,OAAO,MAAMC,uBAAuB,SAASH,kBAAkB,CAA0B;AAEzF,eAAe,MAAMI,kBAAkB,SAASL,aAAa,CAA6E;EAExIM,WAAWA,CAACC,KAA8B,EAAE;IAC1C,KAAK,CAACA,KAAK,EAAEJ,aAAa,EAAE,IAAID,uBAAuB,CAAC,CAAC,CAAC;EAC5D;EAEAM,YAAYA,CAACD,KAA8B,EAAE;IAAA,IAAAE,YAAA;IAC3C,oBAAQX,KAAA,CAAAY,aAAA,CAACX,IAAI;MAACY,KAAK,EAAE,CAAC,IAAI,CAACC,MAAM,CAACC,IAAI,EAAE;QACtCC,MAAM,EAAE,IAAI,CAACF,MAAM,CAACC,IAAI,CAACC,MAAM,IAAK,EAAAL,YAAA,OAAI,CAACM,MAAM,cAAAN,YAAA,uBAAXA,YAAA,CAAaG,MAAM,CAACC,IAAI,CAACC,MAAM,KAAI;MACzE,CAAC;IAAE,GAAE,IAAI,CAACE,WAAW,EAAET,KAAK,CAACU,QAAe,CAAC;EAC/C;AACF"}
@@ -7,8 +7,7 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
7
7
  flexDirection: 'column',
8
8
  justifyContent: 'center',
9
9
  alignItems: 'center',
10
- width: '100%',
11
- height: '100%'
10
+ width: '100%'
12
11
  },
13
12
  text: {}
14
13
  });
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","justifyContent","alignItems","width","text"],"sources":["carousel-template.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport type WmCarouselTemplateStyles = BaseStyles & {};\n\nexport const DEFAULT_CLASS = 'app-carousel-template';\n\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmCarouselTemplateStyles = defineStyles({\n root: {\n flexDirection: 'column',\n justifyContent: 'center',\n alignItems: 'center',\n width: '100%'\n },\n text: {}\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAIxF,OAAO,MAAMC,aAAa,GAAG,uBAAuB;AAEpDF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAuC,GAAGL,YAAY,CAAC;IACzDM,IAAI,EAAE;MACFC,aAAa,EAAE,QAAQ;MACvBC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE,QAAQ;MACpBC,KAAK,EAAE;IACX,CAAC;IACDC,IAAI,EAAE,CAAC;EACX,CAAC,CAAC;EAEFP,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC9C,CAAC,CAAC"}
@@ -0,0 +1,201 @@
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); }
4
+ import React from 'react';
5
+ import { isArray } from 'lodash-es';
6
+ import { Animated, View } from 'react-native';
7
+ import { DefaultKeyExtractor } from '@wavemaker/app-rn-runtime/core/key.extractor';
8
+ import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
9
+ import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
10
+ import * as SwipeAnimation from '@wavemaker/app-rn-runtime/gestures/swipe.animation';
11
+ import WmCarouselProps from './carousel.props';
12
+ import { DEFAULT_CLASS } from './carousel.styles';
13
+ export class WmCarouselState extends BaseComponentState {
14
+ constructor() {
15
+ super(...arguments);
16
+ _defineProperty(this, "activeIndex", 1);
17
+ }
18
+ }
19
+ export default class WmCarousel extends BaseComponent {
20
+ constructor(_props) {
21
+ super(_props, DEFAULT_CLASS, new WmCarouselProps(), new WmCarouselState());
22
+ _defineProperty(this, "noOfSlides", 0);
23
+ _defineProperty(this, "slideLayout", null);
24
+ _defineProperty(this, "keyExtractor", new DefaultKeyExtractor());
25
+ _defineProperty(this, "stopPlay", null);
26
+ _defineProperty(this, "animationView", null);
27
+ _defineProperty(this, "animationHandlers", {
28
+ bounds: e => {
29
+ var _this$slideLayout;
30
+ const activeTabIndex = this.state.activeIndex - 1,
31
+ w = ((_this$slideLayout = this.slideLayout) === null || _this$slideLayout === void 0 ? void 0 : _this$slideLayout.width) || 0,
32
+ noOfTabs = this.state.props.dataset.length;
33
+ return {
34
+ lower: -1 * (activeTabIndex - (activeTabIndex === 0 ? 0 : 1)) * w,
35
+ center: -1 * activeTabIndex * w,
36
+ upper: -1 * (activeTabIndex + (activeTabIndex === noOfTabs - 1 ? 0 : 1)) * w
37
+ };
38
+ },
39
+ computePhase: value => {
40
+ var _this$slideLayout2;
41
+ const w = ((_this$slideLayout2 = this.slideLayout) === null || _this$slideLayout2 === void 0 ? void 0 : _this$slideLayout2.width) || 0;
42
+ return w && Math.abs(value / w);
43
+ },
44
+ onLower: e => {
45
+ this.onSlideChange(this.state.activeIndex - 1);
46
+ },
47
+ onUpper: e => {
48
+ this.onSlideChange(this.state.activeIndex + 1);
49
+ }
50
+ });
51
+ _defineProperty(this, "onSlideChange", index => {
52
+ const prevIndex = this.state.activeIndex;
53
+ this.updateState({
54
+ activeIndex: index
55
+ }, () => this.invokeEventCallback('onChange', [this, index, prevIndex]));
56
+ });
57
+ _defineProperty(this, "renderItem", (item, index) => {
58
+ const props = this.state.props;
59
+ if (props.type === 'dynamic') {
60
+ return props.renderSlide ? props.renderSlide(item, index) : null;
61
+ }
62
+ return props.children[index];
63
+ });
64
+ _defineProperty(this, "next", () => {
65
+ if (this.state.activeIndex >= this.state.props.dataset.length) {
66
+ var _this$animationView;
67
+ this.onSlideChange(1);
68
+ (_this$animationView = this.animationView) === null || _this$animationView === void 0 ? void 0 : _this$animationView.setPosition(0);
69
+ } else {
70
+ var _this$animationView2;
71
+ (_this$animationView2 = this.animationView) === null || _this$animationView2 === void 0 ? void 0 : _this$animationView2.goToUpper();
72
+ }
73
+ });
74
+ _defineProperty(this, "prev", () => {
75
+ var _this$animationView3;
76
+ (_this$animationView3 = this.animationView) === null || _this$animationView3 === void 0 ? void 0 : _this$animationView3.goToLower();
77
+ });
78
+ this.cleanup.push(() => {
79
+ this.stopPlay && this.stopPlay();
80
+ });
81
+ }
82
+ generateItemKey(item, index, props) {
83
+ if (props.itemkey && item && !this._showSkeleton) {
84
+ return props.itemkey(item, index);
85
+ }
86
+ return 'list_item_' + this.keyExtractor.getKey(item, true);
87
+ }
88
+ setSlideLayout(event) {
89
+ this.slideLayout = event.nativeEvent.layout;
90
+ this.forceUpdate();
91
+ }
92
+ autoPlay() {
93
+ const props = this.state.props;
94
+ this.stopPlay && this.stopPlay();
95
+ if (props.animation === 'auto' && props.animationinterval) {
96
+ const intervalId = setInterval(() => {
97
+ this.next();
98
+ }, props.animationinterval * 1000);
99
+ this.stopPlay = () => clearInterval(intervalId);
100
+ } else {
101
+ setTimeout(() => {
102
+ var _this$animationView4;
103
+ this.onSlideChange(1);
104
+ (_this$animationView4 = this.animationView) === null || _this$animationView4 === void 0 ? void 0 : _this$animationView4.setPosition(0);
105
+ }, 1000);
106
+ }
107
+ }
108
+ onPropertyChange(name, $new, $old) {
109
+ super.onPropertyChange(name, $new, $old);
110
+ switch (name) {
111
+ case 'dataset':
112
+ {
113
+ var _this$keyExtractor;
114
+ (_this$keyExtractor = this.keyExtractor) === null || _this$keyExtractor === void 0 ? void 0 : _this$keyExtractor.clear();
115
+ this.updateState({
116
+ activeIndex: Math.min(this.state.activeIndex, ($new === null || $new === void 0 ? void 0 : $new.length) || 0)
117
+ });
118
+ break;
119
+ }
120
+ case 'animation':
121
+ case 'animationinterval':
122
+ {
123
+ this.autoPlay();
124
+ }
125
+ }
126
+ }
127
+ renderPagination(data) {
128
+ const maxNoOfDots = this.state.props.maxnoofdots;
129
+ let minIndex = Math.max(this.state.activeIndex - maxNoOfDots + 1, 0);
130
+ let maxIndex = Math.min(minIndex + maxNoOfDots - 1, data.length);
131
+ if (maxIndex === data.length) {
132
+ minIndex = maxIndex - maxNoOfDots;
133
+ }
134
+ return /*#__PURE__*/React.createElement(View, {
135
+ style: this.styles.dotsWrapperStyle
136
+ }, data.map((item, index) => {
137
+ return index >= minIndex && index <= maxIndex ? /*#__PURE__*/React.createElement(View, {
138
+ key: 'dots_' + this.generateItemKey(item, index, this.state.props),
139
+ style: [this.styles.dotStyle, index === this.state.activeIndex - 1 ? this.styles.activeDotStyle : null]
140
+ }) : null;
141
+ }));
142
+ }
143
+ renderWidget(props) {
144
+ var _data;
145
+ const hasNavs = props.controls === 'both' || props.controls === 'navs';
146
+ const hasDots = props.controls === 'both' || props.controls === 'indicators';
147
+ let styles = this.styles;
148
+ let data = props.type === 'dynamic' ? props.dataset : props.children;
149
+ data = isArray(data) ? data : [];
150
+ this.noOfSlides = ((_data = data) === null || _data === void 0 ? void 0 : _data.length) || 0;
151
+ // TODO: loop prop on Carousel is not working Refer: https://github.com/meliorence/react-native-snap-carousel/issues/608
152
+ return /*#__PURE__*/React.createElement(View, {
153
+ style: styles.root,
154
+ onLayout: this.setSlideLayout.bind(this)
155
+ }, this._background, /*#__PURE__*/React.createElement(SwipeAnimation.View, {
156
+ enableGestures: props.enablegestures,
157
+ style: {
158
+ flexDirection: 'row',
159
+ flexWrap: 'nowrap',
160
+ alignItems: 'center'
161
+ },
162
+ direction: "horizontal",
163
+ ref: r => {
164
+ this.animationView = r;
165
+ },
166
+ handlers: this.animationHandlers
167
+ }, data.map((item, index) => {
168
+ var _this$animationView5, _this$animationView6;
169
+ const isActive = index === this.state.activeIndex - 1;
170
+ let scale = (_this$animationView5 = this.animationView) === null || _this$animationView5 === void 0 ? void 0 : _this$animationView5.animationPhase.interpolate({
171
+ inputRange: [-2000, index - 1, index, index + 1, 2000],
172
+ outputRange: [0.8, 0.8, 1, 0.8, 0.8]
173
+ });
174
+ let translateX = (_this$animationView6 = this.animationView) === null || _this$animationView6 === void 0 ? void 0 : _this$animationView6.animationPhase.interpolate({
175
+ inputRange: [-2000, index - 1, index, index + 1, 2000],
176
+ outputRange: [-56, -56, 0, 56, 56]
177
+ });
178
+ return /*#__PURE__*/React.createElement(Animated.View, {
179
+ key: this.generateItemKey(item, index, props),
180
+ style: [this.styles.slide, index === 0 ? this.styles.firstSlide : null, index === data.length - 1 ? this.styles.lastSlide : null, isActive ? this.styles.activeSlide : null, translateX && scale ? {
181
+ transform: [{
182
+ translateX: translateX
183
+ }, {
184
+ scale: scale
185
+ }]
186
+ } : null]
187
+ }, this.renderItem(item, index));
188
+ })), hasNavs ? /*#__PURE__*/React.createElement(View, {
189
+ style: styles.btnPanel
190
+ }, /*#__PURE__*/React.createElement(WmIcon, {
191
+ iconclass: "wi wi-chevron-left fa-2x",
192
+ styles: styles.prevBtn,
193
+ onTap: this.prev
194
+ }), /*#__PURE__*/React.createElement(WmIcon, {
195
+ iconclass: "wi wi-chevron-right fa-2x",
196
+ styles: styles.nextBtn,
197
+ onTap: this.next
198
+ })) : null, hasDots && data ? this.renderPagination(data) : null);
199
+ }
200
+ }
201
+ //# sourceMappingURL=carousel.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","isArray","Animated","View","DefaultKeyExtractor","WmIcon","BaseComponent","BaseComponentState","SwipeAnimation","WmCarouselProps","DEFAULT_CLASS","WmCarouselState","constructor","arguments","_defineProperty","WmCarousel","props","bounds","e","_this$slideLayout","activeTabIndex","state","activeIndex","w","slideLayout","width","noOfTabs","dataset","length","lower","center","upper","computePhase","value","_this$slideLayout2","Math","abs","onLower","onSlideChange","onUpper","index","prevIndex","updateState","invokeEventCallback","item","type","renderSlide","children","_this$animationView","animationView","setPosition","_this$animationView2","goToUpper","_this$animationView3","goToLower","cleanup","push","stopPlay","generateItemKey","itemkey","_showSkeleton","keyExtractor","getKey","setSlideLayout","event","nativeEvent","layout","forceUpdate","autoPlay","animation","animationinterval","intervalId","setInterval","next","clearInterval","setTimeout","_this$animationView4","onPropertyChange","name","$new","$old","_this$keyExtractor","clear","min","renderPagination","data","maxNoOfDots","maxnoofdots","minIndex","max","maxIndex","createElement","style","styles","dotsWrapperStyle","map","key","dotStyle","activeDotStyle","renderWidget","_data","hasNavs","controls","hasDots","noOfSlides","root","onLayout","bind","_background","enableGestures","enablegestures","flexDirection","flexWrap","alignItems","direction","ref","r","handlers","animationHandlers","_this$animationView5","_this$animationView6","isActive","scale","animationPhase","interpolate","inputRange","outputRange","translateX","slide","firstSlide","lastSlide","activeSlide","transform","renderItem","btnPanel","iconclass","prevBtn","onTap","prev","nextBtn"],"sources":["carousel.component.tsx"],"sourcesContent":["import React from 'react';\nimport { isArray } from 'lodash-es';\nimport { Animated, View, Text, LayoutChangeEvent, LayoutRectangle } from 'react-native';\nimport { DefaultKeyExtractor } from '@wavemaker/app-rn-runtime/core/key.extractor';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport * as SwipeAnimation from '@wavemaker/app-rn-runtime/gestures/swipe.animation';\n\nimport WmCarouselProps from './carousel.props';\nimport { DEFAULT_CLASS, WmCarouselStyles } from './carousel.styles';\n\nexport class WmCarouselState extends BaseComponentState<WmCarouselProps> {\n activeIndex = 1;\n}\n\nexport default class WmCarousel extends BaseComponent<WmCarouselProps, WmCarouselState, WmCarouselStyles> {\n\n noOfSlides: number = 0;\n private slideLayout: LayoutRectangle = null as any;\n private keyExtractor = new DefaultKeyExtractor();\n stopPlay: Function = null as any;\n private animationView: SwipeAnimation.View | null = null as any;\n private animationHandlers = {\n bounds: (e) => {\n const activeTabIndex = this.state.activeIndex - 1,\n w = this.slideLayout?.width || 0,\n noOfTabs = this.state.props.dataset.length;\n return {\n lower: -1 * (activeTabIndex - (activeTabIndex === 0 ? 0 : 1)) * w,\n center: -1 * activeTabIndex * w,\n upper: -1 * (activeTabIndex + (activeTabIndex === noOfTabs - 1 ? 0 : 1)) * w\n };\n },\n computePhase: (value) => {\n const w = this.slideLayout?.width || 0;\n return w && Math.abs(value / w);\n },\n onLower: (e) => {\n this.onSlideChange(this.state.activeIndex - 1);\n },\n onUpper: (e) => {\n this.onSlideChange(this.state.activeIndex + 1);\n }\n } as SwipeAnimation.Handlers;\n\n constructor(props: WmCarouselProps) {\n super(props, DEFAULT_CLASS, new WmCarouselProps(), new WmCarouselState());\n this.cleanup.push(() => {\n this.stopPlay && this.stopPlay();\n })\n }\n\n private generateItemKey(item: any, index: number, props: WmCarouselProps) {\n if (props.itemkey && item && !this._showSkeleton) {\n return props.itemkey(item, index);\n }\n return 'list_item_' + this.keyExtractor.getKey(item, true);\n }\n\n setSlideLayout(event: LayoutChangeEvent) {\n this.slideLayout = event.nativeEvent.layout;\n this.forceUpdate();\n }\n\n autoPlay() {\n const props = this.state.props;\n this.stopPlay && this.stopPlay();\n if (props.animation === 'auto' && props.animationinterval) {\n const intervalId = setInterval(() => {\n this.next();\n }, props.animationinterval * 1000);\n this.stopPlay = () => clearInterval(intervalId);\n } else {\n setTimeout(() => {\n this.onSlideChange(1);\n this.animationView?.setPosition(0);\n }, 1000);\n }\n }\n\n onPropertyChange(name: string, $new: any, $old: any): void {\n super.onPropertyChange(name, $new, $old);\n switch (name) {\n case 'dataset': {\n this.keyExtractor?.clear();\n this.updateState({\n activeIndex: Math.min(this.state.activeIndex, $new?.length || 0)\n } as WmCarouselState);\n break;\n }\n case 'animation':\n case 'animationinterval' : {\n this.autoPlay();\n }\n }\n }\n\n onSlideChange = (index: number) => {\n const prevIndex = this.state.activeIndex;\n this.updateState({\n activeIndex: index\n } as WmCarouselState,\n () => this.invokeEventCallback('onChange', [this, index, prevIndex]));\n }\n\n renderItem = (item: any, index: number) => {\n const props = this.state.props;\n if (props.type === 'dynamic') {\n return props.renderSlide ? props.renderSlide(item, index) : null;\n }\n return props.children[index];\n }\n\n next = () => {\n if (this.state.activeIndex >= this.state.props.dataset.length) {\n this.onSlideChange(1);\n this.animationView?.setPosition(0);\n } else {\n this.animationView?.goToUpper();\n }\n }\n\n prev = () => {\n this.animationView?.goToLower();\n }\n\n renderPagination(data: any) {\n const maxNoOfDots = this.state.props.maxnoofdots;\n let minIndex = Math.max(this.state.activeIndex - maxNoOfDots + 1, 0);\n let maxIndex = Math.min(minIndex + maxNoOfDots - 1, data.length);\n if (maxIndex === data.length) {\n minIndex = maxIndex - maxNoOfDots;\n }\n return (<View style={this.styles.dotsWrapperStyle}>\n {\n data.map((item: any, index: number) => {\n return index >= minIndex && index <= maxIndex ? (\n <View key={'dots_' + this.generateItemKey(item, index, this.state.props)} \n style={[\n this.styles.dotStyle,\n index === this.state.activeIndex - 1 ? this.styles.activeDotStyle: null]}>\n </View>) : null;\n })\n }\n </View>);\n }\n\n renderWidget(props: WmCarouselProps) {\n const hasNavs = props.controls === 'both' || props.controls ==='navs';\n const hasDots = props.controls === 'both' || props.controls ==='indicators';\n let styles = this.styles;\n let data = props.type === 'dynamic' ? props.dataset : props.children;\n data = isArray(data) ? data : [];\n this.noOfSlides = data?.length || 0;\n // TODO: loop prop on Carousel is not working Refer: https://github.com/meliorence/react-native-snap-carousel/issues/608\n return (\n <View style={styles.root} onLayout={this.setSlideLayout.bind(this)}>\n {this._background}\n <SwipeAnimation.View \n enableGestures={props.enablegestures}\n style={{\n flexDirection: 'row',\n flexWrap: 'nowrap',\n alignItems: 'center'\n }}\n direction='horizontal'\n ref={(r) => {this.animationView = r}}\n handlers = {this.animationHandlers}\n >\n {data.map((item: any, index: number) => {\n const isActive = index === this.state.activeIndex - 1;\n let scale = this.animationView?.animationPhase.interpolate({\n inputRange: [-2000, index - 1, index, index + 1, 2000],\n outputRange: [0.8, 0.8, 1, 0.8, 0.8]\n });\n let translateX = this.animationView?.animationPhase.interpolate({\n inputRange: [-2000, index - 1, index, index + 1, 2000],\n outputRange: [-56, -56, 0, 56, 56]\n });\n return (\n <Animated.View key={this.generateItemKey(item, index, props)}\n style={[this.styles.slide,\n index === 0 ? this.styles.firstSlide : null,\n index === data.length - 1 ? this.styles.lastSlide: null,\n isActive ? this.styles.activeSlide: null,\n translateX && scale ? {\n transform: [\n {\n translateX: translateX\n },\n {\n scale: scale\n }\n ]\n } : null]}>\n {this.renderItem(item, index)}\n </Animated.View>\n );\n })}\n </SwipeAnimation.View>\n {hasNavs ? (\n <View style={styles.btnPanel}>\n <WmIcon\n iconclass=\"wi wi-chevron-left fa-2x\"\n styles={styles.prevBtn}\n onTap={this.prev}/>\n <WmIcon\n iconclass=\"wi wi-chevron-right fa-2x\"\n styles={styles.nextBtn}\n onTap={this.next}/>\n </View>): null}\n {hasDots && data ? this.renderPagination(data) : null}\n </View>);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,OAAO,QAAQ,WAAW;AACnC,SAASC,QAAQ,EAAEC,IAAI,QAAkD,cAAc;AACvF,SAASC,mBAAmB,QAAQ,8CAA8C;AAClF,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAO,KAAKC,cAAc,MAAM,oDAAoD;AAEpF,OAAOC,eAAe,MAAM,kBAAkB;AAC9C,SAASC,aAAa,QAA0B,mBAAmB;AAEnE,OAAO,MAAMC,eAAe,SAASJ,kBAAkB,CAAkB;EAAAK,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,sBACzD,CAAC;EAAA;AACjB;AAEA,eAAe,MAAMC,UAAU,SAAST,aAAa,CAAqD;EA8BxGM,WAAWA,CAACI,MAAsB,EAAE;IAClC,KAAK,CAACA,MAAK,EAAEN,aAAa,EAAE,IAAID,eAAe,CAAC,CAAC,EAAE,IAAIE,eAAe,CAAC,CAAC,CAAC;IAACG,eAAA,qBA7BvD,CAAC;IAAAA,eAAA,sBACiB,IAAI;IAAAA,eAAA,uBACpB,IAAIV,mBAAmB,CAAC,CAAC;IAAAU,eAAA,mBAC3B,IAAI;IAAAA,eAAA,wBAC2B,IAAI;IAAAA,eAAA,4BAC5B;MAC1BG,MAAM,EAAGC,CAAC,IAAK;QAAA,IAAAC,iBAAA;QACb,MAAMC,cAAc,GAAG,IAAI,CAACC,KAAK,CAACC,WAAW,GAAG,CAAC;UAC3CC,CAAC,GAAG,EAAAJ,iBAAA,OAAI,CAACK,WAAW,cAAAL,iBAA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AK,EACvBxF,KAAK,KAAK,CAAC,GAAG,IAAI,CAACqD,MAAM,CAACoC,UAAU,GAAG,IAAI,EAC3CzF,KAAK,KAAK6C,IAAI,CAACzD,MAAM,GAAG,CAAC,GAAG,IAAI,CAACiE,MAAM,CAACqC,SAAS,GAAE,IAAI,EACvDT,QAAQ,GAAG,IAAI,CAAC5B,MAAM,CAACsC,WAAW,GAAE,IAAI,EACxCJ,UAAU,IAAIL,KAAK,GAAG;UACpBU,SAAS,EAAE,CACT;YACEL,UAAU,EAAEA;UACd,CAAC,EACD;YACEL,KAAK,EAAEA;UACT,CAAC;QAEL,CAAC,GAAG,IAAI;MAAE,GACX,IAAI,CAACW,UAAU,CAACzF,IAAI,EAAEJ,KAAK,CACf,CAAC;IAEpB,CAAC,CACkB,CAAC,EACrB6D,OAAO,gBACNrG,KAAA,CAAA2F,aAAA,CAACxF,IAAI;MAACyF,KAAK,EAAEC,MAAM,CAACyC;IAAS,gBAC3BtI,KAAA,CAAA2F,aAAA,CAACtF,MAAM;MACLkI,SAAS,EAAC,0BAA0B;MACpC1C,MAAM,EAAEA,MAAM,CAAC2C,OAAQ;MACvBC,KAAK,EAAE,IAAI,CAACC;IAAK,CAAC,CAAC,eACrB1I,KAAA,CAAA2F,aAAA,CAACtF,MAAM;MACLkI,SAAS,EAAC,2BAA2B;MACrC1C,MAAM,EAAEA,MAAM,CAAC8C,OAAQ;MACvBF,KAAK,EAAE,IAAI,CAAChE;IAAK,CAAC,CAChB,CAAC,GAAG,IAAI,EACb8B,OAAO,IAAIlB,IAAI,GAAG,IAAI,CAACD,gBAAgB,CAACC,IAAI,CAAC,GAAG,IAC/C,CAAC;EACX;AACF"}
@@ -13,6 +13,8 @@ export default class WmCarouselProps extends BaseProps {
13
13
  _defineProperty(this, "children", null);
14
14
  _defineProperty(this, "itemkey", null);
15
15
  _defineProperty(this, "renderSlide", void 0);
16
+ _defineProperty(this, "enablegestures", true);
17
+ _defineProperty(this, "maxnoofdots", 20);
16
18
  }
17
19
  }
18
20
  //# sourceMappingURL=carousel.props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseProps","WmCarouselProps","constructor","arguments","_defineProperty"],"sources":["carousel.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport React from 'react';\n\nexport default class WmCarouselProps extends BaseProps {\n dataset: any = null;\n type?: 'static' | 'dynamic' = 'static';\n animation?: 'auto' | 'none' = 'auto';\n animationinterval?: number = 3;\n controls?: 'both' | 'none' | 'navs' | 'indicators' = 'both';\n children? = null as any;\n itemkey?: ($item: any, $index: any) => any = null as any;\n renderSlide?: ($item: any, $index: number) => React.ReactNode;\n enablegestures = true;\n maxnoofdots = 20;\n}"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAGzE,eAAe,MAAMC,eAAe,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,kBACtC,IAAI;IAAAA,eAAA,eACW,QAAQ;IAAAA,eAAA,oBACR,MAAM;IAAAA,eAAA,4BACP,CAAC;IAAAA,eAAA,mBACuB,MAAM;IAAAA,eAAA,mBAC/C,IAAI;IAAAA,eAAA,kBAC6B,IAAI;IAAAA,eAAA;IAAAA,eAAA,yBAE/B,IAAI;IAAAA,eAAA,sBACR,EAAE;EAAA;AAClB"}
@@ -15,6 +15,16 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
15
15
  position: 'relative'
16
16
  },
17
17
  text: {},
18
+ slide: {
19
+ width: '100%',
20
+ paddingHorizontal: 16,
21
+ transform: [{
22
+ translateX: 0
23
+ }]
24
+ },
25
+ firstSlide: {},
26
+ lastSlide: {},
27
+ activeSlide: {},
18
28
  btnPanel: {
19
29
  position: 'absolute',
20
30
  top: '50%',
@@ -53,25 +63,23 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
53
63
  },
54
64
  dotsWrapperStyle: {
55
65
  opacity: 1,
56
- height: 64,
57
- marginTop: -64,
58
- position: 'absolute',
59
- top: '100%',
60
66
  backgroundColor: themeVariables.carouselDotWrapperBgColor,
61
- alignSelf: 'center',
67
+ flexDirection: 'row',
68
+ justifyContent: 'center',
69
+ alignItems: 'center',
62
70
  paddingTop: 4,
63
71
  paddingBottom: 4
64
72
  },
65
73
  activeDotStyle: {
66
- width: 12,
67
- height: 12,
68
- borderRadius: 10,
69
74
  backgroundColor: themeVariables.carouselActiveDotColor,
70
75
  opacity: 1
71
76
  },
72
77
  dotStyle: {
78
+ width: 8,
79
+ height: 8,
80
+ borderRadius: 10,
73
81
  opacity: 0.2,
74
- marginHorizontal: -2,
82
+ marginHorizontal: 2,
75
83
  backgroundColor: themeVariables.carouselDotColor
76
84
  }
77
85
  });
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","btn","height","width","borderRadius","borderColor","transparent","borderWidth","justifyContent","defaultStyles","root","position","text","slide","paddingHorizontal","transform","translateX","firstSlide","lastSlide","activeSlide","btnPanel","top","marginTop","flexDirection","alignItems","prevBtn","marginLeft","backgroundColor","carouselPrevBgColor","fontSize","icon","color","carouselPrevBtnColor","nextBtn","marginRight","carouselNextBtnColor","dotsWrapperStyle","opacity","carouselDotWrapperBgColor","paddingTop","paddingBottom","activeDotStyle","carouselActiveDotColor","dotStyle","marginHorizontal","carouselDotColor","rotateY","defaultColorF","right","padding","alignSelf","primaryColor"],"sources":["carousel.styles.ts"],"sourcesContent":["import { ViewStyle } from 'react-native';\nimport BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\n\nexport type WmCarouselStyles = BaseStyles & {\n btnPanel: AllStyle,\n prevBtn: WmIconStyles,\n slide: AllStyle,\n firstSlide: AllStyle,\n lastSlide: AllStyle,\n activeSlide: AllStyle,\n nextBtn: WmIconStyles,\n dotsWrapperStyle: AllStyle,\n dotStyle: AllStyle,\n activeDotStyle: AllStyle\n};\nexport const DEFAULT_CLASS = 'app-carousel';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const btn: ViewStyle = {\n height: 48,\n width: 48,\n borderRadius: 48,\n borderColor: themeVariables.transparent,\n borderWidth: 1,\n justifyContent: 'center'\n };\n const defaultStyles: WmCarouselStyles = defineStyles({\n root: {\n position: 'relative'\n },\n text: {},\n slide: {\n width: '100%',\n paddingHorizontal: 16,\n transform: [\n {\n translateX: 0\n }\n ]\n },\n firstSlide: {},\n lastSlide: {},\n activeSlide: {},\n btnPanel: {\n position: 'absolute',\n top: '50%',\n marginTop: -64,\n height: 64,\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between',\n width: '100%'\n },\n prevBtn : {\n root: {\n marginLeft: 12,\n ...btn,\n backgroundColor: themeVariables.carouselPrevBgColor\n },\n text: {\n fontSize: 32\n },\n icon : {\n color: themeVariables.carouselPrevBtnColor\n }\n } as WmIconStyles,\n nextBtn : {\n root: {\n marginRight: 12,\n ...btn,\n backgroundColor: themeVariables.carouselPrevBgColor\n },\n text: {\n fontSize: 32\n },\n icon : {\n color: themeVariables.carouselNextBtnColor\n }\n } as WmIconStyles,\n dotsWrapperStyle:{\n opacity: 1,\n backgroundColor: themeVariables.carouselDotWrapperBgColor,\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center',\n paddingTop: 4,\n paddingBottom: 4\n },\n activeDotStyle: {\n backgroundColor: themeVariables.carouselActiveDotColor,\n opacity: 1\n },\n dotStyle: {\n width: 8,\n height: 8,\n borderRadius: 10,\n opacity: 0.2,\n marginHorizontal: 2,\n backgroundColor: themeVariables.carouselDotColor\n }\n } as WmCarouselStyles);\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n prevBtn : {\n root:{\n transform: [{rotateY: '180deg'}]\n }\n },\n nextBtn : {\n root:{\n transform: [{rotateY: '180deg'}]\n }\n }\n });\n\n addStyle('app-carousel-1', '', {\n btnPanel: {\n top: '100%'\n },\n prevBtn: {\n root: {\n borderRadius: 6\n }\n },\n nextBtn: {\n root: {\n borderRadius: 6\n }\n }\n } as any as WmCarouselStyles);\n\n addStyle('app-carousel-2', '', {\n btnPanel: {\n backgroundColor: themeVariables.defaultColorF,\n width: '100%',\n top: '100%',\n right: 0,\n padding: 8,\n justifyContent: 'flex-end'\n },\n dotsWrapperStyle:{\n alignSelf: 'flex-start',\n justifyContent: 'flex-start'\n },\n activeDotStyle: {\n backgroundColor: themeVariables.primaryColor,\n },\n dotStyle: {\n backgroundColor: themeVariables.primaryColor,\n },\n prevBtn: {\n root: {\n backgroundColor: 'rgba(255, 255, 255, 0.1)',\n borderColor: themeVariables.primaryColor,\n },\n icon : {\n color: themeVariables.primaryColor\n }\n },\n nextBtn: {\n root: {\n marginLeft: 8,\n backgroundColor: 'rgba(255, 255, 255, 0.1)',\n borderColor: themeVariables.primaryColor,\n },\n icon : {\n color: themeVariables.primaryColor\n }\n }\n } as any as WmCarouselStyles);\n});"],"mappings":"AACA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAexF,OAAO,MAAMC,aAAa,GAAG,cAAc;AAC3CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,GAAc,GAAG;IACnBC,MAAM,EAAE,EAAE;IACVC,KAAK,EAAE,EAAE;IACTC,YAAY,EAAE,EAAE;IAChBC,WAAW,EAAEN,cAAc,CAACO,WAAW;IACvCC,WAAW,EAAE,CAAC;IACdC,cAAc,EAAE;EACpB,CAAC;EACD,MAAMC,aAA+B,GAAGb,YAAY,CAAC;IACjDc,IAAI,EAAE;MACFC,QAAQ,EAAE;IACd,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,KAAK,EAAE;MACHV,KAAK,EAAE,MAAM;M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AAE;MACNhB,eAAe,EAAE5B,cAAc,CAACoD;IACpC,CAAC;IACD1B,OAAO,EAAE;MACLf,IAAI,EAAE;QACFiB,eAAe,EAAE,0BAA0B;QAC3CtB,WAAW,EAAEN,cAAc,CAACoD;MAChC,CAAC;MACDrB,IAAI,EAAG;QACHC,KAAK,EAAEhC,cAAc,CAACoD;MAC1B;IACJ,CAAC;IACDlB,OAAO,EAAE;MACLvB,IAAI,EAAE;QACFgB,UAAU,EAAE,CAAC;QACbC,eAAe,EAAE,0BAA0B;QAC3CtB,WAAW,EAAEN,cAAc,CAACoD;MAChC,CAAC;MACDrB,IAAI,EAAG;QACHC,KAAK,EAAEhC,cAAc,CAACoD;MAC1B;IACJ;EACJ,CAA4B,CAAC;AACjC,CAAC,CAAC"}
@@ -44,9 +44,9 @@ export default class WmButton extends BaseComponent {
44
44
  style: [this.styles.content, {
45
45
  flexDirection: props.iconposition === 'top' ? 'column' : 'row'
46
46
  }]
47
- }, props.iconposition === 'top' && this.prepareIcon(props), props.iconposition === 'left' && this.prepareIcon(props), /*#__PURE__*/React.createElement(Text, {
47
+ }, props.iconposition === 'top' && this.prepareIcon(props), props.iconposition === 'left' && this.prepareIcon(props), props.caption ? /*#__PURE__*/React.createElement(Text, {
48
48
  style: this.styles.text
49
- }, props.caption), props.iconposition === 'right' && this.prepareIcon(props), props.badgevalue && this.prepareBadge(props))));
49
+ }, props.caption) : null, props.iconposition === 'right' && this.prepareIcon(props), props.badgevalue && this.prepareBadge(props))));
50
50
  }
51
51
  }
52
52
  //# sourceMappingURL=button.component.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","Tappable","Badge","WmButtonProps","DEFAULT_CLASS","WmIcon","Animatedview","createSkeleton","WmButtonState","WmButton","constructor","props","prepareIcon","createElement","styles","icon","name","iconclass","iconsize","prepareBadge","style","badge","badgevalue","renderSkeleton","prop","theme","skeleton","root","width","skeletonwidth","height","skeletonheight","renderWidget","entryanimation","animation","_background","target","content","flexDirection","iconposition","text","caption"],"sources":["button.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Text, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { Badge } from 'react-native-paper';\n\nimport WmButtonProps from './button.props';\nimport { DEFAULT_CLASS, WmButtonStyles } from './button.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport { createSkeleton } from '../skeleton/skeleton.component';\n\nexport class WmButtonState extends BaseComponentState<WmButtonProps> {\n\n}\n\nexport default class WmButton extends BaseComponent<WmButtonProps, WmButtonState, WmButtonStyles> {\n\n constructor(props: WmButtonProps) {\n super(props, DEFAULT_CLASS, new WmButtonProps());\n }\n\n private prepareIcon(props: any) {\n return (<WmIcon\n styles={this.styles.icon} name={props.name + '_icon'} iconclass={props.iconclass} iconsize={props.iconsize}></WmIcon>);\n }\n\n private prepareBadge(props: any) {\n //@ts-ignore\n return (<Badge style={this.styles.badge}>{props.badgevalue}</Badge>);\n }\n\n public renderSkeleton(prop: WmButtonProps) {\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.styles.root.width)as DimensionValue,\n height: (this.props.skeletonheight || this.styles.root.height) as DimensionValue\n });\n }\n\n renderWidget(props: WmButtonProps) {\n return (\n <Animatedview entryanimation={props.animation} style={this.styles.root}>\n {this._background}\n <Tappable target={this}>\n <View style={[this.styles.content, {flexDirection: props.iconposition === 'top' ? 'column': 'row'}]}>\n {props.iconposition === 'top' && this.prepareIcon(props)}\n {props.iconposition === 'left' && this.prepareIcon(props)}\n <Text style={this.styles.text}>{props.caption}</Text>\n {props.iconposition === 'right' && this.prepareIcon(props)}\n {props.badgevalue && this.prepareBadge(props)}\n </View>\n </Tappable>\n </Animatedview>\n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AAI,CAACjB,KAAK,CAACkB,aAAa,IAAI,IAAI,CAACf,MAAM,CAACa,IAAI,CAACC,KAAuB;MAC5EE,MAAM,EAAG,IAAI,CAACnB,KAAK,CAACoB,cAAc,IAAI,IAAI,CAACjB,MAAM,CAACa,IAAI,CAACG;IACzD,CAAC,CAAC;EACJ;EAEAE,YAAYA,CAACrB,KAAoB,EAAE;IACjC,oBACEf,KAAA,CAAAiB,aAAA,CAACP,YAAY;MAAC2B,cAAc,EAAEtB,KAAK,CAACuB,SAAU;MAACd,KAAK,EAAE,IAAI,CAACN,MAAM,CAACa;IAAK,GACpE,IAAI,CAACQ,WAAW,eACjBvC,KAAA,CAAAiB,aAAA,CAACZ,QAAQ;MAACmC,MAAM,EAAE;IAAK,gBACrBxC,KAAA,CAAAiB,aAAA,CAACf,IAAI;MAACsB,KAAK,EAAE,CAAC,IAAI,CAACN,MAAM,CAACuB,OAAO,EAAE;QAACC,aAAa,EAAE3B,KAAK,CAAC4B,YAAY,KAAK,KAAK,GAAG,QAAQ,GAAE;MAAK,CAAC;IAAE,GACjG5B,KAAK,CAAC4B,YAAY,KAAK,KAAK,IAAI,IAAI,CAAC3B,WAAW,CAACD,KAAK,CAAC,EACvDA,KAAK,CAAC4B,YAAY,KAAK,MAAM,IAAI,IAAI,CAAC3B,WAAW,CAACD,KAAK,CAAC,eACzDf,KAAA,CAAAiB,aAAA,CAAChB,IAAI;MAACuB,KAAK,EAAE,IAAI,CAACN,MAAM,CAAC0B;IAAK,GAAE7B,KAAK,CAAC8B,OAAc,CAAC,EACpD9B,KAAK,CAAC4B,YAAY,KAAK,OAAO,IAAI,IAAI,CAAC3B,WAAW,CAACD,KAAK,CAAC,EACzDA,KAAK,CAACW,UAAU,IAAI,IAAI,CAACH,YAAY,CAACR,KAAK,CACxC,CACE,CACE,CAAC;EAEnB;AACF"}
1
+ {"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","Tappable","Badge","WmButtonProps","DEFAULT_CLASS","WmIcon","Animatedview","createSkeleton","WmButtonState","WmButton","constructor","props","prepareIcon","createElement","styles","icon","name","iconclass","iconsize","prepareBadge","style","badge","badgevalue","renderSkeleton","prop","theme","skeleton","root","width","skeletonwidth","height","skeletonheight","renderWidget","entryanimation","animation","_background","target","content","flexDirection","iconposition","caption","text"],"sources":["button.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Text, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { Badge } from 'react-native-paper';\n\nimport WmButtonProps from './button.props';\nimport { DEFAULT_CLASS, WmButtonStyles } from './button.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport { createSkeleton } from '../skeleton/skeleton.component';\n\nexport class WmButtonState extends BaseComponentState<WmButtonProps> {\n\n}\n\nexport default class WmButton extends BaseComponent<WmButtonProps, WmButtonState, WmButtonStyles> {\n\n constructor(props: WmButtonProps) {\n super(props, DEFAULT_CLASS, new WmButtonProps());\n }\n\n private prepareIcon(props: any) {\n return (<WmIcon\n styles={this.styles.icon} name={props.name + '_icon'} iconclass={props.iconclass} iconsize={props.iconsize}></WmIcon>);\n }\n\n private prepareBadge(props: any) {\n //@ts-ignore\n return (<Badge style={this.styles.badge}>{props.badgevalue}</Badge>);\n }\n\n public renderSkeleton(prop: WmButtonProps) {\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.styles.root.width)as DimensionValue,\n height: (this.props.skeletonheight || this.styles.root.height) as DimensionValue\n });\n }\n\n renderWidget(props: WmButtonProps) {\n return (\n <Animatedview entryanimation={props.animation} style={this.styles.root}>\n {this._background}\n <Tappable target={this}>\n <View style={[this.styles.content, {flexDirection: props.iconposition === 'top' ? 'column': 'row'}]}>\n {props.iconposition === 'top' && this.prepareIcon(props)}\n {props.iconposition === 'left' && this.prepareIcon(props)}\n {props.caption ? (<Text style={this.styles.text}>{props.caption}</Text>): null}\n {props.iconposition === 'right' && this.prepareIcon(props)}\n {props.badgevalue && this.prepareBadge(props)}\n </View>\n </Tappable>\n </Animatedview>\n );\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAyBC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,KAAK,QAAQ,oBAAoB;AAE1C,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAASC,cAAc,QAAQ,gCAAgC;AAE/D,OAAO,MAAMC,aAAa,SAASR,kBAAkB,CAAgB;AAIrE,eAAe,MAAMS,QAAQ,SAASV,aAAa,CAA+C;EAEhGW,WAAWA,CAACC,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,EAAEP,aAAa,EAAE,IAAID,aAAa,CAAC,CAAC,CAAC;EAClD;EAEQS,WAAWA,CAACD,KAAU,EAAE;IAC9B,oBAAQf,KAAA,CAAAiB,aAAA,CAACR,MAAM;MACbS,MAAM,EAAE,IAAI,CAACA,MAAM,CAACC,IAAK;MAACC,IAAI,EAAEL,KAAK,CAACK,IAAI,GAAG,OAAQ;MAACC,SAAS,EAAEN,KAAK,CAACM,SAAU;MAACC,QAAQ,EAAEP,KAAK,CAACO;IAAS,CAAS,CAAC;EACzH;EAEQC,YAAYA,CAACR,KAAU,EAAE;IAC/B;IACA,oBAAQf,KAAA,CAAAiB,aAAA,CAACX,KAAK;MAACkB,KAAK,EAAE,IAAI,CAACN,MAAM,CAACO;IAAM,GAAEV,KAAK,CAACW,UAAkB,CAAC;EACrE;EAEOC,cAAcA,CA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WAAW,CAACD,KAAK,CAAC,EACzDA,KAAK,CAACW,UAAU,IAAI,IAAI,CAACH,YAAY,CAACR,KAAK,CACxC,CACE,CACE,CAAC;EAEnB;AACF"}
@@ -133,11 +133,14 @@ export default class WmIcon extends BaseComponent {
133
133
  size: iconSize
134
134
  }, customIcon);
135
135
  } else if (props.show && iconDef) {
136
+ var _this$styles$icon;
136
137
  let WMCustomIcon = WavIcon;
137
138
  if (iconDef.isStreamlineLightIcon) {
138
139
  WMCustomIcon = StreamlineLightIcon;
139
140
  } else if (iconDef.isStreamlineRegularIcon) {
140
141
  WMCustomIcon = StreamlineRegularIcon;
142
+ } else if (!iconDef.isWavIcon && !((_this$styles$icon = this.styles.icon) !== null && _this$styles$icon !== void 0 && _this$styles$icon.fontFamily)) {
143
+ return null;
141
144
  }
142
145
  //@ts-ignore type information is not matching
143
146
  icon = WMCustomIcon ? /*#__PURE__*/React.createElement(WMCustomIcon, {
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Animated","Easing","Text","FontAwesome","BaseComponent","BaseComponentState","WmIconProps","DEFAULT_CLASS","WavIcon","StreamlineLightIcon","StreamlineRegularIcon","Tappable","Animatedview","createSkeleton","ICON_SIZES","Map","ICON_ROTATTION","WmIconState","constructor","arguments","_defineProperty","WmIcon","props","Value","getIconDef","iconClass","iconDef","rotate","splits","split","isFontAwesome","find","v","isStreamlineLightIcon","isStreamlineRegularIcon","_splits$find","type","startsWith","substring","_splits$find2","_splits$find3","_splits$find4","isWavIcon","indexOf","animation","size","map","get","spin","stopAnimation","spinValue","setValue","timing","toValue","duration","easing","linear","useNativeDriver","start","componentDidMount","componentWillUnmount","onPropertyChange","name","$new","$old","updateState","getCustomIcon","style","_this$theme$getStyle","customIcon","theme","mergeStyle","getStyle","iconclass","icon","styles","customIconContent","content","createElement","fontFamily","decodeURIComponent","renderSkeleton","skeleton","root","width","skeletonwidth","iconsize","height","skeletonheight","renderIcon","state","color","text","transform","iconSize","fontSize","show","_this$styles$icon","WMCustomIcon","interpolate","inputRange","outputRange","View","opacity","renderWidget","target","entryanimation","_background","iconposition","caption"],"sources":["icon.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Animated, DimensionValue, Easing, Text } from 'react-native';\nimport { FontAwesome } from '@expo/vector-icons';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmIconProps from './icon.props';\nimport { DEFAULT_CLASS, WmIconStyles } from './icon.styles';\nimport WavIcon from './wavicon/wavicon.component';\nimport StreamlineLightIcon from './streamline-light-icon/streamline-light-icon.component';\nimport StreamlineRegularIcon from './streamline-regular-icon/streamline-regular-icon.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\ninterface IconDef {\n isFontAwesome: boolean;\n isWavIcon: boolean;\n isStreamlineLightIcon: boolean;\n isStreamlineRegularIcon: boolean;\n type: string;\n rotate: string;\n size: number;\n animation: string;\n}\n\nconst ICON_SIZES = new Map([\n ['fa-lg', 24],\n ['fa-2x', 36],\n ['fa-3x', 48],\n ['fa-4x', 60],\n ['fa-5x', 72]\n]);\n\nconst ICON_ROTATTION = new Map([\n ['fa-rotate-90', '90deg'],\n ['fa-rotate-180', '180deg'],\n ['fa-rotate-270', '270deg']\n]);\n\nexport class WmIconState extends BaseComponentState<WmIconProps> {\n public iconDef = {} as IconDef;\n}\n\nexport default class WmIcon extends BaseComponent<WmIconProps, WmIconState, WmIconStyles> {\n spinValue = new Animated.Value(0);\n pulseValue = new Animated.Value(0);\n public stopAnimation = true; \n\n constructor(props: WmIconProps) {\n super(props, DEFAULT_CLASS, new WmIconProps());\n }\n\n getIconDef(iconClass: string): IconDef {\n const iconDef = {\n rotate: '0'\n } as IconDef;\n const splits = iconClass.split(' ');\n iconDef.isFontAwesome = !!splits.find(v => v === 'fa');\n iconDef.isStreamlineLightIcon = !!splits.find(v => v === 'wm-sl-l');\n iconDef.isStreamlineRegularIcon = !!splits.find(v => v === 'wm-sl-r');\n if (iconDef.isFontAwesome) {\n iconDef.type = splits.find(v => v.startsWith('fa-'))?.substring(3) || '';\n } else if (iconDef.isStreamlineLightIcon) {\n iconDef.type = splits.find(v => v.startsWith('sl-'))?.substring(3) || '';\n } else if (iconDef.isStreamlineRegularIcon) {\n iconDef.type = splits.find(v => v.startsWith('sl-'))?.substring(3) || '';\n } else {\n iconDef.isWavIcon = !iconDef.isFontAwesome && !!splits.find(v => v === 'wi');\n iconDef.type = (iconDef.isWavIcon && splits.find(v => v.startsWith('wi-'))?.substring(3)) || '';\n }\n if (iconClass.indexOf('fa-spin') >= 0) {\n iconDef.animation = 'spin';\n } else if (iconClass.indexOf('fa-pulse') >= 0) {\n iconDef.animation = 'pulse';\n }\n iconDef.size = splits.map(v => ICON_SIZES.get(v)).find(v => !!v) || 12;\n iconDef.rotate = splits.map(v => ICON_ROTATTION.get(v)).find(v => !!v) || '0deg';\n return iconDef;\n }\n\n private spin () {\n if (this.stopAnimation) {\n return;\n }\n this.spinValue.setValue(0);\n Animated.timing(\n this.spinValue,\n {\n toValue: 1,\n duration: 1000,\n easing: Easing.linear,\n useNativeDriver: true\n }\n ).start(() => this.spin());\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.spin();\n }\n\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.stopAnimation = true;\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n super.onPropertyChange(name, $new, $old);\n switch(name) {\n case 'iconclass':\n $new && this.updateState({iconDef: this.getIconDef($new)} as WmIconState);\n break;\n }\n }\n\n private getCustomIcon(props: WmIconProps, style: any) {\n const customIcon = this.theme.mergeStyle({}, this.theme.getStyle(props?.iconclass || '')?.icon || this.styles.icon);\n const customIconContent = customIcon?.content;\n if (customIconContent) {\n delete customIcon.content;\n return (<Text\n style={[style, customIcon.fontFamily ? {fontFamily: customIcon.fontFamily}: null]}>\n {decodeURIComponent(customIconContent)}\n </Text>);\n }\n return null;\n }\n\n public renderSkeleton(props: WmIconProps) {\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.props.iconsize || this.styles.root.width) as DimensionValue,\n height: (this.props.skeletonheight || this.props.iconsize || this.styles.root.height) as DimensionValue\n });\n }\n\n renderIcon(props: WmIconProps) {\n const iconDef = this.state.iconDef;\n if (!iconDef) {\n return null;\n }\n let icon = null;\n const style = [{\n color: this.styles.root.color || this.styles.text.color\n }, this.styles.icon, {transform: [{rotate: iconDef.rotate}]}];\n const customIcon = this.getCustomIcon(props, style);\n const iconSize = props.iconsize || this.styles.root.fontSize || this.styles.text.fontSize || iconDef.size;\n if (props.show && iconDef && iconDef.isFontAwesome) {\n //@ts-ignore type information is not matching\n icon = (<FontAwesome name={customIcon ? '' : iconDef.type}\n style={style}\n size={iconSize}>\n {customIcon}\n </FontAwesome>);\n } else if (props.show && iconDef) {\n let WMCustomIcon = WavIcon as unknown;\n if (iconDef.isStreamlineLightIcon) {\n WMCustomIcon = StreamlineLightIcon;\n } else if (iconDef.isStreamlineRegularIcon) {\n WMCustomIcon = StreamlineRegularIcon;\n } else if (!iconDef.isWavIcon && !this.styles.icon?.fontFamily) {\n return null;\n }\n //@ts-ignore type information is not matching\n icon = WMCustomIcon ? (<WMCustomIcon name={customIcon ? '' : iconDef.type}\n style={style}\n size={iconSize}>\n {customIcon}\n </WMCustomIcon>) : null;\n }\n if (icon && iconDef.animation === 'spin') {\n const rotate = this.spinValue.interpolate({ inputRange: [0, 1], outputRange: ['0deg', '360deg']});\n const animation = { transform: [{ rotate }] };\n this.stopAnimation = false;\n return (<Animated.View style={animation}>{icon}</Animated.View>);\n } else if (icon && iconDef.animation === 'pulse') {\n const opacity = this.spinValue.interpolate({ inputRange: [0, 1], outputRange: [0, 1]});\n const animation = { opacity: opacity };\n this.stopAnimation = false;\n return (<Animated.View style={animation}>{icon}</Animated.View>);\n } else {\n this.stopAnimation = true;\n }\n return icon;\n }\n\n renderWidget(props: WmIconProps) {\n let icon = this.renderIcon(props);\n return (\n <Tappable target={this}>\n <Animatedview entryanimation={props.animation} style={this.styles.root}>\n {this._background}\n {(props.iconposition === 'left' && icon) || null}\n {(props.caption && (<Text style={this.styles.text}>{props.caption}</Text>)) || null}\n {(props.iconposition === 'right' && icon) || null}\n </Animatedview>\n </Tappable>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAkBC,MAAM,EAAEC,IAAI,QAAQ,cAAc;AACrE,SAASC,WAAW,QAAQ,oBAAoB;AAChD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,WAAW,MAAM,cAAc;AACtC,SAASC,aAAa,QAAsB,eAAe;AAC3D,OAAOC,OAAO,MAAM,6BAA6B;AACjD,OAAOC,mBAAmB,MAAM,yDAAyD;AACzF,OAAOC,qBAAqB,MAAM,6DAA6D;AAC/F,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAAqBC,cAAc,QAAQ,gCAAgC;AAa3E,MAAMC,UAAU,GAAG,IAAIC,GAAG,CAAC,CACzB,CAAC,OAAO,EAAE,EAAE,CAAC,EACb,CAAC,OAAO,EAAE,EAAE,CAAC,EACb,CAAC,OAAO,EAAE,EAAE,CAAC,EACb,CAAC,OAAO,EAAE,EAAE,CAAC,EACb,CAAC,OAAO,EAAE,EAAE,CAAC,CACd,CAAC;AAEF,MAAMC,cAAc,GAAG,IAAID,GAAG,CAAC,CAC7B,CAAC,cAAc,EAAE,OAAO,CAAC,EACzB,CAAC,eAAe,EAAE,QAAQ,CAAC,EAC3B,CAAC,eAAe,EAAE,QAAQ,CAAC,CAC5B,CAAC;AAEF,OAAO,MAAME,WAAW,SAASZ,kBAAkB,CAAc;EAAAa,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,kBAC9C,CAAC,C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AAU,GAAE8B,IAAoB,CAAC;IACjE,CAAC,MAAM;MACL,IAAI,CAACzB,aAAa,GAAG,IAAI;IAC3B;IACA,OAAOyB,IAAI;EACb;EAEA8B,YAAYA,CAAClF,KAAkB,EAAE;IAC/B,IAAIoD,IAAI,GAAG,IAAI,CAACe,UAAU,CAACnE,KAAK,CAAC;IACjC,oBACEvB,KAAA,CAAA+E,aAAA,CAACnE,QAAQ;MAAC8F,MAAM,EAAE;IAAK,gBACrB1G,KAAA,CAAA+E,aAAA,CAAClE,YAAY;MAAC8F,cAAc,EAAEpF,KAAK,CAACsB,SAAU;MAACuB,KAAK,EAAE,IAAI,CAACQ,MAAM,CAACQ;IAAK,GACpE,IAAI,CAACwB,WAAW,EACfrF,KAAK,CAACsF,YAAY,KAAK,MAAM,IAAIlC,IAAI,IAAK,IAAI,EAC9CpD,KAAK,CAACuF,OAAO,iBAAK9G,KAAA,CAAA+E,aAAA,CAAC5E,IAAI;MAACiE,KAAK,EAAE,IAAI,CAACQ,MAAM,CAACiB;IAAK,GAAEtE,KAAK,CAACuF,OAAc,CAAE,IAAK,IAAI,EACjFvF,KAAK,CAACsF,YAAY,KAAK,OAAO,IAAIlC,IAAI,IAAK,IACjC,CACN,CAAC;EAEf;AACF"}
@@ -169,7 +169,9 @@ export default class WmSearch extends BaseDatasetComponent {
169
169
  datavalue: ''
170
170
  }
171
171
  });
172
- return;
172
+ if (value === prevQuery) {
173
+ return;
174
+ }
173
175
  }
174
176
  if (this.props.invokeEvent) {
175
177
  this.props.invokeEvent('onChange', [undefined, this.proxy, value, prevQuery]);
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Keyboard","Platform","ScrollView","Text","TextInput","View","find","isNull","WmSearchProps","DEFAULT_CLASS","ModalConsumer","DataProvider","BaseDatasetComponent","BaseDatasetState","WmAnchor","WmPicture","Tappable","WmButton","get","isArray","isEmpty","isObject","AssetProvider","WmSearchState","constructor","arguments","_defineProperty","top","left","WmSearch","props","_this","this","Promise","resolve","position","view","measure","x","length","undefined","y","width","height","px","py","updateState","computePosition","then","isOpened","dataProvider","datavalue","query","clearSearch","invokeEventCallback","hide","dataItems","state","map","item","selected","type","updateFilteredData","_filteredData","queryText","filterOptions","entries","filteredData","minchars","_this$dataProvider","searchkey","updateRequired","init","invokeVariable","response","dataSet","setDataItems","filter","result","dataObject","data","isFocused","showPopover","focus","_this$widgetRef","widgetRef","onChange","value","isDefaultQuery","prevQuery","searchon","validate","invokeEvent","proxy","invokeChange","e","OS","cursor","target","selectionStart","onFocus","disabled","_this$state$props$que","onBlur","setTimeout","triggerValidation","prepareModalOptions","content","styles","modalService","o","modalOptions","modalContentSTyles","searchInputWidth","modalContent","borderWidth","modalStyle","modal","contentStyle","isModal","onClose","dismiss","setState","hideModal","searchIconPress","onItemSelect","displayexp","displayfield","datafield","updateDatavalue","prevDatavalue","queryModel","renderSearchBar","_this$state$dataItems","opts","valueExpr","createElement","style","root","ref","onLayout","searchInputWrapper","_extends","text","isValid","invalid","focusedText","selectionEnd","placeholderTextColor","placeholderText","color","placeholder","autoFocus","autofocus","editable","readonly","onChangeText","bind","nativeEvent","layout","showclear","onTap","clearButton","iconclass","showSearchIcon","searchButton","reset","renderSearchItem","index","imageStyles","imagewidth","searchItem","name","picturesource","imgSrc","searchItemText","updateDefaultQueryModel","selectedItem","onDataItemsUpdate","componentDidMount","onPropertyChange","$new","$old","dataset","renderWidget","showModal","maxHeight","contentContainerStyle","dropDownContent","loadAsset","key","limit","caption","datacompletemsg","dataCompleteItem"],"sources":["search.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Keyboard, Platform, ScrollView, Text, TextInput, View } from 'react-native';\nimport { find, isNull } from 'lodash';\n\nimport WmSearchProps from './search.props';\nimport { DEFAULT_CLASS, WmSearchStyles } from './search.styles';\nimport { ModalConsumer, ModalOptions, ModalService} from \"@wavemaker/app-rn-runtime/core/modal.service\";\nimport { DataProvider } from '@wavemaker/app-rn-runtime/components/basic/search/local-data-provider';\n\nimport {\n BaseDatasetComponent,\n BaseDatasetState\n} from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.component';\nimport WmAnchor from '@wavemaker/app-rn-runtime/components/basic/anchor/anchor.component';\nimport WmPicture from '@wavemaker/app-rn-runtime/components/basic/picture/picture.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\nimport { get, isArray, isEmpty, isObject } from \"lodash-es\";\nimport { AssetProvider } from '@wavemaker/app-rn-runtime/core/asset.provider';\n\nexport class WmSearchState extends BaseDatasetState<WmSearchProps> {\n isOpened: boolean = false;\n modalOptions = {} as ModalOptions;\n position = {\n top: 0,\n left: 0\n } as DropdownPosition;\n data: any = [];\n}\n\nexport interface DropdownPosition {\n top?: number;\n bottom?: number;\n left?: number;\n right?: number;\n}\n\nexport default class WmSearch extends BaseDatasetComponent<WmSearchProps, WmSearchState, WmSearchStyles> {\n view: View = null as any;\n private prevDatavalue: any;\n private queryModel: any;\n private searchInputWidth: any;\n private isDefaultQuery: boolean = true;\n private dataProvider: DataProvider;\n public widgetRef: TextInput | null = null;\n private cursor: any = 0;\n private isFocused: boolean = false;\n private updateRequired: any;\n\n constructor(props: WmSearchProps) {\n super(props, DEFAULT_CLASS, new WmSearchProps(), new WmSearchState());\n this.dataProvider = new DataProvider();\n if (this.props.datavalue) {\n this.updateState({\n props: {\n query: this.props.datavalue\n }\n } as WmSearchState);\n }\n }\n\n computePosition = () => {\n return new Promise<void>((resolve) => {\n const position = {} as DropdownPosition;\n this.view.measure((x = 0, y = 0, width = 0, height = 0, px = 0, py = 0) => {\n position.left = px;\n position.top = py + height;\n this.updateState({ position: position } as WmSearchState, resolve);\n });\n });\n }\n\n clearSearch() {\n this.invokeEventCallback('onClear', [null, this]);\n this.hide();\n this.updateState({\n props: {\n query: ''\n },\n dataItems: this.state.dataItems ? this.state.dataItems.map((item: any) => {\n item.selected = false;\n return item;\n }) : []\n } as WmSearchState, () => {\n if (this.state.props.type === 'autocomplete') {\n this.updateFilteredData('');\n }\n });\n }\n\n updateFilteredData(queryText: string = '') {\n const props = this.state.props;\n const filterOptions = {\n query: queryText,\n props: props,\n entries: this.state.dataItems\n };\n let filteredData: Array<any> = [];\n if (props.minchars && queryText.length < props.minchars) {\n filteredData = [];\n } else if (props.type === 'search' && !queryText) {\n filteredData = [];\n } else {\n if (this.props.searchkey && this.updateRequired === undefined) {\n this.updateRequired = this.dataProvider.init(this);\n }\n // for service variables invoke the variable with params.\n if (this.props.searchkey && this.updateRequired && this.state.props.query !== queryText) {\n this.dataProvider.invokeVariable(this, queryText).then((response: any) => {\n if (response) {\n response = response.dataSet;\n if (isEmpty(response)) {\n filteredData = [];\n } else {\n if (isObject(response) && !isArray(response)) {\n response = [response];\n }\n this.setDataItems(response);\n }\n }\n }, () => {});\n return;\n }\n filteredData = this.dataProvider?.filter(filterOptions);\n }\n this.updateState({\n props: { result: filteredData?.map( (item: any) => item.dataObject), query: queryText },\n data: filteredData,\n } as WmSearchState);\n if (!this.state.isOpened && this.isFocused) {\n this.showPopover && this.showPopover();\n }\n }\n\n focus() {\n this?.widgetRef?.focus();\n }\n\n onChange(value: any) {\n this.isDefaultQuery = false;\n const prevQuery = this.state.props.query;\n if (this.state.props.searchon === 'onsearchiconclick') {\n this.updateState({\n props: {result: [], query: value},\n data: []\n } as WmSearchState);\n } else {\n this.updateFilteredData(value);\n }\n if (value === '') {\n this.validate(value);\n this.updateState({\n props: {\n datavalue: '',\n },\n } as WmSearchState);\n if (value === prevQuery) {\n return;\n }\n }\n if (this.props.invokeEvent) {\n this.props.invokeEvent('onChange', [undefined, this.proxy, value, prevQuery]);\n }\n this.invokeEventCallback('onChange', [ undefined, this.proxy, value, prevQuery ]);\n }\n\n invokeChange(e: any) {\n if (Platform.OS === 'web') {\n this.cursor = e.target.selectionStart;\n this.updateState({ props: { query: e.target.value } } as WmSearchState);\n }\n }\n\n onFocus() {\n this.isFocused = true;\n if (!this.state.props.disabled && this.state.props.type === 'autocomplete') {\n this.cursor = this.state.props.query?.length || 0;\n this.updateFilteredData(this.state.props.query || '');\n }\n this.invokeEventCallback('onFocus', [null, this]);\n }\n\n onBlur() {\n this.isFocused = false;\n this.validate(this.state.props.datavalue);\n if (!this.state.props.datavalue) {\n setTimeout(() => {\n this.props.triggerValidation && this.props.triggerValidation();\n })\n }\n this.invokeEventCallback('onBlur', [null, this]);\n }\n\n public showPopover = () => {\n this.computePosition().then(() => {\n this.updateState({ isOpened: true } as WmSearchState);\n });\n };\n\n public hide = () => {};\n\n prepareModalOptions(content: React.ReactNode, styles: WmSearchStyles, modalService: ModalService) {\n const o = this.state.modalOptions;\n const modalContentSTyles = {\n width: this.searchInputWidth - 2 * (styles.modalContent.borderWidth || 0),\n left: (this.state.position.left || 0) + 2 * (styles.modalContent.borderWidth || 0) };\n o.modalStyle = {...styles.modal};\n o.contentStyle = {...styles.modalContent, ...this.state.position, ...modalContentSTyles};\n o.content = content;\n o.isModal = true;\n o.onClose = () => {\n this.hide = () => {};\n Keyboard.dismiss();\n if (this.state.isOpened) {\n this.setState({isOpened: false, modalOptions: {} as ModalOptions} as WmSearchState);\n }\n };\n this.hide = () => {\n modalService.hideModal(this.state.modalOptions);\n if (this.state.isOpened) {\n this.setState({ isOpened: false, modalOptions: {} as ModalOptions } as WmSearchState);\n }\n }\n return o;\n }\n\n searchIconPress() {\n this.isFocused = false;\n if (this.state.props.searchon === 'onsearchiconclick') {\n this.updateFilteredData(this.state.props.query);\n } else {\n this.onItemSelect(this.state.data[0]);\n }\n }\n\n onItemSelect(item: any) {\n this.isFocused = false;\n this.updateState({ props: {\n query: item.displayexp || item.displayfield\n }\n } as WmSearchState);\n this.validate(item.datafield);\n this.updateDatavalue(item.datafield);\n this.prevDatavalue = item.datafield;\n this.queryModel = item;\n if (get(this.props, 'formfield')) {\n // @ts-ignore\n this.props.invokeEvent('onSelect', [null, this, item.datafield]);\n // @ts-ignore\n this.props.invokeEvent('onSubmit', [null, this]);\n } else {\n this.invokeEventCallback('onSelect', [null, this, item.datafield]);\n this.invokeEventCallback('onSubmit', [null, this]);\n }\n this.hide();\n }\n\n renderSearchBar() {\n const props = this.state.props;\n let opts: any = {};\n const valueExpr = Platform.OS === 'web' ? 'value' : 'defaultValue';\n opts[valueExpr] = this.state.props.query || '';\n return(\n /*\n * onLayout function is required.\n * https://github.com/naoufal/react-native-accordion/pull/19/files\n */\n <View style={this.styles.root} ref={ref => {this.view = ref as View}} onLayout={() => {}}>\n <View style={this.styles.searchInputWrapper}>\n <TextInput style={[this.styles.text, this.state.isValid ? {} : this.styles.invalid, this.state.isOpened && this.state.dataItems?.length > 0? this.styles.focusedText : null]}\n ref={ref => {this.widgetRef = ref;\n // @ts-ignore\n if (ref && !isNull(ref.selectionStart) && !isNull(ref.selectionEnd)) {\n // @ts-ignore\n ref.selectionStart = ref.selectionEnd = this.cursor;\n }}}\n placeholderTextColor={this.styles.placeholderText.color as any}\n placeholder={props.placeholder || 'Search'}\n autoFocus={props.autofocus}\n editable={props.disabled || props.readonly ? false : true}\n onChangeText={this.onChange.bind(this)}\n onChange={this.invokeChange.bind(this)}\n onFocus={this.onFocus.bind(this)}\n onLayout={e => {this.searchInputWidth = e.nativeEvent.layout.width}}\n onBlur={this.onBlur.bind(this)}\n {...opts}>\n </TextInput>\n {props.showclear && this.state.props.query ? <WmButton onTap={this.clearSearch.bind(this)}\n styles={this.styles.clearButton} iconclass={'wi wi-clear'}></WmButton> : null}\n </View>\n {props.showSearchIcon && props.type === 'search' ? <WmButton styles={this.styles.searchButton}\n iconclass={'wm-sl-l sl-search'} onTap={this.searchIconPress.bind(this)}></WmButton> : null}\n </View>\n );\n }\n\n reset() {\n if (this.state.props.query) {\n this.updateState({\n props: {\n query: ''\n }\n } as WmSearchState);\n }\n }\n\n renderSearchItem(item: any, index: number) {\n const props = this.state.props;\n const imageStyles = { root: {height:props.imagewidth, width:props.imagewidth}}\n return (\n <Tappable onTap={this.onItemSelect.bind(this, item)}>\n <View style={this.styles.searchItem}>\n <WmPicture styles={imageStyles} name={props.name + '_image'} picturesource={item.imgSrc}></WmPicture>\n <Text style={this.styles.searchItemText}>{item.displayexp || item.displayfield}</Text>\n </View>\n </Tappable>\n );\n }\n\n updateDefaultQueryModel() {\n if (this.state.dataItems && this.state.dataItems.length && this.isDefaultQuery) {\n const selectedItem = find(this.state.dataItems, (item) => item.selected);\n this.updateState({ props: {\n query: selectedItem ? (selectedItem.displayexp || selectedItem.displayfield) : ''\n }\n } as WmSearchState);\n }\n }\n\n onDataItemsUpdate() {\n super.onDataItemsUpdate();\n this.isFocused && this.state.dataItems.length && this.updateFilteredData(this.state.props.query);\n this.updateDefaultQueryModel();\n }\n\n componentDidMount(): void {\n super.componentDidMount();\n this.updateDefaultQueryModel();\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch (name) {\n case 'dataset':\n if (!isEmpty($new) && isObject($new) && !isArray($new)) {\n $new = [$new];\n this.updateState({\n props: {\n dataset: $new\n }\n } as WmSearchState);\n }\n break;\n }\n super.onPropertyChange(name, $new, $old);\n }\n\n renderWidget(props: WmSearchProps) {\n const result = this.state.data;\n return (\n <View>\n {this.renderSearchBar()}\n {this.state.isOpened ? (\n <ModalConsumer>\n {(modalService: ModalService) => {\n modalService.showModal(this.prepareModalOptions((\n <ScrollView style={{width: '100%', maxHeight: 200}} contentContainerStyle={this.styles.dropDownContent}>\n <AssetProvider value={this.loadAsset}>\n {result && result.map((item: any, index: any) => (\n <View key={item.key}>\n {\n (!props.limit) || (props.limit && index+1 <= props.limit) ?\n this.renderSearchItem(item, index)\n : null\n }\n {\n index === result.length - 1 ?\n <WmAnchor caption={props.datacompletemsg} styles={this.styles.dataCompleteItem}></WmAnchor> : null\n }\n </View>\n ))}\n </AssetProvider>\n </ScrollView>\n ), this.styles, modalService));\n return null;\n }}\n </ModalConsumer>) : null}\n </View>\n\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAE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AU,GACpC/G,MAAM,IAAIA,MAAM,CAACpB,GAAG,CAAC,CAACC,IAAS,EAAE6G,KAAU,kBAC1CzK,KAAA,CAAAyI,aAAA,CAACnI,IAAI;QAACyL,GAAG,EAAEnI,IAAI,CAACmI;MAAI,GAEf,CAAChK,KAAK,CAACiK,KAAK,IAAMjK,KAAK,CAACiK,KAAK,IAAIvB,KAAK,GAAC,CAAC,IAAI1I,KAAK,CAACiK,KAAM,GACvD,IAAI,CAACxB,gBAAgB,CAAC5G,IAAI,EAAE6G,KAAK,CAAC,GAChC,IAAI,EAGRA,KAAK,KAAK1F,MAAM,CAACvC,MAAM,GAAG,CAAC,gBAC3BxC,KAAA,CAAAyI,aAAA,CAAC1H,QAAQ;QAACkL,OAAO,EAAElK,KAAK,CAACmK,eAAgB;QAACrF,MAAM,EAAE,IAAI,CAACA,MAAM,CAACsF;MAAiB,CAAW,CAAC,GAAG,IAE5F,CACP,CACc,CACP,CAAC,EACZ,IAAI,CAACtF,MAAM,EAAEC,YAAY,CAAC,CAAC;MAC9B,OAAO,IAAI;IACb,CACa,CAAC,GAAI,IAClB,CAAC;EAGX;AACF"}
@@ -4,7 +4,7 @@ function _toPrimitive(input, hint) { if (typeof input !== "object" || input ===
4
4
  import React from "react";
5
5
  import { Dimensions } from 'react-native';
6
6
  import moment from "moment";
7
- import { forEach, get, isArray, isEmpty, isObject, maxBy, minBy, set, trim } from "lodash-es";
7
+ import { forEach, get, isArray, isEmpty, isObject, maxBy, minBy, set, trim, orderBy } from "lodash-es";
8
8
  import { VictoryAxis, VictoryLegend, VictoryLabel } from "victory-native";
9
9
  import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
10
10
  import WmIcon from "@wavemaker/app-rn-runtime/components/basic/icon/icon.component";
@@ -80,8 +80,8 @@ export class BaseChartComponent extends BaseComponent {
80
80
  // format number and add suffix
81
81
  return scaled.toFixed(1) + suffix;
82
82
  }
83
- getLegendView() {
84
- if (this.props.showlegend === 'hide') {
83
+ getLegendView(colorScale) {
84
+ if (this.state.props.showlegend === 'hide') {
85
85
  return null;
86
86
  }
87
87
  let top = this.props.showlegend === 'bottom' ? parseInt(this.styles.root.height) : 0;
@@ -91,6 +91,7 @@ export class BaseChartComponent extends BaseComponent {
91
91
 
92
92
  const orientation = this.props.showlegend === 'right' || this.props.showlegend === 'left' ? 'vertical' : 'horizontal';
93
93
  return /*#__PURE__*/React.createElement(VictoryLegend, {
94
+ colorScale: colorScale,
94
95
  name: 'legendData',
95
96
  orientation: orientation,
96
97
  gutter: 20,
@@ -311,11 +312,21 @@ export class BaseChartComponent extends BaseComponent {
311
312
  }
312
313
  prepareLegendData() {
313
314
  if (this.state.yAxis) {
314
- let ldata = this.state.yAxis.map(d => {
315
- return {
316
- name: d
317
- };
318
- });
315
+ let ldata;
316
+ if (this.props.type === 'Stack') {
317
+ const data = orderBy(this.state.data[0], 'y', 'asc');
318
+ ldata = data.map(d => {
319
+ return {
320
+ name: this.state.xaxisDatakeyArr[d.x]
321
+ };
322
+ });
323
+ } else {
324
+ ldata = this.state.yAxis.map(d => {
325
+ return {
326
+ name: d
327
+ };
328
+ });
329
+ }
319
330
  this.updateState({
320
331
  legendData: ldata
321
332
  });