@wavemaker/app-rn-runtime 11.5.3-next.51552 → 11.5.3-patch.4.2

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 (923) hide show
  1. {app-rn-runtime → package}/components/advanced/carousel/carousel.component.js +9 -7
  2. package/components/advanced/carousel/carousel.component.js.map +1 -0
  3. {app-rn-runtime → package}/components/advanced/webview/webview.component.js +27 -11
  4. package/components/advanced/webview/webview.component.js.map +1 -0
  5. {app-rn-runtime → package}/components/advanced/webview/webview.props.js +0 -1
  6. package/components/advanced/webview/webview.props.js.map +1 -0
  7. {app-rn-runtime → package}/components/basic/button/button.component.js +13 -1
  8. package/components/basic/button/button.component.js.map +1 -0
  9. {app-rn-runtime → package}/components/basic/button/button.styles.js +3 -3
  10. package/components/basic/button/button.styles.js.map +1 -0
  11. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js +9 -4
  12. package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
  13. {app-rn-runtime → package}/components/basic/icon/icon.styles.js +2 -1
  14. package/components/basic/icon/icon.styles.js.map +1 -0
  15. {app-rn-runtime → package}/components/basic/label/label.component.js +33 -26
  16. package/components/basic/label/label.component.js.map +1 -0
  17. {app-rn-runtime → package}/components/basic/label/label.styles.js +1 -4
  18. package/components/basic/label/label.styles.js.map +1 -0
  19. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js +2 -2
  20. package/components/chart/area-chart/area-chart.component.js.map +1 -0
  21. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js +7 -1
  22. package/components/chart/bar-chart/bar-chart.component.js.map +1 -0
  23. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js +0 -2
  24. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js.map +1 -1
  25. {app-rn-runtime → package}/components/chart/basechart.component.js +19 -6
  26. package/components/chart/basechart.component.js.map +1 -0
  27. {app-rn-runtime → package}/components/chart/basechart.props.js +4 -2
  28. package/components/chart/basechart.props.js.map +1 -0
  29. {app-rn-runtime → package}/components/chart/basechart.styles.js +7 -1
  30. package/components/chart/basechart.styles.js.map +1 -0
  31. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js +3 -3
  32. package/components/chart/line-chart/line-chart.component.js.map +1 -0
  33. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js +1 -1
  34. package/components/chart/pie-chart/pie-chart.component.js.map +1 -0
  35. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js +28 -7
  36. package/components/chart/stack-chart/stack-chart.component.js.map +1 -0
  37. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js +1 -0
  38. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js.map +1 -1
  39. package/components/chart/staticdata.js +215 -0
  40. package/components/chart/staticdata.js.map +1 -0
  41. {app-rn-runtime → package}/components/container/container.component.js +11 -2
  42. package/components/container/container.component.js.map +1 -0
  43. {app-rn-runtime → package}/components/container/container.props.js +1 -0
  44. {app-rn-runtime → package}/components/container/container.props.js.map +1 -1
  45. {app-rn-runtime → package}/components/container/wizard/wizard.component.js +11 -8
  46. package/components/container/wizard/wizard.component.js.map +1 -0
  47. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js +21 -2
  48. package/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -0
  49. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js +3 -0
  50. package/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -0
  51. {app-rn-runtime → package}/components/data/list/list.component.js +54 -2
  52. package/components/data/list/list.component.js.map +1 -0
  53. {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js +10 -2
  54. package/components/dialogs/dialog/dialog.styles.js.map +1 -0
  55. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js +12 -6
  56. package/components/input/basenumber/basenumber.component.js.map +1 -0
  57. {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js +5 -5
  58. package/components/input/checkbox/checkbox.component.js.map +1 -0
  59. package/components/input/checkbox/checkbox.styles.js +66 -0
  60. package/components/input/checkbox/checkbox.styles.js.map +1 -0
  61. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.component.js +6 -6
  62. package/components/input/checkboxset/checkboxset.component.js.map +1 -0
  63. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +39 -10
  64. package/components/input/checkboxset/checkboxset.styles.js.map +1 -0
  65. {app-rn-runtime → package}/components/input/composite/composite.component.js +1 -1
  66. {app-rn-runtime → package}/components/input/composite/composite.component.js.map +1 -1
  67. {app-rn-runtime → package}/components/input/composite/composite.props.js +1 -1
  68. package/components/input/composite/composite.props.js.map +1 -0
  69. {app-rn-runtime → package}/components/input/currency/currency.component.js +17 -2
  70. package/components/input/currency/currency.component.js.map +1 -0
  71. {app-rn-runtime → package}/components/input/currency/currency.props.js +1 -0
  72. {app-rn-runtime → package}/components/input/currency/currency.props.js.map +1 -1
  73. {app-rn-runtime → package}/components/input/currency/currency.styles.js +19 -1
  74. package/components/input/currency/currency.styles.js.map +1 -0
  75. {app-rn-runtime → package}/components/input/epoch/base-datetime.component.js +13 -5
  76. package/components/input/epoch/base-datetime.component.js.map +1 -0
  77. {app-rn-runtime → package}/components/input/epoch/date/date.component.js +8 -0
  78. package/components/input/epoch/date/date.component.js.map +1 -0
  79. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js +16 -0
  80. package/components/input/epoch/date/date.styles.js.map +1 -0
  81. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +8 -0
  82. package/components/input/epoch/datetime/datetime.component.js.map +1 -0
  83. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js +1 -0
  84. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js.map +1 -1
  85. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js +21 -1
  86. package/components/input/epoch/datetime/datetime.styles.js.map +1 -0
  87. {app-rn-runtime → package}/components/input/epoch/time/time.component.js +8 -0
  88. package/components/input/epoch/time/time.component.js.map +1 -0
  89. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js +16 -0
  90. package/components/input/epoch/time/time.styles.js.map +1 -0
  91. {app-rn-runtime → package}/components/input/number/number.component.js +11 -0
  92. package/components/input/number/number.component.js.map +1 -0
  93. {app-rn-runtime → package}/components/input/number/number.props.js +1 -0
  94. {app-rn-runtime → package}/components/input/number/number.props.js.map +1 -1
  95. {app-rn-runtime → package}/components/input/number/number.styles.js +17 -0
  96. package/components/input/number/number.styles.js.map +1 -0
  97. {app-rn-runtime → package}/components/input/slider/slider.styles.js +3 -3
  98. {app-rn-runtime → package}/components/input/slider/slider.styles.js.map +1 -1
  99. {app-rn-runtime → package}/components/input/switch/switch.component.js +3 -0
  100. package/components/input/switch/switch.component.js.map +1 -0
  101. {app-rn-runtime → package}/components/input/switch/switch.styles.js +8 -5
  102. package/components/input/switch/switch.styles.js.map +1 -0
  103. {app-rn-runtime → package}/components/input/text/text.component.js +11 -0
  104. package/components/input/text/text.component.js.map +1 -0
  105. {app-rn-runtime → package}/components/input/text/text.props.js +1 -0
  106. package/components/input/text/text.props.js.map +1 -0
  107. {app-rn-runtime → package}/components/input/text/text.styles.js +17 -0
  108. package/components/input/text/text.styles.js.map +1 -0
  109. {app-rn-runtime → package}/components/input/textarea/textarea.component.js +11 -0
  110. package/components/input/textarea/textarea.component.js.map +1 -0
  111. {app-rn-runtime → package}/components/input/textarea/textarea.props.js +1 -0
  112. {app-rn-runtime → package}/components/input/textarea/textarea.props.js.map +1 -1
  113. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js +17 -0
  114. package/components/input/textarea/textarea.styles.js.map +1 -0
  115. {app-rn-runtime → package}/components/input/toggle/toggle.component.js +43 -5
  116. package/components/input/toggle/toggle.component.js.map +1 -0
  117. {app-rn-runtime → package}/components/input/toggle/toggle.styles.js +5 -12
  118. package/components/input/toggle/toggle.styles.js.map +1 -0
  119. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js +6 -1
  120. package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
  121. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js +1 -0
  122. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js.map +1 -1
  123. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js +6 -0
  124. package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
  125. package/components/page/tabbar/curve.js +84 -0
  126. package/components/page/tabbar/curve.js.map +1 -0
  127. {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js +43 -9
  128. package/components/page/tabbar/tabbar.component.js.map +1 -0
  129. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +54 -1
  130. package/components/page/tabbar/tabbar.styles.js.map +1 -0
  131. {app-rn-runtime → package}/core/base.component.js +5 -1
  132. package/core/base.component.js.map +1 -0
  133. package/core/components/flatlist.component.js +38 -0
  134. package/core/components/flatlist.component.js.map +1 -0
  135. package/core/components/floatinglabel.component.js +45 -0
  136. package/core/components/floatinglabel.component.js.map +1 -0
  137. package/core/components/scrollsmart.view.js +23 -0
  138. package/core/components/scrollsmart.view.js.map +1 -0
  139. {app-rn-runtime → package}/core/components/textinput.component.js +25 -2
  140. package/core/components/textinput.component.js.map +1 -0
  141. {app-rn-runtime → package}/core/tappable.component.js +36 -9
  142. package/core/tappable.component.js.map +1 -0
  143. {app-rn-runtime → package}/package.json +5 -3
  144. {app-rn-runtime → package}/runtime/services/webprocess.service.js +0 -1
  145. package/runtime/services/webprocess.service.js.map +1 -0
  146. package/styles/platform-theme-overrides.js +353 -0
  147. package/styles/platform-theme-overrides.js.map +1 -0
  148. app-rn-runtime/styles/theme.js → package/styles/theme copy.js +1 -1
  149. package/styles/theme copy.js.map +1 -0
  150. package/styles/theme.js +389 -0
  151. package/styles/theme.js.map +1 -0
  152. {app-rn-runtime → package}/styles/theme.variables.js +20 -3
  153. package/styles/theme.variables.js.map +1 -0
  154. {app-rn-runtime → package}/variables/model-variable.js +2 -1
  155. package/variables/model-variable.js.map +1 -0
  156. app-rn-runtime/components/advanced/carousel/carousel.component.js.map +0 -1
  157. app-rn-runtime/components/advanced/webview/webview.component.js.map +0 -1
  158. app-rn-runtime/components/advanced/webview/webview.props.js.map +0 -1
  159. app-rn-runtime/components/basic/button/button.component.js.map +0 -1
  160. app-rn-runtime/components/basic/button/button.styles.js.map +0 -1
  161. app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js.map +0 -1
  162. app-rn-runtime/components/basic/icon/icon.styles.js.map +0 -1
  163. app-rn-runtime/components/basic/label/label.component.js.map +0 -1
  164. app-rn-runtime/components/basic/label/label.styles.js.map +0 -1
  165. app-rn-runtime/components/chart/area-chart/area-chart.component.js.map +0 -1
  166. app-rn-runtime/components/chart/bar-chart/bar-chart.component.js.map +0 -1
  167. app-rn-runtime/components/chart/basechart.component.js.map +0 -1
  168. app-rn-runtime/components/chart/basechart.props.js.map +0 -1
  169. app-rn-runtime/components/chart/basechart.styles.js.map +0 -1
  170. app-rn-runtime/components/chart/line-chart/line-chart.component.js.map +0 -1
  171. app-rn-runtime/components/chart/pie-chart/pie-chart.component.js.map +0 -1
  172. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js.map +0 -1
  173. app-rn-runtime/components/container/container.component.js.map +0 -1
  174. app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
  175. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -1
  176. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -1
  177. app-rn-runtime/components/data/list/list.component.js.map +0 -1
  178. app-rn-runtime/components/dialogs/dialog/dialog.styles.js.map +0 -1
  179. app-rn-runtime/components/input/basenumber/basenumber.component.js.map +0 -1
  180. app-rn-runtime/components/input/checkbox/checkbox.component.js.map +0 -1
  181. app-rn-runtime/components/input/checkbox/checkbox.styles.js +0 -36
  182. app-rn-runtime/components/input/checkbox/checkbox.styles.js.map +0 -1
  183. app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +0 -1
  184. app-rn-runtime/components/input/checkboxset/checkboxset.styles.js.map +0 -1
  185. app-rn-runtime/components/input/composite/composite.props.js.map +0 -1
  186. app-rn-runtime/components/input/currency/currency.component.js.map +0 -1
  187. app-rn-runtime/components/input/currency/currency.styles.js.map +0 -1
  188. app-rn-runtime/components/input/epoch/base-datetime.component.js.map +0 -1
  189. app-rn-runtime/components/input/epoch/date/date.component.js.map +0 -1
  190. app-rn-runtime/components/input/epoch/date/date.styles.js.map +0 -1
  191. app-rn-runtime/components/input/epoch/datetime/datetime.component.js.map +0 -1
  192. app-rn-runtime/components/input/epoch/datetime/datetime.styles.js.map +0 -1
  193. app-rn-runtime/components/input/epoch/time/time.component.js.map +0 -1
  194. app-rn-runtime/components/input/epoch/time/time.styles.js.map +0 -1
  195. app-rn-runtime/components/input/number/number.component.js.map +0 -1
  196. app-rn-runtime/components/input/number/number.styles.js.map +0 -1
  197. app-rn-runtime/components/input/switch/switch.component.js.map +0 -1
  198. app-rn-runtime/components/input/switch/switch.styles.js.map +0 -1
  199. app-rn-runtime/components/input/text/text.component.js.map +0 -1
  200. app-rn-runtime/components/input/text/text.props.js.map +0 -1
  201. app-rn-runtime/components/input/text/text.styles.js.map +0 -1
  202. app-rn-runtime/components/input/textarea/textarea.component.js.map +0 -1
  203. app-rn-runtime/components/input/textarea/textarea.styles.js.map +0 -1
  204. app-rn-runtime/components/input/toggle/toggle.component.js.map +0 -1
  205. app-rn-runtime/components/input/toggle/toggle.styles.js.map +0 -1
  206. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +0 -1
  207. app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js.map +0 -1
  208. app-rn-runtime/components/page/tabbar/tabbar.component.js.map +0 -1
  209. app-rn-runtime/components/page/tabbar/tabbar.styles.js.map +0 -1
  210. app-rn-runtime/core/base.component.js.map +0 -1
  211. app-rn-runtime/core/components/textinput.component.js.map +0 -1
  212. app-rn-runtime/core/tappable.component.js.map +0 -1
  213. app-rn-runtime/runtime/services/webprocess.service.js.map +0 -1
  214. app-rn-runtime/styles/theme.js.map +0 -1
  215. app-rn-runtime/styles/theme.variables.js.map +0 -1
  216. app-rn-runtime/variables/model-variable.js.map +0 -1
  217. {app-rn-runtime → package}/actions/base-action.js +0 -0
  218. {app-rn-runtime → package}/actions/base-action.js.map +0 -0
  219. {app-rn-runtime → package}/actions/index.js +0 -0
  220. {app-rn-runtime → package}/actions/index.js.map +0 -0
  221. {app-rn-runtime → package}/actions/login-action.js +0 -0
  222. {app-rn-runtime → package}/actions/login-action.js.map +0 -0
  223. {app-rn-runtime → package}/actions/logout-action.js +0 -0
  224. {app-rn-runtime → package}/actions/logout-action.js.map +0 -0
  225. {app-rn-runtime → package}/actions/navigation-action.js +0 -0
  226. {app-rn-runtime → package}/actions/navigation-action.js.map +0 -0
  227. {app-rn-runtime → package}/actions/notification-action.js +0 -0
  228. {app-rn-runtime → package}/actions/notification-action.js.map +0 -0
  229. {app-rn-runtime → package}/actions/timer-action.js +0 -0
  230. {app-rn-runtime → package}/actions/timer-action.js.map +0 -0
  231. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
  232. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -0
  233. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -0
  234. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -0
  235. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
  236. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
  237. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +0 -0
  238. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -0
  239. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -0
  240. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -0
  241. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +0 -0
  242. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -0
  243. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js +0 -0
  244. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js.map +0 -0
  245. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js +0 -0
  246. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js.map +0 -0
  247. {app-rn-runtime → package}/components/advanced/login/login.component.js +0 -0
  248. {app-rn-runtime → package}/components/advanced/login/login.component.js.map +0 -0
  249. {app-rn-runtime → package}/components/advanced/login/login.props.js +0 -0
  250. {app-rn-runtime → package}/components/advanced/login/login.props.js.map +0 -0
  251. {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
  252. {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
  253. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -0
  254. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -0
  255. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -0
  256. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -0
  257. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
  258. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
  259. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
  260. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
  261. {app-rn-runtime → package}/components/basic/anchor/anchor.component.js +0 -0
  262. {app-rn-runtime → package}/components/basic/anchor/anchor.component.js.map +0 -0
  263. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js +0 -0
  264. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js.map +0 -0
  265. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js +0 -0
  266. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js.map +0 -0
  267. {app-rn-runtime → package}/components/basic/animatedview.component.js +0 -0
  268. {app-rn-runtime → package}/components/basic/animatedview.component.js.map +0 -0
  269. {app-rn-runtime → package}/components/basic/audio/audio.component.js +0 -0
  270. {app-rn-runtime → package}/components/basic/audio/audio.component.js.map +0 -0
  271. {app-rn-runtime → package}/components/basic/audio/audio.props.js +0 -0
  272. {app-rn-runtime → package}/components/basic/audio/audio.props.js.map +0 -0
  273. {app-rn-runtime → package}/components/basic/audio/audio.styles.js +0 -0
  274. {app-rn-runtime → package}/components/basic/audio/audio.styles.js.map +0 -0
  275. {app-rn-runtime → package}/components/basic/button/button.props.js +0 -0
  276. {app-rn-runtime → package}/components/basic/button/button.props.js.map +0 -0
  277. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
  278. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js.map +0 -0
  279. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js +0 -0
  280. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js.map +0 -0
  281. {app-rn-runtime → package}/components/basic/custom/custom.component.js +0 -0
  282. {app-rn-runtime → package}/components/basic/custom/custom.component.js.map +0 -0
  283. {app-rn-runtime → package}/components/basic/custom/custom.props.js +0 -0
  284. {app-rn-runtime → package}/components/basic/custom/custom.props.js.map +0 -0
  285. {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
  286. {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
  287. {app-rn-runtime → package}/components/basic/icon/icon.component.js +0 -0
  288. {app-rn-runtime → package}/components/basic/icon/icon.component.js.map +0 -0
  289. {app-rn-runtime → package}/components/basic/icon/icon.props.js +0 -0
  290. {app-rn-runtime → package}/components/basic/icon/icon.props.js.map +0 -0
  291. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
  292. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
  293. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
  294. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
  295. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
  296. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
  297. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
  298. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
  299. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
  300. {app-rn-runtime → package}/components/basic/label/label.props.js +0 -0
  301. {app-rn-runtime → package}/components/basic/label/label.props.js.map +0 -0
  302. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js +0 -0
  303. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js.map +0 -0
  304. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js +0 -0
  305. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js.map +0 -0
  306. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
  307. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
  308. {app-rn-runtime → package}/components/basic/message/message.component.js +0 -0
  309. {app-rn-runtime → package}/components/basic/message/message.component.js.map +0 -0
  310. {app-rn-runtime → package}/components/basic/message/message.props.js +0 -0
  311. {app-rn-runtime → package}/components/basic/message/message.props.js.map +0 -0
  312. {app-rn-runtime → package}/components/basic/message/message.styles.js +0 -0
  313. {app-rn-runtime → package}/components/basic/message/message.styles.js.map +0 -0
  314. {app-rn-runtime → package}/components/basic/modal/modal.component.js +0 -0
  315. {app-rn-runtime → package}/components/basic/modal/modal.component.js.map +0 -0
  316. {app-rn-runtime → package}/components/basic/modal/modal.props.js +0 -0
  317. {app-rn-runtime → package}/components/basic/modal/modal.props.js.map +0 -0
  318. {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
  319. {app-rn-runtime → package}/components/basic/modal/modal.styles.js.map +0 -0
  320. {app-rn-runtime → package}/components/basic/picture/picture.component.js +0 -0
  321. {app-rn-runtime → package}/components/basic/picture/picture.component.js.map +0 -0
  322. {app-rn-runtime → package}/components/basic/picture/picture.props.js +0 -0
  323. {app-rn-runtime → package}/components/basic/picture/picture.props.js.map +0 -0
  324. {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
  325. {app-rn-runtime → package}/components/basic/picture/picture.styles.js.map +0 -0
  326. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js +0 -0
  327. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js.map +0 -0
  328. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js +0 -0
  329. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js.map +0 -0
  330. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js +0 -0
  331. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js.map +0 -0
  332. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js +0 -0
  333. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js.map +0 -0
  334. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js +0 -0
  335. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js.map +0 -0
  336. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
  337. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js.map +0 -0
  338. {app-rn-runtime → package}/components/basic/search/local-data-provider.js +0 -0
  339. {app-rn-runtime → package}/components/basic/search/local-data-provider.js.map +0 -0
  340. {app-rn-runtime → package}/components/basic/search/search.component.js +0 -0
  341. {app-rn-runtime → package}/components/basic/search/search.component.js.map +0 -0
  342. {app-rn-runtime → package}/components/basic/search/search.props.js +0 -0
  343. {app-rn-runtime → package}/components/basic/search/search.props.js.map +0 -0
  344. {app-rn-runtime → package}/components/basic/search/search.styles.js +0 -0
  345. {app-rn-runtime → package}/components/basic/search/search.styles.js.map +0 -0
  346. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js +0 -0
  347. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js.map +0 -0
  348. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js +0 -0
  349. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js.map +0 -0
  350. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js +0 -0
  351. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js.map +0 -0
  352. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js +0 -0
  353. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js.map +0 -0
  354. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js +0 -0
  355. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js.map +0 -0
  356. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js +0 -0
  357. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js.map +0 -0
  358. {app-rn-runtime → package}/components/basic/video/video.component.js +0 -0
  359. {app-rn-runtime → package}/components/basic/video/video.component.js.map +0 -0
  360. {app-rn-runtime → package}/components/basic/video/video.props.js +0 -0
  361. {app-rn-runtime → package}/components/basic/video/video.props.js.map +0 -0
  362. {app-rn-runtime → package}/components/basic/video/video.styles.js +0 -0
  363. {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
  364. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js +0 -0
  365. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js.map +0 -0
  366. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js +0 -0
  367. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js.map +0 -0
  368. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
  369. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
  370. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js +0 -0
  371. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js.map +0 -0
  372. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js +0 -0
  373. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
  374. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
  375. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
  376. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
  377. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js.map +0 -0
  378. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
  379. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
  380. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
  381. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
  382. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
  383. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js.map +0 -0
  384. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js +0 -0
  385. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js.map +0 -0
  386. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
  387. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
  388. {app-rn-runtime → package}/components/chart/legend/legend.component.js +0 -0
  389. {app-rn-runtime → package}/components/chart/legend/legend.component.js.map +0 -0
  390. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js +0 -0
  391. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js.map +0 -0
  392. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
  393. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
  394. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js +0 -0
  395. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js.map +0 -0
  396. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
  397. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
  398. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js +0 -0
  399. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js.map +0 -0
  400. {app-rn-runtime → package}/components/chart/theme/chart.theme.js +0 -0
  401. {app-rn-runtime → package}/components/chart/theme/chart.theme.js.map +0 -0
  402. {app-rn-runtime → package}/components/container/accordion/accordion.component.js +0 -0
  403. {app-rn-runtime → package}/components/container/accordion/accordion.component.js.map +0 -0
  404. {app-rn-runtime → package}/components/container/accordion/accordion.props.js +0 -0
  405. {app-rn-runtime → package}/components/container/accordion/accordion.props.js.map +0 -0
  406. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js +0 -0
  407. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js.map +0 -0
  408. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js +0 -0
  409. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -0
  410. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js +0 -0
  411. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -0
  412. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
  413. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
  414. {app-rn-runtime → package}/components/container/container.styles.js +0 -0
  415. {app-rn-runtime → package}/components/container/container.styles.js.map +0 -0
  416. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
  417. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -0
  418. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
  419. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -0
  420. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
  421. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
  422. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
  423. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -0
  424. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
  425. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -0
  426. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
  427. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
  428. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
  429. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js.map +0 -0
  430. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
  431. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js.map +0 -0
  432. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
  433. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js.map +0 -0
  434. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js +0 -0
  435. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js.map +0 -0
  436. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
  437. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js.map +0 -0
  438. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
  439. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
  440. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -0
  441. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -0
  442. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
  443. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -0
  444. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
  445. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
  446. {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js +0 -0
  447. {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js.map +0 -0
  448. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
  449. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js.map +0 -0
  450. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js +0 -0
  451. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js.map +0 -0
  452. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
  453. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
  454. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
  455. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js.map +0 -0
  456. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js +0 -0
  457. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js.map +0 -0
  458. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
  459. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
  460. {app-rn-runtime → package}/components/container/panel/panel.component.js +0 -0
  461. {app-rn-runtime → package}/components/container/panel/panel.component.js.map +0 -0
  462. {app-rn-runtime → package}/components/container/panel/panel.props.js +0 -0
  463. {app-rn-runtime → package}/components/container/panel/panel.props.js.map +0 -0
  464. {app-rn-runtime → package}/components/container/panel/panel.styles.js +0 -0
  465. {app-rn-runtime → package}/components/container/panel/panel.styles.js.map +0 -0
  466. {app-rn-runtime → package}/components/container/partial-host.component.js +0 -0
  467. {app-rn-runtime → package}/components/container/partial-host.component.js.map +0 -0
  468. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.component.js +0 -0
  469. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.component.js.map +0 -0
  470. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js +0 -0
  471. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js.map +0 -0
  472. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js +0 -0
  473. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js.map +0 -0
  474. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js +0 -0
  475. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js.map +0 -0
  476. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js +0 -0
  477. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js.map +0 -0
  478. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
  479. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
  480. {app-rn-runtime → package}/components/container/tabs/tabs.component.js +0 -0
  481. {app-rn-runtime → package}/components/container/tabs/tabs.component.js.map +0 -0
  482. {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
  483. {app-rn-runtime → package}/components/container/tabs/tabs.props.js.map +0 -0
  484. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js +0 -0
  485. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js.map +0 -0
  486. {app-rn-runtime → package}/components/container/tile/tile.component.js +0 -0
  487. {app-rn-runtime → package}/components/container/tile/tile.component.js.map +0 -0
  488. {app-rn-runtime → package}/components/container/tile/tile.props.js +0 -0
  489. {app-rn-runtime → package}/components/container/tile/tile.props.js.map +0 -0
  490. {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
  491. {app-rn-runtime → package}/components/container/tile/tile.styles.js.map +0 -0
  492. {app-rn-runtime → package}/components/container/wizard/wizard.props.js +0 -0
  493. {app-rn-runtime → package}/components/container/wizard/wizard.props.js.map +0 -0
  494. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js +0 -0
  495. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js.map +0 -0
  496. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
  497. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
  498. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js +0 -0
  499. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js.map +0 -0
  500. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js +0 -0
  501. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js.map +0 -0
  502. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
  503. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
  504. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js +0 -0
  505. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js.map +0 -0
  506. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js +0 -0
  507. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js.map +0 -0
  508. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
  509. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
  510. {app-rn-runtime → package}/components/data/card/card.component.js +0 -0
  511. {app-rn-runtime → package}/components/data/card/card.component.js.map +0 -0
  512. {app-rn-runtime → package}/components/data/card/card.props.js +0 -0
  513. {app-rn-runtime → package}/components/data/card/card.props.js.map +0 -0
  514. {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
  515. {app-rn-runtime → package}/components/data/card/card.styles.js.map +0 -0
  516. {app-rn-runtime → package}/components/data/form/form-action/form-action.component.js +0 -0
  517. {app-rn-runtime → package}/components/data/form/form-action/form-action.component.js.map +0 -0
  518. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js +0 -0
  519. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js.map +0 -0
  520. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
  521. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js.map +0 -0
  522. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js +0 -0
  523. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js.map +0 -0
  524. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js +0 -0
  525. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js.map +0 -0
  526. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
  527. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
  528. {app-rn-runtime → package}/components/data/form/form-field/form-field.component.js +0 -0
  529. {app-rn-runtime → package}/components/data/form/form-field/form-field.component.js.map +0 -0
  530. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js +0 -0
  531. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js.map +0 -0
  532. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
  533. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js.map +0 -0
  534. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
  535. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js.map +0 -0
  536. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js +0 -0
  537. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js.map +0 -0
  538. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
  539. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
  540. {app-rn-runtime → package}/components/data/form/form.component.js +0 -0
  541. {app-rn-runtime → package}/components/data/form/form.component.js.map +0 -0
  542. {app-rn-runtime → package}/components/data/form/form.props.js +0 -0
  543. {app-rn-runtime → package}/components/data/form/form.props.js.map +0 -0
  544. {app-rn-runtime → package}/components/data/form/form.styles.js +0 -0
  545. {app-rn-runtime → package}/components/data/form/form.styles.js.map +0 -0
  546. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js +0 -0
  547. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js.map +0 -0
  548. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js +0 -0
  549. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js.map +0 -0
  550. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js +0 -0
  551. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js.map +0 -0
  552. {app-rn-runtime → package}/components/data/list/list.props.js +0 -0
  553. {app-rn-runtime → package}/components/data/list/list.props.js.map +0 -0
  554. {app-rn-runtime → package}/components/data/list/list.styles.js +0 -0
  555. {app-rn-runtime → package}/components/data/list/list.styles.js.map +0 -0
  556. {app-rn-runtime → package}/components/data/liveform/liveform.component.js +0 -0
  557. {app-rn-runtime → package}/components/data/liveform/liveform.component.js.map +0 -0
  558. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js +0 -0
  559. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js.map +0 -0
  560. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js +0 -0
  561. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js.map +0 -0
  562. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js +0 -0
  563. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js.map +0 -0
  564. {app-rn-runtime → package}/components/device/camera/camera.component.js +0 -0
  565. {app-rn-runtime → package}/components/device/camera/camera.component.js.map +0 -0
  566. {app-rn-runtime → package}/components/device/camera/camera.props.js +0 -0
  567. {app-rn-runtime → package}/components/device/camera/camera.props.js.map +0 -0
  568. {app-rn-runtime → package}/components/device/camera/camera.styles.js +0 -0
  569. {app-rn-runtime → package}/components/device/camera/camera.styles.js.map +0 -0
  570. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js +0 -0
  571. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js.map +0 -0
  572. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js +0 -0
  573. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js.map +0 -0
  574. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js +0 -0
  575. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -0
  576. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js +0 -0
  577. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -0
  578. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js +0 -0
  579. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -0
  580. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -0
  581. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -0
  582. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js +0 -0
  583. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js.map +0 -0
  584. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js +0 -0
  585. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js.map +0 -0
  586. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
  587. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js.map +0 -0
  588. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js +0 -0
  589. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js.map +0 -0
  590. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
  591. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
  592. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js +0 -0
  593. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -0
  594. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js +0 -0
  595. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -0
  596. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +0 -0
  597. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -0
  598. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js +0 -0
  599. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js.map +0 -0
  600. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js +0 -0
  601. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js.map +0 -0
  602. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
  603. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
  604. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js +0 -0
  605. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js.map +0 -0
  606. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js +0 -0
  607. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js.map +0 -0
  608. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
  609. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
  610. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js +0 -0
  611. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js.map +0 -0
  612. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
  613. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
  614. {app-rn-runtime → package}/components/input/calendar/calendar.component.js +0 -0
  615. {app-rn-runtime → package}/components/input/calendar/calendar.component.js.map +0 -0
  616. {app-rn-runtime → package}/components/input/calendar/calendar.props.js +0 -0
  617. {app-rn-runtime → package}/components/input/calendar/calendar.props.js.map +0 -0
  618. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js +0 -0
  619. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js.map +0 -0
  620. {app-rn-runtime → package}/components/input/calendar/views/month-view.js +0 -0
  621. {app-rn-runtime → package}/components/input/calendar/views/month-view.js.map +0 -0
  622. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js +0 -0
  623. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js.map +0 -0
  624. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js +0 -0
  625. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js.map +0 -0
  626. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js +0 -0
  627. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js.map +0 -0
  628. {app-rn-runtime → package}/components/input/chips/chips.component.js +0 -0
  629. {app-rn-runtime → package}/components/input/chips/chips.component.js.map +0 -0
  630. {app-rn-runtime → package}/components/input/chips/chips.props.js +0 -0
  631. {app-rn-runtime → package}/components/input/chips/chips.props.js.map +0 -0
  632. {app-rn-runtime → package}/components/input/chips/chips.styles.js +0 -0
  633. {app-rn-runtime → package}/components/input/chips/chips.styles.js.map +0 -0
  634. {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
  635. {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
  636. {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
  637. {app-rn-runtime → package}/components/input/epoch/date/date.props.js.map +0 -0
  638. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js +0 -0
  639. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js.map +0 -0
  640. {app-rn-runtime → package}/components/input/epoch/time/time.props.js +0 -0
  641. {app-rn-runtime → package}/components/input/epoch/time/time.props.js.map +0 -0
  642. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js +0 -0
  643. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js.map +0 -0
  644. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js +0 -0
  645. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js.map +0 -0
  646. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
  647. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
  648. {app-rn-runtime → package}/components/input/radioset/radioset.component.js +0 -0
  649. {app-rn-runtime → package}/components/input/radioset/radioset.component.js.map +0 -0
  650. {app-rn-runtime → package}/components/input/radioset/radioset.props.js +0 -0
  651. {app-rn-runtime → package}/components/input/radioset/radioset.props.js.map +0 -0
  652. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js +0 -0
  653. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js.map +0 -0
  654. {app-rn-runtime → package}/components/input/rating/rating.component.js +0 -0
  655. {app-rn-runtime → package}/components/input/rating/rating.component.js.map +0 -0
  656. {app-rn-runtime → package}/components/input/rating/rating.props.js +0 -0
  657. {app-rn-runtime → package}/components/input/rating/rating.props.js.map +0 -0
  658. {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
  659. {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
  660. {app-rn-runtime → package}/components/input/select/select.component.js +0 -0
  661. {app-rn-runtime → package}/components/input/select/select.component.js.map +0 -0
  662. {app-rn-runtime → package}/components/input/select/select.props.js +0 -0
  663. {app-rn-runtime → package}/components/input/select/select.props.js.map +0 -0
  664. {app-rn-runtime → package}/components/input/select/select.styles.js +0 -0
  665. {app-rn-runtime → package}/components/input/select/select.styles.js.map +0 -0
  666. {app-rn-runtime → package}/components/input/slider/slider.component.js +0 -0
  667. {app-rn-runtime → package}/components/input/slider/slider.component.js.map +0 -0
  668. {app-rn-runtime → package}/components/input/slider/slider.props.js +0 -0
  669. {app-rn-runtime → package}/components/input/slider/slider.props.js.map +0 -0
  670. {app-rn-runtime → package}/components/input/switch/switch.props.js +0 -0
  671. {app-rn-runtime → package}/components/input/switch/switch.props.js.map +0 -0
  672. {app-rn-runtime → package}/components/input/toggle/toggle.props.js +0 -0
  673. {app-rn-runtime → package}/components/input/toggle/toggle.props.js.map +0 -0
  674. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js +0 -0
  675. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js.map +0 -0
  676. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js +0 -0
  677. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js.map +0 -0
  678. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
  679. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
  680. {app-rn-runtime → package}/components/navigation/menu/menu.component.js +0 -0
  681. {app-rn-runtime → package}/components/navigation/menu/menu.component.js.map +0 -0
  682. {app-rn-runtime → package}/components/navigation/menu/menu.props.js +0 -0
  683. {app-rn-runtime → package}/components/navigation/menu/menu.props.js.map +0 -0
  684. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js +0 -0
  685. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js.map +0 -0
  686. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js +0 -0
  687. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js.map +0 -0
  688. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js +0 -0
  689. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js.map +0 -0
  690. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
  691. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js.map +0 -0
  692. {app-rn-runtime → package}/components/navigation/navitem/navitem.component.js +0 -0
  693. {app-rn-runtime → package}/components/navigation/navitem/navitem.component.js.map +0 -0
  694. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js +0 -0
  695. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js.map +0 -0
  696. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js +0 -0
  697. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js.map +0 -0
  698. {app-rn-runtime → package}/components/navigation/popover/popover.component.js +0 -0
  699. {app-rn-runtime → package}/components/navigation/popover/popover.component.js.map +0 -0
  700. {app-rn-runtime → package}/components/navigation/popover/popover.props.js +0 -0
  701. {app-rn-runtime → package}/components/navigation/popover/popover.props.js.map +0 -0
  702. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js +0 -0
  703. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js.map +0 -0
  704. {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
  705. {app-rn-runtime → package}/components/page/content/content.component.js.map +0 -0
  706. {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
  707. {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
  708. {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
  709. {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
  710. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js +0 -0
  711. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js.map +0 -0
  712. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js +0 -0
  713. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js.map +0 -0
  714. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js +0 -0
  715. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js.map +0 -0
  716. {app-rn-runtime → package}/components/page/page-content/page-content.component.js +0 -0
  717. {app-rn-runtime → package}/components/page/page-content/page-content.component.js.map +0 -0
  718. {app-rn-runtime → package}/components/page/page-content/page-content.props.js +0 -0
  719. {app-rn-runtime → package}/components/page/page-content/page-content.props.js.map +0 -0
  720. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
  721. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js.map +0 -0
  722. {app-rn-runtime → package}/components/page/page.component.js +0 -0
  723. {app-rn-runtime → package}/components/page/page.component.js.map +0 -0
  724. {app-rn-runtime → package}/components/page/page.props.js +0 -0
  725. {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
  726. {app-rn-runtime → package}/components/page/page.styles.js +0 -0
  727. {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
  728. {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
  729. {app-rn-runtime → package}/components/page/partial/partial.component.js.map +0 -0
  730. {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
  731. {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
  732. {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
  733. {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
  734. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js +0 -0
  735. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js.map +0 -0
  736. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js +0 -0
  737. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js.map +0 -0
  738. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
  739. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
  740. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js +0 -0
  741. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js.map +0 -0
  742. {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
  743. {app-rn-runtime → package}/components/prefab/prefab-container.component.js.map +0 -0
  744. {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
  745. {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
  746. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
  747. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
  748. {app-rn-runtime → package}/core/AppConfig.js +0 -0
  749. {app-rn-runtime → package}/core/AppConfig.js.map +0 -0
  750. {app-rn-runtime → package}/core/asset.provider.js +0 -0
  751. {app-rn-runtime → package}/core/asset.provider.js.map +0 -0
  752. {app-rn-runtime → package}/core/constant.service.js +0 -0
  753. {app-rn-runtime → package}/core/constant.service.js.map +0 -0
  754. {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
  755. {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
  756. {app-rn-runtime → package}/core/currency-constants.js +0 -0
  757. {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
  758. {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
  759. {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
  760. {app-rn-runtime → package}/core/device/camera-service.js +0 -0
  761. {app-rn-runtime → package}/core/device/camera-service.js.map +0 -0
  762. {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
  763. {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
  764. {app-rn-runtime → package}/core/device/location-service.js +0 -0
  765. {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
  766. {app-rn-runtime → package}/core/device/scan-service.js +0 -0
  767. {app-rn-runtime → package}/core/device/scan-service.js.map +0 -0
  768. {app-rn-runtime → package}/core/display.manager.js +0 -0
  769. {app-rn-runtime → package}/core/display.manager.js.map +0 -0
  770. {app-rn-runtime → package}/core/event-notifier.js +0 -0
  771. {app-rn-runtime → package}/core/event-notifier.js.map +0 -0
  772. {app-rn-runtime → package}/core/file-extension-types.js +0 -0
  773. {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
  774. {app-rn-runtime → package}/core/fixed-view.component.js +0 -0
  775. {app-rn-runtime → package}/core/fixed-view.component.js.map +0 -0
  776. {app-rn-runtime → package}/core/formatters.js +0 -0
  777. {app-rn-runtime → package}/core/formatters.js.map +0 -0
  778. {app-rn-runtime → package}/core/i18n.service.js +0 -0
  779. {app-rn-runtime → package}/core/i18n.service.js.map +0 -0
  780. {app-rn-runtime → package}/core/if.component.js +0 -0
  781. {app-rn-runtime → package}/core/if.component.js.map +0 -0
  782. {app-rn-runtime → package}/core/imageSizeEstimator.js +0 -0
  783. {app-rn-runtime → package}/core/imageSizeEstimator.js.map +0 -0
  784. {app-rn-runtime → package}/core/injector.js +0 -0
  785. {app-rn-runtime → package}/core/injector.js.map +0 -0
  786. {app-rn-runtime → package}/core/key.extractor.js +0 -0
  787. {app-rn-runtime → package}/core/key.extractor.js.map +0 -0
  788. {app-rn-runtime → package}/core/logger.js +0 -0
  789. {app-rn-runtime → package}/core/logger.js.map +0 -0
  790. {app-rn-runtime → package}/core/modal.service.js +0 -0
  791. {app-rn-runtime → package}/core/modal.service.js.map +0 -0
  792. {app-rn-runtime → package}/core/navigation.service.js +0 -0
  793. {app-rn-runtime → package}/core/navigation.service.js.map +0 -0
  794. {app-rn-runtime → package}/core/network.service.js +0 -0
  795. {app-rn-runtime → package}/core/network.service.js.map +0 -0
  796. {app-rn-runtime → package}/core/partial.service.js +0 -0
  797. {app-rn-runtime → package}/core/partial.service.js.map +0 -0
  798. {app-rn-runtime → package}/core/props.provider.js +0 -0
  799. {app-rn-runtime → package}/core/props.provider.js.map +0 -0
  800. {app-rn-runtime → package}/core/scroll-view.component.js +0 -0
  801. {app-rn-runtime → package}/core/scroll-view.component.js.map +0 -0
  802. {app-rn-runtime → package}/core/security.service.js +0 -0
  803. {app-rn-runtime → package}/core/security.service.js.map +0 -0
  804. {app-rn-runtime → package}/core/spinner.service.js +0 -0
  805. {app-rn-runtime → package}/core/spinner.service.js.map +0 -0
  806. {app-rn-runtime → package}/core/storage.service.js +0 -0
  807. {app-rn-runtime → package}/core/storage.service.js.map +0 -0
  808. {app-rn-runtime → package}/core/testid.provider.js +0 -0
  809. {app-rn-runtime → package}/core/testid.provider.js.map +0 -0
  810. {app-rn-runtime → package}/core/toast.service.js +0 -0
  811. {app-rn-runtime → package}/core/toast.service.js.map +0 -0
  812. {app-rn-runtime → package}/core/utils.js +0 -0
  813. {app-rn-runtime → package}/core/utils.js.map +0 -0
  814. {app-rn-runtime → package}/core/viewport.js +0 -0
  815. {app-rn-runtime → package}/core/viewport.js.map +0 -0
  816. {app-rn-runtime → package}/gestures/swipe.animation.js +0 -0
  817. {app-rn-runtime → package}/gestures/swipe.animation.js.map +0 -0
  818. {app-rn-runtime → package}/index.js +0 -0
  819. {app-rn-runtime → package}/index.js.map +0 -0
  820. {app-rn-runtime → package}/runtime/App.js +0 -0
  821. {app-rn-runtime → package}/runtime/App.js.map +0 -0
  822. {app-rn-runtime → package}/runtime/App.navigator.js +0 -0
  823. {app-rn-runtime → package}/runtime/App.navigator.js.map +0 -0
  824. {app-rn-runtime → package}/runtime/base-fragment.component.js +0 -0
  825. {app-rn-runtime → package}/runtime/base-fragment.component.js.map +0 -0
  826. {app-rn-runtime → package}/runtime/base-page.component.js +0 -0
  827. {app-rn-runtime → package}/runtime/base-page.component.js.map +0 -0
  828. {app-rn-runtime → package}/runtime/base-partial.component.js +0 -0
  829. {app-rn-runtime → package}/runtime/base-partial.component.js.map +0 -0
  830. {app-rn-runtime → package}/runtime/base-prefab.component.js +0 -0
  831. {app-rn-runtime → package}/runtime/base-prefab.component.js.map +0 -0
  832. {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
  833. {app-rn-runtime → package}/runtime/lib-patch.js.map +0 -0
  834. {app-rn-runtime → package}/runtime/memo.component.js +0 -0
  835. {app-rn-runtime → package}/runtime/memo.component.js.map +0 -0
  836. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
  837. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js.map +0 -0
  838. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js +0 -0
  839. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js.map +0 -0
  840. {app-rn-runtime → package}/runtime/platform.api.js +0 -0
  841. {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
  842. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js +0 -0
  843. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js.map +0 -0
  844. {app-rn-runtime → package}/runtime/services/app-i18n.service.js +0 -0
  845. {app-rn-runtime → package}/runtime/services/app-i18n.service.js.map +0 -0
  846. {app-rn-runtime → package}/runtime/services/app-modal.service.js +0 -0
  847. {app-rn-runtime → package}/runtime/services/app-modal.service.js.map +0 -0
  848. {app-rn-runtime → package}/runtime/services/app-security.service.js +0 -0
  849. {app-rn-runtime → package}/runtime/services/app-security.service.js.map +0 -0
  850. {app-rn-runtime → package}/runtime/services/app-spinner.service.js +0 -0
  851. {app-rn-runtime → package}/runtime/services/app-spinner.service.js.map +0 -0
  852. {app-rn-runtime → package}/runtime/services/app-toast.service.js +0 -0
  853. {app-rn-runtime → package}/runtime/services/app-toast.service.js.map +0 -0
  854. {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
  855. {app-rn-runtime → package}/runtime/services/device/calendar-service.js.map +0 -0
  856. {app-rn-runtime → package}/runtime/services/device/camera-service.js +0 -0
  857. {app-rn-runtime → package}/runtime/services/device/camera-service.js.map +0 -0
  858. {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
  859. {app-rn-runtime → package}/runtime/services/device/contacts-service.js.map +0 -0
  860. {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
  861. {app-rn-runtime → package}/runtime/services/device/location-service.js.map +0 -0
  862. {app-rn-runtime → package}/runtime/services/device/permissions.js +0 -0
  863. {app-rn-runtime → package}/runtime/services/device/permissions.js.map +0 -0
  864. {app-rn-runtime → package}/runtime/services/device/scan-service.js +0 -0
  865. {app-rn-runtime → package}/runtime/services/device/scan-service.js.map +0 -0
  866. {app-rn-runtime → package}/runtime/services/partial.service.js +0 -0
  867. {app-rn-runtime → package}/runtime/services/partial.service.js.map +0 -0
  868. {app-rn-runtime → package}/runtime/watcher.js +0 -0
  869. {app-rn-runtime → package}/runtime/watcher.js.map +0 -0
  870. {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
  871. {app-rn-runtime → package}/styles/MediaQueryList.js.map +0 -0
  872. {app-rn-runtime → package}/styles/background.component.js +0 -0
  873. {app-rn-runtime → package}/styles/background.component.js.map +0 -0
  874. {app-rn-runtime → package}/styles/style-prop.validator.js +0 -0
  875. {app-rn-runtime → package}/styles/style-prop.validator.js.map +0 -0
  876. {app-rn-runtime → package}/styles/style-props.js +0 -0
  877. {app-rn-runtime → package}/styles/style-props.js.map +0 -0
  878. {app-rn-runtime → package}/variables/base-variable.js +0 -0
  879. {app-rn-runtime → package}/variables/base-variable.js.map +0 -0
  880. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
  881. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js.map +0 -0
  882. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
  883. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js.map +0 -0
  884. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
  885. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js.map +0 -0
  886. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
  887. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js.map +0 -0
  888. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
  889. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js.map +0 -0
  890. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
  891. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js.map +0 -0
  892. {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
  893. {app-rn-runtime → package}/variables/device/device/app-info.operation.js.map +0 -0
  894. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
  895. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js.map +0 -0
  896. {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
  897. {app-rn-runtime → package}/variables/device/device/device-info.operation.js.map +0 -0
  898. {app-rn-runtime → package}/variables/device/device/network-info.operation.js +0 -0
  899. {app-rn-runtime → package}/variables/device/device/network-info.operation.js.map +0 -0
  900. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
  901. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js.map +0 -0
  902. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js +0 -0
  903. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js.map +0 -0
  904. {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
  905. {app-rn-runtime → package}/variables/device/operation.provider.js.map +0 -0
  906. {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
  907. {app-rn-runtime → package}/variables/device/scan/scan.operation.js.map +0 -0
  908. {app-rn-runtime → package}/variables/device-variable.js +0 -0
  909. {app-rn-runtime → package}/variables/device-variable.js.map +0 -0
  910. {app-rn-runtime → package}/variables/http.service.js +0 -0
  911. {app-rn-runtime → package}/variables/http.service.js.map +0 -0
  912. {app-rn-runtime → package}/variables/live-variable.js +0 -0
  913. {app-rn-runtime → package}/variables/live-variable.js.map +0 -0
  914. {app-rn-runtime → package}/variables/service-variable.js +0 -0
  915. {app-rn-runtime → package}/variables/service-variable.js.map +0 -0
  916. {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
  917. {app-rn-runtime → package}/variables/utils/dataset-util.js.map +0 -0
  918. {app-rn-runtime → package}/variables/utils/inflight-queue.js +0 -0
  919. {app-rn-runtime → package}/variables/utils/inflight-queue.js.map +0 -0
  920. {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
  921. {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
  922. {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
  923. {app-rn-runtime → package}/variables/utils/variable.utils.js.map +0 -0
@@ -8,6 +8,7 @@ import { DefaultKeyExtractor } from '@wavemaker/app-rn-runtime/core/key.extracto
8
8
  import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
9
9
  import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
10
10
  import * as SwipeAnimation from '@wavemaker/app-rn-runtime/gestures/swipe.animation';
11
+ import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
11
12
  import WmCarouselProps from './carousel.props';
12
13
  import { DEFAULT_CLASS } from './carousel.styles';
13
14
  export class WmCarouselState extends BaseComponentState {
@@ -256,12 +257,6 @@ export default class WmCarousel extends BaseComponent {
256
257
  return /*#__PURE__*/React.createElement(Animated.View, {
257
258
  key: this.generateItemKey(item, index, props),
258
259
  onLayout: this.addSlideLayout.bind(this, index),
259
- onTouchEnd: () => {
260
- var _this$animationView7;
261
- this.onSlideChange(index + 1);
262
- const position = this.slidesLayout.filter((l, i) => i < index).reduce((s, l) => s + l.width, 0);
263
- (_this$animationView7 = this.animationView) === null || _this$animationView7 === void 0 ? void 0 : _this$animationView7.setPosition(-1 * position);
264
- },
265
260
  style: [{
266
261
  height: props.type === 'dynamic' ? undefined : '100%'
267
262
  }, this.styles.slide, index === 0 ? this.styles.firstSlide : null, index === data.length - 1 ? this.styles.lastSlide : null, isActive ? this.styles.activeSlide : null, translateX && scale ? {
@@ -271,7 +266,14 @@ export default class WmCarousel extends BaseComponent {
271
266
  scale: scale
272
267
  }]
273
268
  } : null]
274
- }, this.renderItem(item, index));
269
+ }, /*#__PURE__*/React.createElement(Tappable, {
270
+ onTap: () => {
271
+ var _this$animationView7;
272
+ this.onSlideChange(index + 1);
273
+ const position = this.slidesLayout.filter((l, i) => i < index).reduce((s, l) => s + l.width, 0);
274
+ (_this$animationView7 = this.animationView) === null || _this$animationView7 === void 0 ? void 0 : _this$animationView7.setPosition(-1 * position);
275
+ }
276
+ }, this.renderItem(item, index)));
275
277
  })), hasNavs ? /*#__PURE__*/React.createElement(View, {
276
278
  style: styles.btnPanel
277
279
  }, /*#__PURE__*/React.createElement(WmIcon, {
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","isArray","isUndefined","Animated","Easing","View","DefaultKeyExtractor","WmIcon","BaseComponent","BaseComponentState","SwipeAnimation","Tappable","WmCarouselProps","DEFAULT_CLASS","WmCarouselState","constructor","arguments","_defineProperty","WmCarousel","props","Value","bounds","e","_this$slidesLayout","_this$slidesLayout$ac","activeTabIndex","state","activeIndex","lower","slidesLayout","filter","l","i","reduce","s","width","center","upper","computePhase","value","_this$slidesLayout$ac2","w","Math","abs","onLower","onSlideChange","onUpper","index","prevIndex","updateState","invokeEventCallback","animatePagination","item","type","renderSlide","children","data","dataset","length","_this$animationView","animationView","setPosition","_this$animationView2","goToUpper","_this$animationView3","goToLower","cleanup","push","stopPlay","addSlideLayout","nativeEvent","layout","forceUpdate","generateItemKey","itemkey","_showSkeleton","keyExtractor","getKey","autoPlay","animation","animationinterval","intervalId","setInterval","next","clearInterval","setTimeout","_this$animationView4","onPropertyChange","name","$new","$old","_this$keyExtractor","clear","min","_this$styles$dotStyle","_this$styles$dotStyle2","_this$styles$dotStyle3","margin","styles","dotStyle","marginLeft","marginRight","size","position","max","scale","options","useNativeDriver","duration","easing","out","linear","sequence","timing","dotScale","toValue","parallel","dotPosition","isRTL","start","renderPagination","maxNoOfDots","maxnoofdots","minIndex","maxIndex","createElement","style","dotsWrapperStyle","flexDirection","map","key","activeDotStyle","undefined","height","transform","translateX","right","left","renderWidget","_data","_this$styles$slide","hasNavs","controls","hasDots","noOfSlides","slideScale","slideTranslateX","slide","_this$styles$slide2","_this$styles$slide3","find","o","root","_background","enableGestures","enablegestures","direction","ref","r","handlers","animationHandlers","slideMinWidth","_this$animationView5","_this$animationView6","isActive","animationPhase","interpolate","inputRange","outputRange","onLayout","bind","firstSlide","lastSlide","activeSlide","onTap","_this$animationView7","renderItem","btnPanel","id","getTestId","iconclass","prevBtn","prev","nextBtn"],"sources":["carousel.component.tsx"],"sourcesContent":["import React from 'react';\nimport { isArray, isUndefined } from 'lodash-es';\nimport { Animated, Easing, View, 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';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\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 slidesLayout: LayoutRectangle[] = [];\n private keyExtractor = new DefaultKeyExtractor();\n stopPlay: Function = null as any;\n private dotScale = new Animated.Value(0);\n private dotPosition = new Animated.Value(0);\n private animationView: SwipeAnimation.View | null = null as any;\n private animationHandlers = {\n bounds: (e) => {\n const activeTabIndex = this.state.activeIndex - 1;\n let lower = 0;\n if (activeTabIndex > 0) {\n lower = this.slidesLayout\n .filter((l , i) => i < activeTabIndex - 1)\n .reduce((s, l) => s + l.width, 0);\n }\n let center = lower + (this.slidesLayout[activeTabIndex - 1]?.width || 0);\n let upper = center + (this.slidesLayout[activeTabIndex]?.width || 0);\n return {\n lower: -1 * lower,\n center: -1 * center,\n upper: -1 * upper\n };\n },\n computePhase: (value) => {\n const activeTabIndex = this.state.activeIndex - 1;\n const w = this.slidesLayout[activeTabIndex]?.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 addSlideLayout(index: number, nativeEvent: LayoutChangeEvent) {\n this.slidesLayout[index] = nativeEvent.nativeEvent.layout;\n if (index === this.state.activeIndex) {\n this.forceUpdate();\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 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 || 1)\n } as WmCarouselState);\n break;\n }\n case 'animation':\n case 'animationinterval' : {\n this.autoPlay();\n }\n }\n }\n\n animatePagination(index: number) {\n const prevIndex = this.state.activeIndex;\n const margin = ((this.styles.dotStyle?.marginLeft as number)|| 0) + \n ((this.styles.dotStyle?.marginRight as number)|| 0)\n const width = (this.styles.dotStyle?.width as number)|| 2;\n const size = margin + width;\n const position = Math.max(index - 1, 0) * size;\n const scale = Math.abs(index - prevIndex) * size;\n const options = {\n useNativeDriver: true,\n duration: 200,\n easing: Easing.out(Easing.linear)\n };\n if (prevIndex < index) {\n Animated.sequence([\n Animated.timing(this.dotScale, {\n toValue: scale,\n ...options\n }),\n Animated.parallel([\n Animated.timing(this.dotScale, {\n toValue: 0,\n ...options\n }),\n Animated.timing(this.dotPosition, {\n toValue: (this.isRTL ? -1: 1) * position,\n ...options\n })\n ])\n ]).start();\n } else if (prevIndex > index) {\n Animated.sequence([\n Animated.parallel([\n Animated.timing(this.dotScale, {\n toValue: scale,\n ...options\n }),\n Animated.timing(this.dotPosition, {\n toValue: (this.isRTL ? -1: 1) * position,\n ...options\n })\n ]),\n Animated.timing(this.dotScale, {\n toValue: 0,\n ...options\n }),\n ]).start();\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 this.animatePagination(index);\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, this) : null;\n }\n return props.children[index];\n }\n\n next = () => {\n const props = this.state.props;\n const data = props.type === 'dynamic' ? props.dataset : props.children;\n if (this.state.activeIndex >= data?.length || 0) {\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 <View style={{flexDirection: this.isRTL ? 'row-reverse' : 'row'}}>\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={[this.styles.dotStyle]}>\n </View>) : null;\n })\n }\n <Animated.View style={[\n this.styles.dotStyle,\n this.styles.activeDotStyle, {\n width: undefined,\n height: undefined,\n transform: [{\n translateX: this.dotPosition\n }]\n }, this.isRTL ? { right: 0 } : { left: 0}]}>\n <Animated.View style={[{\n width: 1,\n height: 1\n }, {\n // This is failing in Android\n // minWidth: this.dotScale\n }]}>\n </Animated.View>\n </Animated.View>\n </View>\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 let slideScale = undefined as any;\n let slideTranslateX = undefined as any;\n if (isArray(this.styles.slide?.transform)) {\n slideScale = (this.styles.slide?.transform?.find(o => !isUndefined((o as any).scale)) as any)?.scale;\n slideTranslateX = (this.styles.slide?.transform?.find(o => !isUndefined((o as any).translateX)) as any)?.translateX;\n }\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}>\n {this._background}\n <SwipeAnimation.View \n enableGestures={props.enablegestures}\n style={{\n height: props.type === 'dynamic' ? undefined : '100%',\n }}\n direction='horizontal'\n ref={(r) => {this.animationView = r}}\n handlers = {this.animationHandlers}\n slideMinWidth={this.styles.slide.width}\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: [slideScale, slideScale, 1, slideScale, slideScale]\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 onLayout={this.addSlideLayout.bind(this, index)}\n style={[\n {height: props.type === 'dynamic' ? undefined : '100%'},\n 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: !isUndefined(slideTranslateX) ? slideTranslateX : translateX\n }, {\n scale: scale\n }\n ]\n } : null]}>\n <Tappable onTap={() => {\n this.onSlideChange(index + 1);\n const position = this.slidesLayout\n .filter((l , i) => i < index)\n .reduce((s, l) => s + l.width, 0);\n this.animationView?.setPosition(-1 * position);\n }}>\n {this.renderItem(item, index)}\n </Tappable>\n </Animated.View>\n );\n })}\n </SwipeAnimation.View>\n {hasNavs ? (\n <View style={styles.btnPanel}>\n <WmIcon\n id={this.getTestId('prev_icon')}\n iconclass=\"wi wi-chevron-left fa-2x\"\n styles={styles.prevBtn}\n onTap={this.prev}/>\n <WmIcon\n id={this.getTestId('next_icon')}\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,EAAEC,WAAW,QAAQ,WAAW;AAChD,SAASC,QAAQ,EAAEC,MAAM,EAAEC,IAAI,QAA4C,cAAc;AACzF,SAASC,mBAAmB,QAAQ,8CAA8C;AAClF,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAO,KAAKC,cAAc,MAAM,oDAAoD;AACpF,SAASC,QAAQ,QAAQ,mDAAmD;AAE5E,OAAOC,eAAe,MAAM,kBAAkB;AAC9C,SAASC,aAAa,QAA0B,mBAAmB;AAEnE,OAAO,MAAMC,eAAe,SAASL,kBAAkB,CAAkB;EAAAM,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,sBACzD,CAAC;EAAA;AACjB;AAEA,eAAe,MAAMC,UAAU,SAASV,aAAa,CAAqD;EAuCxGO,WAAWA,CAACI,MAAsB,EAAE;IAClC,KAAK,CAACA,MAAK,EAAEN,aAAa,EAAE,IAAID,eAAe,CAAC,CAAC,EAAE,IAAIE,eAAe,CAAC,CAAC,CAAC;IAACG,eAAA,qBAtCvD,CAAC;IAAAA,eAAA,uBACoB,EAAE;IAAAA,eAAA,uBACrB,IAAIX,mBAAmB,CAAC,CAAC;IAAAW,eA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CAAE;MAChCC,SAAS,EAAC,0BAA0B;MACpClF,MAAM,EAAEA,MAAM,CAACmF,OAAQ;MACvBP,KAAK,EAAE,IAAI,CAACQ;IAAK,CAAC,CAAC,eACrBtL,KAAA,CAAA6H,aAAA,CAACtH,MAAM;MACL2K,EAAE,EAAE,IAAI,CAACC,SAAS,CAAC,WAAW,CAAE;MAChCC,SAAS,EAAC,2BAA2B;MACrClF,MAAM,EAAEA,MAAM,CAACqF,OAAQ;MACvBT,KAAK,EAAE,IAAI,CAAC3F;IAAK,CAAC,CAChB,CAAC,GAAG,IAAI,EACb4D,OAAO,IAAIvF,IAAI,GAAG,IAAI,CAACgE,gBAAgB,CAAChE,IAAI,CAAC,GAAG,IAC/C,CAAC;EACX;AACF"}
@@ -8,7 +8,15 @@ import { HideMode } from '@wavemaker/app-rn-runtime/core/if.component';
8
8
  import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
9
9
  import WmWebviewProps from './webview.props';
10
10
  import { DEFAULT_CLASS } from './webview.styles';
11
- class WmWebViewState extends BaseComponentState {}
11
+ class WmWebViewState extends BaseComponentState {
12
+ constructor() {
13
+ super(...arguments);
14
+ _defineProperty(this, "currentTarget", {
15
+ title: '',
16
+ src: ''
17
+ });
18
+ }
19
+ }
12
20
  export default class WmWebview extends BaseComponent {
13
21
  constructor(props) {
14
22
  super(props, DEFAULT_CLASS, new WmWebviewProps());
@@ -34,16 +42,6 @@ export default class WmWebview extends BaseComponent {
34
42
  this.invokeEventCallback('onMessage', [event, this]);
35
43
  }
36
44
  });
37
- _defineProperty(this, "onLoad", (e, title, url) => {
38
- this.updateState({
39
- props: {
40
- title: title,
41
- src: url
42
- }
43
- }, () => {
44
- this.invokeEventCallback('onLoad', [e, this]);
45
- });
46
- });
47
45
  this.hideMode = HideMode.DONOT_ADD_TO_DOM;
48
46
  BackHandler.addEventListener('hardwareBackPress', this.handleBackButtonPress);
49
47
  }
@@ -51,6 +49,14 @@ export default class WmWebview extends BaseComponent {
51
49
  super.componentWillUnmount();
52
50
  BackHandler.removeEventListener('hardwareBackPress', this.handleBackButtonPress);
53
51
  }
52
+ get title() {
53
+ var _this$state$currentTa;
54
+ return (_this$state$currentTa = this.state.currentTarget) === null || _this$state$currentTa === void 0 ? void 0 : _this$state$currentTa.title;
55
+ }
56
+ get currentsrc() {
57
+ var _this$state$currentTa2;
58
+ return (_this$state$currentTa2 = this.state.currentTarget) === null || _this$state$currentTa2 === void 0 ? void 0 : _this$state$currentTa2.src;
59
+ }
54
60
  executeScript(fn) {
55
61
  return new Promise((resolve, reject) => {
56
62
  if (this.webview) {
@@ -100,6 +106,16 @@ export default class WmWebview extends BaseComponent {
100
106
  // browser blocks cross origin access to iframe content.
101
107
  }
102
108
  }
109
+ onLoad(e, title, src) {
110
+ this.updateState({
111
+ currentTarget: {
112
+ title: title,
113
+ src: src
114
+ }
115
+ }, () => {
116
+ this.invokeEventCallback('onLoad', [e, this]);
117
+ });
118
+ }
103
119
  renderWidget(props) {
104
120
  return /*#__PURE__*/React.createElement(View, {
105
121
  style: this.styles.root
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","BackHandler","Platform","View","WebView","HideMode","BaseComponent","BaseComponentState","WmWebviewProps","DEFAULT_CLASS","WmWebViewState","constructor","arguments","_defineProperty","title","src","WmWebview","props","webview","webViewState","canGoBack","goBack","event","_event$nativeEvent","data","nativeEvent","startsWith","id","match","callback","invokeJSCallbacks","result","substring","indexOf","parseResult","invokeEventCallback","hideMode","DONOT_ADD_TO_DOM","addEventListener","handleBackButtonPress","componentWillUnmount","removeEventListener","_this$state$currentTa","state","currentTarget","currentsrc","_this$state$currentTa2","executeScript","fn","Promise","resolve","reject","Date","now","injectJavaScript","insertCSS","style","length","undefined","replace","JSON","parse","e","getTitle","iframe","contentWindow","document","onLoad","updateState","renderWidget","createElement","styles","root","_background","OS","width","height","ref","nestedScrollEnabled","source","uri","testID","getTestId","incognito","onMessage","sharedCookiesEnabled","onNavigationStateChange","scrollEnabled","onLoadEnd","url"],"sources":["webview.component.tsx"],"sourcesContent":["import React from 'react';\nimport { BackHandler, Platform, View } from 'react-native';\nimport { WebView, WebViewNavigation, WebViewMessageEvent } from 'react-native-webview';\nimport { HideMode } from '@wavemaker/app-rn-runtime/core/if.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmWebviewProps from './webview.props';\nimport { DEFAULT_CLASS, WebviewStyles } from './webview.styles';\n\nclass WmWebViewState extends BaseComponentState<WmWebviewProps> {\n currentTarget = {\n title: '',\n src: ''\n };\n\n}\n\nexport default class WmWebview extends BaseComponent<WmWebviewProps, WmWebViewState, WebviewStyles> {\n\n private webview: WebView | null = null as any;\n private webViewState: WebViewNavigation = null as any;\n private invokeJSCallbacks = {} as any;\n\n constructor(props: WmWebviewProps) {\n super(props, DEFAULT_CLASS, new WmWebviewProps());\n this.hideMode = HideMode.DONOT_ADD_TO_DOM;\n BackHandler.addEventListener('hardwareBackPress', this.handleBackButtonPress);\n }\n\n componentWillUnmount() {\n super.componentWillUnmount();\n BackHandler.removeEventListener('hardwareBackPress', this.handleBackButtonPress);\n }\n\n handleBackButtonPress = (): boolean => {\n if (this.webview && this.webViewState && this.webViewState.canGoBack) {\n this.webview.goBack();\n return true;\n }\n return false;\n }\n\n get title() {\n return this.state.currentTarget?.title;\n }\n\n get currentsrc() {\n return this.state.currentTarget?.src;\n }\n\n executeScript(fn: string) {\n return new Promise((resolve, reject) => {\n if (this.webview) {\n const id = '' + Date.now();\n this.invokeJSCallbacks[id] = resolve;\n fn = `\n (function(){\n try{\n return (${fn});\n } catch(e) {\n return e.getMessage();\n }\n }())\n `;\n this.webview.injectJavaScript(\n `window.ReactNativeWebView.postMessage('afterInjectJavaScript:' + ${id} + ':' + JSON.stringify(${fn}))`\n );\n } else {\n reject();\n }\n });\n }\n\n insertCSS(style = '') {\n style = style.replace(/[\\n\\t\\r]/g, '');\n return this.executeScript(`\n function() {\n const style = document.createElement('style');\n style.innerHTML = '${style}';\n document.head.appendChild(style);\n return 'SUCCESS';\n }()\n `);\n }\n\n parseResult(result: string) {\n try {\n return JSON.parse(result);\n } catch(e) {\n if (result === 'undefined' || result === 'null') {\n return null;\n }\n return result;\n }\n }\n\n onMessage = (event: WebViewMessageEvent) => {\n const data: string = event.nativeEvent?.data;\n if (data && data.startsWith('afterInjectJavaScript')) {\n const id = data?.match(/\\:([0-9]+)\\:/);\n const callback = id && this.invokeJSCallbacks[id[1]];\n const result = data.substring(data.indexOf(':', data.indexOf(':') + 1) + 1);\n callback && callback(this.parseResult(result));\n } else {\n this.invokeEventCallback('onMessage', [event, this]);\n }\n }\n\n getTitle(iframe: any) {\n try {\n return iframe.currentTarget.contentWindow.document.title;\n } catch(e) {\n // browser blocks cross origin access to iframe content.\n }\n }\n\n public onLoad(e: any, title: string, src: string) {\n this.updateState({\n currentTarget: {\n title: title,\n src: src\n }\n } as WmWebViewState, () => {\n this.invokeEventCallback('onLoad', [e, this]);\n });\n }\n\n protected renderWidget(props: WmWebviewProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n {Platform.OS === 'web' ?\n (<iframe src={props.src} width={'100%'} height={'100%'}\n onLoad={(e) => this.onLoad(e, this.getTitle(e.currentTarget), (e.currentTarget as any).src)}></iframe>) :\n (<WebView\n ref={(ref) => this.webview = ref}\n nestedScrollEnabled={true}\n style={this.styles.webview}\n source={{\n uri: props.src\n }}\n testID={this.getTestId('web_view')}\n incognito={props.incognito}\n onMessage={this.onMessage}\n sharedCookiesEnabled={true}\n onNavigationStateChange={(state) => {\n this.webViewState = state;\n }}\n scrollEnabled={true}\n onLoadEnd={(e) => this.onLoad(e, e.nativeEvent.title, e.nativeEvent.url)}>\n </WebView>)}\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,WAAW,EAAEC,QAAQ,EAAEC,IAAI,QAAQ,cAAc;AAC1D,SAASC,OAAO,QAAgD,sBAAsB;AACtF,SAASC,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WmWebviewProps extends BaseProps {
6
6
  constructor() {
7
7
  super(...arguments);
8
8
  _defineProperty(this, "src", null);
9
- _defineProperty(this, "title", null);
10
9
  _defineProperty(this, "incognito", false);
11
10
  _defineProperty(this, "onLoad", null);
12
11
  }
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseProps","WmWebviewProps","constructor","arguments","_defineProperty"],"sources":["webview.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmWebview from './webview.component';\n\nexport default class WmWebviewProps extends BaseProps {\n src: string = null as any;\n incognito? = false;\n onLoad?: ($event: any, $widget: WmWebview) => void = null as any;\n}"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAGzE,eAAe,MAAMC,cAAc,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,cACtC,IAAI;IAAAA,eAAA,oBACL,KAAK;IAAAA,eAAA,iBACmC,IAAI;EAAA;AAC3D"}
@@ -38,8 +38,20 @@ export default class WmButton extends BaseComponent {
38
38
  renderWidget(props) {
39
39
  return /*#__PURE__*/React.createElement(Animatedview, {
40
40
  entryanimation: props.animation,
41
- style: this.styles.root
41
+ style: [this.styles.root, {
42
+ paddingTop: 0,
43
+ paddingBottom: 0,
44
+ paddingLeft: 0,
45
+ paddingRight: 0,
46
+ overflow: 'hidden'
47
+ }]
42
48
  }, this._background, /*#__PURE__*/React.createElement(Tappable, _extends({
49
+ styles: {
50
+ paddingTop: this.styles.root.paddingTop,
51
+ paddingBottom: this.styles.root.paddingBottom,
52
+ paddingLeft: this.styles.root.paddingLeft,
53
+ paddingRight: this.styles.root.paddingRight
54
+ },
43
55
  target: this
44
56
  }, this.getTestPropsForAction()), /*#__PURE__*/React.createElement(View, {
45
57
  style: [this.styles.content, {
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","Tappable","Badge","WmButtonProps","DEFAULT_CLASS","WmIcon","Animatedview","createSkeleton","WmButtonState","WmButton","constructor","props","prepareIcon","iconclass","createElement","_extends","getTestPropsForLabel","styles","icon","name","iconsize","prepareBadge","style","badge","badgevalue","renderSkeleton","prop","theme","skeleton","root","width","skeletonwidth","height","skeletonheight","renderWidget","entryanimation","animation","paddingTop","paddingBottom","paddingLeft","paddingRight","overflow","_background","target","getTestPropsForAction","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 (props.iconclass? <WmIcon\n {...this.getTestPropsForLabel('icon')}\n styles={this.styles.icon} name={props.name + '_icon'} iconclass={props.iconclass} iconsize={props.iconsize}></WmIcon>: null);\n }\n\n private prepareBadge(props: any) {\n //@ts-ignore\n return (<Badge style={this.styles.badge}>{props.badgevalue}</Badge>);\n }\n\n public renderSkeleton(prop: WmButtonProps) {\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.styles.root.width)as DimensionValue,\n height: (this.props.skeletonheight || this.styles.root.height) as DimensionValue\n });\n }\n\n renderWidget(props: WmButtonProps) {\n return (\n <Animatedview entryanimation={props.animation}\n style={[\n this.styles.root,\n {\n paddingTop: 0,\n paddingBottom: 0,\n paddingLeft: 0,\n paddingRight: 0,\n overflow: 'hidden'\n }\n ]}>\n {this._background}\n <Tappable\n styles={{\n paddingTop: this.styles.root.paddingTop,\n paddingBottom: this.styles.root.paddingBottom,\n paddingLeft: this.styles.root.paddingLeft,\n paddingRight: this.styles.root.paddingRight\n }}\n target={this}\n {...this.getTestPropsForAction()}>\n <View\n style={[\n this.styles.content,\n { flexDirection: props.iconposition === 'top' ? 'column' : 'row' }\n ]}>\n {props.iconposition === 'top' && this.prepareIcon(props)}\n {props.iconposition === 'left' && this.prepareIcon(props)}\n {props.caption ? (\n <Text\n style={this.styles.text}\n {...this.getTestPropsForLabel('caption')}>\n {props.caption}\n </Text>\n ) : 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,OAAQA,KAAK,CAACE,SAAS,gBAAEjB,KA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,QAAQ,EAAAc,QAAA;MACPE,MAAM,EAAE;QACNoB,UAAU,EAAE,IAAI,CAACpB,MAAM,CAACY,IAAI,CAACQ,UAAU;QACvCC,aAAa,EAAE,IAAI,CAACrB,MAAM,CAACY,IAAI,CAACS,aAAa;QAC7CC,WAAW,EAAE,IAAI,CAACtB,MAAM,CAACY,IAAI,CAACU,WAAW;QACzCC,YAAY,EAAE,IAAI,CAACvB,MAAM,CAACY,IAAI,CAACW;MACjC,CAAE;MACFG,MAAM,EAAE;IAAK,GACT,IAAI,CAACC,qBAAqB,CAAC,CAAC,gBAChChD,KAAA,CAAAkB,aAAA,CAAChB,IAAI;MACHwB,KAAK,EAAE,CACL,IAAI,CAACL,MAAM,CAAC4B,OAAO,EACnB;QAAEC,aAAa,EAAEnC,KAAK,CAACoC,YAAY,KAAK,KAAK,GAAG,QAAQ,GAAG;MAAM,CAAC;IAClE,GACDpC,KAAK,CAACoC,YAAY,KAAK,KAAK,IAAI,IAAI,CAACnC,WAAW,CAACD,KAAK,CAAC,EACvDA,KAAK,CAACoC,YAAY,KAAK,MAAM,IAAI,IAAI,CAACnC,WAAW,CAACD,KAAK,CAAC,EACxDA,KAAK,CAACqC,OAAO,gBACZpD,KAAA,CAAAkB,aAAA,CAACjB,IAAI,EAAAkB,QAAA;MACHO,KAAK,EAAE,IAAI,CAACL,MAAM,CAACgC;IAAK,GACpB,IAAI,CAACjC,oBAAoB,CAAC,SAAS,CAAC,GACvCL,KAAK,CAACqC,OACH,CAAC,GACL,IAAI,EACPrC,KAAK,CAACoC,YAAY,KAAK,OAAO,IAAI,IAAI,CAACnC,WAAW,CAACD,KAAK,CAAC,EACzDA,KAAK,CAACa,UAAU,IAAI,IAAI,CAACH,YAAY,CAACV,KAAK,CACxC,CACE,CACE,CAAC;EAEnB;AACF"}
@@ -5,9 +5,9 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
5
  const defaultStyles = defineStyles({
6
6
  root: {
7
7
  minHeight: 40,
8
- borderRadius: 6,
9
- paddingTop: 11,
10
- paddingBottom: 11,
8
+ borderRadius: 50,
9
+ paddingTop: 12,
10
+ paddingBottom: 14,
11
11
  paddingLeft: 24,
12
12
  paddingRight: 24,
13
13
  alignSelf: 'flex-start'
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","minHeight","borderRadius","paddingTop","paddingBottom","paddingLeft","paddingRight","alignSelf","content","flexDirection","alignItems","justifyContent","text","fontSize","fontFamily","baseFont","fontWeight","textAlign","textTransform","marginHorizontal","badge","backgroundColor","buttonBadgeBackgroundColor","color","buttonBadgeTextColor","position","top","marginLeft","borderWidth","borderStyle","icon","buttonTextPadding","skeleton","width","height","opacity","getButtonStyles","bgColor","borderColor","arguments","length","undefined","linkBtnStyle","buttonLinkColor","buttonLinkTextColor","buttonWithOnlyLabel","paddingVertical","textDecorationColor","textDecorationLine","textDecorationStyle","buttonDefaultColor","buttonDefaultTextColor","buttonBorderColor","buttonInfoColor","buttonInfoTextColor","buttonPrimaryColor","buttonPrimaryTextColor","buttonSecondaryColor","buttonSecondaryTextColor","buttonDangerColor","buttonDangerTextColor","buttonSuccessColor","buttonSuccessTextColor","buttonWarningColor","buttonWarningTextColor","buttonDarkColor","buttonDarkTextColor","buttonLightColor","buttonLightTextColor","getStyle","bottom","right","marginRight"],"sources":["button.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmIconStyles } from '../icon/icon.styles';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmButtonStyles = BaseStyles & {\n content: AllStyle,\n badge: AllStyle,\n icon: WmIconStyles,\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-button';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmButtonStyles = defineStyles<WmButtonStyles>({\n root: {\n minHeight: 40,\n borderRadius: 50,\n paddingTop: 12,\n paddingBottom: 14,\n paddingLeft: 24,\n paddingRight: 24,\n alignSelf: 'flex-start'\n },\n content: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center'\n },\n text: {\n fontSize: 14,\n fontFamily: themeVariables.baseFont,\n fontWeight: '500',\n textAlign: 'center',\n textTransform: 'capitalize',\n marginHorizontal: 4\n },\n badge: {\n backgroundColor: themeVariables.buttonBadgeBackgroundColor,\n color: themeVariables.buttonBadgeTextColor,\n alignSelf: 'flex-start',\n position: 'relative',\n minHeight: 6,\n top: -20,\n marginLeft: -16,\n borderWidth: 1,\n borderStyle: 'solid'\n },\n icon: {\n root : {\n alignSelf: 'auto',\n paddingLeft: -8,\n paddingRight: -8\n },\n text: {\n paddingRight: themeVariables.buttonTextPadding,\n fontSize: 16\n }\n } as WmIconStyles,\n skeleton: {\n root: {\n width: 96,\n height: 48,\n borderRadius: 4\n }\n } as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n root : {\n opacity: 0.5\n }\n });\n\n const getButtonStyles = (bgColor: string, color: string, borderColor = bgColor) => {\n return {\n root: {\n borderWidth: 1,\n borderColor: borderColor,\n borderStyle: 'solid',\n backgroundColor: bgColor\n },\n text: {\n color: color\n },\n badge: {\n backgroundColor: color,\n color: bgColor,\n borderColor: bgColor\n },\n icon: {\n text: {\n color: color\n }\n }\n } as WmButtonStyles;\n }\n\n const linkBtnStyle = getButtonStyles(themeVariables.buttonLinkColor, themeVariables.buttonLinkTextColor );\nconst buttonWithOnlyLabel = getButtonStyles(themeVariables.buttonLinkColor, themeVariables.buttonLinkTextColor );\n\n linkBtnStyle.root.paddingVertical = 4;\n linkBtnStyle.text.textDecorationColor = themeVariables.buttonLinkTextColor;\n linkBtnStyle.text.textDecorationLine = 'underline';\n linkBtnStyle.text.textDecorationStyle = 'solid';\n\n addStyle('btn-default', '', getButtonStyles(themeVariables.buttonDefaultColor, themeVariables.buttonDefaultTextColor, themeVariables.buttonBorderColor));\n addStyle('btn-info', '', getButtonStyles(themeVariables.buttonInfoColor, themeVariables.buttonInfoTextColor));\n addStyle('btn-primary', '', getButtonStyles(themeVariables.buttonPrimaryColor, themeVariables.buttonPrimaryTextColor));\n addStyle('btn-secondary', '', getButtonStyles(themeVariables.buttonSecondaryColor, themeVariables.buttonSecondaryTextColor, themeVariables.buttonSecondaryTextColor));\n addStyle('btn-danger', '', getButtonStyles(themeVariables.buttonDangerColor, themeVariables.buttonDangerTextColor));\n addStyle('btn-success', '', getButtonStyles(themeVariables.buttonSuccessColor, themeVariables.buttonSuccessTextColor));\n addStyle('btn-warning', '', getButtonStyles(themeVariables.buttonWarningColor, themeVariables.buttonWarningTextColor));\n addStyle('btn-link', '', linkBtnStyle);\n addStyle('btn-only-label', '', buttonWithOnlyLabel);\n addStyle('btn-dark', '', getButtonStyles(themeVariables.buttonDarkColor, themeVariables.buttonDarkTextColor));\n addStyle('btn-light', '', getButtonStyles(themeVariables.buttonLightColor, themeVariables.buttonLightTextColor));\n addStyle('fab-btn', 'btn-primary', {\n root : {\n ...BASE_THEME.getStyle('elevate2').root,\n position: 'fixed' as any,\n bottom: 160,\n right: 48,\n width: 56,\n height: 56,\n borderRadius: 56,\n justifyContent: 'center',\n alignItems: 'center'\n },\n text: {\n marginLeft: 0,\n marginRight: 0\n },\n icon: {\n icon: {\n fontSize: 24\n }\n } as WmIconStyles\n } as WmButtonStyles);\n addStyle('mini-fab-btn', 'fab-btn', {\n root : {\n width: 40,\n height: 40\n }\n } as WmButtonStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAWxF,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAA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,EAAE,aAAa,EAAE;IACjCE,IAAI,EAAG;MACL,GAAGP,UAAU,CAAC4E,QAAQ,CAAC,UAAU,CAAC,CAACrE,IAAI;MACvCyB,QAAQ,EAAE,OAAc;MACxB6C,MAAM,EAAE,GAAG;MACXC,KAAK,EAAE,EAAE;MACTtC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE,EAAE;MACVhC,YAAY,EAAE,EAAE;MAChBS,cAAc,EAAE,QAAQ;MACxBD,UAAU,EAAE;IACd,CAAC;IACDE,IAAI,EAAE;MACJe,UAAU,EAAE,CAAC;MACb6C,WAAW,EAAE;IACf,CAAC;IACD1C,IAAI,EAAE;MACJA,IAAI,EAAE;QACJjB,QAAQ,EAAE;MACZ;IACF;EACF,CAAmB,CAAC;EACpBf,QAAQ,CAAC,cAAc,EAAE,SAAS,EAAE;IAClCE,IAAI,EAAG;MACLiC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE;IACV;EACF,CAAmB,CAAC;AACtB,CAAC,CAAC"}
@@ -11,7 +11,8 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
11
11
  borderWidth: 1,
12
12
  borderStyle: 'solid',
13
13
  borderColor: themeVariables.buttonGrpBorderColor,
14
- backgroundColor: themeVariables.buttonGrpBgColor
14
+ backgroundColor: themeVariables.buttonGrpBgColor,
15
+ overflow: 'hidden'
15
16
  },
16
17
  text: {},
17
18
  skeleton: {
@@ -41,9 +42,13 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
41
42
  addStyle('btn-group-first-child', '', {
42
43
  root: {
43
44
  borderLeftWidth: 0,
44
- borderRadius: 0,
45
- backgroundColor: 'transparent',
46
- borderColor: themeVariables.buttonGrpBorderColor
45
+ borderRadius: 0
46
+ }
47
+ });
48
+ addStyle('btn-group-last-child', '', {
49
+ root: {
50
+ borderRightWidth: 0,
51
+ borderRadius: 0
47
52
  }
48
53
  });
49
54
  addStyle(DEFAULT_CLASS, '', defaultStyles);
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","alignSelf","alignItems","borderRadius","borderWidth","borderStyle","borderColor","buttonGrpBorderColor","backgroundColor","buttonGrpBgColor","overflow","text","skeleton","width","height","borderTopWidth","borderBottomWidth","borderLeftWidth","borderRightWidth","flex","color","defaultColor9"],"sources":["buttongroup.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmButtonStyles } from '../button/button.styles';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmButtongroupStyles = BaseStyles & {\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-buttongroup';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmButtongroupStyles = defineStyles({\n root: {\n flexDirection: 'row',\n alignSelf: 'flex-start',\n alignItems: 'center',\n borderRadius: 100,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.buttonGrpBorderColor,\n backgroundColor: themeVariables.buttonGrpBgColor,\n overflow: 'hidden'\n }, \n text: {},\n skeleton: {\n root : {\n width: '100%',\n height: 48,\n borderRadius: 4,\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as any as WmSkeletonStyles\n });\n\n\n addStyle('btn-group-child', '', {\n root: {\n borderTopWidth: 0,\n borderBottomWidth: 0,\n borderLeftWidth: 1,\n borderRightWidth: 0,\n borderRadius: 0,\n backgroundColor: 'transparent',\n flex: 1,\n borderColor: themeVariables.buttonGrpBorderColor,\n },\n text: {\n color: themeVariables.defaultColor9,\n }\n } as WmButtonStyles);\n addStyle('btn-group-first-child', '', {\n root: {\n borderLeftWidth: 0,\n borderRadius: 0\n }\n } as WmButtonStyles);\n addStyle('btn-group-last-child', '', {\n root: {\n borderRightWidth: 0,\n borderRadius: 0\n }\n } as WmButtonStyles);\n add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B;EACF,CAAmB,CAAC;EACpBN,QAAQ,CAAC,sBAAsB,EAAE,EAAE,EAAE;IACnCE,IAAI,EAAE;MACJmB,gBAAgB,EAAE,CAAC;MACnBf,YAAY,EAAE;IAChB;EACF,CAAmB,CAAC;EACpBN,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC"}
@@ -9,7 +9,8 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
9
9
  alignItems: 'center'
10
10
  },
11
11
  icon: {
12
- paddingLeft: 0
12
+ paddingLeft: 0,
13
+ paddingRight: 8
13
14
  },
14
15
  text: {
15
16
  paddingLeft: 8
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","alignSelf","alignItems","icon","paddingLeft","paddingRight","text","skeleton","width","height","borderRadius"],"sources":["icon.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmIconStyles = BaseStyles & {\n icon?: AllStyle,\n skeleton: WmSkeletonStyles\n};\nexport const DEFAULT_CLASS = 'app-icon';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmIconStyles = defineStyles({\n root: {\n flexDirection: 'row',\n alignSelf: 'flex-start',\n alignItems: 'center'\n },\n icon: {\n paddingLeft: 0,\n paddingRight: 8\n },\n text: {\n paddingLeft: 8\n },\n skeleton:{\n root: {\n width: 32,\n height: 32,\n borderRadius: 4\n }\n } as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n text: {\n paddingRight: 8 \n }\n });\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAqB,wCAAwC;AAC9E,SAAqBC,YAAY,QAAQ,+CAA+C;AAOxF,OAAO,MAAMC,aAAa,GAAG,UAAU;AACvCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAA2B,GAAGL,YAAY,CAAC;IAC7CM,IAAI,EAAE;MACFC,aAAa,EAAE,KAAK;MACpBC,SAAS,EAAE,YAAY;MACvBC,UAAU,EAAE;IAChB,CAAC;IACDC,IAAI,EAAE;MACFC,WAAW,EAAE,CAAC;MACdC,YAAY,EAAE;IAClB,CAAC;IACDC,IAAI,EAAE;MACFF,WAAW,EAAE;IACjB,CAAC;IACDG,QAAQ,EAAC;MACLR,IAAI,EAAE;QACFS,KAAK,EAAE,EAAE;QACTC,MAAM,EAAE,EAAE;QACVC,YAAY,EAAE;MAClB;IACJ;EACJ,CAAC,CAAC;EAEFb,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAE;IACjCY,IAAI,EAAE;MACFD,YAAY,EAAE;IAClB;EACJ,CAAC,CAAC;AACN,CAAC,CAAC"}
@@ -1,3 +1,4 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
2
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
3
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
4
  function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
@@ -5,12 +6,12 @@ import React from 'react';
5
6
  import { Text, View } from 'react-native';
6
7
  import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
7
8
  import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
9
+ import { NavigationServiceConsumer } from '@wavemaker/app-rn-runtime/core/navigation.service';
8
10
  import WmLabelProps from './label.props';
9
11
  import { DEFAULT_CLASS } from './label.styles';
10
12
  import { isNil, toString } from 'lodash-es';
11
13
  import { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';
12
14
  import { createSkeleton } from '../skeleton/skeleton.component';
13
- import WmAnchor from '../anchor/anchor.component';
14
15
  export class WmLabelState extends BaseComponentState {
15
16
  constructor() {
16
17
  super(...arguments);
@@ -53,17 +54,18 @@ export default class WmLabel extends BaseComponent {
53
54
  return [];
54
55
  }
55
56
  caption += '';
57
+ caption = caption.replace(/\(\s*\)/, '(#/__EMPTY__)');
56
58
  const pattern = /\[([^\]]+)\]\(([^)]*)\)/g;
57
59
  const linkRegex = /^(((http|https):\/\/)|#)[^ "]+$/;
58
60
  const captionSplit = caption.split(pattern);
59
61
  let parts = [];
60
62
  for (let i = 0; i < captionSplit.length; i++) {
61
- const isLink = captionSplit[i] === "" || linkRegex.test(captionSplit[i]);
63
+ const isLink = linkRegex.test(captionSplit[i]);
62
64
  let part = {};
63
- const isNextTextALink = captionSplit[i + 1] === "" || linkRegex.test(captionSplit[i + 1]) || false;
65
+ const isNextTextALink = linkRegex.test(captionSplit[i + 1]);
64
66
  if (isLink) {
65
67
  part.text = captionSplit[i - 1] ?? '';
66
- part.link = captionSplit[i];
68
+ part.link = captionSplit[i] === '#/__EMPTY__' ? '' : captionSplit[i];
67
69
  } else {
68
70
  part.text = isNextTextALink ? "" : captionSplit[i];
69
71
  }
@@ -93,34 +95,39 @@ export default class WmLabel extends BaseComponent {
93
95
  }
94
96
  }
95
97
  renderWidget(props) {
96
- var _this$state$parts;
97
98
  const linkStyles = this.theme.mergeStyle({
98
99
  text: this.styles.text
99
100
  }, this.styles.link);
100
101
  return !isNil(props.caption) ? /*#__PURE__*/React.createElement(Animatedview, {
101
102
  entryanimation: props.animation,
102
103
  style: this.styles.root
103
- }, this._background, /*#__PURE__*/React.createElement(Tappable, {
104
- target: this
105
- }, /*#__PURE__*/React.createElement(Text, {
106
- style: {
107
- flexWrap: "wrap",
108
- textAlign: this.styles.text.textAlign
109
- },
110
- numberOfLines: props.nooflines,
111
- ellipsizeMode: "tail"
112
- }, (_this$state$parts = this.state.parts) === null || _this$state$parts === void 0 ? void 0 : _this$state$parts.map((part, index) => /*#__PURE__*/React.createElement(React.Fragment, {
113
- key: `part_${index}`
114
- }, !isNil(part.link) ? /*#__PURE__*/React.createElement(WmAnchor, {
115
- styles: linkStyles,
116
- caption: part.text,
117
- hyperlink: part.link
118
- }) : /*#__PURE__*/React.createElement(Text, {
119
- style: [this.styles.text, {
120
- color: props.isValid === false ? 'red' : this.styles.text.color
121
- }],
122
- selectable: this.styles.text.userSelect === 'text'
123
- }, toString(part.text), props.required && this.getAsterisk())))))) : null;
104
+ }, this._background, /*#__PURE__*/React.createElement(NavigationServiceConsumer, null, navigationService => {
105
+ var _this$state$parts;
106
+ return /*#__PURE__*/React.createElement(Tappable, {
107
+ target: this
108
+ }, /*#__PURE__*/React.createElement(Text, {
109
+ style: {
110
+ flexWrap: "wrap",
111
+ textAlign: this.styles.text.textAlign
112
+ },
113
+ numberOfLines: props.nooflines,
114
+ ellipsizeMode: "tail"
115
+ }, (_this$state$parts = this.state.parts) === null || _this$state$parts === void 0 ? void 0 : _this$state$parts.map((part, index) => {
116
+ const isLink = !isNil(part.link);
117
+ return /*#__PURE__*/React.createElement(Text, _extends({
118
+ key: `part_${index}`,
119
+ style: [this.styles.text, isLink ? this.styles.link.text : null, props.isValid ? null : {
120
+ color: 'red'
121
+ }]
122
+ }, this.getTestPropsForLabel(isLink ? `link_${index}` : `${index}`), {
123
+ selectable: this.styles.text.userSelect === 'text'
124
+ }, part.link ? {
125
+ onPress: () => {
126
+ part.link && navigationService.openUrl(part.link, '_blank');
127
+ }
128
+ } : {}), toString(part.text), props.required && this.getAsterisk());
129
+ })));
130
+ })) : null;
124
131
  }
125
132
  }
126
133
  //# sourceMappingURL=label.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","Tappable","NavigationServiceConsumer","WmLabelProps","DEFAULT_CLASS","isNil","toString","Animatedview","createSkeleton","WmLabelState","constructor","arguments","_defineProperty","WmLabel","props","getAsterisk","createElement","style","styles","asterisk","onPropertyChange","name","$new","$old","updateState","parts","parseCaption","getMultilineSkeleton","width","height","borderRadius","marginBottom","theme","skeleton","caption","replace","pattern","linkRegex","captionSplit","split","i","length","isLink","test","part","isNextTextALink","text","link","push","renderSkeleton","_this$styles$root","_this$styles$root2","skeletonWidth","skeletonwidth","root","skeletonHeight","skeletonheight","fontSize","multilineskeleton","renderWidget","linkStyles","mergeStyle","entryanimation","animation","_background","navigationService","_this$state$parts","target","flexWrap","textAlign","numberOfLines","nooflines","ellipsizeMode","state","map","index","_extends","key","isValid","color","getTestPropsForLabel","selectable","userSelect","onPress","openUrl","required"],"sources":["label.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 NavigationService, { NavigationServiceConsumer } from '@wavemaker/app-rn-runtime/core/navigation.service';\n\n\nimport WmLabelProps from './label.props';\nimport { DEFAULT_CLASS, WmLabelStyles } from './label.styles';\nimport { isNil, toString } from 'lodash-es';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\ntype PartType = {\n text?: string,\n link?: string,\n};\n\nexport class WmLabelState extends BaseComponentState<WmLabelProps> {\n parts: PartType[] = []\n}\n\nexport default class WmLabel extends BaseComponent<WmLabelProps, WmLabelState, WmLabelStyles> {\n\n constructor(props: WmLabelProps) {\n super(props, DEFAULT_CLASS, new WmLabelProps(), new WmLabelState());\n }\n\n private getAsterisk () {\n return <Text style={this.styles.asterisk}>*</Text>;\n }\n\n public onPropertyChange(name: string, $new: any, $old: any): void {\n super.onPropertyChange(name, $new, $old);\n\n switch(name) {\n case \"caption\":\n this.updateState({\n parts: this.parseCaption($new)\n } as WmLabelState);\n break;\n }\n }\n private getMultilineSkeleton(width: any, height: any) {\n const styles = {\n borderRadius:4,\n marginBottom: 10,\n height: height\n };\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...styles,\n width: width,\n height: height\n });\n }\n\n parseCaption(caption: string) {\n if (!caption) {\n return [];\n }\n caption += '';\n caption = caption.replace(/\\(\\s*\\)/, '(#/__EMPTY__)');\n const pattern = /\\[([^\\]]+)\\]\\(([^)]*)\\)/g;\n const linkRegex = /^(((http|https):\\/\\/)|#)[^ \"]+$/;\n const captionSplit = caption.split(pattern);\n\n let parts = [];\n\n for (let i = 0; i < captionSplit.length; i++) {\n const isLink = linkRegex.test(captionSplit[i]);\n let part: PartType = {};\n \n const isNextTextALink = linkRegex.test(captionSplit[i + 1]);\n if (isLink) {\n part.text = captionSplit[i - 1] ?? '';\n part.link = captionSplit[i] === '#/__EMPTY__' ? '' : captionSplit[i];\n } else {\n part.text = isNextTextALink ? \"\" : captionSplit[i];\n };\n\n if (part.text) {\n parts.push(part);\n }\n }\n\n return parts;\n }\n\n public renderSkeleton(props: WmLabelProps){\n const skeletonWidth = this.props.skeletonwidth || this.styles.root?.width;\n const skeletonHeight = this.props.skeletonheight || this.styles.root?.height || this.styles.text.fontSize;\n if(this.props.multilineskeleton) {\n return (<View style={{\n width: skeletonWidth as DimensionValue\n }}>\n {this.getMultilineSkeleton('100%', skeletonHeight)}\n {this.getMultilineSkeleton('70%', skeletonHeight)}\n {this.getMultilineSkeleton('40%', skeletonHeight)}\n </View>)\n }\n else{\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: skeletonWidth as DimensionValue,\n height: skeletonHeight as DimensionValue\n }); \n }\n }\n\n renderWidget(props: WmLabelProps) {\n const linkStyles = this.theme.mergeStyle({text: this.styles.text}, this.styles.link);\n return !isNil(props.caption) ? (\n <Animatedview entryanimation={props.animation} style={this.styles.root}>\n {this._background}\n <NavigationServiceConsumer>\n {(navigationService: NavigationService) => {\n return (<Tappable target={this}>\n <Text style={{flexWrap: \"wrap\", textAlign: this.styles.text.textAlign}} numberOfLines={props.nooflines} ellipsizeMode=\"tail\">\n {this.state.parts?.map((part, index) => {\n const isLink = !isNil(part.link);\n return (\n <Text\n key={`part_${index}`}\n style={[\n this.styles.text,\n isLink ? this.styles.link.text : null,\n props.isValid ? null : { color: 'red'}\n ]}\n {...this.getTestPropsForLabel(isLink ? `link_${index}` : `${index}`)}\n selectable={this.styles.text.userSelect === 'text'}\n {...part.link ? {\n onPress: () => {\n part.link && navigationService.openUrl(part.link, '_blank');\n }\n }: {}}\n >\n {toString(part.text)}\n {props.required && this.getAsterisk()}\n </Text>\n );\n })}\n </Text>\n </Tappable>)}}\n </NavigationServiceConsumer>\n </Animatedview>\n ) : null;\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,SAA4BC,yBAAyB,QAAQ,mDAAmD;AAGhH,OAAOC,YAAY,MAAM,eAAe;AACxC,SAASC,aAAa,QAAuB,gBAAgB;AAC7D,SAASC,KAAK,EAAEC,QAAQ,QAAQ,WAAW;AAC3C,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAAqBC,cAAc,QAAQ,gCAAgC;AAO3E,OAAO,MAAMC,YAAY,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AC,EACnBhC,KAAK,CAACuE,QAAQ,IAAI,IAAI,CAACtE,WAAW,CAAC,CAChC,CAAC;MAEX,CAAC,CACG,CACE,CAAC;IAAC,CACa,CACf,CAAC,GACb,IAAI;EACV;AACF"}
@@ -21,11 +21,8 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
21
21
  }
22
22
  },
23
23
  link: {
24
- root: {
25
- marginBottom: -4
26
- },
27
24
  text: {
28
- padding: 0
25
+ textDecorationLine: 'underline'
29
26
  }
30
27
  }
31
28
  });
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","deepCopy","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","fontSize","color","labelDefaultColor","asterisk","labelAsteriskColor","marginLeft","skeleton","width","height","borderRadius","link","textDecorationLine","flexDirection","textAlign","getLabelStyles","textColor","backgroundColor","paddingLeft","paddingTop","paddingRight","paddingBottom","fontWeight","labelDangerColor","labelDangerContrastColor","labelDefaultContrastColor","labelInfoColor","labelInfoContrastColor","labelPrimaryColor","labelPrimaryContrastColor","labelSuccessColor","labelSuccessContrastColor","labelWarningColor","labelWarningContrastColor","getTextStyles","labelTextDangerColor","labelTextInfoColor","labelTextPrimaryColor","labelTextSuccessColor","labelTextWarningColor","getHeadingStyles","overrides","margin","labelHeaderColor","heading1FontSize","heading2FontSize","heading3FontSize","heading4FontSize","heading5FontSize","heading6FontSize","labelTextMutedColor"],"sources":["label.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { deepCopy } from '@wavemaker/app-rn-runtime/core/utils';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\nimport { WmAnchorStyles } from '../anchor/anchor.styles';\n\nexport type WmLabelStyles = BaseStyles & {\n asterisk: AllStyle,\n skeleton: WmSkeletonStyles \n link: WmAnchorStyles\n};\n\nexport const DEFAULT_CLASS = 'app-label';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmLabelStyles = defineStyles({\n root: {\n },\n text: {\n fontSize: 16,\n color: themeVariables.labelDefaultColor\n },\n asterisk: {\n color: themeVariables.labelAsteriskColor,\n marginLeft: 2\n },\n skeleton: {\n root:{\n width: '100%',\n height: 16,\n borderRadius: 4\n }\n } as any as WmSkeletonStyles,\n link: {\n text: {\n textDecorationLine: 'underline'\n }\n } as WmAnchorStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n root : {\n flexDirection: 'row',\n textAlign: 'right'\n }\n });\n const getLabelStyles = (color: string, textColor: string): WmLabelStyles => {\n return {\n root: {\n backgroundColor: color,\n paddingLeft: 32,\n paddingTop: 16,\n paddingRight: 32,\n paddingBottom: 16,\n borderRadius: 6\n },\n text: {\n color: textColor,\n fontWeight: 'bold'\n }\n } as WmLabelStyles;\n };\n\n addStyle('label-danger', '', getLabelStyles(themeVariables.labelDangerColor, themeVariables.labelDangerContrastColor));\n addStyle('label-default', '', getLabelStyles(themeVariables.labelDefaultColor, themeVariables.labelDefaultContrastColor));\n addStyle('label-info', '', getLabelStyles(themeVariables.labelInfoColor, themeVariables.labelInfoContrastColor));\n addStyle('label-primary', '', getLabelStyles(themeVariables.labelPrimaryColor, themeVariables.labelPrimaryContrastColor));\n addStyle('label-success', '', getLabelStyles(themeVariables.labelSuccessColor, themeVariables.labelSuccessContrastColor));\n addStyle('label-warning', '', getLabelStyles(themeVariables.labelWarningColor, themeVariables.labelWarningContrastColor));\n addStyle('label-test', '', getLabelStyles('yellow', 'red'));\n addStyle('label-test1', '', getLabelStyles('blue', 'orange'));\n\n const getTextStyles = (color: string) => {\n return {\n text: {\n color: color\n }\n } as WmLabelStyles;\n };\n\n addStyle('text-danger', '', getTextStyles(themeVariables.labelTextDangerColor));\n addStyle('text-info', '', getTextStyles(themeVariables.labelTextInfoColor));\n addStyle('text-primary', '', getTextStyles(themeVariables.labelTextPrimaryColor));\n addStyle('text-success', '', getTextStyles(themeVariables.labelTextSuccessColor));\n addStyle('text-warning', '', getTextStyles(themeVariables.labelTextWarningColor));\n addStyle('text-center', '', {\n root: {\n textAlign: 'center'\n }\n } as WmLabelStyles);\n addStyle('text-left', '', {\n root: {\n textAlign: 'left'\n }\n } as WmLabelStyles);\n addStyle('text-right', '', {\n root: {\n textAlign: 'right'\n }\n } as WmLabelStyles);\n\n\n const getHeadingStyles = (fontSize: number, overrides?: WmLabelStyles) => {\n return deepCopy({\n text: {\n fontWeight: '400',\n fontSize: fontSize,\n margin: 4,\n color: themeVariables.labelHeaderColor\n }\n } as WmLabelStyles, overrides);\n };\n addStyle('h1', '', getHeadingStyles(themeVariables.heading1FontSize, {text: {fontWeight: 'bold'}} as WmLabelStyles));\n addStyle('h2', '', getHeadingStyles(themeVariables.heading2FontSize, {text: {fontWeight: '500'}} as WmLabelStyles));\n addStyle('h3', '', getHeadingStyles(themeVariables.heading3FontSize));\n addStyle('h4', '', getHeadingStyles(themeVariables.heading4FontSize));\n addStyle('h5', '', getHeadingStyles(themeVariables.heading5FontSize));\n addStyle('h6', '', getHeadingStyles(themeVariables.heading6FontSize));\n addStyle('media-heading', '', {\n text : {\n fontSize: 16\n }\n } as WmLabelStyles);\n addStyle('text-muted', '', {\n text : {\n color: themeVariables.labelTextMutedColor\n }\n } as WmLabelStyles);\n addStyle('p', '', {\n text : {\n fontSize: 12\n }\n } as WmLabelStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAqB,wCAAwC;AAC9E,SAASC,QAAQ,QAAQ,sCAAsC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAUxF,OAAO,MAAMC,aAAa,GAAG,WAAW;AACxCH,UAAU,CAACI,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA4B,GAAGL,YAAY,CAAC;IAC9CM,IAAI,EAAE,CACN,CAAC;IACDC,IA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E,EAAE,EAAE2C,gBAAgB,CAAC5C,cAAc,CAACqD,gBAAgB,CAAC,CAAC;EACrEpD,QAAQ,CAAC,eAAe,EAAE,EAAE,EAAE;IAC5BG,IAAI,EAAG;MACLC,QAAQ,EAAE;IACZ;EACF,CAAkB,CAAC;EACnBJ,QAAQ,CAAC,YAAY,EAAE,EAAE,EAAE;IACzBG,IAAI,EAAG;MACLE,KAAK,EAAEN,cAAc,CAACsD;IACxB;EACF,CAAkB,CAAC;EACnBrD,QAAQ,CAAC,GAAG,EAAE,EAAE,EAAE;IAChBG,IAAI,EAAG;MACLC,QAAQ,EAAE;IACZ;EACF,CAAkB,CAAC;AACrB,CAAC,CAAC"}
@@ -102,7 +102,7 @@ export default class WmAreaChart extends BaseChartComponent {
102
102
  strokeWidth: props.linethickness
103
103
  }
104
104
  },
105
- data: d
105
+ data: this.isRTL ? d.toReversed() : d
106
106
  }), props.highlightpoints ? /*#__PURE__*/React.createElement(VictoryScatter, {
107
107
  size: 5,
108
108
  key: props.name + '_scatter' + i,
@@ -111,7 +111,7 @@ export default class WmAreaChart extends BaseChartComponent {
111
111
  fill: Color(this.state.colors[i]).darken(0.2).rgb().toString()
112
112
  }
113
113
  },
114
- data: d,
114
+ data: this.isRTL ? d.toReversed() : d,
115
115
  events: [{
116
116
  target: 'data',
117
117
  eventHandlers: Platform.OS == "web" ? {
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Color","View","Platform","Defs","LinearGradient","Stop","Svg","VictoryArea","VictoryChart","VictoryLegend","VictoryStack","VictoryScatter","VictoryGroup","WmAreaChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","isNumber","WmAreaChartState","constructor","arguments","_defineProperty","WmAreaChart","props","e","viewWidth","nativeEvent","layout","width","updateState","chartWidth","onSelect","event","data","value","index","y","label","state","xaxisDatakeyArr","datum","x","selectedItem","dataset","selectedChartItem","series","_dataObj","invokeEventCallback","proxy","renderWidget","_this$state$data","length","mindomain","xdomain","chartMinX","undefined","ydomain","chartMinY","chartName","name","gradientStop","chartMaxY","createElement","style","styles","root","onLayout","onViewLayoutChange","bind","theme","height","padding","top","bottom","left","right","minDomain","containerComponent","getTooltip","title","subheading","orientation","gutter","getLegendView","getXaxis","getYAxis","map","d","i","key","id","x1","y1","x2","y2","offset","stopColor","colors","lighten","rgb","toString","interpolation","fill","stroke","strokeWidth","linethickness","isRTL","toReversed","highlightpoints","size","darken","events","target","eventHandlers","OS","onClick","onPress"],"sources":["area-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport Color from \"color\";\nimport { LayoutChangeEvent, View, Text, Platform } from 'react-native';\nimport { Defs, LinearGradient, Stop, Svg } from 'react-native-svg';\nimport { VictoryArea, VictoryLine, VictoryChart, VictoryLegend, VictoryStack, VictoryScatter, VictoryGroup } from \"victory-native\";\nimport { InterpolationPropType } from 'victory-core';\nimport WmAreaChartProps from './area-chart.props';\nimport { DEFAULT_CLASS, WmAreaChartStyles } from './area-chart.styles';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from \"@wavemaker/app-rn-runtime/components/chart/basechart.component\";\nimport ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';\nimport { isNil, isNumber } from 'lodash-es';\n\nexport class WmAreaChartState extends BaseChartComponentState<WmAreaChartProps> {\n chartWidth = 0;\n}\n\nexport default class WmAreaChart extends BaseChartComponent<WmAreaChartProps, WmAreaChartState, WmAreaChartStyles> {\n\n constructor(props: WmAreaChartProps) {\n super(props, DEFAULT_CLASS, new WmAreaChartProps(), new WmAreaChartState());\n }\n\n onViewLayoutChange = (e: LayoutChangeEvent) => {\n let viewWidth = e.nativeEvent.layout.width;\n this.updateState({\n chartWidth: viewWidth\n } as WmAreaChartState)\n }\n\n onSelect(event: any, data: any){\n let value = data.data[data.index].y;\n let label = this.state.xaxisDatakeyArr[data.datum.x];\n let selectedItem = this.props.dataset[data.index];\n let selectedChartItem = [{series: 0, x: data.index, y: value,_dataObj: selectedItem},data.index];\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n }\n\n renderWidget(props: WmAreaChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\n if (!this.state.data?.length) {\n return null;\n }\n let mindomain={\n x: props.xdomain === 'Min' ? this.state.chartMinX: undefined,\n y: props.ydomain === 'Min' ? this.state.chartMinY: undefined\n };\n const chartName = this.props.name ?? 'nonameAreachart';\n let gradientStop = '100%';\n if (isNumber(this.state.chartMaxY) && isNumber(this.state.chartMinY) && this.state.chartMaxY > 0) {\n gradientStop = (this.state.chartMaxY - this.state.chartMinY) * 100 / this.state.chartMaxY + '%';\n }\n return (\n <View\n style={this.styles.root}\n onLayout={this.onViewLayoutChange.bind(this)}\n >\n {this.state.chartWidth ? \n (\n <VictoryChart\n theme={this.state.theme}\n height={this.styles.root.height as number}\n width={this.state.chartWidth || 120}\n padding={{ top: 70, bottom: 50, left: 50, right: 30 }}\n minDomain={mindomain}\n containerComponent={\n this.getTooltip(props)\n }\n > \n <VictoryLegend\n name={'legend'}\n containerComponent={<Svg />}\n title={[props.title, props.subheading]}\n orientation=\"horizontal\"\n gutter={20}\n data={[]}\n theme={this.state.theme}\n />\n {this.getLegendView()}\n {this.getXaxis()}\n {this.getYAxis()}\n <VictoryStack>\n {\n this.state.data.map((d: any, i: number) => {\n return <VictoryGroup key={props.name + '_area_group_' + i}>\n <Defs>\n <LinearGradient id={`${chartName}Gradient${i}`} x1=\"0%\" y1=\"0%\" x2=\"0%\" y2=\"100%\">\n <Stop offset=\"0%\" stopColor={Color(this.state.colors[i]).lighten(0.2).rgb().toString()}/>\n <Stop offset={gradientStop} stopColor={Color(this.state.colors[i]).lighten(0.6).rgb().toString()}/>\n </LinearGradient>\n </Defs>\n <VictoryArea\n interpolation={props.interpolation as InterpolationPropType}\n key={props.name + '_' + i}\n name={props.name + '_' + i}\n style={{\n data: {\n fill: `url(#${chartName}Gradient${i})`,\n stroke: this.state.colors[i],\n strokeWidth: props.linethickness,\n }\n }}\n data={this.isRTL?d.toReversed():d}\n />\n {props.highlightpoints ?\n <VictoryScatter\n size={5}\n key={props.name + '_scatter' + i}\n style={{\n data: { \n fill: Color(this.state.colors[i]).darken(0.2).rgb().toString()}\n }} \n data={this.isRTL?d.toReversed():d}\n events={[{\n target: 'data',\n eventHandlers: Platform.OS == \"web\" ? {\n onClick: this.onSelect.bind(this)\n }:{\n onPress: this.onSelect.bind(this)\n }\n }]}\n />\n : null}\n </VictoryGroup>\n })\n }\n </VictoryStack>\n </VictoryChart>\n )\n : null}\n </View>);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK,MAAM,OAAO;AACzB,SAA4BC,IAAI,EAAQC,QAAQ,QAAQ,cAAc;AACtE,SAASC,IAAI,EAAEC,cAAc,EAAEC,IAAI,EAAEC,GAAG,QAAQ,kBAAkB;AAClE,SAASC,WAAW,EAAeC,YAAY,EAAEC,aAAa,EAAEC,YAAY,EAAEC,cAAc,EAAEC,YAAY,QAAQ,gBAAgB;AAElI,OAAOC,gBAAgB,MAAM,oBAAoB;AACjD,SAASC,aAAa,QAA2B,qBAAqB;AACtE,SACEC,kBAAkB,EAClBC,uBAAuB,QAClB,gEAAgE;AAEvE,SAAgBC,QAAQ,QAAQ,WAAW;AAE3C,OAAO,MAAMC,gBAAgB,SAASF,uBAAuB,CAAmB;EAAAG,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,qBACjE,CAAC;EAAA;AAChB;AAEA,eAAe,MAAMC,WAAW,SAASP,kBAAkB,CAAwD;EAEjHI,WAAWA,CAACI,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,EAAET,aAAa,EAAE,IAAID,gBAAgB,CAAC,CAAC,EAAE,IAAIK,gBAAgB,CAAC,CAAC,CAAC;IAACG,eAAA,6BAGxDG,CAAoB,IAAK;MAC7C,IAAIC,SAAS,GAAGD,CAAC,CAACE,WAAW,CAACC,MAAM,CAACC,KAAK;MAC1C,IAAI,C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IAAI,KAAK,GAAG;YACpCC,OAAO,EAAE,IAAI,CAACpF,QAAQ,CAACqC,IAAI,CAAC,IAAI;UAClC,CAAC,GAAC;YACAgD,OAAO,EAAE,IAAI,CAACrF,QAAQ,CAACqC,IAAI,CAAC,IAAI;UAClC;QACF,CAAC;MAAE,CACF,CAAC,GACJ,IACU,CAAC;IACjB,CAAC,CAEW,CACF,CAAC,GAEjB,IACE,CAAC;EACT;AACF"}
@@ -19,7 +19,7 @@ export default class WmBarChart extends BaseChartComponent {
19
19
  key: props.name + '_' + i,
20
20
  horizontal: props.horizontal,
21
21
  labels: props.showvalues ? this.labelFn.bind(this) : undefined,
22
- data: d,
22
+ data: this.isRTL ? d.toReversed() : d,
23
23
  height: 100,
24
24
  style: props.customcolors ? {
25
25
  data: {
@@ -31,6 +31,12 @@ export default class WmBarChart extends BaseChartComponent {
31
31
  }
32
32
  }
33
33
  } : {},
34
+ cornerRadius: {
35
+ topLeft: this.styles.bar.borderTopLeftRadius,
36
+ topRight: this.styles.bar.borderTopRightRadius,
37
+ bottomLeft: this.styles.bar.borderBottomLeftRadius,
38
+ bottomRight: this.styles.bar.borderBottomRightRadius
39
+ },
34
40
  events: [{
35
41
  target: 'data',
36
42
  eventHandlers: Platform.OS == "web" ? {